ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexGeneral IBM MQ Supportunattended MQ Advanced RHEL installation and mqlicense

Post new topicReply to topic
unattended MQ Advanced RHEL installation and mqlicense View previous topic :: View next topic
Author Message
crashdog
PostPosted: Mon Mar 18, 2019 9:24 pm Post subject: unattended MQ Advanced RHEL installation and mqlicense Reply with quote

Apprentice

Joined: 02 Apr 2017
Posts: 29
Location: Schaffhausen

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
View user's profile Send private message
Vitor
PostPosted: Tue Mar 19, 2019 5:03 am Post subject: Re: unattended MQ Advanced RHEL installation and mqlicense Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25608
Location: Ohio, 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
View user's profile Send private message
crashdog
PostPosted: Tue Mar 19, 2019 5:18 am Post subject: Reply with quote

Apprentice

Joined: 02 Apr 2017
Posts: 29
Location: Schaffhausen

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
View user's profile Send private message
exerk
PostPosted: Tue Mar 19, 2019 5:36 am Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6015

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
View user's profile Send private message
Vitor
PostPosted: Tue Mar 19, 2019 5:38 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25608
Location: Ohio, 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
View user's profile Send private message
crashdog
PostPosted: Tue Mar 19, 2019 6:34 am Post subject: Reply with quote

Apprentice

Joined: 02 Apr 2017
Posts: 29
Location: Schaffhausen

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
View user's profile Send private message
exerk
PostPosted: Tue Mar 19, 2019 6:50 am Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6015

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
View user's profile Send private message
crashdog
PostPosted: Tue Mar 19, 2019 6:56 am Post subject: Reply with quote

Apprentice

Joined: 02 Apr 2017
Posts: 29
Location: Schaffhausen

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
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ Supportunattended MQ Advanced RHEL installation and mqlicense
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.