Sun Microsystems GlassFish Enterprise Server 2.1 Administration Manual page 37

Hide thumbs Also See for GlassFish Enterprise Server 2.1:
Table of Contents

Advertisement

Change domain-root-dir/domain1/generated/tmp directory permissions on the third machine
4
to match the permissions of the same directory on first machine.
The default permissions of this directory are: ?drwx------? (or 700).
For example:
chmod 700 domain-root-dir/domain1/generated/tmp
The example above assumes you are backing up domain1. If you are backing up a domain by
another name, you should replace domain1 above with the name of the domain being backed
up.
Change the host values for the properties in the domain.xml file for the third machine:
5
Update the domain-root-dir/domain1/config/domain.xml on the third machine.
6
For example, search for machine1 and replace it with machine3. So, you can change:
<jmx-connector><property name=client-hostname value=machine1/>...
to:
<jmx-connector><property name=client-hostname value=machine3/>...
Change:
7
<jms-service... host=machine1.../>
to:
<jms-service... host=machine3.../>
Start the restored domain on machine3:
8
asadmin start-domain --user admin-user --password admin-password domain1
Change the DAS host values for properties under node agent on machine2.
9
Change agent.das.host property value in
10
as-install/nodeagents/nodeagent/agent/config/das.properties on machine2.
Restart the node agent on machine2.
11
Start the cluster instances using the asadmin start-instance command to allow them
Note –
to synchronize with the restored domain.
Chapter 1 • Enterprise Server Overview
Basic Enterprise Server Commands
37

Advertisement

Table of Contents
loading

Table of Contents