Bureaucrats, cc_docs_admin, cc_staff
2,915
edits
No edit summary |
(style editing, first two sections) |
||
Line 1: | Line 1: | ||
OpenStack is | OpenStack is the software suite used on the Compute Canada Cloud to control hardware resources such as computers, storage and networking. It allows the creation and management of virtual machines ("VMs", or "instances"), which act like separate individual machines, by emulation in software. This allows users complete control over their computing environment, from choosing an operating system to software installation and configuration. Diverse use cases are supported, from hosting websites to creating virtual clusters. See official documentation at [http://docs.openstack.org/ http://docs.openstack.org/] for more details about OpenStack. | ||
This page describes how to perform common tasks | This page describes how to perform common tasks encountered while working with OpenStack. | ||
==Working with Volumes== | ==Working with Volumes== | ||
A '''volume''' provides storage which is not destroyed when a VM is terminated. On the Compute Canada clouds volumes use [https://en.wikipedia.org/wiki/Ceph_(software) Ceph] storage with a 3X replication factor to provide safety against hardware failure. More documentation about OpenStack volumes can be found [http://docs.openstack.org/user-guide/common/cli_manage_volumes.html here]. | |||
===Creating a Volume=== | ===Creating a Volume=== | ||
Line 14: | Line 14: | ||
*Volume Name: <code>data</code><br/> | *Volume Name: <code>data</code><br/> | ||
*Description:<br/>Optional | *Description:<br/>Optional text describing the volume | ||
*Type: <br/> | *Type: <br/> | ||
*Size (GB): <code>50</code><br/> | *Size (GB): <code>50</code><br/> | ||
Line 23: | Line 23: | ||
===Accessing a Volume from a VM=== | ===Accessing a Volume from a VM=== | ||
To access the volume from a VM you must attach it. This is done by clicking the "More" drop down and selecting "Edit Attachments" and in the "Attach to Instance" drop down box select the VM you wish to attach it to and click the blue "Attach Volume" button. Once the volume is attached, it will show you on the Compute->Volumes dashboard that the newly created volume <code>data</code> is attached to your selected VM on <code>/dev/vdb</code> or some similar location. This is exactly the same as if you had inserted a USB key or an external drive. | To access the volume from a VM you must '''attach''' it. This is done by clicking the "More" drop down and selecting "Edit Attachments" and in the "Attach to Instance" drop down box select the VM you wish to attach it to and click the blue "Attach Volume" button. Once the volume is attached, it will show you on the Compute->Volumes dashboard that the newly created volume <code>data</code> is attached to your selected VM on <code>/dev/vdb</code> or some similar location. This is exactly the same as if you had inserted a USB key or an external drive. | ||
===Formatting and Mounting an Empty Volume=== | ===Formatting and Mounting an Empty Volume=== |