It is required to back up the Express's manager environment to recover from failure on the Management Server.
Perform the following procedure to back up the Express's manager environment.
All operations are performed on the Management Server.
Information
About description in the procedure:
Directory name | Explanation |
---|---|
$BAK_DIR | This is a backup destination directory. |
Stop the ETERNUS SF Manager Web service.
Execute the following shell script to stop the service.
/opt/FJSVesfcm/bin/stop-webservice.sh
Create a backup data.
Create the following backup directories:
mkdir -p $BAK_DIR/Common
Execute the following command to create a backup data. Specify 15432 to <port number> by default. If you have changed the port number, specify that port number to <port number>. The file name of the created backup data is <file_name>.
/opt/FJSVesfcm/postgres/bin/pg_dump -U esfpostgres -C --attribute-inserts -p <port number> -f $BAK_DIR/Common/<file_name> esfdb
The prompt is displayed, and waiting for input. Input the following strings.
master01!
Execute the following shell script to stop the ETERNUS SF Manager services.
/opt/FJSVesfcm/bin/stopesf.sh
Note
When the batch is executed, the message that ETERNUS SF Manager Web Service has been already stopped is displayed many times. Please ignore because there is no problem.
Back up the management information for disk storage system.
Create the following backup directory:
mkdir -p $BAK_DIR/var/opt/FJSVssmgr/current/opencimom/logr
Copy the files to the backup destination directory.
cp -Rp /var/opt/FJSVssmgr/current/opencimom/logr/* $BAK_DIR/var/opt/FJSVssmgr/current/opencimom/logr/
Back up an essential file.
If a file does not exist, this step is unnecessary.
Create the following backup directory.
mkdir -p $BAK_DIR/var/opt/FJSVssmgr/current
Copy the backup source file to the backup destination directory.
cp -p /var/opt/FJSVssmgr/current/systemevent.csv $BAK_DIR/var/opt/FJSVssmgr/current/
Back up files that are related to the performance management function.
If you are not using the performance management function, this step is unnecessary.
Create the following backup directory.
mkdir -p $BAK_DIR/etc/opt/FJSVssmgr/current mkdir -p $BAK_DIR/etc/opt/FJSVssmgr/current/perfconf mkdir -p $BAK_DIR/var/opt/FJSVssmgr/current/perf
Copy the subdirectories and files to the backup destination directory.
cp -p /etc/opt/FJSVssmgr/current/perf.conf $BAL_DIR/etc/opt/FJSVssmgr/current/ cp -p /etc/opt/FJSVssmgr/current/perfconf/* $BAL_DIR/etc/opt/FJSVssmgr/current/perfconf/ cp -Rp /var/opt/FJSVssmgr/current/perf/* $BAL_DIR/var/opt/FJSVssmgr/current/perf/
Back up customizable files.
It is unnecessary to back up the files or directories which are not existed.
Create the following backup directory.
mkdir -p $BAK_DIR/etc/opt/FJSVssmgr/current mkdir -p $BAK_DIR/etc/opt/FJSVssmgr/current/eventmail
Copy the subdirectories and files to the backup destination directory.
cp -p /etc/opt/FJSVssmgr/current/sanma.conf $BAK_DIR/etc/opt/FJSVssmgr/current/ cp -Rp /etc/opt/FJSVssmgr/current/eventmail/* $BAK_DIR/etc/opt/FJSVssmgr/current/eventmail/
Back up the polling service setting file.
This step can be skipped if you are not customizing the polling service setting file.
If you have customized the polling service setting file pollingService.xml, back up this file using the step shown below:
Create the directory for the backup data.
# mkdir -p $BAK_DIR/etc/opt/FJSVssmgr/current/polling
Copy the file to the backup location.
# cp -p /etc/opt/FJSVssmgr/current/polling/pollingService.xml $BAK_DIR/etc/opt/FJSVssmgr/current/polling/
Back up the files associated with definition of copy group and copy pair.
This step is required only when using Advanced Copy function.
Create the following backup directories.
mkdir -p $BAK_DIR/CCM/etc mkdir -p $BAK_DIR/CCM/etc/db mkdir -p $BAK_DIR/CCM/etc/db/cg mkdir -p $BAK_DIR/CCM/etc/prop mkdir -p $BAK_DIR/CCM/var/micc/database
Copy the subdirectories and files to the backup destination directory.
It is unnecessary to back up the files which are not existed.
cp -p /etc/opt/FJSVccm/db/eternus.xml $BAK_DIR/CCM/etc/db cp -p /var/opt/FJSVccm/micc/database/DeviceRegList.xml $BAK_DIR/CCM/var/micc/database cp -p /etc/opt/FJSVccm/prop/user.properties $BAK_DIR/CCM/etc/prop cp -p /etc/opt/FJSVccm/accc/etc/stxc.alias $BAK_DIR/CCM/etc cp -p /etc/opt/FJSVccm/accc/etc/stxc_ext.alias $BAK_DIR/CCM/etc cp -p /etc/opt/FJSVccm/accc/etc/stxcvolinf $BAK_DIR/CCM/etc cp -Rp /etc/opt/FJSVccm/db/cg/* $BAK_DIR/CCM/etc/db/cg
Back up the license management database.
Create the following backup directory:
mkdir -p $BAK_DIR/LM
Execute the following command. The file specified with <file_name> will be created as a backup file.
/opt/FJSVesflm/bin/esflm backup $BAK_DIR/LM/<file_name>
Execute the following shell script to start the ETERNUS SF Manager services.
/opt/FJSVesfcm/bin/startesf.sh