how to configure openfiler for nfs share

22
How to Configure OpenFiler for NFS Share i | Page Table of Contents Overview ....................................................................................................................................................... 1 Applies To...................................................................................................................................................... 1 System Configuration................................................................................................................................ 1 OS Partitions ............................................................................................................................................. 1 Software RAID Configuration .................................................................................................................... 1 OpenFiler – Portal Login............................................................................................................................ 2 OpenFiler – Server Status ......................................................................................................................... 2 Volumes – Block Devices........................................................................................................................... 3 Volumes – Create Physical Volumes ..................................................................................................... 3 Edit Partition – Create Raid Array #2 .................................................................................................... 6 Configure Software Raid ........................................................................................................................... 8 Software RAID Management .................................................................................................................... 8 Software RAID Management – Choose Raid......................................................................................... 9 Software RAID Management – Add Array .......................................................................................... 10 Software RAID Management – Synchronization................................................................................. 11 Software RAID Management – View Members .................................................................................. 11 Software RAID Management – Manage Volumes .............................................................................. 11 Volume Group Management – Create Volume Group ............................................................................... 12 Volume Group Management – List ......................................................................................................... 12 Volume Group Management – List PV Members ................................................................................... 13 Configure – Network Setup......................................................................................................................... 14 Configure – Network Access Configuration ........................................................................................ 14 Configure Shares ......................................................................................................................................... 15 Shares – New Filesystem Volume ....................................................................................................... 15 Shares – Create New Volume ............................................................................................................. 16 Shares – Volumes List ......................................................................................................................... 17 Shares – Create Sub-Folder ................................................................................................................. 17 Shares – Make Share ........................................................................................................................... 18 Shares – Share Access Control ............................................................................................................ 18 Shares – Group Access Configuration ................................................................................................. 19 Configure AD Authentication ...................................................................................................................... 20

Upload: vcp-muthukrishna

Post on 08-Feb-2017

15.197 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

i | P a g e

Table of Contents Overview ....................................................................................................................................................... 1

Applies To ...................................................................................................................................................... 1

System Configuration ................................................................................................................................ 1

OS Partitions ............................................................................................................................................. 1

Software RAID Configuration .................................................................................................................... 1

OpenFiler – Portal Login............................................................................................................................ 2

OpenFiler – Server Status ......................................................................................................................... 2

Volumes – Block Devices ........................................................................................................................... 3

Volumes – Create Physical Volumes ..................................................................................................... 3

Edit Partition – Create Raid Array #2 .................................................................................................... 6

Configure Software Raid ........................................................................................................................... 8

Software RAID Management .................................................................................................................... 8

Software RAID Management – Choose Raid ......................................................................................... 9

Software RAID Management – Add Array .......................................................................................... 10

Software RAID Management – Synchronization ................................................................................. 11

Software RAID Management – View Members .................................................................................. 11

Software RAID Management – Manage Volumes .............................................................................. 11

Volume Group Management – Create Volume Group ............................................................................... 12

Volume Group Management – List ......................................................................................................... 12

Volume Group Management – List PV Members ................................................................................... 13

Configure – Network Setup ......................................................................................................................... 14

Configure – Network Access Configuration ........................................................................................ 14

Configure Shares ......................................................................................................................................... 15

Shares – New Filesystem Volume ....................................................................................................... 15

Shares – Create New Volume ............................................................................................................. 16

Shares – Volumes List ......................................................................................................................... 17

Shares – Create Sub-Folder ................................................................................................................. 17

Shares – Make Share ........................................................................................................................... 18

Shares – Share Access Control ............................................................................................................ 18

Shares – Group Access Configuration ................................................................................................. 19

Configure AD Authentication ...................................................................................................................... 20

Page 2: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

ii | P a g e

List – AD Users / Groups ......................................................................................................................... 20

Page 3: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

1 | P a g e

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

Page 4: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

2 | P a g e

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.

Page 5: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

3 | P a g e

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.

Page 6: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

4 | P a g e

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

Page 7: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

5 | P a g e

Validate – Create Raid Member #1

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

Page 8: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

6 | P a g e

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

Page 9: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

7 | P a g e

Validate – Create Raid Disk #2

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

Page 10: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

8 | P a g e

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.

Page 11: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

9 | P a g e

Software RAID Management – Choose Raid

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

Page 12: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

10 | P a g e

Software RAID Management – Add Array

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

Page 13: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

11 | P a g e

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”.

Page 14: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

12 | P a g e

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.

Page 15: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

13 | P a g e

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.

Page 16: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

14 | P a g e

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

Page 17: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

15 | P a g e

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.

Page 18: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

16 | P a g e

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

Page 19: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

17 | P a g e

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.

Page 20: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

18 | P a g e

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.

Page 21: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

19 | P a g e

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.

Page 22: How to Configure OpenFiler for NFS Share

How to Configure OpenFiler for NFS Share

20 | P a g e

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”.