4.167 copy-disk

Use this command to copy a mirror image of the active fixed disk to the standby fixed disk. When the fixed disk requires replacement, or needs to be repaired or updated, this command formats the standby fixed disk and copies the contents of the active fixed disk to the standby fixed disk.

Caution:

Before entering this command, contact the Customer Care Center.

Caution:

If this command fails and the standby E5-TDM boots continuously, insert a removable disk with the same release as the fixed disks in the latched USB port of the standby E5-MCAP. The standby E5-MASP should successfully boot off the removable disk. After the E5-MASP has booted completely, re-enter the command.

Parameters

dloc (mandatory)
The location of the standby fixed disk. This is the destination drive for this function.
Range:
1114, 116

(TDM)

force (optional)
This parameter provides some protection against data loss from copying over a fixed disk. If the target medium is recognized as a valid system medium, the force=yes parameter must be specified.
Range:
yes
no
Default:
no
format (optional)
This parameter specifies whether to format the standby fixed disk before executing the copy. If a format is not necessary, specifying no can save a significant amount of time.
Range:
yes
no
Default:
yes
sloc (optional)
The location of the active fixed disk. This will be the source drive for this function.
Range:
1114, 1116

(TDM)

Default:
The location of the active fixed disk

Example

copy-disk:sloc=1114:dloc=1116:force=yes

Dependencies

Caution:

Do not turn off measurements at midnight because doing so can cause the loss of an entire day of measurements. Do not turn off measurements during the 30 minute measurements processing period, because this can result in the loss of the measurements for the 30 minute period being processed.

Measurements collection must be turned off before this command can be executed. Do not issue the chg-meas command while the copy-disk command is in progress. This results in read and write errors, because the standby fixed disk is not accessible and the active fixed disk only allows read-only access.

OAM Measurements collection cannot be in progress when this command is entered. Retry the command after a period of waiting for the measurements collection to complete.

The copy-disk command reserves both the active and standby disks, preventing database updates for the duration of the command. Access is allowed for read-only; writing to the disk is prohibited.

All commands that affect the database are not allowed for the duration of the command. Attempts to use such commands are rejected, and an error message is displayed indicating that the command has been rejected because the copy-disk command is in use.

The OAMHC GPL version that is running in the active OAM card location must be the same GPL version that is running in the standby OAM card location.

The sloc and dloc fixed disks must be available and compatible.

The sloc fixed disk must be coherent.

The dloc parameter must specify the standby fixed disk.

The sloc parameter must specify the active fixed disk.

The standby fixed disk cannot be initialized while un-uploaded security log entries exist.

The force=yes parameter is required if the destination medium is recognized as a system medium. This parameter is optional if the destination medium is not a system medium. Only media that contain the dms.cfg file are recognized as system media.

If the force=yes parameter is specified, the disk should not require low-level formatting, and the format=no parameter should also be specified.

N/A N/A

Security log purging must be stopped (CHG-ATTR-SECULOG:PURGEPERIOD=0) when the copy-diskcommand is executed.

Notes

If this command is initiated and the standby OAM initialization is not complete, command processing will be delayed. If standby initialization fails, the command proceeds to allow the standby TDM to recover from a previous format-disk or copy-disk failure. In such cases, the following messages appear:


Standby MASP has not finished initializing - please wait...

Standby MASP initialization timed out - continuing...

Specify the format=no parameter when upgrading a spare TDM. Specify the format=yes parameter when there is a suspected hardware problem.

When the active command is processing, the system cannot log other commands to the security log because the active fixed disk is set to read-only. During this time, commands that would alter the database fail when entered.

The performance time required to copy a fixed disk to another fixed disk varies depending on database size and system activity. This operation should typically take no longer than 2.5 hours. (If the low-level format (format=no) is not being performed, the operation should take no longer than an hour.) If the copy-disk operation exceeds three hours, or if the operation without the low-level format exceeds 1.5 hours, contact My Oracle Support. See the "My Oracle Support" section in Chapter 1 of this manual.

Output

copy-disk:sloc=1114:dloc=1116:force=yes

    rlghncxa03w 04-01-07 11:02:30 EST  EAGLE 31.3.0
    copy-disk:sloc=1114:dloc=1116:force=yes
    Command entered at terminal #3.
    Copy-disk (fixed): from active (1114) to standby (1116) started.
    Extended processing required, please wait.
    Copy-disk (fixed): from active (1114) to standby (1116) completed.
    Measurements collection may be turned on now if desired.