| Oracle® Exalogic Elastic Cloud Administrator's Guide Release EL X2-2 and X3-2 Part Number E25258-06 |
|
|
PDF · Mobi · ePub |
This section describes how to set up access to the ZFS Storage Appliance for a vServer.
The procedure to enable vServers to access ZFS shares involves the following steps:
To configure a vServer for accessing the storage appliance, you must know the IP address of the vServer in the IPoIB-vserver-shared-storage network.
Note:
For a vServer to be able to access ZFS shares, the IPoIB-vserver-shared-storage network should have been assigned to the vServer as described in step 14 of Section 9.2.7, "Creating vServers."
Log in to Exalogic Control as a Cloud User.
From the navigation pane on the left, select vDC Management.
Under vDC Accounts, expand the name of your account, and select the vServer for which you want to configure access to the storage appliance.
The vServer dashboard is displayed.
Select the Network tab, and note the IP address of the vServer for the IPoIB-vserver-shared-storage network.
To mount a ZFS share on the vServer, you must identify the IP address of the storage appliance on the IPoIB-vserver-shared-storage network, also known as the ipmp4 address.
SSH to the ZFS Storage Appliance as root.
Run the following command:
storage_node> configuration net interfaces show
From the output of the command, note the ipmp4 address.
slce23sn01:> configuration net interfaces show
Interfaces:
INTERFACE STATE CLASS LINKS ADDRS LABEL
igb0 up ip igb0 10.244.64.60/21 igb0
igb1 offline ip igb1 10.244.64.61/21 igb1
ipmp1 up ipmp pffff_ibp1 192.168.10.15/24 ipmp1
pffff_ibp0
ipmp2 up ipmp p8001_ibp0 192.168.20.9/24 IB_IF_8001
p8001_ibp1
ipmp3 up ipmp p8002_ibp0 192.168.21.9/24 IB_IF_8002
p8002_ibp1
ipmp4 up ipmp p8005_ibp0 172.17.0.9/16 IB_IF_8005
p8005_ibp1
p8001_ibp0 up ip p8001_ibp0 0.0.0.0/8 ibp0.8001
p8001_ibp1 up ip p8001_ibp1 0.0.0.0/8 ibp1.8001
p8002_ibp0 up ip p8002_ibp0 0.0.0.0/8 ibp0.8002
p8002_ibp1 up ip p8002_ibp1 0.0.0.0/8 ibp1.8002
p8005_ibp0 up ip p8005_ibp0 0.0.0.0/8 ibp0.8005
p8005_ibp1 up ip p8005_ibp1 0.0.0.0/8 ibp1.8005
pffff_ibp0 up ip pffff_ibp0 0.0.0.0/8 ibp0
pffff_ibp1 up ip pffff_ibp1 0.0.0.0/8 ibp1
In the example output, the ipmp4 address is 172.17.0.9.
Create a share as described in the "Creating Custom Shares" section of the Exalogic Elastic Cloud Machine Owner's Guide.
Perform the following steps to mount the share you created in the file system of the vServer:
Log in to the ZFS Storage Appliance as root.
Select the Shares tab, and locate the share you created.
Click the edit entry icon.
The details of the share are displayed.
Click the Protocols tab.
Click the plus (+) button next to NFS Exceptions, and specify the following:
Type: Network
Entity: ip_address_of_vserver/32 (in CIDR format)
Access mode: Read/write
Charset: default
Root Access: Selected
Click the Apply button near the upper right corner.
SSH to any compute node on the Exalogic machine.
SSH to the vServer by using the IP address that you noted in the Identifying the IP Address of the vServer section.
Create a directory that will serve as the mount point for the ZFS share:
mkdir mount_point_directory
Example:
mkdir /root/test1
Mount the share on the vServer:
# mount ipmp4_address_of_storage_appliance:/share_directory mount_point_directory
Example:
# mount 172.17.0.9:/export/testshare /root/test1