Operating System - HP-UX
1848637 Members
6600 Online
104034 Solutions
New Discussion

"SWITCHING" and "AUTO_RUN" in SG?

 
SOLVED
Go to solution
Hanry Zhou
Super Advisor

"SWITCHING" and "AUTO_RUN" in SG?

When I run cmviewcl -v
I got two parameters, "SWITCHING" and "AUTO_RUN", what are differences of these two names, and also how can they be changed, and under what circumstances?

Thanks,
none
4 REPLIES 4
Devender Khatana
Honored Contributor

Re: "SWITCHING" and "AUTO_RUN" in SG?

Hi,

Autorun ->

It defines the automatic restart or rerun of the package if it fails.

Switching ->

It defines the nodes where it can be switched to if fails or maximizes the restart count on current node.

HTH,
Devender
Impossible itself mentions "I m possible"
Uday_S_Ankolekar
Honored Contributor

Re: "SWITCHING" and "AUTO_RUN" in SG?

Node Switching or Package switching determines if package/node is allowed to switch to next node in the event of failure

Read this Doc for more info on this:

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062686522

-USA..
Good Luck..
Mel Burslan
Honored Contributor
Solution

Re: "SWITCHING" and "AUTO_RUN" in SG?

AUTO_RUN shows if the package is going to restart on other cluster member nodes when it fails on the present node, i.e., if it is being monitored against failures

SWITCHING is a flag set on each node for every package. If it is not set (i.e. disabled) for a package on a given node, that particular package can not run on that node regardless if it has its AUTO_RUN enabled or not. One reason for this, let's say you have a 3 node cluster. On the primary node you want your production app running and on the secondary you want a development app running.And your 3rd node is a failsafe machine which is much less paowerful than other two and it is there just in case.

You also want, if your primary node fails, your production app will fail over to secondary node but if secondary fails, you do not want development app failing onto the primary server.

Like this

NODE1
PKG: prodAPP --> switching enabled
AUTO_RUN[prodAPP]=enabled
AUTO_RUN[devlAPP]=disabled



NODE2
PKG: devlAPP --> switching enabled
AUTO_RUN[prodAPP]=enabled
AUTO_RUN[devlAPP]=enabled


NODE3
PKG:
AUTO_RUN[prodAPP]=enabled
AUTO_RUN[devlAPP]=enabled


as you see, prodAPP can run on any of the 3 nodes where as devlAPP can only run on NODE2 or NODE3 not on NODE1. At the end, you do not want a developer running a crazy code and mess up your production performance. Do you ?
________________________________
UNIX because I majored in cryptology...
Patrol
Advisor

Re: "SWITCHING" and "AUTO_RUN" in SG?

Please assign more points to the answers provided to you in the past to get a better and faster response.

Your ratio is 431/992 = 0.43