ONTAP Discussions

Fresh ONTAP 9.1 Installation

Temitope

Hello everyone,

 

Please I need a step-by-step guide  for cluster/vserver setup, to LIF creation, LUN creation, LUN Mapping and iSCSI setup on my first ONTAP 9.1 installation

 

I will appreciate good responses.

1 ACCEPTED SOLUTION

robinpeter

Here you go.

 

Create Vserver
::> vserver create -vserver CLSAN01 -rootvolume CLSAN01_root -aggregate aggr1_6T_SATA -ns-switch file -nm-switch file -rootvolume-security-style unix -language C.UTF-8 -snapshot-policy default

Limit the protocol on vserver
::> vserver modify -vserver CLSAN01 -allowed-protocols fcp,iscsi,ndmp

Setup the DNS for Vserver
::> dns create -vserver CLSAN01 -domains example.com 10.10.10.2,10.10.10.3

# Setup the LIF
::> network interface create -vserver CLSAN01 -lif CLSAN01_lif1 -role data -data-protocol iscsi -home-node node-01 -home-port a0b-401 -address 10.10.10.50 -netmask 255.255.255.0 -status-admin up -firewall-policy data 
::> network interface create -vserver CLSAN01 -lif CLSAN01_lif2 -role data -data-protocol iscsi -home-node node-02 -home-port a0b-401 -address 10.10.10.51 -netmask 255.255.255.0 -status-admin up -firewall-policy data

Setup the Routing for Vserver
::>network route create -vserver CLSAN01 -destination 0.0.0.0/0 -gateway 10.10.10.1

Start the ISCSI service
::> iscsi status -vserver CLSAN01
There are no entries matching your query.

::> iscsi create -vserver CLSAN01 -target-alias CLSAN01 -status-admin up

::> iscsi status -vserver CLSAN01                                       

              Vserver: CLSAN01
Administrative Status: up

I dont think i have to say... you need to change the vserver, aggr, volume, Domain, & IP-Address to fit your environment.

All this are right there in the ontap 9.0 documentation "RTFM" 🙂

View solution in original post

2 REPLIES 2

robinpeter

Here you go.

 

Create Vserver
::> vserver create -vserver CLSAN01 -rootvolume CLSAN01_root -aggregate aggr1_6T_SATA -ns-switch file -nm-switch file -rootvolume-security-style unix -language C.UTF-8 -snapshot-policy default

Limit the protocol on vserver
::> vserver modify -vserver CLSAN01 -allowed-protocols fcp,iscsi,ndmp

Setup the DNS for Vserver
::> dns create -vserver CLSAN01 -domains example.com 10.10.10.2,10.10.10.3

# Setup the LIF
::> network interface create -vserver CLSAN01 -lif CLSAN01_lif1 -role data -data-protocol iscsi -home-node node-01 -home-port a0b-401 -address 10.10.10.50 -netmask 255.255.255.0 -status-admin up -firewall-policy data 
::> network interface create -vserver CLSAN01 -lif CLSAN01_lif2 -role data -data-protocol iscsi -home-node node-02 -home-port a0b-401 -address 10.10.10.51 -netmask 255.255.255.0 -status-admin up -firewall-policy data

Setup the Routing for Vserver
::>network route create -vserver CLSAN01 -destination 0.0.0.0/0 -gateway 10.10.10.1

Start the ISCSI service
::> iscsi status -vserver CLSAN01
There are no entries matching your query.

::> iscsi create -vserver CLSAN01 -target-alias CLSAN01 -status-admin up

::> iscsi status -vserver CLSAN01                                       

              Vserver: CLSAN01
Administrative Status: up

I dont think i have to say... you need to change the vserver, aggr, volume, Domain, & IP-Address to fit your environment.

All this are right there in the ontap 9.0 documentation "RTFM" 🙂

View solution in original post

Temitope

Thanks so much for this robust response.

 

Can you help me further with mapping the ISCSI LUN to the host and configuring NFS share

Announcements
Register for Insight 2021 Digital

INSIGHT 2021 Digital: Meet the Specialists 2

On October 20-22, gear up for a fully digital, totally immersive virtual experience with a downright legendary lineup of world-renowned specialists. Tune in for visionary conversations, solution deep dives, technical sessions and more.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public