OpenStack Discussions

Definitions in nfs_shares_config file

KANNO_MASAKI
4,916 Views

Hi,

I would like to build out a cloud environment by using OpenStack Icehouse and FAS series. I will use NetAppDirectCmodeNfsDriver.

But I don't have FAS series yet. But I have to start the cloud environment designing.

I have questions about definitions in nfs_shares_config file.

I know a format in the file is "IP:/SHARE".

Q1) What is "IP"?

  Is "IP" an IP address of a management LIF of SVMs, or an IP address of a data LIF of SVMs, or what? 

Q2) What is "/SHARE"?

  Is "/SHARE" a junction path of volumes, or what?

Thanks,

  Kanno

4 REPLIES 4

pravinp
4,916 Views

Q1) What is "IP"?

Cluster Management IP address (10.238.229.42)

Q2) What is "/SHARE"?

Volume  for shareIP

Data IP Volume Name (10.238.229.43:open_test)

For example i have below ip details

open1::> network interface show

            Logical    Status     Network            Current       Current Is

Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home

----------- ---------- ---------- ------------------ ------------- ------- ----

open

            data         up/up    10.238.229.43/25   open1-01      e0a     true

open1

            cluster_mgmt up/up    10.238.229.42/25   open1-01      e0a     true

open1-01

            mgmt1        up/up    10.238.229.41/25   open1-01      e0d     true

3 entries were displayed.

open1::> volume show

Vserver   Volume       Aggregate    State      Type       Size  Available Used%

--------- ------------ ------------ ---------- ---- ---------- ---------- -----

open      open_root    open         online     RW         20MB    18.25MB    8%

open      open_test    open         online     RW        150GB    139.5GB    7%

open1-01  vol0         aggr0        online     RW      226.6GB    212.1GB    6%

3 entries were displayed.

KANNO_MASAKI
4,916 Views

Hi Pravinp,

Thanks for your reply.

In your environment, do you define it in the file as follows?

# cat /etc/cinder/nfs_shares_config

10.238.229.42:/10.238.229.43:open_test

Thanks,

  Kanno

pravinp
4,916 Views

As below

cat /etc/cinder/cinder.conf

netapp_server_hostname=10.238.229.42

nfs_shares_config=/etc/cinder/netapp.conf

root@controller:~# cat /etc/cinder/netapp.conf

10.238.229.43:/open_test

KANNO_MASAKI
4,916 Views

Hi Pravinp,

Thank you!

I understood your description example.

Thanks,

  Kanno

Public