Tuesday, December 22, 2015

How to Configure OpenFiler for NFS Share

Overview

In this guide we will navigate through the steps of configuring Openfiler as NFS Server, which is SMB NFS service.

Applies To

·        Openfiler Version - 2.99.2

System Configuration

Disk ID
Size / Type
Purpose
0
40 GB SATA
OpenFiler OS
1
2 TB SATA
Data Disk #1
2
2 TB SATA
Data Disk #2

OS Partitions

Partition #
Partition Type
Size
1
/boot
300 MB
2
/
34 GB
3
Swap
4 GB

Software RAID Configuration

Disk ID
Type
Size
1
RAID 0
1.74 TB
2
RAID 0
1.74 TB

OpenFiler – Portal Login

Launch the administration URL for managing OpenFiler, the portal works on port “446”.

https://OpenFilerServer:446/

After, launching the login the portal, with the username.

Username
openfiler
Password
password

OpenFiler – Server Status

After logging into the OpenFiler portal, current status tab of the system status will be shown.

Volumes – Block Devices

First and foremost thing in order to utilize the storage, physical volumes have to be configured, click on “Volumes” tab, click on “Block Devices”. Volumes have to be configured from the existing connected physical volumes on the server. To create new volumes, click on “create new physical volumes.

Volumes – Create Physical Volumes

In the installation phase since we configured only OS disk, other two disks have to be configured and these two disks “sdb” and “sdc” are not configured for any partitions and 0 partitions now. Click on “Edit Disk” for disk “/dev/sdb”.

Note: By default volumes will not be configured.

Edit Partition – Create Raid Array #1

After clicking on the “Edit Disk” on the disk id “/dev/sdb”, edit partitions for the configuring the disk for RAID, chose options as per the below table and click on “Create” raid volume 1.

Mode
Partition Type
Starting Cylinder
Ending Cylinder
Primary
RAID Array member
Set as per your disk size
Set as per your disk size

Validate – Create Raid Member #1

After creating the Raid Volume, volume created will be displayed with the partition number.

Edit Partition – Create Raid Array #2

Now we will create the 2nd RAID Disk, click on the “Edit Disk” on the disk id “/dev/sdc”, edit partitions for the configuring the disk, chose options as per the below table and click on “Create”.

Mode
Partition Type
Starting Cylinder
Ending Cylinder
Primary
RAID Array member
Set as per your disk size
Set as per your disk size 

Validate – Create Raid Disk #2

After creating the Raid Volume, volume created will be displayed with the partition number.

Configure Software Raid

After creating the raid array members disks on “/dev/sdb” and “/dev/sdc”, next step is to configure “Software Raid” in the volumes tab.

Software RAID Management

Before configuring RAID, need create new RAID array.

Software RAID Management – Choose Raid

Select RAID array type, since we have only 2 disks, we can configure only RAID-0.

Software RAID Management – Add Array

After choosing devices for the new RAID click on “Add array” button.

Software RAID Management – Synchronization

After adding the array disks, disks have to be synchronized only then disk can be utilized.

Software RAID Management – View Members

After synchronization, click on “View Members” to view the RAID member devices and its current state of the active devices.

Software RAID Management – Manage Volumes

After Synchronization is “Synchronized” and State is “Clean”, we will create new volume for NFS Share. To create a new volume click on “Manage Volumes”.

Volume Group Management – Create Volume Group

Next step is to “Create new volume group”, type the volume group name “etpl01fs01pr_storage” and select the physical volume and click on “Add volume group” button.

Volume Group Management – List

After creating the new volume group, the volume group names are listed with the group name created.

Volume Group Management – List PV Members

To view the current physical members of the volume groups, click on “View member PVs” to list the device that are configured.

Configure – Network Setup

Network Access configuration is where you grant or revoke access to the resources created for the users. In this section you will have to configure for a group (name) and network/host and the netmask wherein the resources.

Configure – Network Access Configuration

In order to configure network from the “System Section” click on “Network Setup”.

In the “Network Access Configuration” add network information wherein shares have to be granted access. After adding the network information click on “Update” button to add for each accessible network.

Name
Network/Host
Netmask
Type
development
192.168.11.0
255.255.255.0
Share
itteam
192.168.2.0
255.255.255.0
Share

Configure Shares

In order to utilize the volumes we need to configure it, after the configuring volumes, block groups, network Access, the next step is to configure NFS shares.

Shares – New Filesystem Volume

Next step is to configure the shares. Click on “Shares” tab. Existing block group volumes that are configured for shares  configuration will be listed.

Shares – Create New Volume

In the shares tab, after clicking on “create a new filesystem volume” link; next step is to add a new volume.  In this section the existing volume group that is been configured will be listed. Based on the business requirements fill the sections and click on “Create” button.

Note: you can create more than one volume, until the total space of the volume group is utilized.

Volume Name
Volume Description
Required Space (MB)
Filesystem / Volume type
data
Reports Data
10000
Ext3

Shares – Volumes List

After creating the volume, volume’s information will be listed as per the configured parameters. If you want to make modifications click on “Edit”. You can also create snapshot as well, also you can delete the volume.

Note: snapshots are a real-time backup of the volume.

Shares – Create Sub-Folder

Next step is create sub-folder in the shares; to create click on volume “reportsdata” and click on “Create Sub-folder” button.

Shares – Make Share

After creating the sub-folder, next we will create the share, to share click on “Sub-folder”, set the description for the shared folder and click on “Make Share” button.

Shares – Share Access Control

In order to grant or revoke access to a group or user, in the “Share Access Control Mode” for the share, choose “Controlled access” and click on “Update” button.

Shares – Group Access Configuration

After choosing “Controlled access”, users / security groups have to be chosen, first we need to choose “Primary Group – PG” and type of access that needs to be granted to the users / security groups.

Note: only one “PG” can be choose for a share.

Configure AD Authentication

AD Authentication have to be configured in order to authenticate users from windows AD, set the AD information as per the below table.

Security Model
Domain / Workgroup
Domain controllers
ADS realm
Join Domain
Administrator username
Administrator Password
Active Directory
etech
india01
etech.com
yes
admin user
admin password

List – AD Users / Groups

After configuring “AD Authentication”, from the “Accounts” tab, to list users click on “User List” and to list groups click on “Group List”.

SlideShare Information

Step by step guide with screenshot is uploaded.

No comments:

Post a Comment