Top
ETERNUS SF AdvancedCopy Manager V16.8 Operation Guide
FUJITSU Storage

B.2.2 Applying Sample Shell Scripts

B.2.2.1 DB Information Collection

Sample Shell Script Update

For actual operations, adjust the following procedures of the sample shell script for the backup management function (swst_or_iv) or the sample shell script for the replication management function (swsrp_or_iv). The following numbers correspond to those in the scripts:

  • 0) Environmental variable setting

  • 1) Acquisition of Oracle table space information

  • 2) Acquisition of Oracle log information

  • 3) Acquisition of Oracle control information

Procedures 1) to 3) change Oracle account information.
These scripts can operate only on business servers of AdvancedCopy Manager.

B.2.2.2 File System Backup

AdvancedCopy Manager Setup

Set up backup volumes so that the mount point targeted for backup is backed up correctly in AdvancedCopy Manager.
The generations of the backup volumes to be managed are arbitrary.

Sample Shell Script Update

For actual operations, adjust the following procedures of the sample shell script for the backup management function (swst_or_fs_bk). The following numbers correspond to those in the scripts:

  • 0) Environmental variable setting

  • 1) Notification issued to Oracle of the start of backup

  • 3) Notification issued to Oracle of the stopping of backup

Procedures 1) and 3) refer to the spdata.bgn file and spdata.end file created by swst_or_iv.
These scripts can operate only on business servers of AdvancedCopy Manager.

B.2.2.3 Raw Device Backup

AdvancedCopy Manager Setup

Set up backup volumes so that the raw device targeted for backup is backed up correctly in AdvancedCopy Manager.
The generations of the backup volumes to be managed are arbitrary.

Sample shell script Update

For actual operations, adjust the following procedures of the sample shell script for the backup management function (swst_or_rd_bk). The following numbers correspond to those in the scripts:

  • 0) Environmental variable setting

  • 1) Notification issued to Oracle of the start of backup

  • 3) Notification issued to Oracle of the stopping of backup

Procedures 1) and 3) refer to spdata.lst, spdata.srt, spdata.bgn, spdata.end, splog.lst and spcont.lst, created by swst_or_iv.
These scripts can operate only on business servers of AdvancedCopy Manager.

Recording and Managing Backup Volume Name and Processing Time

After executing a shell script, a backup volume name and the processing time are output in a message. This information is needed for restoration, so it must be recorded and managed.

B.2.2.4 Logical Volume Backup

AdvancedCopy Manager Setup

Set up backup volumes so that the logical volume targeted for backup is backed up correctly in AdvancedCopy Manager.

Sample Shell Script Update

For actual operations, adjust the following procedures of the sample shell script for the replication management function (swsrp_or_lv_bk). The following numbers correspond to those in the scripts:

  • 0) Environmental variable setting

  • 1) Notification issued to Oracle of the start of backup

  • 3) Notification issued to Oracle of the stopping of backup

Procedures 1) and 3) refer to spdata.bgn and spdata.end created by swsrp_or_iv.
These scripts can operate only on business servers of AdvancedCopy Manager.