step-by-step tutorial on automating IBM MQ installations using Ansible Ad-Hoc Commands!

Описание к видео step-by-step tutorial on automating IBM MQ installations using Ansible Ad-Hoc Commands!

STEP 1 :
=========
COPY THE SOFTWARE from master to slave machines


ansible MQ -m copy -a "src=/home/ansible/MQ9.3 dest=/opt" -b


STEP 2:


GUNZIP THE THE SOFTWARE


ansible MQ -m ansible.builtin.unarchive -a "src=/opt/MQ9.3/9.3.0.0-IBM-MQTRIAL-LinuxX64.tar.gz dest=/opt remote_src=yes" -b




STEP 3:


ACCEPT THE LICENSE


ansible MQ -m shell -a '/opt/MQServer/mqlicense.sh -accept' -b




STEP 5 :
INSTALL THE REQUIRED rpms


ansible MQ -m shell -a 'cd /opt/MQServer && rpm -ivh *.rpm' -b


STEP 6:


CHECK THE RPMS


ansible MQ -m shell -a 'rpm -qa | grep MQ' -b
STEP 7:
SET AS PRIMARY INSTALLATION


ansible MQ -m shell -a '/opt/mqm/bin/setmqinst -i -p /opt/mqm' -b


ansible MQ -m shell -a 'cd /opt/mqm/bin && ./setmqinst -i -p /opt/mqm' -b

Комментарии

Информация по комментариям в разработке