The arvados-server program provides subcommands for accessing the cloud dispatcher’s management API interactively.
arvados-server instance list
Display a list of instances managed by the dispatcher.
A placeholder - in the instance column indicates that an instance has been requested but the cloud provider has not yet returned a response with an instance ID.
A placeholder - in the address column indicates that an instance has been requested but has not yet been assigned an IP address by the cloud provider.
A placeholder - in the last-container column indicates that the instance has not yet started a container.
Use the -header flag to display column names.
# arvados-server instance list -header
instance address state idle-behavior config-type provider-type price last-container
i-03d59cfcfacf307ff 10.253.254.184 running run c5large c5.large 0.085000 tordo-dz642-r6fz90awybvywr6
i-0df614e93e4170ae7 10.253.254.157 booting run t3small t3.small 0.020800 -
# arvados-server instance drain <instance-id> [instance-id ...]
Set the indicated instances’ idle behavior to drain. Containers currently running will be allowed to continue, but when each instance becomes idle, it will be shut down.
# arvados-server instance hold <instance-id> [instance-id ...]
Set the indicated instances’ idle behavior to hold. The instances will not be shut down automatically. Containers currently running will be allowed to continue, but no new containers will be scheduled.
# arvados-server instance run <instance-id> [instance-id ...]
Set the indicated instances’ idle behavior to run (the normal behavior). When the instances become idle, they will be eligible to run new containers. They will be shut down automatically when the configured idle threshold is reached.
# arvados-server instance kill [-reason "..."] <instance-id> [instance-id ...]
Shut down the indicated instances immediately, abandoning/failing any containers they are currently running.
The provided reason string will appear in the dispatcher’s log.
The content of this documentation is licensed under the
Creative
Commons Attribution-Share Alike 3.0 United States licence.
Code samples in this documentation are licensed under the
Apache License, Version 2.0.