Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
bgColor#fff
titleVSS CLI


The following steps should guide you through the process of requesting a virtual machine snapshot using the either via https://vss-cli.eis.utoronto.ca or a local VSS CLI install

  1. Run vss configure to configure your VSS credentials. If you have already done this, please go to next step.
  2. Look for the virtual machine UUID Moref (identifier) to submit the snapshot request (Optional):

    Code Block
    vss-cli compute vm ls --filter name torvalds
    uuid  f name=Front
    
    moref    name             folder.path                  cpu_count    memory_gb  power_state    ip_address
    -------   name---------------  -------------------------  -----------  -----------  ------------- 50125399-17eb-f466-cef3-61592022569a  1712Q-cocky_torvalds_2
    50124670-bfd4-95bc-1d6e-ea3c20ab0bbb  1610Q-cocky_torvalds_15 ------------
    vm-2183  2004T-Frontend2  VSS > Development > Dev02            2            2  poweredOff
    vm-2185  2004T-Frontend3  VSS > Development > Dev03            1            1  poweredOn


  3. Use the vss-cli compute vm set <uuid><name-or-vm-id> snapshot command to submit a snapshot request as follows:

    Code Block
    vss-cli compute vm set --wait {VmNamename-or-vm-Uuidid} snapshot --action mk \
    --description "Before difficult upgrade" --timestamp "20182020-0204-1927 0916:0053" --lifetime 72


  4. Once the request is submitted, you can follow up the request status with the vss-cli request snapshot command:

    Code Block
    vss-cli request snapshot ls --sort created_on,desc
      id  created_on                   updated_on               status    status     vm_moref    vm_name          action    snapshot.from_date           vmsnapshot.to_uuiddate
    ----  ---------------------------  ---------------------------  ---------  ----------  ---------------  --------  ---------------------------  ---------------------------
     103 10  20182020-0204-0927 Mon 1016:0953:3234 ESTEDT  20182020-0204-0928 Tue 1016:09:32 EST  Submitted    52:00 EDT  PROCESSED  vm-2183     2004T-Frontend2  DONE    1610Q-cocky_torvalds_15  501246702020-bfd4-95bc-1d6e-ea3c20ab0bbb04-27 Mon 16:53:00 EDT  2020-04-28 Tue 16:53:00 EDT


  5. You will get a confirmation email for the request submission, when the snapshot has been created and deleted.
  6. For more information about how to Revert or Delete a Snapshot using the CLI, please refer to the CLI documentation here.


...