I don’t really mean to reopen a can of big
gnarly worms with more teeth than you can shake a stick at, but....
If the Domain and the Broker are always
and only on the same Node, Why do have both?
I thought the point of the Domain was to
tell clients where the broker lives, and if it always live in the same place
the Domain lives...what up with that?
We’ve been here before, but a refresher reader’s
digest on the logic here would be good.
- John
From:
cosmos-dev-bounces@xxxxxxxxxxx [mailto:cosmos-dev-bounces@xxxxxxxxxxx] On Behalf Of Mark D Weitzel
Sent: Thursday, January 24, 2008
2:28 PM
To: cosmos-dev@xxxxxxxxxxx
Cc: Mohsin, Jimmy; Muldoon,
William H; Ali Mehregani; Devine, John T;
William.Muldoon@xxxxxxxxxxxxxxxxxxxxxxx
Subject: [cosmos-dev] RE: 216387 -
Broker and domain on different machines
Several questions.
Is
there a reason that this information was not posted on cosmos-dev? I
think we need to make sure that we are being as transparent as possible. For
example, Shivvy is not on this note chain and she's got some good info and
would benefit from this set of mail.
That
said....
From
the standpoint of COSMOS, the domain is the enrty point. Going to Jimmy's
scenario:
>>I have a FUNDAMENTAL question about
this defect… Is this even a valid deployment of COSMOS? If I understand
Shivvy right, she was running TWO different instances of COSMOS… In that case,
HOW would instance #1 Management Domain even know about the instance #2 Broker?
Or do we have some sort of an overarching EPR management or registration
that can cross instances???? <<
This
is an invalid scenario for for i8. For 1.0, the domain has only one
broker.
Continuing
on...
>>OK cool.. I guess I learnt something new… In this case, if we have
multiple instances of COSMOS running EACH having the Domain / Broker, what do
we do to ensure that only ONE Domain functions and only ONE Broker function?
<<
I'm
not sure if we have anything in place today to handle this specific scenario.
>>Additionally, in this scenario, who manages the EPRs? The client?
And since we have multiple EPRs for a single component (e.g. we have
multiple Brokers), how does the client know which EPR to use?
<<
In
order to keep this simple, for 1.0, we said a single instance of the client (or
MDR, Broker, et) knows about a single domain.
-mw
_______________________________________________________________________________________________________________
Mark Weitzel | STSM | IBM Software Group | Tivoli | Autonomic Computing | (919) 543 0625
| weitzelm@xxxxxxxxxx

|
RE: 216387 - Broker and
domain on different machines
|
Sheldon Lee-Loy
|
to:
|
Mohsin, Jimmy
|
01/24/08
01:17 PM
|
Cc:
|
Ali Mehregani, Hubert H Leung,
"Devine, John T", Mark D Weitzel, "Muldoon, William
H"
|
|
|
|
The COSMOS UI client has a configuration option in the web.xml that the
deployer would modify to point to a specific management domain.
Thanks,
Sheldon
______________________________________
Sheldon Lee-Loy
Tivoli
Autonomic Computing, IBM Toronto Lab
email: sleeloy@xxxxxxxxxx
phone: 905.413.2610
"Mohsin, Jimmy"
<Jimmy.Mohsin@xxxxxx>
24/01/2008 01:15 PM
|
To
|
"Muldoon, William H"
<William.Muldoon@xxxxxx>, "Mark D Weitzel"
<weitzelm@xxxxxxxxxx>
|
cc
|
Hubert H Leung/Toronto/IBM@IBMCA, Sheldon
Lee-Loy/Toronto/IBM@IBMCA, "Devine, John T"
<John.Devine@xxxxxx>, Ali Mehregani/Toronto/IBM@IBMCA
|
Subject
|
RE: 216387 - Broker and domain on different
machines
|
|
Bill,
OK … so my questions stand….
Team,
Any comments?? Is this even a viable test? If yes, how does the client
determine which instance of the Domain / Broker to use?
Thanks,
Jimmy Mohsin
Cell +1-609-635-1703
From: Muldoon, William H
Sent: Thursday, January 24, 2008 1:12 PM
To: Muldoon, William H; Mohsin, Jimmy; 'Mark D Weitzel'
Cc: 'Hubert H Leung'; 'sleeloy@xxxxxxxxxx'; Devine, John T; 'Ali
Mehregani'
Subject: RE: 216387 - Broker and domain on different machines
Jimmy
I stand corrected; the domain and
broker are packaged together. So as you stated, there are two sets of
domain-broker pairs, one on each machine.
Regards
Bill
From: Muldoon, William H
Sent: Thursday, January 24, 2008 11:42 AM
To: Mohsin, Jimmy; 'Mark D Weitzel'
Cc: 'Hubert H Leung'; 'sleeloy@xxxxxxxxxx'; Devine, John T; 'Ali
Mehregani'
Subject: RE: 216387 - Broker and domain on different machines
Jimmy
My interpretation of the setup is that
Shivy deployed a single domain in tomcat on machine 1 and a single broker in
tomcat on machine 2. We can confirm this configuration when she sends the
registry (or just ask her).
The client can be deployed anywhere but it only knows the EPR of the domain on
machine 1.
Regards
Bill
From: Mohsin, Jimmy
Sent: Thursday, January 24, 2008 11:34 AM
To: Muldoon, William H; 'Mark D Weitzel'
Cc: 'Hubert H Leung'; 'sleeloy@xxxxxxxxxx'; Devine, John T; 'Ali
Mehregani'
Subject: RE: 216387 - Broker and domain on different machines
Bill,
OK cool.. I guess I learnt
something new… In this case, if we have multiple instances of COSMOS running
EACH having the Domain / Broker, what do we do to ensure that only ONE Domain
functions and only ONE Broker function?
Additionally, in this scenario, who manages the EPRs? The client?
And since we have multiple EPRs for a single component (e.g. we have
multiple Brokers), how does the client know which EPR to use?
Thanks,
Jimmy Mohsin
Cell +1-609-635-1703
From: Muldoon, William H
Sent: Thursday, January 24, 2008 11:29 AM
To: Mohsin, Jimmy; 'Mark D Weitzel'
Cc: 'Hubert H Leung'; 'sleeloy@xxxxxxxxxx'; Devine, John T; 'Ali
Mehregani'
Subject: RE: 216387 - Broker and domain on different machines
Jimmy
Yes I think it’s valid because any
COSMOS component (domain, broker, data managers, UI) may be deployed on any
node in the network. The domain knows the EPR of the broker because Shivy
specified the domain EPR in step 3:
3. client app on machine 2; broker register
command executed with domain EPR
reflecting machine 1; Broker registered
successfully message displayed
Regards
Bill
From: Mohsin, Jimmy
Sent: Thursday, January 24, 2008 11:20 AM
To: Mark D Weitzel
Cc: Hubert H Leung; 'sleeloy@xxxxxxxxxx'; Devine, John T; Ali
Mehregani; Muldoon, William H
Subject: 216387 - Broker and domain on different machines
Gents,
I have a FUNDAMENTAL question about this defect… Is this even a valid deployment
of COSMOS? If I understand Shivvy right, she was running TWO different
instances of COSMOS… In that case, HOW would instance #1 Management Domain even
know about the instance #2 Broker? Or do we have some sort of an
overarching EPR management or registration that can cross instances????
Thanks,
Jimmy Mohsin
Cell +1-609-635-1703