Ruzi,

I would change this slightly.  Go ahead and set up your new CLUSSDR channels
(step 5.1) right after you establish the new repositories and before you
delete the old ones (step 2.A, I guess).  The cluster info travels along
explicitly defined channels and you want to make sure these are active
before removing the old repositories.

Check out the Clusters manual,
http://publibfp.boulder.ibm.com/epubs/html/csqzah06/csqzah06tfrm.htm
Chapter 9, Task 6 describes how to do this.  Additional task at the end is
to DIS CHL(*) TYPE(CLUSSDR) on each member QMgr to find any missing or extra
channels so you can fix them.  As long as you have a properly defined
CLUSSDR to the new repositories, REFRESH CLUSTER REPOS(YES) does the same
thing.

-- T.Rob

-----Original Message-----
From: Ruzi R [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2003 10:57 AM
To: [EMAIL PROTECTED]
Subject: Replacing and removing full repositories of a cluster


Hi all,

QM1 and QM2 are full repositories of MYCLUS cluster.
QM1 and QM2 will be replaced by QMA and QMB which are
not currently in the cluster. There are quite a few
queue managers in the cluster.

Checklist for steps to follow:

 Make QMA and QMB  full repositories:
--------------------------------------------------
1-Make  QMA and QMB members of the cluster
   1.1 On QMA:
       Define clusrcvr channel: TO.QMA
       Define  clussdr channel:TO.QM1 (pointing to
QM1)

   1.2  Make the QMA a full repository:
          ALTER QMGR REPOS(MYCLUS)


   1.3  On QMB:
        Define clusrcvr channel:TO.QMB
        Define  clussdr channel:TO.QMA(pointing to
QMA)


   1.4  Make the QMB a full repository:
           ALTER QMGR REPOS(MYCLUS)

2- Define  clussdr channel on QMA pointing to QMB:
TO.QMB

(Now there are 4 full repositories in the cluster)

Make QM1 and QM2 non-full repositories:
---------------------------------------------------
3-Alter QM1 and QM2 to make them non-full
repositories,like:
      ALTER QMGR REPOS(   )

4- Delete clussdr channel on QMA pointing to  QM1:
   4.1 Alter  channel (TO.QM1) repos(   )
   4.2 Stop channel (TO.QM1)
   4.3 Delete channel (TO.QM1)

5- On all the other qmgrs that are in the cluster:
   5.1Define clussdr channel pointing to QMA (or QMB):
      DEFINE CHANNEL(TO.QMA) CHLTYPE(CLUSSDR)
CLUSTER(MYCLUS)

   5.2  Delete old  clussdr channels pointing to QM1
       (namely, TO.QM1. May have to alter these
channels, stop and then delete them as mentioned in
step 4.1 thru 4.3)

Remove the old repositories from the cluster:
------------------------------------------------------
6- Suspend QM1 and QM2
7- Remove clusrcvr channels on QM1 and QM2, like:
  ALTER CHANNEL(TO.QM1)CHLTYPE(CLUSRCVR)CLUSTER (    )

  ALTER CHANNEL(TO.QM2) CHLTYPE(CLUSRCVR)CLUSTER (
)
8- Stop the channels mentioned in step 7
9- Delete the channels mentioned in step 7
10-Delete clussdr channels on QM1 and QM2 which are
pointing to each other:
     On QM1: DELETE CHANNEL (TO.QM2)
     On QM2: DELETE CHANNEL (TO.QM1)

Have I missed any step? Is it a good idea to issue
REFRESH CLUSTER REPOS(NO or YES???)  on the non-full
repository qmgrs, after the lat step? I know, the
REPOS(YES) would require the qmgr to be non-full
repository, which can be done by making it non-full
repos temporarily (just to issue the command) and then
changing it back to full rep

Thanks for your response in advance,

Ruzi

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to