- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- $ MCSG question: How to auto start the package?
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
Forums
Discussions
Discussions
Discussions
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
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
01-26-2004 02:49 AM
01-26-2004 02:49 AM
$ MCSG question: How to auto start the package?
I want to automatically start the package whenever I restart OS. The only place I could find was in (cmcluster) that controls the cluster startup, which is doing it fine, however, I am manually starting the package currently. Is there any other config file to control the package startup?
thanks
-------------------------------------
$ more /etc/rc.config.d/cmcluster
AUTOSTART_CMCLD=1
------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:52 AM
01-26-2004 02:52 AM
Re: $ MCSG question: How to auto start the package?
AUTO_RUN YES
Best regards,
Virgil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:55 AM
01-26-2004 02:55 AM
Re: $ MCSG question: How to auto start the package?
In the pkg conf file you need to set
AUTO_RUN YES #(Newer MC/SG)
or
PKG_SWITCH_ENABLED YES #(Older MC/SG)
The run cmapplyconf to distribute the new binary to the nodes.
This will auto-start the pkg when the cluster starts.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 02:56 AM
01-26-2004 02:56 AM
Re: $ MCSG question: How to auto start the package?
The AUTOSTART_CMCLD takes care of the cluster startup at boot time. The packages start config is done in the package control file:
# Enter the value for AUTO_RUN. Possible values are YES and NO.
# The default for AUTO_RUN is YES. When the cluster is started the
# package will be automatically started. In the event of a failure the
# package will be started on an adoptive node. Adjust as necessary.
#
# AUTO_RUN replaces obsolete PKG_SWITCHING_ENABLED.
AUTO_RUN YES
This only works if the package did not crash before the reboot and if the vgname is changed to cluster awaire at boot (in the clusterascii file the vgname must be entered)
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 05:45 AM
01-26-2004 05:45 AM
Re: $ MCSG question: How to auto start the package?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 02:21 AM
01-27-2004 02:21 AM
Re: $ MCSG question: How to auto start the package?
set to AUTOSTART_CMCLD=1
-See that the package startup script added to the control file is edited correctly with
correct start and stop statements.
Example: under the path
/etc/cmcluster/package-dir/package.cntl
scriptname : oracle.sh
- If the package is part of MCSG, then you eliminate auto start scripts defined in the
/sbin/rc1.d and /sbin/rc2.d scripts starting with 'S' to start
and 'K' to stop
- verify /etc/lvmrc file for
AUTO_VG_ACTIVATE = 0 or 1 based on your configuration.
-SRao