autoscale-action¶
The following operations can be performed on "autoscale-action":
add autoscale action¶
Create a AutoScale action.
Synopsis¶
add autoscale action <name> -type ( SCALE_UP | SCALE_DOWN ) -profileName <string> -parameters <string> [-vmDestroyGracePeriod <positive_integer>] [-quietTime <positive_integer>] -vServer <string>
Arguments¶
name
ActionScale action name.
type
The type of action.
Possible values: SCALE_UP, SCALE_DOWN
profileName
AutoScale profile name.
parameters
Parameters to use in the action
vmDestroyGracePeriod
Time in minutes a VM is kept in inactive state before destroying Default value: 10 Minimum value: 0
quietTime
Time in seconds no other policy is evaluated or action is taken Default value: 300 Minimum value: 0
vServer
Name of the vserver on which autoscale action has to be taken.
rm autoscale action¶
Remove a AutoScale action.
Synopsis¶
rm autoscale action <name>
Arguments¶
name
ActionScale action name.
set autoscale action¶
Set a AutoScale action.
Synopsis¶
set autoscale action <name> [-profileName <string>] [-parameters <string>] [-vmDestroyGracePeriod <positive_integer>] [-quietTime <positive_integer>] [-vServer <string>]
Arguments¶
name
ActionScale action name.
profileName
AutoScale profile name.
parameters
Parameters to use in the action
vmDestroyGracePeriod
Time in minutes a VM is kept in inactive state before destroying Default value: 10 Minimum value: 0
quietTime
Time in seconds no other policy is evaluated or action is taken Default value: 300 Minimum value: 0
vServer
Name of the vserver on which autoscale action has to be taken.
unset autoscale action¶
Use this command to remove autoscale action settings.Refer to the set autoscale action command for meanings of the arguments.
Synopsis¶
unset autoscale action <name> [-vmDestroyGracePeriod] [-quietTime]
show autoscale action¶
Display the autoscale actions.
Synopsis¶
show autoscale action [<name>]
Arguments¶
name
ActionScale action name.
Output¶
type
The type of action.
profileName
AutoScale profile name.
parameters
Parameters to use in the action
vmDestroyGracePeriod
Time in minutes a VM is kept in inactive state before destroying
quietTime
Time in seconds no other policy is evaluated or action is taken
vServer
Name of the vserver on which autoscale action has to be taken.
destIP
IP Address on which provisioning server daemon is running
destPort
Port on which provisioning server daemon is running
devno
count
stateflag