> Assuming Websphere MQ has been already installed, download VCS MQ agent from https://sort.symantec.com/agents
> Install agent and related rpms on all nodes ( unpack tarball first)
# rpm -ivh VRTSacclib-5.2.4.0-GA_GENERIC VRTSmq6-5.1.15.0-GA_GENERIC_noarch
> Test MQ start and stop out of Veritas
# su - mqm
$ mq_qmgr_start.sh VCSTSTQM # start queue Manager
$ dspmq # List queue manager and see status
$ dspmqver -i # To see version information. It is required to configure MQ Agent
Name: WebSphere MQ
Version: 7.5.0.1
$ mq_qmgr_stop.sh VCSTSTQM 1 # stop queue manager
> Import agent type - run below on any one node if VCS is already running
# /etc/VRTSagents/ha/conf/WebSphereMQ/WebSphereMQTypes.cmd
> If VCS is not running, copy the agent types file on all nodes
# cp -a /etc/VRTSagents/ha/conf/WebSphereMQ/WebSphereMQTypes.cf /etc/VRTSvcs/conf/config
> Add below in /etc/VRTSvcs/conf/config/main.cf if it has not been added by above steps
include "WebSphereMQTypes.cf"
> Stop VCS and add following in main.cf to add a failover group
group MQ_GROUP (
SystemList = { Node1 = 0, Node2 = 1 }
AutoStartList = { Node1, Node2 }
)
WebSphereMQ Q_Manager (
ResLogLevel = ERROR
QueueManager = VCSTSTQM
MQVer = "7.5"
)
requires group FileSystsmeGroup online local firm
> Start VCS and test MQ failover
hastart # on all nodes
hastatus -sum # group should be online on Node1
ps -ef|grep mqm # On Node1
hagrp -switch MQ_GROUP -sys Node2 # Move MQ to Node2
> Group should be online on Node2 and MQ should be running.
Ref : Symantec Document
> Install agent and related rpms on all nodes ( unpack tarball first)
# rpm -ivh VRTSacclib-5.2.4.0-GA_GENERIC VRTSmq6-5.1.15.0-GA_GENERIC_noarch
> Test MQ start and stop out of Veritas
# su - mqm
$ mq_qmgr_start.sh VCSTSTQM # start queue Manager
$ dspmq # List queue manager and see status
$ dspmqver -i # To see version information. It is required to configure MQ Agent
Name: WebSphere MQ
Version: 7.5.0.1
$ mq_qmgr_stop.sh VCSTSTQM 1 # stop queue manager
> Import agent type - run below on any one node if VCS is already running
# /etc/VRTSagents/ha/conf/WebSphereMQ/WebSphereMQTypes.cmd
> If VCS is not running, copy the agent types file on all nodes
# cp -a /etc/VRTSagents/ha/conf/WebSphereMQ/WebSphereMQTypes.cf /etc/VRTSvcs/conf/config
> Add below in /etc/VRTSvcs/conf/config/main.cf if it has not been added by above steps
include "WebSphereMQTypes.cf"
> Stop VCS and add following in main.cf to add a failover group
group MQ_GROUP (
SystemList = { Node1 = 0, Node2 = 1 }
AutoStartList = { Node1, Node2 }
)
WebSphereMQ Q_Manager (
ResLogLevel = ERROR
QueueManager = VCSTSTQM
MQVer = "7.5"
)
requires group FileSystsmeGroup online local firm
> Start VCS and test MQ failover
hastart # on all nodes
hastatus -sum # group should be online on Node1
ps -ef|grep mqm # On Node1
hagrp -switch MQ_GROUP -sys Node2 # Move MQ to Node2
> Group should be online on Node2 and MQ should be running.
Ref : Symantec Document
No comments:
Post a Comment