Basic Enterprise Server Commands

4Change domain-root-dir/domain1/generated/tmpdirectory 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.

5Change the host values for the properties in the domain.xml file for the third machine:

6Update the domain-root-dir/domain1/config/domain.xmlon 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/>...

7Change:

<jms-service... host=machine1.../> to:

<jms-service... host=machine3.../>

8Start the restored domain on machine3:

asadmin start-domain --user admin-user--password admin-passworddomain1

9Change the DAS host values for properties under node agent on machine2.

10Change agent.das.host property value in as-install/nodeagents/nodeagent/agent/config/das.properties on machine2.

11Restart 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.

Chapter 1 • Enterprise Server Overview

37

Page 37
Image 37
Sun Microsystems 820433510 manual Change