To change the LifeKeeper protected IP associated with the WebSphere MQ queue manager, follow these steps:
- Create a new LifeKeeper virtual IP in the LifeKeeper GUI.
- Add the new virtual IP to the WebSphere MQ hierarchy.
- Remove the old virtual IP from the WebSphere MQ hierarchy.
- Delete the old virtual IP resource.
- If needed, modify your listener object in runmqsc and restart the listener:
su – MQUSER
runmqsc QUEUE.MANAGER.NAME
alter LISTENER(SYSTEM.DEFAULT.LISTENER.TCP) TRPTYPE(TCP) PORT(1414) (IPADDR192.168.1.101)
stop LISTENER(SYSTEM.DEFAULT.LISTENER.TCP)
start LISTENER(SYSTEM.DEFAULT.LISTENER.TCP)
As an alternative, you can use the LifeKeeper lk_chg_value facility to change the IP. See the lk_chg_value(8) man page for details.
Post your comment on this topic.