Managing your cloud resources with OpenStack/en: Difference between revisions

Jump to navigation Jump to search
Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 40: Line 40:
=Working with Volumes=
=Working with Volumes=


A volume provides storage which is not destroyed when a VM is terminated. On Compute Canada clouds, volumes use [https://en.wikipedia.org/wiki/Ceph_(software) Ceph] storage with a 3-fold replication factor to provide safety against hardware failure. More documentation about OpenStack volumes can be found [https://docs.openstack.org/cinder/latest/cli/cli-manage-volumes.html here].
A volume provides storage which is not destroyed when a VM is terminated. On Compute Canada clouds, volumes use [https://en.wikipedia.org/wiki/Ceph_(software) Ceph] storage with either a 3-fold replication factor or [https://en.wikipedia.org/wiki/Erasure_code erasure codes] to provide safety against hardware failure. On arbutus the ''Deault'' volume type uses erasure codes to provide data saftey while reducing the extra storage costs of 3-fold replication while the ''OS or Database'' volume type still uses the 3-fold replication factor. The More documentation about OpenStack volumes can be found [https://docs.openstack.org/cinder/latest/cli/cli-manage-volumes.html here]


==Creating a Volume==
==Creating a Volume==
Line 59: Line 59:
==Accessing a Volume from a VM==
==Accessing a Volume from a VM==
[[File:Manage_attachments_EN.png|400px|thumb| Managing attachments command in Actions menu (Click for larger image)]]
[[File:Manage_attachments_EN.png|400px|thumb| Managing attachments command in Actions menu (Click for larger image)]]
To access the volume you must first '''attach''' it to a running VM. This is analogous to inserting a USB key or plugging an external drive into your personal computer. You can attach a volume from the Compute->Volumes page.
To access the volume you must first '''attach''' it to a running VM. This is analogous to inserting a USB key or plugging an external drive into your personal computer. You can attach a volume from the Volumes page.
* At the right-hand end of the line describing the volume will be a drop-down menu; select "Manage Attachments".
* At the right-hand end of the line describing the volume is the Actions column; from the dropdown menu, select "Manage Attachments".
* In the "Attach To Instance" drop-down box select a VM.  
* In the "Attach To Instance" dropdown menu, select a VM.  
* Click the blue "Attach Volume" button.  
* Click the blue "Attach Volume" button.  
The process should complete in a few seconds. Then the Compute->Volumes page will show the newly created volume is attached to your selected VM on <code>/dev/vdb</code> or some similar location.
The process should complete in a few seconds. Then the Volumes page will show the newly created volume attached to your selected VM on <code>/dev/vdb</code> or some similar location.


==Formatting and Mounting an Empty Volume==
==Formatting and Mounting an Empty Volume==
38,907

edits

Navigation menu