Operating System - OpenVMS
1827421 Members
4279 Online
109965 Solutions
New Discussion

Move cluster IP addr. & queue manager

 
SOLVED
Go to solution
Oleg Mikhailov
Advisor

Move cluster IP addr. & queue manager

Hi all!
How i can move cluster IP addr. or queue manager to another node in vms cluster?
vms 7.3-2
tcpip 5.4-eco2
6 REPLIES 6
Mobeen_1
Esteemed Contributor

Re: Move cluster IP addr. & queue manager

Oleg,
If the queue manager on your cluster is running cluster wide issue the following command to shut it down

$stop/queue/manager/cluster

Once it is done, verify that the queue manager is not running on any of your nodes in the cluster by issuing the following command

$show queue/managers

Now if you would like to start the queue manager on a node (NODE1) issue the following command

$start/queue/manager/on=NODE1

Hope this helps, if you have any specific questions let us know

regards
Mobeen
Wim Van den Wyngaert
Honored Contributor

Re: Move cluster IP addr. & queue manager

Do you mean "cluster alias" with "cluster IP" ?

The alias stays on the node until all connections are closed AND the cluster timer has expired (ucx set comm/cluster_timer=nn).

There is no manual way to switch it when it is in use.

Wim

Wim
Volker Halle
Honored Contributor
Solution

Re: Move cluster IP addr. & queue manager

Oleg,

you don't have to STOP the QUEUE_MANAGER before starting it on another node. Just specify $ START/QUE/MANAGER/ON=(newnod,*) and it will fail over to node newnod if it's not already running there. No execution queues will be affected this way. Make sure that the node has access to the same QMAN$MASTER.DAT and queue manager database.

With TCPIP V5.4, the IP cluster alias implementation has changed. Do NOT attempt to use TCPIP> SET INT/CLUSTER=x.x.x.x ifn, as it will destroy the IP config of the running interface (ifn).

With TCPIP V5.4, you can dynamically start and stop IP aliases on the IP interfaces on the nodes in your cluster using the ifconfig commands, e.g.

$ TCPIP ifconfig -a ! show interfaces

$ @SYS$MANAGER:TCPIP$DEFINE_COMMANDS
$ ifconfig -a

$ ifconfig ifn alias x.x.x.x/nn
$ ifconfig ifn -alias x.x.x.x/nn

You may want to read the chapter about failSAFE IP in the TCPIP Management Manual:

http://h71000.www7.hp.com/doc/732final/6526/6526pro.html#first_page

Volker.
Oleg Mikhailov
Advisor

Re: Move cluster IP addr. & queue manager

Thanks all.
Many thanks Volker!

$ START/QUE/MANAGER/ON=(newnod,*) - move manager to newnod
$ START/QUE/MANAGER/ON=(*) - reset preferred order

$ ifconfig -a
$ ifconfig ifn -alias x.x.x.x - move alias. to another node, if using local on impersonator.
$ ifconfig ifn alias x.x.x.x/nn - return alias support to old impersonator, using localy on it.

But how to select node in cluster from 3 and more nodes...
Wim Van den Wyngaert
Honored Contributor

Re: Move cluster IP addr. & queue manager

Note that removing an alias while the address is in use will block both sides of the connection just as when removing the network cable. Keepalive timeout should kill the processes (those without it will stay forever).

Also note that an alias is not the same as a cluster alias.

Wim
Wim
Volker Halle
Honored Contributor

Re: Move cluster IP addr. & queue manager

Oleg,

if you define the SAME alias address on multiple interfaces on multiple nodes in a cluster, this address is only active on ONE interface in the cluster at any time (ifconfig -a shows you the active interface for this alias, even if it's currently on a remote node).

You can remove or de-activate the alias at any time with

$ ifconfig ifn -alias x.x.x.x abort

The 'abort' parameter will close all TCP connections associated with this address on the local node.

From TCPIP V5.4 Release Notes:

TCP/IP Services version 5.4 introduced failSAFE IP, which obsoletes the IP cluster alias address.

Volker.