|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
since what version HOSTNAME can not be changed |
« View previous topic :: View next topic » |
Author |
Message
|
Vitor |
Posted: Thu Aug 21, 2014 8:45 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
Look, maybe it's just better to wait until Monday when serpota can give some real data about what's really going wrong. |
It is indeed. Hence my earlier comment of:
Vitor wrote: |
I look forward to your posting of the error message with interest |
mqjeff wrote: |
There shouldn't be any part of any version of MQ that is tightly coupled to the host name of a given machine. |
Indeed not, not even the QMID which seems to be at issue. Hence my earlier comment of:
Vitor wrote: |
The queue manager will (or should) start |
That "should" leads onto the:
Vitor wrote: |
I look forward to your posting of the error message with interest |
The rest of the comments were more on the a) 9 queue managers in a topology isn't that complex and have pity on the rest of us & b) even if for some inexplicable reason changing the hostname is toxic to exisiting queue managers, tearing down and recreating 9 queue managers to cater for the new hostname isn't exactly the worst thing in the world.
Obviously I still wait for Monday and the error message as it shouldn't come to that, or anything near to that, for the OP. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Aug 21, 2014 9:43 am Post subject: Re: since what version HOSTNAME can not be changed |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9472 Location: US: west coast, almost. Otherwise, enroute.
|
serpota wrote: |
Unfortunately, we have noticed that changing HOSTNAME of the host machine destroys MQ. |
Did you mean using the o/s variable 'HOSTNAME' in channel definitions? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Aug 22, 2014 5:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20757 Location: LI,NY
|
My guess is that what he means is that he can no longer start the MQ Service. Hence the use of a domain service id would have avoided this to some extent. You'd still have to check the local policies like logon as service, logon as batch, verify the password, verify the user is enabled and valid, etc...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
serpota |
Posted: Sat Aug 23, 2014 1:36 am Post subject: |
|
|
Voyager
Joined: 26 May 2006 Posts: 85
|
Let me try to answer all of you, by sequence.
mr Exerc : by "will destroy a simple MQ next Monday" I mean I will get a workstation I have with a single qmgr, change the windows hostname, and try to start qmgr and send the error to this forum.
mr Bruce & Vitor : yes, I do have MQSC scripts, and I think they are good enough. They create (ans start) qmgrs, create objects, and the channels do have standard names.
mr Vitor : yes, it is a matter of munutes, jejeje, from 15 to 90, to verify all cluster channels have started, that all listeners are running, all CCDTs are up to date and in place, MB flows are consuming messages.
mr mqjeff : no, it is not a limited edition.
mr Bruce : no, we dont us hostnames in channels. As IPs are fixed, we code actual IP instead of the host name.
mr fjb_saper : maybe it is "can no longer start the MQ Service", but i'd say it is the "strmqm QM-NAME" command that complains ...
Have all a nice weekend. |
|
Back to top |
|
 |
bruce2359 |
Posted: Sat Aug 23, 2014 5:31 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9472 Location: US: west coast, almost. Otherwise, enroute.
|
Please be precise with your answers.
What version of Windows is running on the platform where you experience this failure?
Is the Windows image a host image or guest image (vmware, for example)?
How exactly did you change the hostname?
What exactly was the hostname BEFORE you changed it? What exactly was the hostname AFTER you changed it?
You mentioned that the strmqm command fails to start the qmgr. Post the complete command you used to start the qmgr. When it next fails, post the complete error message you see. Post also the first 50 or so lines from the FFST in the errors folder for this qmgr - especially the ProbeId.
You mentioned a complex of 9 qmgrs. Is the failure on any or all 9 qmgrs?
Have you successfully changed hostname on other qmgrs? (I ask because I've change hostname on Windows and unix flavors with no ill-effect on qmgrs up through MQ v7.) _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
serpota |
Posted: Mon Aug 25, 2014 3:40 am Post subject: |
|
|
Voyager
Joined: 26 May 2006 Posts: 85
|
Good morning, coleagues.
First i did in in an old machine, with Windows XP.
All went fine : hostname changed, qmgr starts ok.
Then I did it on my machine (windows 7, 9 qmgrs) - all went fine.
There must be something I am missing, because the problem (qmgrs not starting) did happen to me 1 month ago (before holidays, true) and I have a very nice set of scripts to re-construct my cluster ... and they were tuned up by this problem.
Sorry I cant provide more info today.
Will be back when the problem comes back, and that is sure, because for one reason or another I am changing hostname once every 3-6 months.
Regards.
PD.- I dont want Bruce's questions to be unanswered.
Windows version - windows 7 pro
Windows host or guest : host, no vmware
hostname change - using system menus, this is, "Computer" + "Properties" + "Advanced System Settings" + "Computer Name" + Change
hostname before = "rip430t" ;
hostname after = "yip250rh" ;
command to start qmgr = strmqm IB9QMGR
error msg : next time
FFST contents - good idea !
9 qmgrs - none of them starts ; same error ;
[/quote] |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Aug 25, 2014 4:31 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Are you restarting the system after changing the hostname?
With Windows, I always restart the system after changing the hostname. There is no telling what Windows does with it and changing it might make things that previously worked fail. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
serpota |
Posted: Tue Aug 26, 2014 1:45 am Post subject: |
|
|
Voyager
Joined: 26 May 2006 Posts: 85
|
mr smdavies - yes, i do restart my workstation quite often, even after deleteing a program or just after installing a new one.
There has to be something else I have missed this time.
Guess summer has deleted some neurones ... |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Aug 26, 2014 4:35 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20757 Location: LI,NY
|
serpota wrote: |
mr smdavies - yes, i do restart my workstation quite often, even after deleteing a program or just after installing a new one.
There has to be something else I have missed this time.
Guess summer has deleted some neurones ... |
How about the difference between a windows server and a windows workstation? i.e. running Win Server 2012 vs Windows 8.1 professional ?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
serpota |
Posted: Wed Aug 27, 2014 12:58 am Post subject: |
|
|
Voyager
Joined: 26 May 2006 Posts: 85
|
Yes, I agree a Server shall be quite more stable, but my company does not allow me to have that software ... jejeje
Anyway, I am pushing towards Linux ... I always likes SLES v11, but now RH v7 looks very nice to me
 |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Aug 27, 2014 1:14 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
serpota wrote: |
Yes, I agree a Server shall be quite more stable, but my company does not allow me to have that software ... jejeje
|
If I remember correctly you can find a version of windows Server 2008R2 that does not need a key and lasts for 6 months. This is for demos, POC's etc. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|