cc_staff
127
edits
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
[[File:Cephfs config.png|thumb|Configuration of CephFS on Horizon Gui]] | [[File:Cephfs config.png|thumb|Configuration of CephFS on Horizon Gui]] | ||
[[File:Cephfs created.png|thumb|Porperly configured CephFS]] | [[File:Cephfs created.png|thumb|Porperly configured CephFS]] | ||
; Create the share. | |||
: In <i>Project --> Share --> Shares</i>, click on <i>+Create Share</i>. | |||
: <i>Share Name</i> = enter a name that identifies your project (e.g. <i>project-name-shareName</i>) | |||
: <i>Share Protocol</i> = CephFS | |||
: <i>Size</i> = size you need for this share | |||
: <i>Share Type</i> = cephfs | |||
: <i>Availability Zone</i> = nova | |||
: Do not check <i>Make visible for all</i>, otherwise the share will be accessible by all users in all projects. | |||
: Click on the <i>Create</i> button. | |||
; Create an access rule to generate an access key. | |||
: In <i>Project --> Share --> Shares --> Actions</i> column, select <i>Manage Rules</i> from the drop-down menu. | |||
: Click on the <i>+Add Rule</i> button (right of page). | |||
: <i>Access Type</i> = cephx | |||
: <i>Access Level</i> = select <i>read-write</i> or <i>read-only</i> (you can create multiple rules for either access level if required) | |||
: <i>Access To</i> = select a key name that describes the key, this name is important, it will be used in the cephfs clien config on the VM, we will use <i>MyCephFS-RW</i> on this page. | |||
; Note the share details which you will need later. | |||
: In <i>Project --> Share --> Shares</i>, click on the name of the share. | |||
: In the <i>Share Overview</i>, note the three element circled in red in the "Properly configured" image: <i>Path</i>, wich will be used in the mount command on the VM, the <i>Access Rules</i>, which will be the client name and the <i>Access Key</i> that will let the VM's client connnect. | |||
== Attatch the CephFS network to your vm == <!--T:6--> | == Attatch the CephFS network to your vm == <!--T:6--> |