Recreatingthe Domain Administration Server
Formirroring purposes, and to provide a working copy of the Domain Administration Server
(DAS),you must have:
Onemachine (machine1) that contains the original DAS.
Asecond machine (machine2) that contains a cluster with server instances running
applicationsand catering to clients. The cluster is congured using the DAS on the rst
machine.
Athird backup machine (machine3) where the DAS needs to be recreated in case the rst
machinecrashes.
Note– You must maintain a backup of the DAS from the rst machine. Use asadmin
backup-domainto backup the current domain.

Tomigrate the DAS

Thefollowing steps are required to migrate the Domain Administration Server from the rst
machine(machine1) to the third machine (machine3).
Installthe application server on the third machine just as it is installed on the rst machine.
Thisis required so that the DAS can be properly restored on the third machine and there are no
pathconicts.
a. Installthe application server administration package using the command-line (interactive)
mode.Toactivate the interactive command-line mode, invoke the installation program
usingthe console option:
./bundle-lename -console
Youmust have root permission to install using the command-line interface.
b. Deselectthe option to install default domain.
Restorationof backed up domains is only supported on two machines with same
architectureand exactly the same installation paths (use same as-install and
domain-root-diron both machines).
Copythe backup ZIP le from the rst machine into the domain-root-dir on the third machine.
Youcanalso FTP the le.
Executeasadmin restore-domain command to restore the ZIP le onto the third machine:
asadmin restore-domain --filename domain-root-dir/sjsas_backup_v00001.zip domain1
Youcan backup any domain. However, while recreating the domain, the domain name should
besame as the original.
1
2
3
BasicEnterpriseSer ver Commands
SunGlassFishEnterprise Ser ver2.1 Administration Guide • December 200836