Recreating The Domain Administration Server - Sun Microsystems GlassFish Enterprise Server 2.1 Administration Manual

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

Advertisement

Basic Enterprise Server Commands

Recreating the Domain Administration Server

For mirroring purposes, and to provide a working copy of the Domain Administration Server
(DAS), you must have:
Note –
backup-domain to backup the current domain.
To migrate the DAS
The following steps are required to migrate the Domain Administration Server from the first
machine (machine1) to the third machine (machine3).
Install the application server on the third machine just as it is installed on the first machine.
1
This is required so that the DAS can be properly restored on the third machine and there are no
path conflicts.
a. Install the application server administration package using the command-line (interactive)
b. Deselect the option to install default domain.
Copy the backup ZIP file from the first machine into the domain-root-dir on the third machine.
2
You can also FTP the file.
Execute asadmin restore-domain command to restore the ZIP file onto the third machine:
3
asadmin restore-domain --filename domain-root-dir/sjsas_backup_v00001.zip domain1
You can backup any domain. However, while recreating the domain, the domain name should
be same as the original.
36
Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008
One machine (machine1) that contains the original DAS.
A second machine (machine2) that contains a cluster with server instances running
applications and catering to clients. The cluster is configured using the DAS on the first
machine.
A third backup machine (machine3) where the DAS needs to be recreated in case the first
machine crashes.
You must maintain a backup of the DAS from the first machine. Use asadmin
mode. To activate the interactive command-line mode, invoke the installation program
using the console option:
./bundle-filename -console
You must have root permission to install using the command-line interface.
Restoration of backed up domains is only supported on two machines with same
architecture and exactly the same installation paths (use same as-install and
domain-root-dir on both machines).

Advertisement

Table of Contents
loading

Table of Contents