users@glassfish.java.net

Design Question Regarding Domains and Nodes

From: <forums_at_java.net>
Date: Mon, 12 Mar 2012 08:40:31 -0500 (CDT)

 Hello,

I have a use-case for multiple domains involving delegated administrative
access, but those domains would be using the same hostnames.  In proof of
concept work, it seems to work fine if the same hostnames arereferenced
multiple times by different nodes in different domains.  Any feedback on
doing something like this?

This would result in a structure such as:

  * domain1 -> domain1-host1-node -> host1.domain.org
  * domain1-> domain1-host2-node -> host2.domain.org
  * domain2 -. domain2-host1-node -> host1.domain.org
  * domain2 -> domain2-host2-node -> host2.domain.org

I would use commands similar to the following to create this structure:

  * asadmin create-domain my_domain
  * asadmin create-domain --portbase 20000 your_domain
  * asadmin create-node-ssh --nodehost=host1 my_domain-host1-node
  * asadmin create-node-ssh --nodehost=host2 my_domain-host2-node
  * asadmin --host localhost --port 20048 create-node-ssh --nodehost=host1
    your_domain-host1-node
  * asadmin --host localhost --port 20048 create-node-ssh --nodehost=host2
    your_domain-host2-node

Then, I would create appropriate clusters and instances within the respective
domains.  Is this how multiple domain setup on limited physical hosts was
designed to work?  Is there a different or better way to accomplish the same
thing?

 


--
[Message sent by forum member 'sspyrison']
View Post: http://forums.java.net/node/884204