vinfra service compute server pause
Pause a virtual machine:
usage: vinfra service compute server pause <server>
<server>
- Virtual machine ID or name
Example:
# vinfra service compute server pause myvm +---------------+--------------------------------------------+ | Field | Value | +---------------+--------------------------------------------+ | config_drive | | | created | 2019-05-29T11:24:04Z | | description | | | flavor | disk: 0 | | | ephemeral: 0 | | | extra_specs: {} | | | original_name: tiny | | | ram: 512 | | | swap: 0 | | | vcpus: 1 | | ha_enabled | False | | host | node001.vstoragedomain | | id | 8cd29296-8bee-4efb-828d-0e522d816c6e | | key_name | | | metadata | {} | | name | myvm | | networks | - id: 79b3da71-c6a2-49e8-97f8-9431a065bed7 | | | ipam_enabled: true | | | ips: | | | - 192.168.128.100 | | | mac_addr: fa:16:3e:d8:42:f6 | | | name: private | | | spoofing_protection: true | | orig_hostname | node001 | | placements | [] | | power_state | RUNNING | | project_id | b4267de6fd0c442da99542cd20f5932c | | status | ACTIVE | | task_state | | | updated | 2019-05-29T11:24:21Z | | user_data | | | vm_state | active | | volumes | - delete_on_termination: false | | | id: edd3df0a-95f5-4892-9053-2793a3976f94 | +---------------+--------------------------------------------+
This command pauses the running virtual machine myvm
.