Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

Stopping package when one node goes down

 
Heiko Deichmöller
Occasional Contributor

Stopping package when one node goes down

I have a six node cluster. When one node goes down I would like to stop a few packages automatically. Is it possible with ServiceGuard definitions or do I have to write a script?

 

 

1 REPLY 1
Emil Velez_2
Trusted Contributor

Re: Stopping package when one node goes down

I don't think so. With package weights you can limit the number of packages running on a node and you can set priorities for packages so if a few nodes went down you can let the higher priority packages survive and since the capacity of the nodes are filled with high priority packages the lower priority packages will be stopped.

If you don't care which packages stop you could write a service the counts the number of running packages and if the number of nodes in the cluster is below a value the service exits and the package shuts down.

Pretty simple idea to write a,little script for a package
Emil Velez
Instructor Storage, Servers, HP-UX and Partner Courses
Hewlett Packard Enterprise Education Services
Ask me about training on StoreServ (3PAR) StoreOnce, StoreEasy, StoreAll, StoreVirtual, HP-UX, ServiceGuard and HPE Partner Ready Certification Training

internet: Emil.Velez@hpe.com
Linkedin: http://www.linkedin.com/in/emilvelez

HPE Master ASE Server Solutions Architect V3
HPE Master ASE Storage Solutions Architect V2
HP UNIX Certified (ASE HPUX 11iv3 Administration V1)
Certified HPE Instructor
HPE Product Certified - OneView [2016]
HP Sales Certified -Servers, Converged Systems and Services [2015]
HPE Product Certified - Converged Solutions [2017]