Cool Solutions

Delete VMs from a Repository on the Grid


December 17, 2008 10:36 am

Reads: 3888



Download deletevms

I have written a job which will delete the VMs from a repository from the GRID.

  1. Deploy the SAR file with zosadmin deploy command.
  2. Go to the deletevms.policy, specify the datastore name in the list value.
  3. Run the scheduler “deletevms”.

    It will delete all the VMs discovered from the repository in the GRID.

You can specify more than one datastore name in the policy.

This job is useful when Developing/Testing scenarios. We needed to delete all the discovered VMs manually whenever we need to clean up. This is a very painful task.

This job will delete all the VMs from the specified datastore cleanly.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Categories: Uncategorized

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.