- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to avoid side effect between critical and non ...
Operating System - Linux
1753653
Members
5459
Online
108798
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО06-21-2007 04:59 AM
тАО06-21-2007 04:59 AM
How to avoid side effect between critical and non critical services in a package ?
Hi,
I have defined a package hosting 2 services : SERVICE[0] which is critical, and SERVICE[1]which is not. I have defined SERVICE_RESTART[0]="", and SERVICE_RESTART[1]="-r 3". The problem here is that when SERVICE[1] has restarted 3 times, it will make the make package switch, interrupting the critical SERVICE[0] during the switch.
Is there any configuration that would permit to avoid the switch when SERVICE[1] has reached its max number of restart ?
ThX in advance,
BR
I have defined a package hosting 2 services : SERVICE[0] which is critical, and SERVICE[1]which is not. I have defined SERVICE_RESTART[0]="", and SERVICE_RESTART[1]="-r 3". The problem here is that when SERVICE[1] has restarted 3 times, it will make the make package switch, interrupting the critical SERVICE[0] during the switch.
Is there any configuration that would permit to avoid the switch when SERVICE[1] has reached its max number of restart ?
ThX in advance,
BR
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2007 06:30 AM
тАО06-21-2007 06:30 AM
Re: How to avoid side effect between critical and non critical services in a package ?
Shalom,
Configure them in three independent packages.
SEP
Configure them in three independent packages.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 06:18 AM
тАО06-22-2007 06:18 AM
Re: How to avoid side effect between critical and non critical services in a package ?
You may also want to look at the new package features in the 11.18 version of Serviceguard. The docs for the HP-UX version are posted http://docs.hp.com/en/ha.html. The Linux version will be available in July.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2007 02:16 AM
тАО06-26-2007 02:16 AM
Re: How to avoid side effect between critical and non critical services in a package ?
You have a package that has 2 services, which are either essential to the operation of the package, or they both determine the operational status of the package.
However per you message, one service is not as critical as the other and may actually interfere with the continued operation of the package.
My question is, why use the 2nd service if if is not as critical?
In any case, when a SERVICE approaches the MAX_RESTARTS value, you can reset it if you wish. The man page shows the format:
cmmodpkg [-v] -R -s service_name package_name
Reset the restart counter for service SVC1 in package PKG1.
cmmodpkg -R -s SVC1 PKG1
Or you may simply change the SERVICE_RESTARTS parameter in the package control script to "-R" and it will restart infinitely and never interfere with package operation - which goes back to, what is the point of creating a service that you don't really want to control package operation.
However per you message, one service is not as critical as the other and may actually interfere with the continued operation of the package.
My question is, why use the 2nd service if if is not as critical?
In any case, when a SERVICE approaches the MAX_RESTARTS value, you can reset it if you wish. The man page shows the format:
cmmodpkg [-v] -R -s service_name package_name
Reset the restart counter for service SVC1 in package PKG1.
cmmodpkg -R -s SVC1 PKG1
Or you may simply change the SERVICE_RESTARTS parameter in the package control script to "-R" and it will restart infinitely and never interfere with package operation - which goes back to, what is the point of creating a service that you don't really want to control package operation.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP