Shelving is useful if you have a server that you are not using, but would like to retain in your list of servers. For example, you can shelve a server at the end of a work week, and resume work again at the start of the next week. All associated data and resources are kept; however, anything still in memory is not retained. If a shelved server is no longer needed, it can also be entirely removed.
You can run the following shelving tasks:
- Shelve a server - Shuts down the server, and stores it together with associated data and resources (a snapshot is taken if not volume backed). Anything in memory is lost.
- Using the actions menu on the "List Servers" view.
- Or using the CLI tools.
$ openstack server shelve SERVERNAME
- Using the actions menu on the "List Servers" view.
- Unshelve a server - Restores the server.
- Using the actions menu on the "List Servers" view.
- or using the CLI tools.
$ openstack server unshelve SERVERNAME
- Using the actions menu on the "List Servers" view.
- Remove a shelved server - Removes the server; data and resource associations are deleted. If a server is no longer needed, you can move the server off the hypervisor in order to minimize resource usage.
- $ nova shelve-offload SERVERNAME
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License
Changes were made based on the original Openstack User guide
Comments
Article is closed for comments.