41.3. How to Start Manageable Servers in a Domain

The servers must obey these rules:

NoteNote
 

Also note the following:

  • Servers can be started in any order.

  • Servers can join or leave the domain at any time. Domain management information is updated on the master servers.

  • A slave server may become master by invoking the startDiscoveryMaster management operation exposed by the discovery service. This operation can be invoked using the JonasAdmin management console deployed on a master server.

41.3.1. Example:

Consider a scenario in which there are three JOnAS servers named jonas, j1 and j2. Assume they have discovery service configured with at least one of the servers playing the role of master.

  1. Start the server named jonas in domain jonas (by default, the domain name is given by the server's name):

    jonas start
  2. Start the server named j1 in domain jonas:

    jonas start -n j1 -Ddomain.name=jonas
  3. Start the server named j2 in domain jonas:

    jonas start -n j2 -Ddomain.name=jonas

    NoteNote
     

    Note that servers may be started in any order.