- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SG package does not start automatically.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2009 12:46 PM
тАО04-26-2009 12:46 PM
I have two node clusters(obd1 and obd2) running Serviceguard having two packages running on the primary node. When i boot my server, the packages do not start up automatically. infact, the same scene is with when i run command :
'cmruncl -v'
But, when i run the follwing commands, the packages come up beautifully and working fine.
cmrunpkg -v pdobdpkg
cmrunpkg -v sdobdpkg
I have checked that AUTO_RUN feature is enabled in the cmviewcl output. I want to run the packages automatically. please help me in this.
Regards
Vishu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2009 05:24 PM
тАО04-26-2009 05:24 PM
Re: SG package does not start automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-26-2009 10:12 PM
тАО04-26-2009 10:12 PM
Re: SG package does not start automatically.
grep -i autostart /etc/rc.config.d/cmcluster
cmgetconf -p pdobdpkg | sed -e 's/#.*//g' -e '/^$/d'
cmgetconf -p sdobdpkg | sed -e 's/#.*//g' -e '/^$/d'
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 12:38 PM
тАО04-27-2009 12:38 PM
Re: SG package does not start automatically.
AUTO_START_CMCLD=1 in /etc/rc.config.d/cmcluster. Also, when i executes cmruncl command, even then the packages did not came up automatically, instead need to bring them up manually using cmrunpkg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2009 12:46 PM
тАО04-27-2009 12:46 PM
Re: SG package does not start automatically.
If you do a 'cmviewcl' do you see "ENABLED" in the "AUTO_RUN" column for the packages?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2009 11:16 AM
тАО04-28-2009 11:16 AM
Re: SG package does not start automatically.
Below is the output of cmviewcl.
obd1 root # cmviewcl
CLUSTER STATUS
obdb_atl up
NODE STATUS STATE
obd1 up running
PACKAGE STATUS STATE PKG_SWITCH NODE
pdobdpkg up running enabled obd1
sdobdpkg up running enabled obd1
NODE STATUS STATE
obd2 up running
obd1 root #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2009 10:21 PM
тАО04-28-2009 10:21 PM
Re: SG package does not start automatically.
cmgetconf -p pdobdpkg | sed -e 's/#.*//g' -e '/^$/d'
cmgetconf -p sdobdpkg | sed -e 's/#.*//g' -e '/^$/d
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 10:25 AM
тАО04-29-2009 10:25 AM
Re: SG package does not start automatically.
Below are the parameters in the package configuration file.
PACKAGE_NAME pdobdpkg
FAILOVER_POLICY CONFIGURED_NODE
FAILBACK_POLICY MANUAL
NODE_NAME obd1
NODE_NAME obd2
RUN_SCRIPT /etc/cmcluster/pdobdpkg/pdobdpkg_control.sh
RUN_SCRIPT_TIMEOUT NO_TIMEOUT
HALT_SCRIPT /etc/cmcluster/pdobdpkg/pdobdpkg_control.sh
HALT_SCRIPT_TIMEOUT NO_TIMEOUT
SERVICE_NAME pdobdpkg_monitor.sh
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 300
SUBNET 135.58.64.0
PKG_SWITCHING_ENABLED NO
NET_SWITCHING_ENABLED YES
NODE_FAIL_FAST_ENABLED NO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 10:43 AM
тАО04-29-2009 10:43 AM
SolutionAnyway, to have packages start when the cluster starts, you'll need to chnage PKG_SWITCHING_ENABLED to yes and reapply the package configurations with cmapplyconf.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 11:56 AM
тАО04-29-2009 11:56 AM
Re: SG package does not start automatically.
Reapply package configuration by changing the PKG_SWITCHING_ENABLED to yes resolved my problem.....
thanks very much for the solution.