changemode command

Ops Center Automator User Guide

Version
10.8.x
File Size
3.6 MB
Audience
anonymous
Part Number
MK-99AUT001-14

The changemode command allows you to change the performance mode for Ops Center Automator. There are two performance modes, standard and high performance.

Standard mode
This is the default mode which supports running a single Online Migration with Configuration Manager task.
High performance mode
Use high performance mode if you need to run multiple Online Migration with Configuration Manager tasks concurrently. If you select this mode, you will need to change the logger.TA.MaxFileSize and plugin.threadPoolSize parameters in config_user.properties. For more information, see "Changing the system configuration" in the Hitachi Ops Center Automator Installation and Configuration Guide.

Syntax

changemode {/mode {standard| highPerformance} [/auto] |  /print |  /help}

Options

Option Description
/mode Specify a performance mode, either standard (standard mode) or highPerformance* (high performance mode).
/auto Optionally stop and start services that use Common Component and HiRDB automatically. To specify this option in a cluster environment, the services registered in the cluster software must be offline.
/print Output the current mode.
/help Display command help.
*: If you change the mode to highPerformance, you need to change the logger.TA.MaxFileSize and plugin.threadPoolSize parameters in config_user.properties. For more information, see "Changing the system configuration" in the Hitachi Ops Center Automator Installation and Configuration Guide.

Permissions

Ops Center Automator users must have Administrator permissions in Window or root permissions in Linux.

Return codes

The following table lists the changemode command return codes and descriptions.

Return code Description
0 The command succeeded.
1 The argument is not valid.
2 The command stopped.
3 The service status is not valid.
4 An exclusion error has occurred.
101 Cannot change the mode because it failed due to a cause other than those listed above.
90 Cannot start or stop the service.
255 The command stopped because of an error not in this table.

Usage example: To change to high performance mode

changemode /mode highPerformance

Usage example: To change to standard mode and specify the auto option

changemode /mode standard /auto

Usage example: To output the current mode

changemode /print

Output example: Changing to high performance mode

# changemode /mode highPerformance

KNAE03000-I The changemode command will now start.
KNAE03542-I
Changed to high performance mode. Set the following values in config_user.properties: 
logger.TA.MaxFileSize=100240
plugin.threadPoolSize=100
After updating config_user.properties, restart the service.
KNAE03001-I The changemode command ended normally.