Top
ServerView Resource Orchestrator Cloud Edition V3.1.1 Reference Guide (Command/XML)
ServerView

6.11 scwbackup [for Basic Mode]

Name

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

[Linux Manager]
/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 executing the command while the manager is running, backup will be performed after the operations are completed.

When this command is executed while the manager is 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 previous backup information will be reused in 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 Manager]
Installation_folder\SVROR\Manager\etc\customize_data\Manager_backup.rcxprop

[Linux Manager]
/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 Manager]
Installation_folder\SVROR\Manager\var\backup

[Linux Manager]
/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 values:

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 Manager]
      "/"

      [Linux Manager]
      "\"

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

    • For 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.