Recreating the Domain Administration Server
For mirroring purposes, and to provide a working copy of the Domain Administration Server
(DAS), you must have:
■
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 congured using the DAS on the rst
machine.
■
A third backup machine (machine3) where the DAS needs to be recreated in case the rst
machine crashes.
Note – You must maintain a backup of the DAS from the rst machine. Use asadmin
backup-domain to backup the current domain.
▼
To migrate the DAS
The following steps are required to migrate the Domain Administration Server from the rst
machine (machine1) to the third machine (machine3).
Install the application server on thethird machine just asit is installed on the rstmachine.
This is required so that the DAS can be properly restored on the third machine and there are no
path conicts.
a. Install theapplication server administration package using thecommand-line (interactive)
mode.To activate the interactive command-linemode, invoke the installation program
using the console option:
./bundle-lename -console
You must have root permission to install using the command-line interface.
b. Deselect the optionto install default domain.
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).
Copythe backup ZIP le from the rstmachine into the domain-root-dir onthe third machine.
You can also FTPthe le.
Execute asadmin restore-domain command to restore the ZIP le onto the third machine:
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.
1
2
3
BasicEnterpriseServerCommands
SunGlassFishEnterpriseServer2.1AdministrationGuide • December200836