Operating System - HP-UX
1752795 Members
5967 Online
108789 Solutions
New Discussion юеВ

Re: Oracle 10g Release 2 RAC with ASM on HP-UX 11.11

 
SOLVED
Go to solution
Wachyu Danyanto
Advisor

Re: Oracle 10g Release 2 RAC with ASM on HP-UX 11.11


Hi Duncan,

We are planned to used ASM on raw devices only not ASM on SLVM so we are not using ServiceGuard. The ServiceGuard packages already installed because the ServiceGuard packages already preinstalled at the both of server and we also have the license for the ServiceGuard.
The ServiceGuard have not been configured yet nor activated yet, it just have the packages installed but the cluster manager is not running.

The Installation of Oracle 10g R2 Clusterware and Database Software already finish successfully, but have some problem with the ASM when creating Diskgroup on Raw Disk Device. If this error doesn't solve yet until this week, We have planned to use ServiceGuard and configuring Raw Logical Volume for the ASM Instance.

Is it the error in ASM related to the ServiceGuard packages that have been installed on the system?

Do I have to remove it from the system and see whether the ASM will running well?

Thank you.

Regards,
Danyanto
Zinky
Honored Contributor

Re: Oracle 10g Release 2 RAC with ASM on HP-UX 11.11

Wachyu,

Long shot -- but if you're using ASM on Raw and references to "diskgroup" - then I suggest you look at your environment specifically the following areas:

Are you licensed for Full VxVM and CVM (Cluster Volume Manager)?

Can you post: "vxlicrep" output?

Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler

Re: Oracle 10g Release 2 RAC with ASM on HP-UX 11.11

Danyanto,

No, I doubt Serviceguard beibg installed has anything to dow ith your ASM problems - what I am saying is that if you intend to use Serviceguard on these systems in the future as well as Oracle RAC with ASM, then you are effectively running two seperate cluster products on the same nodes - I don't think either Oracle or HP are going to like that - never mind what your current problems are, if both HP and Oracle won't support your configuration you are gonna be in trouble.

With respect to your srvctl problem. I would use the chatr command to check out all shared libraries specified in:

-the srvctl binary
-the libsrvmhas10.sl shared library.

e.g. here's the output from chatr on my box:

chatr ./app/oracle/product/10.2.0/lib/libsrvmhas10.sl
./app/oracle/product/10.2.0/lib/libsrvmhas10.sl:
64-bit ELF shared library
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third /oracle/app/oracle/product/10.2.0/lib/
shared library list:
libhasgen10.sl
libocr10.sl
libocrb10.sl
libocrutl10.sl
libclntsh.sl.10.1
libskgxn2.sl
libttsh10.sl
libcl.2
librt.2
libpthread.1
libnss_dns.1
libdl.1
libnsl.1
libm.2
libons.sl
libdbcfg10.sl
shared library mapped private disabled
shared vtable support disabled
explicit unloading enabled
linkage table protection disabled
segments:
index type address flags size
5 text 4000000000000000 z---c- D (default)
6 data 8000000100000000 ---m-- D (default)
static branch prediction disabled
kernel assisted branch prediction enabled
lazy swap allocation for dynamic segments disabled
nulptr dereferences trap disabled

make sure all those libraries mentioned are all in directories in your SHLIB_PATH somewhere.

As I said before - I wouldn't do anything with ASM until your are completely satisfied that crs and utilisties such as srvctl are behaving as they should.

HTH

DUncan


I am an HPE Employee
Accept or Kudo
Wachyu Danyanto
Advisor

Re: Oracle 10g Release 2 RAC with ASM on HP-UX 11.11



Hi Nelson,

We don't use Veritas for the CVM and we don't have license for it.

Here is below the output of vxlicrep:

VERITAS License Manager vxlicrep utility version 3.00.007
Copyright (C) VERITAS Software Corp 2002. All Rights reserved.

Creating a report on all VERITAS products installed on this system

Error: There are no valid VERITAS License keys installed in the system.

Regards,
Danyanto
Wachyu Danyanto
Advisor

Re: Oracle 10g Release 2 RAC with ASM on HP-UX 11.11


Hi Duncan,

Below is the output of chatr:

$ chatr /apps/oracle/product/10.2/db/lib/libsrvmhas10.sl
/apps/oracle/product/10.2/db/lib/libsrvmhas10.sl:
64-bit ELF shared library
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third /apps/oracle/product/10.2/db/lib/
shared library list:
libhasgen10.sl
libocr10.sl
libocrb10.sl
libocrutl10.sl
libclntsh.sl.10.1
libskgxn2.sl
libttsh10.sl
libcl.2
librt.2
libpthread.1
libnss_dns.1
libdl.1
libnsl.1
libm.2
libons.sl
libdbcfg10.sl
shared library mapped private disabled
shared vtable support disabled
explicit unloading enabled
linkage table protection disabled
segments:
index type address flags size
5 text 4000000000000000 z---c- D (default)
6 data 8000000100000000 ---m-- D (default)
static branch prediction disabled
kernel assisted branch prediction enabled
lazy swap allocation for dynamic segments disabled
nulptr references disabled


Regards,
Danyanto

Re: Oracle 10g Release 2 RAC with ASM on HP-UX 11.11

So have you checked that *all* these libraries are somewhere in a directory on your SHLIB_PATH ?

libhasgen10.sl
libocr10.sl
libocrb10.sl
libocrutl10.sl
libclntsh.sl.10.1
libskgxn2.sl
libttsh10.sl
libcl.2
librt.2
libpthread.1
libnss_dns.1
libdl.1
libnsl.1
libm.2
libons.sl
libdbcfg10.sl


HTH

Duncan

I am an HPE Employee
Accept or Kudo
Wachyu Danyanto
Advisor

Re: Oracle 10g Release 2 RAC with ASM on HP-UX 11.11



Hi Duncan,

It seems that not all libraries exists on the lib directory of Oracle.

$ ls -l libcl.2
libcl.2 not found
$ ls -l librt.2
librt.2 not found
$ ls -l libpthread.1
libpthread.1 not found
$ ls -l libnss_dns.1
libnss_dns.1 not found
$ ls -l libdl.1
libdl.1 not found
$ ls -l libnsl.1
libnsl.1 not found
$ ls -l libm.2
libm.2 not found
$ ls -l libons.sl

Where are they gone?
And what should I do about the missing library?

Thank You.

Regards,
Danyanto

Re: Oracle 10g Release 2 RAC with ASM on HP-UX 11.11

Are those files not in /usr/lib/pa20_64 or /usr/ccs/lib/pa20_64 - they are searched by default when the dlopen call is made for 64-bit binaries (dlopen is what loads a shared library 'man dlopen' for more details)


HTH

Duncan


I am an HPE Employee
Accept or Kudo
Wachyu Danyanto
Advisor

Re: Oracle 10g Release 2 RAC with ASM on HP-UX 11.11



Hi,

Those files are in /usr/lib/pa20_64.


Regards,
Danyanto

Re: Oracle 10g Release 2 RAC with ASM on HP-UX 11.11

Running out of ideas now..

Have you checked that none of those libraries are symbolic links to files that don't exist?

If thats not it then you might want to install tusc:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.8/

and then run your command with that - might give some pointers to your problem:

tusc srvctl config

HTH

Duncan

I am an HPE Employee
Accept or Kudo