- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Add Service to a 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
07-16-2004 06:30 PM
07-16-2004 06:30 PM
Add Service to a package.
I need to add service to a package .
How do i do it ?
Regarding to roll back scenario , what is the best way to return back ?
BYE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2004 09:33 PM
07-16-2004 09:33 PM
Re: Add Service to a package.
Are you talking about a new application to a currently configured service guard package or a new package altogether ?
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2004 11:57 PM
07-18-2004 11:57 PM
Re: Add Service to a package.
To add a service you need to halt the package, add the SERVICE_NAME to config file. Then add the same SERVICE_NAME to the package script, add the SERVICE_CMD (typically a monitoring script), and if desired the SERVICE_RESTART option (e.g. -r 2 to try 2 restarts, or -R to restart infinitely).
then run cmcheckconf -P
if this is fine run cmapplyconf -P
To roll back copy back your config and control files for the package and use the same cmcheckconf & cmapplyconf commands.
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 12:12 AM
07-19-2004 12:12 AM
Re: Add Service to a package.
1) copy the package configuration file and package control script and cluster binary file (/etc/cmcluster/cmclconfig) for restore if needed.
To add a service to a package...
2) the following line must be added to the package configuration file (example name: pkg.config):
SERVICE_NAME
3) the following lines must be added to the package control script (example name: pkg.cntl:
SERVICE_NAME[0]="
SERVICE_CMD[0]="
4) copy the package control script to the other adoptive node(s)
5) perform "cmapplyconf -f -P pkg.config"
(cmapplyconf will update the cluster binary if the package passes the built-in cmcheckconf).
To rollback if necessary:
6) cmhaltpkg
7) copy cmclconfig.archive cmclconfig
8) copy pkg.cntl.archive pkg.cntl (on all adoptive nodes)
9) cmrunpkg
10) cp pkg.config.archive pkg.config
-StephenD.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 12:36 AM
07-19-2004 12:36 AM
Re: Add Service to a package.
Just a FYI, this is a great doc on "Managing MC/ServiceGuard":
http://docs.hp.com/hpux/onlinedocs/B3936-90079/B3936-90079.html
Rgds...Geoff