Author |
Message
|
crashdog |
Posted: Mon Mar 18, 2019 9:24 pm Post subject: unattended MQ Advanced RHEL installation and mqlicense |
|
|
 Voyager
Joined: 02 Apr 2017 Posts: 77
|
Hello all,
When you do an unattended RHEL installation how do you handle the mqlicense -accept ? Do you write an Puppet, Ansibel, Chef, Salt script to handle it ? do you make a wrapper rpm ?
Is there any official statement from IBM on how to handle it ? I can't really find anything in the knowledge center only something on MQ Client installation on RHEL.
Cheers,
Gerhard _________________ You win again gravity ! |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 19, 2019 5:03 am Post subject: Re: unattended MQ Advanced RHEL installation and mqlicense |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
crashdog wrote: |
Do you write an Puppet, Ansibel, Chef, Salt script to handle it ? |
Yes
crashdog wrote: |
do you make a wrapper rpm ? |
Yes, before we had Ansibel. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
crashdog |
Posted: Tue Mar 19, 2019 5:18 am Post subject: |
|
|
 Voyager
Joined: 02 Apr 2017 Posts: 77
|
ok, thanks.
When you do it with Ansibel from where do you get the mqlicense and java-stuff it calls ? Or do you simulate the mqlicense script and just put the state.dat file into /tmp/mq... ?
We've now made a wrapper rpm that is preinstalled, containing the script and java-stuff.
But I find it a little strange that IBM doesn't provide an official unattended installation approach. Today I guess all server side software installation is highly automated and most software simply installable with a simple yum, rpm and Ansible/Puppet parameterization.
Cheers.
Gerhard _________________ You win again gravity ! |
|
Back to top |
|
 |
exerk |
Posted: Tue Mar 19, 2019 5:36 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Is it not easy to add a ./mqlicense.sh -accept line anywhere in the Ansible script/playbook? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 19, 2019 5:38 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
crashdog wrote: |
Or do you simulate the mqlicense script and just put the state.dat file into /tmp/mq... ? |
Yes. Well, in the interests of transparency, I've not looked at the Ansible stuff since the PoC but that was how we did it then. Disappeared off into the platform engineering team now....
We've now made a wrapper rpm that is preinstalled, containing the script and java-stuff.
crashdog wrote: |
But I find it a little strange that IBM doesn't provide an official unattended installation approach. |
Define "official" - you've named 5 methods in this post! I think IBM provides guidance and/or samples for most of that on GitHub and probably don't want to produce an official white paper:
"Your MQ cat - all the ways you can skin it"
crashdog wrote: |
Today I guess all server side software installation is highly automated and most software simply installable with a simple yum, rpm and Ansible/Puppet parameterization. |
Pretty much. We just broke the 6000 Linux server ceiling and we'd never keep all the different configurations straight without tooling. Even with a smaller, sensible number of servers, as a minimum you'd use rpm for installs these days. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
crashdog |
Posted: Tue Mar 19, 2019 6:34 am Post subject: |
|
|
 Voyager
Joined: 02 Apr 2017 Posts: 77
|
Quote: |
Is it not easy to add a ./mqlicense.sh -accept line anywhere in the Ansible script/playbook? |
It would be that simple if the files are available on the target system. The question is how do you get them there... nfs mount ? hardly. rpm wrapper, yes but you have to engineer it.
Cheers,
Gerhard _________________ You win again gravity ! |
|
Back to top |
|
 |
exerk |
Posted: Tue Mar 19, 2019 6:50 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
crashdog wrote: |
Quote: |
Is it not easy to add a ./mqlicense.sh -accept line anywhere in the Ansible script/playbook? |
It would be that simple if the files are available on the target system. The question is how do you get them there... nfs mount ? hardly. rpm wrapper, yes but you have to engineer it.
Cheers,
Gerhard |
What is your site standard for moving files between servers? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
crashdog |
Posted: Tue Mar 19, 2019 6:56 am Post subject: |
|
|
 Voyager
Joined: 02 Apr 2017 Posts: 77
|
that's sftp, but it would need a manual step during installation. But as mentioned we've solved it by wrapping it into an rpm and reploy it over a yum repository. The wrapper has to be build manually, but then you can deploy happily ever after.
Cheers,
Gerhard _________________ You win again gravity ! |
|
Back to top |
|
 |
|