Top
ServerView Resource Orchestrator Cloud Edition V3.0.0 Reference Guide for Infrastructure Administrators (Resource Management)

1.8.7 scwbackup

Name

[Windows]
Installation_folder\Manager\bin\scwbackup - backup of image file information

[Linux]
/opt/FJSVrcvmr/bin/scwbackup - backup of image file information


Format

scwbackup [-dir directory] [[-immediate]|[-timeout value]]

Description

scwbackup is the command used for backing up the image file information of Resource Orchestrator.

This command backs up the following image file information of Resource Orchestrator using this command for restoration in case ServerView Deployment Manager information is damaged:

Image file information cannot be backed up while an image operation is being performed for a physical L-Server or a VM host.

Backup of image file information can only be performed when no operation is being executed for the resources.

When this command is executed while the manager is being operated, the backup process will be started after the operations being performed by the manager have been completed.

When this command is executed while the manager is being stopped, this command will be returned regardless of the presence or absence of the specified options. Completion of operations being executed will not be waited for.


Options

-dir directory

In directory, specify a folder or a directory to back up the image file information of Resource Orchestrator.

If previous backup information remains in the specified folder or directory, the information is diverted to the backup operation for system images and cloning images.

When this option is omitted, if the destination is defined in the following definition file, the information is saved in the specified folder or directory:

[Windows]
Installation_folder\Manager\etc\customize_data\manager_backup.rcxprop

[Linux]
/var/opt/FJSVrcrmr/ customize_data/manager_backup.rcxprop

If the destination is not defined, the information is saved in the following folder or directory:

[Windows]
Installation_folder\Manager\var\backup

[Linux]
/var/opt/FJSVrcrmr/backup

-immediate

Use this option to return directly to the command prompt without waiting for the operation being executed on the admin server to complete its execution.

Backup can only be performed when no operation is being executed for the resources. If an operation is being executed, this command will return an error.

-timeout value

Use this option to wait the number of seconds specified in value for completion of the image operation being performed on the admin server. If the operation is not completed within the specified time, this command will return an error.

For the -timeout option, "172800" or less seconds can be specified.

If this option is omitted, the default value (3600 seconds) is set.

When this command is periodically executed while the manager is operating, if heavy operations such as cloning image collection are ongoing, execution of the command will be delayed until the relevant operation is completed. Specify this option to terminate execution of the command within a fixed time.

When an operation is being executed on the admin server, "INFO: Manager operation is still running." is displayed periodically.

If this command is executed when the manager has been stopped, the specification of this option will be ignored.


Examples

>scwbackup -dir /scwdir0 -immediate <RETURN>


Exit Status

This command returns the following statuses:

0

The command executed successfully.

non-zero

An error has occurred.

Note

  • When specifying folders or directories, take note of the following points:

    • Do not specify the system installation folder or the installation directory for the -dir option.

    • Do not use double-byte characters or the following symbols to specify folders or directories for the -dir option.

      """, "|", "*", "?", "<", ">", ",", "%", "&", "^", "=", "!", ";"

      [Windows]
      "/"

      [Linux]
      "\"

    • The folder path or directory path can be specified up to 100 characters.

    • During restoration, the certificates, configuration definition information, OS property definition files, system images and cloning images must have been backed up at the same point in time. It is recommended to store the backed up information in folders with names including the date and time of backup.

  • Do not stop or start the manager during execution of this command.

  • If this command fails, a folder or a directory that has a name starting with tmp will be created in the folder or directory specified for the -dir option.
    If the problem is still not resolved after performing the actions based on the output error message, collect the folder or the directory as troubleshooting data, and contact Fujitsu technical staff.
    Delete these folders or directories after collecting the troubleshooting data.