INSTALLING THE
NETAPP FILER SIMULATOR ON LINUX MACHINE (on the dns machine)
A] PHASE I :
Installing the Netapp Filer Simulator Software
1. Copy the
software (7.3.5-sim-cdrom-image-v22.iso) from local machine to the
"DNS Server" using winscp
From the
windows terminal server upload the file 7.3.5-sim-cdrom-image-v22.iso
using winscp to your DNS server.
2. Mount the ISO
image on the DNS Server
mkdir -p
/virtual-cd
mount -t
iso9660 -o loop /root/7.3.5-sim-cdrom-image-v22.iso /virtual-cd
3. Run the
installer /virtual-cd/setup.sh and install the software under
/netapp/sim1
Your response :
Where to
install to? [/sim]: /u001/netapp/
Would you like
to install as a cluster? [no]:
Would you like
full HTML/PDF FilerView documentation to be installed [yes]:
Continue with
installation? [no]: yes
Your simulator
has 3 disk(s). How many more would you like to add? [0]: 25
What disk size
would you like to use? [a]: f
Disk adapter
to put disks on? [0]:
Use DHCP on
first boot? [yes]: no
Ask for floppy
boot? [no]: no
Which network
interface should the simulator use? [default]: eth2
How much
memory would you like the simulator to use? [512]:
Create a new
log for each session? [no]:
Overwrite the
single log each time? [yes]:
------------INSTALLATION
ENDS HERE------------------
B] PHASE II :
First-time configuration of the Netapp Filer Simulator
1. Start the
simulator using /u001/netapp/runsim.sh
Your response :
Please enter
the new hostname : netapp
Do you want to
enable IPV6? : n
Do you want to
configure the virtual network interfaces? : n
Please enter
the IP address for the Network Interface ns0 : 172.168.0.100
Please enter
the netmask for the Network Interface ns0 : 255.255.0.0
Please enter
media type : auto
Please enter
the IP address for the Network Interface ns1 : <ENTER>
Would you like
to continue the setup using the web interface : y
It shows this
URL for web setup : http://172.168.X.100/api
Name or IP of
IPV4 default gateway : <ENTER>
Name or IP of
IPV4 administration host : <ENTER>
Please enter
the timezone : GMT
Where is the
filer located : Pune, India
What language
would be used for multi protocol files : en_US
Do you want to
run DNS resolver : n
Do you want to
run NIS client : n
Do you want to
use Alternate Shelf Management feature :n
Password :********
confirm :********
Is it visible
to WINS : n
Multi-protocol
or NTFS only : 1 which means multi-protocol
Password : ********
confirm :********
Would you like
to change the name netapp01 : n
Method of
authentication is via /etc/passwd file : 4
Which
workgroup : WORKGROUP
Launch using the
local browser the URL : http://172.168.X.100/api(This won't work from
your machine)
Login as
root/welcome1
Change the
timezone, SMTP mail host to localhost and provide email address
------------First-time
configuration ENDS HERE------------------
Go to the Web
Admin Interface using browser to URL : 172.168.0.100/na_admin (For
Web-based Administration)
C] PHASE III :
Configuring Aggregates, Volumes and LUNs
Multiple
Physical Disks connected to the SAN are grouped together in RAID-X
Group
From the
RAID-Group you allocate space for LUNs. These LUNs can now be
accessed from the masked hosts.
Masking is a
process of making a LUN visible to a particular host either by
a. using the
WWN number of the HBA in case FC-SAN
b. using the
IQN number of the iSCSI HBA in case of IP-SAN
c. using the
IQN number of the iSCSI initiator software in case of IP-SAN but no
HBAs installed on the host. (This is our model)
Aggregate : Is
a collection of physical disks (we have 25 spare) with some "RAID"
level
Volume : Is a
separate disk space created inside an aggregate. Volumes can have its
own "RAID" level
LUN : Logical
Unit Number is a logical disk space presented to a given host and the
host treats this as a hard disk.
LUNs are
created inside a VOLUME.
Depending on
the SAN implementation, a LUN could be FC-LUN and iSCSI-LUN
FC-SAN uses :
Fibre Channel Protocol (FCP) - Real Life
FC-SAN
=======> SAN-SWITCH =======> HOST (FC-HBA has WWN number)
IP-SAN uses :
iSCSI Protocol (Lab Setup)
IP-SAN =======>
NETWORK-SWITCH/FCoE Switch =======> HOST (NIC has MAC address)
NetApp Filer
Simulator ===> Virtual Switch/Software Switch ===> Host-VM
(vNIC has MAC address)
1. Create
Aggregate
aggr create
racaggr -t raid4 25
-- only 2 RAID
levels are supported by the Simulator - RAID-4 and RAID-DP
2. Create a
Volume
vol create
oravol racaggr 17g
3. Create LUNs
lun setup
Your response
:
Do you want
to create LUN? y
Multiprotocol
type of LUN : linux
Enter LUN path
: /vol/oravol/lun0
Do you want
to create a space reserved LUN : y
Enter the LUN
size : 3g
Enter comment
:
Enter the
name of the initiator group : RACGRP
Type of
initiator group : iSCSI
Enter comma
separated node names : iqn.2017-01.com.demo:node1
iqn.2017-01.com.demo:node2
iqn.2017-01.com.demo:node3
<ENTER>
OS type for
the initiator group RACGRP : linux
Create 4 LUNs
of 3GB each. (run above command for 4 times)
4. Verify the
luns : lun show (rw/online/mapped)
5. Start the
iSCSI service and verify the status
iscsi
status ===> Down/Not Running
iscsi
start ===> Start the iSCSI service on the Netapp Filer
Simulator
iscsi
status ===> Up/Running.
No comments:
Post a Comment