The following is written in the WebSphereMQ_A.log
2023/12/07 10:24:42 VCS WARNING V-16-55012-20402 WebSphereMQ:Webshere_mqm_resource:online:
SystemD requires the contents of the environments file to be in the “key=value” format. The EnvironmentFile directive does not accept any other shell command. The contents of the file specified in the EnvFile attribute of the agent are based on the UNIX shell. Therefore, they do not match the expected format, and will not be accepted by the EnvironmentFile directive.
A new attribute, SystemDEnvFile, is added in which the absolute path of the SystemD-compliant environment file can be provided (example: /var/mqm/mq_sysd.env). On SystemD-enabled platforms, the agent uses this attribute value for the EnvironmentFile directive in the service file. If value of this attribute is not specified, the agent uses the value of EnvFile attribute in the service file. Modify the VCS configuration as follows:
haconf -makerw
hares -modify Webshere_mqm_resource SystemDEnvFile "/var/mqm/qmgrs/env/setEnv.sh"
haconf -dump -makero
is set in the resource environment file.
cat /proc/8593/environVCSAG_MONITOR_INFO=3
VCSAG_RES_CONF_LEVEL=0
CLUSTER_LOGDBG=DBG_4 DBG_AGDEBUG DBG_AGINFO
VCSONE_HOSTS=
LOOPY_LOG=/root/loopy.log <=====