beautypg.com

Sun Microsystems GLASSFISH ENTERPRISE 820433510 User Manual

Page 37

background image

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:

...

to:

...

Change:

to:

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