- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- SG package does not start automatically.
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
SG package does not start automatically.
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-26-2009 05:24 PM
04-26-2009 05:24 PM
Re: SG package does not start automatically.
Re: SG package does not start automatically.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-26-2009 10:12 PM
04-26-2009 10:12 PM
Re: SG package does not start automatically.
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
HTH
Duncan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-27-2009 12:38 PM
04-27-2009 12:38 PM
Re: SG package does not start automatically.
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-27-2009 12:46 PM
04-27-2009 12:46 PM
Re: SG package does not start automatically.
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-28-2009 11:16 AM
04-28-2009 11:16 AM
Re: SG package does not start automatically.
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-28-2009 10:21 PM
04-28-2009 10:21 PM
Re: SG package does not start automatically.
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
HTH
Duncan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-29-2009 10:25 AM
04-29-2009 10:25 AM
Re: SG package does not start automatically.
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
HTH
Duncan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-29-2009 11:56 AM
04-29-2009 11:56 AM
Re: SG package does not start automatically.
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-29-2009 12:01 PM
04-29-2009 12:01 PM
Re: SG package does not start automatically.
Re: SG package does not start automatically.
One more thing to ask. I changed my cluster lock disk at the same hardware address and i did not have the vgcfgbackup of it on one another server in a 2 node cluster. Now, i am going to reapply the cluster configuration.
But my question is do i need to run the cmapplyconf with package's conf file also or only cluster ascii files will do the needful and package will start and work automatically.
thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-30-2009 07:18 AM
04-30-2009 07:18 AM
Re: SG package does not start automatically.
Re: SG package does not start automatically.
Plz help me in this also. or Should i start a new thread for it.
thanks
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP