Video Screencast Help

VCS6.0PR1 Oracle resource not starting

Created: 12 May 2013 • Updated: 19 Jun 2013 | 9 comments
This issue has been solved. See solution.

Hi, I am getting the message:

 

==============================================
/bin/sh[1]: cd: /opt/VRTSagents/ha/bin/Oracle: [No such file or directory]
/bin/sh: line 1: /opt/VRTSagents/ha/bin/Oracle/online: not found
 

==============================================
/bin/sh[1]: cd: /opt/VRTSagents/ha/bin/Oracle: [No such file or directory]
/bin/sh: line 1: /opt/VRTSagents/ha/bin/Oracle/clean: not found
==============================================
 

Operating Systems:

Comments 9 CommentsJump to latest comment

mikebounds's picture

Looks like you don't have Oracle agent installed - this is an enterprise agent so part of package VRTSvcsea (in 5.0 it used to be in it's own package of VRTSvcsor)

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

dariuszz's picture

This is what the documentation on VCS 6.0PR1(available for free download) states:

 

Supported software for VCS agent for Oracle
The VCS 6.0 Platform Release 1 agent for Oracle supports the following software
versions in a Veritas Cluster Server (VCS) environment:
Oracle 10g R2, Oracle 11g R1, and Oracle 11g R2 (including 64-bit
versions)
Note: Veritas Cluster Server agent for Oracle supports the specified
Oracle versions on Solaris if Oracle supports that version on Solaris.
Refer to the Veritas Cluster Server Release Notes for more details.
Oracle
VCS VCS 6.0 PR1 on Solaris
For Solaris SPARC:
Solaris 10 (32-bit and 64-bit)
For Solaris x64:
Solaris 10 (64-bit)
Note: For each platform, Symantec recommends applying the latest
Solaris operating system patches available from Oracle. Visit Oracle’s
Web site to download the latest patches.
Solaris

There is no "ContainerOpts" attribute in VCS 6.0 PR1 for Solaris11......

 

 

am I correct in assuming that VCS 6.0 PR1 does not support Oracle agent on Solaris 11?

dariuszz's picture

root@solaris11-chi-1:/opt/VRTSagents/ha/bin/Oracle# ls -al
total 1418
drwxr-xr-x   3 root     sys           23 May  9 02:17 .
drwxr-xr-x   9 root     sys            9 May  9 02:16 ..
drwxrwxrwx   2 root     sys           13 May  9 02:17 actions
-rwxrwxrwx   1 root     sys         9819 May  9 02:17 clean
-rwxrwxrwx   1 root     sys         1448 May  9 02:17 envfile
-rwxrwxrwx   1 root     sys         8352 May  9 02:17 info
-rwxrwxrwx   1 root     sys         9735 May  9 02:17 offline
-rwxrwxrwx   1 root     sys        11404 May  9 02:17 online
-rwxrwxrwx   1 root     sys         4366 May  9 02:17 oraapi
-rwxrwxrwx   1 root     sys        11682 May  9 02:17 Oracle.xml
-rwxrwxrwx   1 root     sys       479516 May  9 02:17 OracleAgent
-rwxrwxrwx   1 root     sys        23736 May  9 02:17 OracleDiscover.so
-rwxrwxrwx   1 root     sys        38042 May  9 02:17 oraclelib.pm
-rwxrwxrwx   1 root     sys         1946 May  9 02:17 oraconfig.pm
-rwxrwxrwx   1 root     sys         6082 May  9 02:17 OraDiscovery.pl
-rwxrwxrwx   1 root     sys        22976 May  9 02:17 OraDiscoveryLib.pm
-rwxrwxrwx   1 root     sys         3626 May  9 02:17 oraerror.dat
-rwxrwxrwx   1 root     sys         2514 May  9 02:17 OraMountDiscovery.pl
-rwxrwxrwx   1 root     sys         3882 May  9 02:17 policydb_state.pl
-rwxrwxrwx   1 root     sys          124 May  9 02:17 resinfo.sql
-rwxrwxrwx   1 root     sys         7237 May  9 02:17 SimpleTest.pl
-rwxrwxrwx   1 root     sys         9211 May  9 02:17 SqlTest.pl
-rwxrwxrwx   1 root     sys         3661 May  9 02:17 version
root@solaris11-chi-1:/opt/VRTSagents/ha/bin/Oracle#
 

kjbss's picture

I am confused; why do you mention "There is no "ContainerOpts" attribute in VCS 6.0 PR1 for Solaris11"?

 

To see if you have the ContainerOpts attribute for Oracle, from the global zone enter the following command.

-$ hatype -display Oracle | grep ContainerOpts
Oracle       ContainerOpts          RunInContainer      1       PassCInfo       0

What is the value of the ContainerInfo attribute for the service group containing the Oracle resource?  (  IE:  hagrp -value <SG_Name> ContainerInfo    )

dariuszz's picture

Thanks for commenting, I appreciate it.

From:

ftp://ftp.veritas.com/pub/support/patchcentral/Sol...

Please see page 17 - "the oracle agent is zone aware"

dariuszz's picture

k, installed the packages in the zone:

VRTSperl VRTSvlic VRTSvcs  VRTSvcsag  VRTSvcsea

 

now I am getting the following message and the zone crashes hard:

 

==============================================
VCS ERROR V-16-1-10600 Cannot connect to VCS engine
==============================================

2013/05/13 15:45:38 VCS INFO V-16-2-13068 (solaris11-chi-2) Resource(z2db) - clean completed successfully.
2013/05/13 15:45:38 VCS INFO V-16-2-13071 (solaris11-chi-2) Resource(z2db): reached OnlineRetryLimit(0).
2013/05/13 15:45:42 VCS ERROR V-16-1-54031 Resource z2db (Owner: Unspecified, Group: z2grp) is FAULTED on sys solaris11-chi-2
2013/05/13 15:45:42 VCS NOTICE V-16-1-10300 Initiating Offline of Resource z2_zone_res (Owner: Unspecified, Group: z2grp) on System solaris11-chi-2
2013/05/13 15:45:42 VCS INFO V-16-6-15015 (solaris11-chi-2) hatrigger:/opt/VRTSvcs/bin/triggers/resfault is not a trigger scripts directory or can not be executed
2013/05/13 15:45:43 VCS DBG_3 V-16-10001-0 (solaris11-chi-2) Zone:z2_zone_res:offline:Command [/usr/sbin/zlogin "z2" shutdown -y -i0 -g0 2>&1] executed with output [
 Shutdown started.    Mon May 13 15:45:43 UTC 2013

 Changing to init state 0 - please wait
 showmount: z2: RPC: Program not registered

 

mikebounds's picture

My understanding of zones with VCS is as follows:

For normal zones where the non-global (local) zone is the same O/S version as the global zone, VCS packages which are required in the non-global zone (like the VCS agents) are ONLY installed in the global zone, but are made available to the local zone, so unless this changed in Solaris 11 the VRTSvcsea package should show in your non-global zone

For branded zones where the non-global (local) zone is a different O/S version to the global zone, some VCS packages are required to be installed in the non-global zone, so for a Solaris 10 global zone and a Solaris 9 non-global zone, for VCS 5.1 you needed to install VRTSat, VRTSvcs, VRTSperl VRTSvcsag, VRTSvlic and VRTSodm (see 5.1 Veritas Storage Foundation and High Availability Solutions Virtualization Guide). 

In the 6.0PR1 release notes its says:

 

Solaris 8 and Solaris 9 branded zones are no longer supported for SFHA
configurations in this release.
I don't know much about branded zones, so I don't know if you can have a Solaris 10 branded zone in Solaris 11, but the section about installing packages in the branded zone has been removed from the 6.0 Veritas Storage Foundation and High Availability Solutions Virtualization Guide.
 
What O/S version do you have in your non-global zone and do you have /opt/VRTSagents/ha/bin/Oracle directory in your non-global zone?
 
Mike
 
 

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

sajith_cr's picture

On solaris 11, you need to manually install the follwing packages in side solaris 11 non-global zone by following the install instriction those are there in the install guide

VRTSperl, VRTSvlic, VRTSvcs, VRTSvcsag and VRTSvcsea.

Also ensure you have run hazonesetup utility. You will find the instructions in SFHA solutions virtualization guide on Solaris.

Also as mentioned by Mike, we need to understand your environment to help you better.

Provide the OS version, type of non-global zone and version of OS inside it.

Regards,

Sajith

If this post has helped you, please vote or mark as solution.

SOLUTION