Example Procedure: Terminating vServers

To stop and delete one or more vServers, complete the following steps:

  1. Run the following command:

    ./iaas-terminate-vservers --base-url https://<localhost>/ -a ~/ak.file --vserver-ids VSRV-d6800889-f59b-4798-a57d-3f9f31b0cf1c VSRV-d6500889-f59b-4567-a65g-3f9f31b0se1d --force

    The command stops and deletes the specified vServers.

  2. Verify the deletion by running the iaas-describe-vservers command, as in the following example:

    ./iaas-describe-vservers --base-url https://<localhost>/ -a ak.file --ids VSRV-d6800889-f59b-4798-a57d-3f9f31b0cf1c VSRV-d6500889-f59b-4567-a65g-3f9f31b0se1d

    This command should return empty output, as the specified vServers are deleted.