Author |
Message
|
mqsidude |
Posted: Fri Dec 21, 2007 2:31 pm Post subject: HACMP for WMB - Issue with file systems |
|
|
 Centurion
Joined: 22 Jan 2004 Posts: 148
|
Environment:
----------------
AIX 5.3, WMB 6.0.0.3, WMQ 6.0.2.2
Issue:
--------
We are trying to implement HA for WMB using HACMP and we are following support pac IC91 for configuring it. We are little confused about what file systems need to be created on shared disks. Assuming 'CONFIGMGR' would be the configuration manager name and 'BRK1' is the broker name, we created the following mount points (volume groups on shared disks)on the active node.
/var/mqsi/components/CONFIGMGR
/var/mqsi/registry/CONFIGMGR
/var/mqsi/components/BRK1
/var/mqsi/registry/BRK1
When we try to execute the config manager creation script 'hamqsicreatecfgmgr CONFIGMGR -i user -a user -q QM', it throws the following error:
Quote: |
BIP8087E: ESBPCM already exists and cannot be created |
What I think:
---------------
Looks like when the command finds and existing folder 'CONFIGMGR' under var/mqsi/components/ and var/mqsi/registry/ and assumes that the component already exists. I think we are missing something on the way the file systems are created and mounted.
Any help on how the file systems need to be created is highly appreciated.
Thanks everybody! |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Dec 24, 2007 9:50 am Post subject: The error messages tells a lot |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
When you create a broker or configmgr, the name of the broker/configmgr that you supply is used to create a directory tree with that name. Hence when you try to create the broker, it says sorry, you seem to have one with this name already. _________________ 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 |
|
 |
broker-rob |
Posted: Fri Dec 28, 2007 12:56 pm Post subject: |
|
|
Newbie
Joined: 28 Dec 2007 Posts: 5 Location: Hursley
|
hamqsicreate* scripts are designed to be used when remote (from the /var/mqsi) file systems are being used for the shares file system. It uses the remote filesystems that the queue managers are configured for.
A typical setup using the hamqsi* scripts is
Create queuemanager using HA scripts - this will then use a remote file system mount such as /MQHA/MyQM
Create Broker using HA scripts - this will look at where its queue managers files are being stored and use a directory under it i.e. /MQHA/MyQM/data/Components & /MQHA/MyQM/data/Registry
These will then be automatically linked to from /var/mqsi/registry/<brokername> & /var/mqsi/components/<brokername>
As you have found if you create mount points directly in the /var/mqsi filesystem the hamqsi scripts will fail. Its recommended to use a separate directory for the share filesystem and link it rather than linking it under /var/mqsi but is still possible by doing the following:
Unmount the shared filesystem
Use the standard mqsicreate* commands to create the component
Mount the shared filesystem to a temporary directory i.e. /mnt/a
Copy the contents of the registry/components directories across to the shared filesystem i.e. /var/mqsi/components/<component> -> /mnt/a
Unmount the shared filesystem and remount it in the corresponding directory i.e. /var/mqsi/components/<component>
This will then result in you using the standard file locations with shared discs |
|
Back to top |
|
 |
mqsidude |
Posted: Tue Jan 01, 2008 7:55 pm Post subject: |
|
|
 Centurion
Joined: 22 Jan 2004 Posts: 148
|
Thanks for all your responses..
I figured out that it uses the same shared file systems that were created for WMQ.
So all that I had to do was to remove the additional shared file systems that we created and it worked like a charm..
But the support pac was initially created for WMQI and hence had to make few changes in the scripts to make them work for WMB 6.0 |
|
Back to top |
|
 |
broker-rob |
Posted: Wed Jan 02, 2008 2:14 am Post subject: |
|
|
Newbie
Joined: 28 Dec 2007 Posts: 5 Location: Hursley
|
Which support pac are you using? IC91 which is the current HA support pac for broker should work with MB V6 |
|
Back to top |
|
 |
|