Hitachi

uCosminexus Application Server Command Reference Guide


mstrimport (restore Management Server management file)

Organization of this page

Format

mstrimport file-name

Function

When the executing node and the standby node of Management Server are being swapped on a 1:1 basis, this command restores at the executing node Management Server management that was saved as a file (in ZIP format) by the mstrexport command on Management Server of the standby node.

The path names of successfully restored files are output to the standard output in a format that includes the system properties.

This command can be executed when Management Server is stopped.

Arguments

When no arguments are specified, the command's usage is displayed.

file-name

Specifies the name of Management Server management file (ZIP format) that was saved by the command for saving Management Server management file. You can specify either an absolute path or a relative path.

If a file that was not saved by the command for saving Management Server management file is specified or if the file cannot be opened, an error occurs. When an error occurs, processing halts.

Input examples

Note

Because the mstrimport command overwrites existing files, it is recommended that you back up the files before executing the command. You use the mstrexport command to back up files. To save all files that will be overwritten when the mstrimport command is executed on the standby node, specify for the argument of the mstrexport command to be executed on the standby node the save target definition file specified for the mstrexport command executed at the executing node. If a save target definition file was specified when the mstrexport command was executed at the executing node, you must also specify a save target definition file when executing the mstrexport command at the standby node. The save target definition file to be specified in this case must be the same one specified when you backed up the executing node.

In UNIX, files restored using the mstrimport command are not assigned an execution permission automatically; you must assign the execution permission if necessary.