Change
domain-root-dir
/domain1/generated/tmp
directory permissions on the third machine
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:
Update the
domain-root-dir
/domain1/config/domain.xml
on the third machine.
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:
<jms-service... host=machine1.../>
to:
<jms-service... host=machine3.../>
Start the restored domain on machine3:
asadmin start-domain --user
admin-user
--password
admin-password
domain1
Change the DAS host values for properties under node agent on machine2.
Change
agent.das.host
property value in
as-install
/nodeagents/
nodeagent
/agent/config/das.properties
on machine2.
Restart the node agent on machine2.
Note –
Start the cluster instances using the
asadmin start-instance
command to allow them
to synchronize with the restored domain.
4
5
6
7
8
9
10
11
Basic Enterprise Server Commands
Chapter 1 • Enterprise Server Overview
37
Summary of Contents for Sun GlassFish Enterprise Server 2.1
Page 12: ...12 ...
Page 13: ...Figures FIGURE 1 1 Enterprise Server Instance 29 FIGURE 9 1 RoleMapping 105 13 ...
Page 14: ...14 ...
Page 18: ...18 ...
Page 38: ...38 ...
Page 62: ...62 ...
Page 96: ...96 ...
Page 126: ...126 ...
Page 160: ...160 ...
Page 214: ...214 ...
Page 218: ...218 ...
Page 230: ...230 ...