CephFS: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 37: Line 37:
#* ''Access To'' = select a key name that describes the key (e.g. ''def-project-shareName-read-write'')
#* ''Access To'' = select a key name that describes the key (e.g. ''def-project-shareName-read-write'')
# Note the share details.
# Note the share details.
#* In ''Project --> Share --> Shares, click on the name of the share.
#* In ''Project --> Share --> Shares'', click on the name of the share.
#* In the ''Share Overview'' note the ''Path'' which you will need later.
#* In the ''Share Overview'', note the ''Path'' which you will need later.
#* Under ''Access Rules'', note the ''Access Key'' which you will need later (the access key is approximately 40 characters and ends with the ''=''; sign; if you do not see an access key, you probably didn't add an access uule of type ''cephx''.
#* Under ''Access Rules'', note the ''Access Key'' which you will need later (the access key is approximately 40 characters and ends with the ''=''; sign; if you do not see an access key, you probably didn't add an access rule of type ''cephx''.


== Configure Host == <!--T:8-->
== Configure Host == <!--T:8-->
Line 45: Line 45:
<!--T:9-->
<!--T:9-->
<ol>
<ol>
<li><p>Install the required packages</p>
<li><p>Install the required packages.</p>
<ul>
<ul>
<li><p>Red Hat Family (RHEL, CentOS, Fedora, Scientific Linux, SUSE, etc.):</p>
<li><p>Red Hat family (RHEL, CentOS, Fedora, Scientific Linux, SUSE, etc.):</p>
<ol>
<ol>
<li>Install relevant repos for access to ceph client packages:
<li>Install relevant repositories for access to ceph client packages:
<pre>ceph-stable (nautilus is current as of this writting)
<pre>ceph-stable (nautilus is current as of this writting)
     https://docs.ceph.com/en/nautilus/install/get-packages/
     https://docs.ceph.com/en/nautilus/install/get-packages/
Line 56: Line 56:
<!--T:12-->
<!--T:12-->
</pre></li>
</pre></li>
<li>Install packages to enable the ceph client on all the VMs you plan on mounting the share:
<li>Install packages to enable the ceph client on all the instances where you plan on mounting the share:
<pre>libcephfs2
<pre>libcephfs2
python-cephfs
python-cephfs
Line 66: Line 66:
<!--T:13-->
<!--T:13-->
<ul>
<ul>
<li>Debian Family (Debian, Ubuntu, Mint, etc.):</li></ul>
<li>Debian family (Debian, Ubuntu, Mint, etc.):</li></ul>


<!--T:14-->
<!--T:14-->
Line 74: Line 74:
<li><p>Configure Keys:</p>
<li><p>Configure Keys:</p>
<ul>
<ul>
<li><p>Create two files in your VM each containing the &quot;Access Key&quot;. This key can be found in the rule definition, or in the &quot;Access Rules&quot; section of your share definition.</p></li>
<li><p>Create two files in your instance, each containing the access key. This key can be found in the rule definition, or in the ''Access Rules'' section of your share definition.</p></li>
<li><p>File 1: /etc/ceph/client.fullkey.shareName (e.g. client.fullkey.def-project-shareName-read-write)</p>
<li><p>File 1: /etc/ceph/client.fullkey.shareName (e.g. client.fullkey.def-project-shareName-read-write)</p>
<ul>
<ul>
rsnt_translations
56,426

edits