NetApp Cluster Mode 8.2 Administration-:(Hot to access the
NetApp storage through CLI (command) line)
You can access yourNetAppClustermode systemsbyusingthree methods.
Method-1
1) Go physicallyandconnectyourlaptopto the serial console port(LaptopandNetAppstorage IP
range shouldbe inthe same subnet)
2) You mustinstall puttysoftware inyourlaptopordesktoptoget accessit
Openthe puttyin yourlaptopand checkthe which com port isenabledinyourlaptopor desktop
(windowsmachine)
Type the command inthe run ->compmgmt.msc as below
In the computermanagementselectthe device manager,inthe rightpanel note downthe COMport (it
may be COM1, COM2 or COM3 etc)
Note downthe com port as above and openthe puttyand selectthe Serial optionandgive the correct
COMport (COM1 here) andpressenter.
You will getthe console accessandit will askyouthe username and password.
Username -admin
Password -give the adminpassword
Method-2
By usingthe telnetorRSH-:
TelnetandRSH are disabledinthe predefinedmanagementfirewall policy(mgmt).Toenable the
clusterto acceptTelnetor RSH requests,youmustcreate a new managementfirewall policythathas
TelnetorRSH enabledandthenassociate the new policywiththe clustermanagementLIF.
Data ONTAPpreventsyoufromchangingpredefinedfirewallpolicies.However,youcancreate a
newpolicybycloningthe predefinedmgmtmanagementfirewallpolicyandthenenablingTelnetor
RSH underthe newpolicy.
Steps
1. Use the systemservicesfirewallpolicyclonecommandtocreate a new management
firewall policybasedonthe mgmtmanagementfirewall policy.
Example
cluster1::> system servicesfirewall policyclone -policymgmt -new-policy-name mgmt1
2. Use the systemservicesfirewallpolicycreate commandtoenable TelnetorRSHin
the newmanagementfirewall policy.
Example
cluster1::> system servicesfirewall policycreate -policymgmt1 -service telnet-actionallow-ip-list
0.0.0.0/0
cluster1::> system servicesfirewall policycreate -policymgmt1 -service rsh-action allow -ip-list
0.0.0.0/0
3. Use the networkinterface modifycommandtoassociate the new policywiththe cluster management
LIF.
Example
cluster1::> network interface modify -vservercluster1 -lifcluster_mgmt-firewall-policymgmt1
In the windowsmachine openthe puttyandselectthe protocol astelnetandenterthe IPorhostname
and accessthe NetAppstorage incli
It isnot secure protocol thatso whyplease don’tuse thisaswell asRSH
#rsh hostname_or_IP -l username:password
In the puttyselectthe Rloginoption
Note- If yourhost machine isLinux thenyoucan execute the commandinthe CLI,puttyisnot required
but if youare usingthe windowsmachine youneedputtysoftware toaccessthe NetAppclusterin
commandline (CLI)
You can downloadthe puttysoftware byusingthe below link.
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Choose asper your32 bitor 64 bit OSyou are using.
Metheod-3
The most recommendedwaytoaccessthe NetAppstorage byusingthe commandmode isSSH (Secure
Shell)
Type the IP or hostname of the NetApp storage byselectingthe SSHprotocol asbelow
It will askyouthe username andpassword
User name- admin
Password -Administratorpassword
(Or)
loginas: admin
Usingkeyboard-interactive authentication.
Password:
cluster::>
To see the webservice whichare enable ordisable youcanexecute the below command-:
cluster1::> system serviceswebshow
External WebServices:true
Status:online
HTTP Protocol Port: 80
HTTPs Protocol Port:443
TLSv1 Enabled:true
SSLv3 Enabled:true
SSLv2 Enabled:false
Note- Please enable sshprotocol onlyasitisveryverysecure anddisable RSHand telnetservices.
Thank you!
Saroj

How to access the Netapp cluster mode 8.2 through CLI (command mode)

  • 1.
    NetApp Cluster Mode8.2 Administration-:(Hot to access the NetApp storage through CLI (command) line) You can access yourNetAppClustermode systemsbyusingthree methods. Method-1 1) Go physicallyandconnectyourlaptopto the serial console port(LaptopandNetAppstorage IP range shouldbe inthe same subnet) 2) You mustinstall puttysoftware inyourlaptopordesktoptoget accessit Openthe puttyin yourlaptopand checkthe which com port isenabledinyourlaptopor desktop (windowsmachine) Type the command inthe run ->compmgmt.msc as below In the computermanagementselectthe device manager,inthe rightpanel note downthe COMport (it may be COM1, COM2 or COM3 etc)
  • 2.
    Note downthe comport as above and openthe puttyand selectthe Serial optionandgive the correct COMport (COM1 here) andpressenter.
  • 3.
    You will gettheconsole accessandit will askyouthe username and password. Username -admin Password -give the adminpassword Method-2 By usingthe telnetorRSH-: TelnetandRSH are disabledinthe predefinedmanagementfirewall policy(mgmt).Toenable the clusterto acceptTelnetor RSH requests,youmustcreate a new managementfirewall policythathas TelnetorRSH enabledandthenassociate the new policywiththe clustermanagementLIF. Data ONTAPpreventsyoufromchangingpredefinedfirewallpolicies.However,youcancreate a newpolicybycloningthe predefinedmgmtmanagementfirewallpolicyandthenenablingTelnetor RSH underthe newpolicy.
  • 4.
    Steps 1. Use thesystemservicesfirewallpolicyclonecommandtocreate a new management firewall policybasedonthe mgmtmanagementfirewall policy. Example cluster1::> system servicesfirewall policyclone -policymgmt -new-policy-name mgmt1 2. Use the systemservicesfirewallpolicycreate commandtoenable TelnetorRSHin the newmanagementfirewall policy. Example cluster1::> system servicesfirewall policycreate -policymgmt1 -service telnet-actionallow-ip-list 0.0.0.0/0 cluster1::> system servicesfirewall policycreate -policymgmt1 -service rsh-action allow -ip-list 0.0.0.0/0 3. Use the networkinterface modifycommandtoassociate the new policywiththe cluster management LIF. Example cluster1::> network interface modify -vservercluster1 -lifcluster_mgmt-firewall-policymgmt1 In the windowsmachine openthe puttyandselectthe protocol astelnetandenterthe IPorhostname and accessthe NetAppstorage incli It isnot secure protocol thatso whyplease don’tuse thisaswell asRSH
  • 5.
    #rsh hostname_or_IP -lusername:password In the puttyselectthe Rloginoption Note- If yourhost machine isLinux thenyoucan execute the commandinthe CLI,puttyisnot required but if youare usingthe windowsmachine youneedputtysoftware toaccessthe NetAppclusterin commandline (CLI) You can downloadthe puttysoftware byusingthe below link. https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html Choose asper your32 bitor 64 bit OSyou are using.
  • 6.
    Metheod-3 The most recommendedwaytoaccesstheNetAppstorage byusingthe commandmode isSSH (Secure Shell) Type the IP or hostname of the NetApp storage byselectingthe SSHprotocol asbelow
  • 7.
    It will askyoutheusername andpassword User name- admin Password -Administratorpassword (Or) loginas: admin Usingkeyboard-interactive authentication. Password: cluster::> To see the webservice whichare enable ordisable youcanexecute the below command-: cluster1::> system serviceswebshow External WebServices:true Status:online HTTP Protocol Port: 80 HTTPs Protocol Port:443 TLSv1 Enabled:true SSLv3 Enabled:true SSLv2 Enabled:false Note- Please enable sshprotocol onlyasitisveryverysecure anddisable RSHand telnetservices. Thank you! Saroj