Command Line Reference - NetApp Clustered Data ONTAP 8.2 CLI Nr. Task Nr. Task 0059 0011 Create and configure aggregates 0060 0011 Create and configure aggregates 0061 0062 0063 0070
0011 0011 0011 0012
0248 0249
0023 Create and configure CIFS vservers 0023 Create and configure CIFS vservers
AntiVirus AntiVirus
0250 0251 0252 0253
0023 0023 0023 0023
Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers
AntiVirus AntiVirus AntiVirus AntiVirus
Command storage aggregate show storage aggregate rename OLDNAME NEWNAME storage aggregate create -aggregate AGGRNAME -diskcount NUMBEROFDISKS -raidtype raid_dp -maxraidsize NUMBEROFDISKSPERRAID -nodes NODENAME storage aggregate modify -aggregate AGGRNAME -maxraidsize NUMBEROFDISKPERRAID storage aggregate add-disks -aggregate AGGR NAME -diskcount NUMBEROFDISKS storage aggregate show -aggregate AGGRNAME -OPTIONVALUE… vscan scanner-pool create -vserver VSERVERNAME -scanner-pool POOLNAME_PRIM -servers SCANSERVERIP -privileged-users DOMAIN\SERVICEUSER vserver vscan scanner-pool apply-policy -vserver VSERVERNAME -scanner-pool POOLNAME_PRIM -scanner-policy primary vscan scanner-pool create -vserver VSERVERNAME -scanner-pool POOLNAME_SEC -servers SCANSERVERIP -privileged-users DOMAIN\SERVICEUSER vserver vscan scanner-pool apply-policy -vserver VSERVERNAME -scanner-pool POOLNAME_SEC -scanner-policy secondary vserver vscan enable -vserver VSERVERNAME vserver vscan scanner-pool show
0254 0255 0256 0037 0038 0039 0040 0041 0042 0043 0044 0045 0046 0047 0048
0023 0023 0023 0009 0009 0009 0009 0009 0009 0009 0009 0009 0009 0009 0009
Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Configure Autosupport Configure Autosupport Configure Autosupport Configure Autosupport Configure Autosupport Configure Autosupport Configure Autosupport Configure Autosupport Configure Autosupport Configure Autosupport Configure Autosupport Configure Autosupport
AntiVirus AntiVirus AntiVirus Autosupport Autosupport Autosupport Autosupport Autosupport Autosupport Autosupport Autosupport Autosupport Autosupport Autosupport Autosupport
vserver cifs users-and-groups local-group add-member -group-name "BUILTIN\Backup Operators" -member-names DOMAIN\SERVICEUSER -vserver VSERVERNAME vserver vscan show vserver vscan connection-status show all system autosupport modify -node * -hostname-subj true system autosupport modify -node * -mail-hosts MAILHOSTIP system autosupport modify -node * -noteto MAILADDRESS1, MAILADRESS2 system autosupport modify -node * -partner-address MAILADDRESS1, MAILADRESS2 system autosupport modify -node * -perf true system autosupport modify -node * -remove-private-data true system autosupport modify -node * -support enable system autosupport modify -node * -to MAILADDRESS1, MAILADRESS2 system autosupport modify -node * -transport smtp | https system autosupport modify -node NODENAME -from MAILADDRESS system autosupport show -node * -instance system autosupport invoke -node NODENAME test -message TEXT
0216 0217 0218 0219 0020 0021 0022 0023
0023 0023 0023 0023 0006 0006 0006 0006
Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Basic CLI Navigation Basic CLI Navigation Basic CLI Navigation Basic CLI Navigation
CIFS CIFS CIFS CIFS CLI Navigation CLI Navigation CLI Navigation CLI Navigation
vserver cifs create -vserver VSERVERNAME -cifs-server VSERVERNAME -domain DOMAIN vserver cifs show cifs domain discovered-servers show cifs domain preferred-dc show set -privilege admin | advanced | diag ? man COMMAND system node run -node NODENAME
adds the service user to the local backup operators group is vscan on / off? are the scan servers connected? use hostname in the subject of the email set mailhost for every node set mail note to addresses for every node set mail partner to addresses for every node include performance statistics in autosupport remove private data from autosupport (if you need it) enable autosupport set mail to addresses for every node choose smtp or https as transport protocol set sender email adress for autosupport show actual autosupport settings send testmail start cifs in vserver, adds vserver to Active Directory (OU Computers) shows cifs status of vservers shows all discovere dcs shows preferred dcs change cli admin level lists available commands / values shows man pages for command change to nodeshell on NODENAME
0024 0025 0002 0003 0004 0005 0272 0016 0017 0018 0019
0006 0006 0002 0002 0002 0002 0026 0005 0005 0005 0005
Basic CLI Navigation Basic CLI Navigation Configure Cluster Configure Cluster Configure Cluster Configure Cluster Basic configuration SnapMirror & SnapVault Configure administrative users Configure administrative users Configure administrative users Configure administrative users
CLI Navigation CLI Navigation Cluster Cluster Cluster Cluster Cluster Control Control Control Control
system node systemshell -node NODENAME set -rows 0 cluster setup cluster join cluster show system node rename -node OLDNODENAME NEWNODENAME cluster peer create -peer-addrs ONEIPOFDESTINATIONCLUSTERICLIF -username admin security login password -username diag security login unlock - username diag security login show -username diag security login password -username admin
change to systemshell on NODENAME unlimited scrolling basic creation and configuration of the cluster and first node join a node to a cluster show cluster status change nodename peers the source and destination cluster configures a password for diag user unlocks diag user control settings of diag user change password for user admin
0049 0050 0051 0052 0195 0196
0010 0010 0010 0010 0022 0022
Enable Remote Access to root volumes Enable Remote Access to root volumes Enable Remote Access to root volumes Enable Remote Access to root volumes Configure SnapDrive access Configure SnapDrive access
Control Control Control Control Control Control
vserver services web modify -name spi|ontapi|compat -vserver * -enabled true vserver services web access create -name spi -role admin -vserver CLUSTERNAME vserver services web access create -name ontapi -role admin -vserver CLUSTERNAME vserver services web access create -name compat -role admin –vserver CLUSTERNAME security login password -username vsadmin -vserver VSERVERNAME security login unlock -username vsadmin -vserver VSERVERNAME
enables web access to all node root volumes normally automatically set during "web modify" normally automatically set during "web modify" sets access rights for compat mode sets password for user vsadmin unlocks vsadmin user
0220 0221 0222 0053 0054 0055 0056 0057 0058
0023 0023 0023 0011 0011 0011 0011 0011 0011
Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Create and configure aggregates Create and configure aggregates Create and configure aggregates Create and configure aggregates Create and configure aggregates Create and configure aggregates
Control Control Control Disk Disk Disk Disk Disk Disk
users-and-groups local-user show users-and-groups local-group show-members -vserver VSERVERNAME -group-name BUILTIN\Administrators users-and-groups local-user set-password -user-name VSERVERNAME\Administrator storage disk show -disk * storage disk assign -disk NODENAME:DISK -owner NODENAME storage disk option modify -node NODENAME -autoassign off storage disk option modify -node NODENAME -autocopy off storage disk option modify -node NODENAME -bkg-firmware-update off storage disk optiond modify -node NODENAME -autoassign-shelf on
shows local users shows users in local administrators group sets password for local admin in vserver shows all disks (unassigned too) assign disk to a node disable disk autoassignment disable autocopy disable automatic disk firmware upgrade enables autoassignment of disks when adding a whole shelf
Create and configure aggregates Create and configure aggregates Create and configure aggregates Create and configure aggregates
Copyright © 06/2014 teamix GmbH, Benjamin Ulsamer
Category Aggregates Aggregates Aggregates Aggregates Aggregates Aggregates
1 von 6
Description shows actual aggregates renames aggregates
Notice -
creates aggregates changes raidsize of aggregate adds disk to aggregate shows configuration of the aggregate
add "-simulate true" for a preview -
adds a AV scanserver into primary scanner pool adds primary scanner pool to the policy
-
adds a AV scanserver into secondary scanner pool adds secondary scanner pool to the policy enables vscan on the vserver shows current scan server settings
needed that the external AV scan server service user can access the cifs files you can set a prevered dc if needed, default: no dc set exit with "q" go back to cluster shell with "exit" Logon: diag, password for diag user, go back to cluster shell with "exit" normally setup is made at first boot of the node normally possible at first boot of the node just one IP needed for peering process can be set during initial setup needs to be executed every time you add a node, access to logs or crashdumps via webbrowser: https://CLUSTERMGMTIP/spi/NODENAME/etc/log/ https://CLUSTERMGMTIP/spi/NODENAME/etc/crash/ in activated CIFS vservers is a default User VSERVER\Administrator default: on default: on default: on default: off
Command Line Reference - NetApp Clustered Data ONTAP 8.2 CLI Nr. Task Nr. Task 0071 0012 Configure DNS 0072 0213 0214
0013 Configure DNS 0023 Create and configure CIFS vservers 0023 Create and configure CIFS vservers
DNS DNS DNS
Command vserver services dns show vserver services dns modify -vserver VSERVERNAME -domains DOMAIN -name-servers IP1,IP2 -state enabled vserver services dns create -vserver VSERVERNAME -domains DOMAIN -state enabled -name-servers IP1, IP2 vserver services dns show
0215
0023 Create and configure CIFS vservers
DNS
network ping -lif cifs -lif-owner VSERVERNAME -destination DNSSERVERIP
pings DNS server over cifs LIF
0158
0020 Create and configure NFS vservers
Export-Policy
create ro_policy for volume layer
0159
0020 Create and configure NFS vservers
Export-Policy
set access of client1 with ro right in policy POLICYNAME_RO
-
0160
0020 Create and configure NFS vservers
Export-Policy
vserver export-policy create -policyname POLICYNAME_RO vserver export-policy rule create -policyname POLICYNAME_RO -clientmatch CLIENTIP1 -rwrule never -rorule sys -superuser sys vserver export-policy rule create -policyname POLICYNAME_RO -clientmatch CLIENTIP2 -rwrule never -rorule sys -superuser sys
normally setup during first boot you need to manually create a DNS entry for your vserver LIFs that clients can access the export-policy at a qtree level, the clients need ro rights on the rootvol of the vserver and the volume where the qtree resides
set access of client2 with ro right in policy POLICYNAME_RO
0161 0162 0163
0020 Create and configure NFS vservers 0020 Create and configure NFS vservers 0020 Create and configure NFS vservers
Export-Policy Export-Policy Export-Policy
set POLICYNAME_RO policy on rootvol of vserver set POLICYNAME_RO policy on volume where qtree resides create policy for qtree layer
0164
0020 Create and configure NFS vservers
Export-Policy
set access of client1 with ro right in policy POLICYNAME
-
0165 0166 0167
0020 Create and configure NFS vservers 0020 Create and configure NFS vservers 0020 Create and configure NFS vservers
Export-Policy Export-Policy Export-Policy
set access of client2 with ro right in policy POLICYNAME shows export-policy configuration export the qtree with settings in POLICYNAME
-
0262 0263 0264 0265 0177 0178 0122 0123 0124 0125 0130 0133 0279
0025 0025 0025 0025 0021 0021 0018 0018 0018 0018 0019 0019 0027
FlexClone FlexClone FlexClone FlexClone ISCSI ISCSI Jobs Jobs Jobs Jobs Jobs Jobs Jobs
volume modify -vserver VSERVERNAME -volume ROOTVOLNFSVSERVER -policy POLICYNAME_RO volume modify -vserver VSERVERNAME -volume VOLNAMEOFQTREE -policy POLICYNAME_RO vserver export-policy create -vserver VSERVERNAME -policyname POLICYNAME vserver export-policy rule create -vserver VSERVERNAME -policyname POLICYNAME -clientmatch CLIENTIP1 -rwrule sys -rorule sys -superuser sys vserver export-policy rule create -vserver VSERVERNAME -policyname POLICYNAME -clientmatch CLIENTIP2 -rwrule sys -rorule sys -superuser sys vserver export-policy rule show qtree modify -vserver VSERVERNAME -volume VOLNAMEOFQTREE -qtree QTREENAME -export-policy POLICYNAME volume clone create -vserver VSERVERNAME -flexclone VOLNAME_clone -type RW -parent-volume VOLNAME -junction-active true -foreground true -parent-snapshot SNAPNAME -junction-path /VOLNAME_clone -space-guarantee none volume clone show volume clone split start -vserver VSERVERNAME -flexclone VOLNAME_clone -foreground true volume clone split status vserver iscsi create -vserver VSERVERNAME vserver iscsi show job schedule cron modify -name hourly -minute 0 -hour 1-23 -dayofweek * -day "" job schedule cron modify -name daily -minute 0 -hour 0 -dayofweek Mon-Sat -day "" job schedule cron modify -name weekly -minute 0 -hour 0 -dayofweek Sun -day "" job schedule show job schedule cron create -name dedup_at_0000 -minute 0 -hour 0 -day "" -dayofweek * job schedule cron create -name dedup_at_1800 -minute 0 -hour 18 -day "" -dayofweek * job schedule cron create -name snapmirror_at_0000 -minute 0 -hour 0 -dayofweek *
repeat for every client which needs access if more different export-policies needed within the vserver (for example for every volume), rootvol needs an export policy where every client of every policy has ro access -
creates a FlexClone from the snapshot of the volume shows actual FlexClones splits the FlexClone and fills up the "new" volume status of the FlexClone split procedure activates iscsi on vserver control iscsi status changes "hourly" cron to 1-23 every day changes "daily" cron to 0 from Mon-Sat changes "weekly" cron to 0 on Sun shows crons creates cron for dedup every day at 0:00 creates cron for dedup every day at 18:00 create a job schedule for snapmirror transfers
-
0006 0007
0003 Configure Licensing 0003 Configure Licensing
Licensing Licensing
0190 0191 0192 0193 0194
0021 0021 0021 0021 0021
Create and configure ISCSI vservers Create and configure ISCSI vservers Create and configure ISCSI vservers Create and configure ISCSI vservers Create and configure ISCSI vservers
0257 0258 0259 0260 0261 0082 0083 0084 0085 0086 0087 0088 0089 0090 0091 0092 0093 0094 0095
0024 0024 0024 0024 0024 0014 0014 0014 0014 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015
0096 0097
FlexClone handling FlexClone handling FlexClone handling FlexClone handling Create and configure ISCSI vservers Create and configure ISCSI vservers Configure default snapshot schedule & policy Configure default snapshot schedule & policy Configure default snapshot schedule & policy Configure default snapshot schedule & policy Configure dedup schedules & policies Configure dedup schedules & policies Configure SnapMirror
Category DNS
Description shows DNS configuration
Notice -
change DNS configuration configures name servers for cifs vserver shows dns settings of all vservers
execute on destination in 8.2 licenses are based on controller serial number, license add is possible during cluster setup too -
adds licenses to the matching nodes shows active licenses
LUN LUN LUN LUN LUN
system license add system license show lun create -vserver VSERVERNAME -path /vol/VOLNAME/QTREENAME/LUNNAME -size SIZE -ostype OSTYPE -space-reserve disabled lun show -vserver VSERVERNAME -v igroup create -vserver VSERVERNAME -igroup IGROUPNAME -protocol iscsi -ostype OSTYPE -initiator iqn…., iqn…. igroup show -vserver VSERVERNAME -v lun map -vserver VSERVERNAME -path /vol/VOLNAME/QTREENAME/LUNNAME -igroup IGROUPNAME -lun-id ID
Configure NDMP Configure NDMP Configure NDMP Configure NDMP Configure NDMP Optimize network settings Optimize network settings Optimize network settings Optimize network settings Configuring Cluster management network Configuring Cluster management network Configuring Cluster management network Configuring Cluster management network Configuring Cluster management network Configuring Cluster management network Configuring Cluster management network Configuring Cluster management network Configuring Cluster management network Configuring Cluster management network
NDMP NDMP NDMP NDMP NDMP Networking Networking Networking Networking Networking Networking Networking Networking Networking Networking Networking Networking Networking Networking
system services ndmp node-scope-mode on system services ndmp on -node * system services ndmp show system node hardware tape drive show system node hardware tape library show system node run * -command options cdpd.enable on system node run * -command options cdpd network port modify -node NODENAME -port * -flowcontrol-admin none network port show -node NODENAME -port * -fields flowcontrol-admin, flowcontrol-oper network port modify -node NODENAME1 -port e0d -role data network port modify -node NODENAME1 -port e0f -role data network port modify -node NODENAME1 -port e0d -role data network port modify -node NODENAME1 -port e0f -role data network port show network interface migrate -vserver democluster -lif cluster_mgmt -destination-node NODENAME1 -destination-port e0d network interface modify -vserver democluster -lif cluster_mgmt -home-node NODENAME1 -home-port e0d network interface failover-groups create -failover-group cluster_mgmt -node NODENAME1 -port e0d network interface failover-groups create -failover-group cluster_mgmt -node NODENAME1 -port e0f network interface failover-groups create -failover-group cluster_mgmt -node NODENAME2 -port e0d
possibility to backup data from the hardware enable NDMP on every node shows NDMP state shows connected tape drives shows connected tape libraries enable cdp on all ports show cdp options deactivates flowcontrol on every port shows flowcontrol settings configure port e0d as data port configure port e0f as data port configure port e0d as data port configure port e0f as data port shows port configuration migrate cluster_mgmt LIF to port e0d modifies homeport of cluster_mgmt LIF creates failovergroup cluster_mgmt with port e0d of node1 adds port e0f of node1 to failovergroup adds port e0d of node2 to failovergroup
if you want to backup the data vserver aware, this setting must be disabled (default: off) for NetApp Config Advisor best practice -
0015 Configuring Cluster management network 0015 Configuring Cluster management network
Networking Networking
network interface failover-groups create -failover-group cluster_mgmt -node NODENAME2 -port e0f network interface failover-groups show
adds port e0f of node2 to failovergroup shows configured failover groups
repeat for every node which should takeover cluster_mgmt -
Copyright © 06/2014 teamix GmbH, Benjamin Ulsamer
2 von 6
creates thin provisioned LUN shows detailed LUN informations creates igroup shows detailed igroup informations maps LUN to igroup
Command Line Reference - NetApp Clustered Data ONTAP 8.2 CLI Nr. Task Nr. Task 0098 0015 Configuring Cluster management network 0099 0015 Configuring Cluster management network 0100 0016 Configuring Node management network 0101 0016 Configuring Node management network 0102 0103
0016 Configuring Node management network 0016 Configuring Node management network
Networking Networking
network interface failover-groups create -failover-group mgmt1_NODENAME1 -node NODENAME1 -port e0d network interface failover-groups create -failover-group mgmt1_NODENAME1 -node NODENAME1 -port e0f
Description configures failovergroup cluster_mgmt to LIF cluster_mgmt shows failover settings of LIF cluste_mgmgt migrate mgmt LIF mgmt1 of node 1 to port e0d modifies homeport of mgmt1 LIF creates failovergroup mgmt1_NODENAME1 with port e0d of node1 adds port e0f of node1 to failovergroup
0104
Networking
network interface modify -vserver NODENAME1 -lif mgmt1 -failover-group mgmt1_NODENAME1
configures failovergroup mgmt1_NODENAME1 to LIF mgmt1
repeat task 0016 for every node management LIF (mgmt1)
Networking
network port modify -node NODENAME1 -port e0d -role data
configure port e0d as data port
-
Networking
network port modify -node NODENAME1 -port e0f -role data
configure port e0f as data port
-
Networking
network port modify -node NODENAME1 -port e0d -role data
configure port e0d as data port
-
Networking
network port modify -node NODENAME1 -port e0f -role data
configure port e0f as data port
-
Networking
network port show
shows port configuration
-
Networking
network port ifgrp create -node NODENAME1 -ifgrp a0a -distr-func ip -mode multimode_lacp
creates LACP ifgrp (a0a)
repeat on all nodes
Networking
network port ifgrp add-port -node NODENAME1 -ifgrp a0a -port e0c
adds port e0c to a0a
repeat on all nodes
Networking
network port ifgrp add-port -node NODENAME1 -ifgrp a0a -port e0e
adds port e0e to a0a
repeat on all nodes
Networking
network port ifgrp show
shows ifgrp configuration
repeat on all nodes
Networking
network port vlan create -node NODENAME1 -port a0a -vlan-id 100
create VLAN 100 on ifgrp a0a
in this example used for CIFS
Networking
network port vlan create -node NODENAME1 -port a0a -vlan-id 200
create VLAN 200 on ifgrp a0a
in this example used for NFS
Networking
network port vlan create -node NODENAME1 -port a0a -vlan-id 300
create VLAN 300 on ifgrp a0a
in this example used for ISCSI
Networking
network port vlan show
show VLANs
-
Networking
network interface failover-groups create -failover-group cifs -node NODENAME1 -port a0a-100
create failovergroup cifs with ifgrp a0a VLAN 100 of node1
-
Networking
network interface failover-groups create -failover-group cifs -node NODENAME2 -port a0a-100
adds ifgrp a0a VLAN 100 of node2 to failovergroup cifs
repeat for every node which is in VLAN 100
Networking
network interface failover-groups create -failover-group nfs -node NODENAME1 -port a0a-200
create failovergroup nfs with ifgrp a0a VLAN 200 of node1
-
0121
0016 Configuring Node management network Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs Configuring LACP ifgrp with VLANs 0017 as basic for data LIFs
Networking
0020 Create and configure NFS vservers 0020 Create and configure NFS vservers 0020 Create and configure NFS vservers
Networking Networking Networking
adds ifgrp a0a VLAN 200 of node2 to failovergroup nfs create LIF for vserver in defined nfs network with failover-group show routing groups show default gateways
repeat for every node which is in VLAN 200
0140 0141 0142 0173
0021 Create and configure ISCSI vservers
Networking
0021 Create and configure ISCSI vservers
Networking
0197 0198 0199
0022 Configure SnapDrive access 0022 Configure SnapDrive access 0022 Configure SnapDrive access
Networking Networking Networking
network interface failover-groups create -failover-group snapdrive_mgmt -node NODENAME1 -port e0d network interface failover-groups create -failover-group snapdrive_mgmt -node NODENAME1 -port e0f network interface failover-groups create -failover-group snapdrive_mgmt -node NODENAME2 -port e0d
creates LIF on first node for iscsi with first ip fo the vserver creates LIF on second node for iscsi with second ip for the vserver configures failovergroup for snapdrive_mgmt - adds port e0d of node1 configures failovergroup for snapdrive_mgmt configures failovergroup for snapdrive_mgmt
-
0174
network interface failover-groups create -failover-group nfs -node NODENAME2 -port a0a-200 network interface create -vserver VSERVERNAME -lif nfs -role data -data-protocol nfs -home-node NODENAME -home-port a0a-200 -address IP -netmask NETMASK -failover-group nfs network routing-groups show network routing-groups route show network interface create -vserver VSERVERNAME -lif iscsi_NODENAME1 -role data -data-protocol iscsi -home-node NODENAME1 -home-port a0a-300 -address IP1 -netmask NETMASK network interface create -vserver VSERVERNAME -lif iscsi_NODENAME2 -role data -data-protocol iscsi -home-node NODENAME2 -home-port a0a-300 -address IP2 -netmask NETMASK
0200 0201
0022 Configure SnapDrive access 0022 Configure SnapDrive access
Networking Networking
0202
0022 Configure SnapDrive access
Networking
0207 0208
0023 Create and configure CIFS vservers 0023 Create and configure CIFS vservers
Networking Networking
0209 0210
0023 Create and configure CIFS vservers 0023 Create and configure CIFS vservers
Networking Networking
0268
0026 Basic configuration SnapMirror & SnapVault
Networking
0269
0026 Basic configuration SnapMirror & SnapVault
Networking
0270
0026 Basic configuration SnapMirror & SnapVault
Networking
network interface failover-groups create -failover-group snapdrive_mgmt -node NODENAME2 -port e0f network interface failover-groups show network interface create -vserver VSERVERNAME -lif snapdrive_mgmt_VSERVERNAME -firewall-policy mgmt -address IP -netmask NETMASK -role data -data-protocol none -home-node NODENAME -home-port e0d -failover-group snapdrive_mgmt network interface create -vserver VSERVERNAME -lif cifs -role data -data-protocol cifs -home-node NODENAME -home-port a0a-100 -address IP -netmask NETMASK -failover-group cifs network routing-groups show network routing-groups route create -vserver VSERVERNAME -routing-group ROUTINGGROUP -destination 0.0.0.0/0 -gateway IP network routing-groups route show network interface create -vserver NODE1 -lif ic1_NODE1 -role intercluster -home-node NODE1 -home-port e0d -address IP -netmask NETMASK network interface create -vserver NODE1 -lif ic2_NODE1 -role intercluster -home-node NODE1 -home-port e0f -address IP -netmask NETMASK network interface create -vserver NODE2 -lif ic1_NODE2 -role intercluster -home-node NODE2 -home-port e0d -address IP -netmask NETMASK
0105 0106 0107 0108 0109 0110 0111 0112 0113 0114 0115 0116 0117 0118 0119 0120
Copyright © 06/2014 teamix GmbH, Benjamin Ulsamer
Category Networking Networking Networking Networking
Command network interface modify -vserver CLUSTERNAME -lif cluster_mgmt -failover-group cluster_mgmt network interface show -failover -lif cluster_mgmt network interface migrate -vserver NODENAME1 -lif mgmt1 -destination-node NODENAME1 -destination-port e0d network interface modify -vserver NODENAME1 -lif mgmt1 -home-node NODENAME1 -home-port e0d
3 von 6
configures failovergroup for snapdrive_mgmt shows configured failover groups
Notice -
-
repeat for every node in this example snapdrive should communicate over the separate mgmt network repeat for every node which should takeover snapdrive_mgmt -
creates the snapdrive_mgmt LIF for vserver create LIF for vserver in defined cifs network with failover-group show routing groups
-
sets default gateway for vserver show default gateways
-
creates a cluster interconnect LIF
-
creates a second cluster interconnect LIF for redundancy
-
creates a cluster interconnect LIF
-
-
Command Line Reference - NetApp Clustered Data ONTAP 8.2 CLI Nr. Task Nr.
Task
Category
0271 0145 0146 0156 0157 0168 0188 0189 0232 0233
0026 0020 0020 0020 0020 0020 0021 0021 0023 0023
0240
0023 Create and configure CIFS vservers
Quota
0241
0023 Create and configure CIFS vservers
Quota
0242
0023 Create and configure CIFS vservers
Quota
0243 0244 0245 0246 0247 0234 0235 0236
0023 0023 0023 0023 0023 0023 0023 0023
Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers
Quota Quota Quota Quota Quota Shares Shares Shares
0237
0023 Create and configure CIFS vservers
Shares
0238 0239 0276 0277 0278 0280 0281 0064 0065 0066 0067 0068 0069
0023 0023 0027 0027 0027 0027 0027 0011 0011 0011 0011 0011 0011
Shares Shares SnapMirror SnapMirror SnapMirror SnapMirror SnapMirror Snapshots Snapshots Snapshots Snapshots Snapshots Snapshots
Command network interface create -vserver NODE2 -lif ic2_NODE2 -role intercluster -home-node NODE2 -home-port e0f -address IP -netmask NETMASK vserver nfs create -vserver VSERVERNAME vserver nfs show qtree create -vserver VSERVERNAME -volume VOLNAME -qtree QTREENAME -security-style unix qtree show qtree show -vserver VSERVERNAME -fields export-policy qtree create -vserver VSERVERNAME -volume VOLNAME -qtree QTREENAME -security-style unix qtree show qtree create -vserver VSERVERNAME -volume VOLNAME -qtree QTREENAME -security-style ntfs qtree show volume quota policy rule create -vserver VSERVERNAME -volume VOLNAME -policy-name default -type tree -target QTREENAME -disk-limit SIZE -soft-disk-limit SIZE -threshold SIZE volume quota policy rule modify -vserver VSERVERNAME -volume VOLNAME -policy-name default -type tree -target QTREENAME -disk-limit SIZE -soft-disk-limit SIZE -threshold SIZE volume quota policy rule create -vserver VSERVERNAME -volume VOLNAME -policy-name default -type user -target "" -qtree QTREENAME -disk-limit SIZE volume quota policy rule create -vserver VSERVERNAME -policy-name default -volume VOLNAME -type user -target "DOMAIN\USER" -qtree QTREENAME -disk-limit SIZE volume quota policy rule show -vserver VSERVERNAME volume quota on -vserver VSERVERNAME -volume VOLNAME -foreground true volume quota show volume quota report cifs share show cifs share create -share-name SHARENAME$ -path /JUNCTION/QTREENAME -share-properties access-based-enumeration cifs share access-control show -vserver VSERVERNAME cifs share access-control create -vserver VSERVERNAME -share SHARENAME -user-or-group "DOMAIN\GROUP" -permission Full_Control cifs share access-control modify -vserver VSERVERNAME -share SHARENAME -user-or-group "DOMAIN\GROUP" -permission Read cifs share access-control delete -vserver VSERVERNAME -share SHARENAME -user-or-group Everyone snapmirror create -source-path SOURCEVSERVER:SOURCEVOL -destination-path DESTVSERVER:DESTVOL -type DP snapmirror show | snapmirror list-destinations snapmirror initialize -destination-path DESTVSERVER:DESTVOL snapmirror modify -destination-path DESTVSERVER:DESTVOL -schedule snapmirror_at_0000 snapmirror update -destination-path DESTVSERVER:DESTVOL system node run -node NODENAME -command snap reserve -A AGGRNAME 0 system node run -node * -command snap reserve -A system node run -node NODENAME -command snap sched -A AGGRNAME 0 0 0 system node run -node * -command snap sched -A system node run -node NODENAME -command snap delete -f -a -A AGGRNAME system node run -node * -command snap list -A
Basic configuration SnapMirror & SnapVault Create and configure NFS vservers Create and configure NFS vservers Create and configure NFS vservers Create and configure NFS vservers Create and configure NFS vservers Create and configure ISCSI vservers Create and configure ISCSI vservers Create and configure CIFS vservers Create and configure CIFS vservers
Networking NFS NFS Qtree Qtree Qtree Qtree Qtree Qtree Qtree
0076
0013 Optimize root volume
Snapshots
system node run -node NODENAME -command snap sched ROOTVOL 0 0 0
deactivate rootvol snap schedule
0077
0013 Optimize root volume
Snapshots
system node run -node * -command snap sched
shows snap schedules of rootvols
0078
0013 Optimize root volume
Snapshots
system node run -node NODENAME -command snap reserve ROOTVOL 0
set snap reserve of rootvol to 0
0079
0013 Optimize root volume
Snapshots
system node run -node * -command snap reserve
shows snap reserves of rootvols
0080
0013 Optimize root volume
Snapshots
system node run -node NODENAME -command snap delete -f -a ROOTVOL
delete all rootvol snapshots
0081 0126 0127 0128 0129 0137 0138 0139 0170 0171 0172 0204 0205 0206
0013 0018 0018 0018 0018 0020 0020 0020 0021 0021 0021 0023 0023 0023
Snapshots Snapshots Snapshots Snapshots Snapshots Snapshots Snapshots Snapshots Snapshots Snapshots Snapshots Snapshots Snapshots Snapshots
system node run -node * -command snap list volume snapshot policy modify-schedule -policy default -schedule hourly -newcount 46 volume snapshot policy modify-schedule -policy default -schedule daily -newcount 12 volume snapshot policy modify-schedule -policy default -schedule weekly -newcount 2 volume snapshot policy show volume modify -vserver VSERVERNAME -volume ROOTVOLNAME -percent-snapshot-space 20 volume show -fields percent-snapshot-space volume snapshot show -vserver VSERVERNAME -volume VOLNAME volume modify -vserver VSERVERNAME -volume ROOTVOLNAME -percent-snapshot-space 20 volume show -fields percent-snapshot-space volume snapshot show -vserver VSERVERNAME -volume VOLNAME volume modify -vserver VSERVERNAME -volume ROOTVOLNAME -percent-snapshot-space 20 volume show -fields percent-snapshot-space volume snapshot show -vserver VSERVERNAME -volume VOLNAME
0282
0028 Configure SnapVault
SnapVault
snapmirror policy create -vserver DESTVSERVER -policy snapvault_destination
shows all snapshots of rootvols changes "default" policy to a retention of 46 hourly snapshots changes "default" policy to a retention of 12 daily snapshots changes "default" policy to a retention of 2 weekly snapshots shows actual snashot policies increase snapshot reserve of root volume show snapshot space list all snapshots of volume increase snapshot reserve of root volume show snapshot space list all snapshots of volume increase snapshot reserve of root volume show snapshot space list all snapshots of volume creates a snapvault policy on destination "snapvault_destination"
0283
0028 Configure SnapVault
SnapVault
snapmirror policy add-rule -vserver DESTVSERVER -policy snapvault_destination -snapmirror-label daily -keep 24
set retention for daily transfers
Create and configure CIFS vservers Create and configure CIFS vservers Configure SnapMirror Configure SnapMirror Configure SnapMirror Configure SnapMirror Configure SnapMirror Create and configure aggregates Create and configure aggregates Create and configure aggregates Create and configure aggregates Create and configure aggregates Create and configure aggregates
Optimize root volume Configure default snapshot schedule & policy Configure default snapshot schedule & policy Configure default snapshot schedule & policy Configure default snapshot schedule & policy Create and configure NFS vservers Create and configure NFS vservers Create and configure NFS vservers Create and configure ISCSI vservers Create and configure ISCSI vservers Create and configure ISCSI vservers Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers
Copyright © 06/2014 teamix GmbH, Benjamin Ulsamer
4 von 6
Description creates a second cluster interconnect LIF for redundancy start nfs in vserver shows nfs status of vservers creates qtree within the volume show qtrees shows all export-policies within the vfiler creates qtree within the volume show qtrees creates qtree within the volume show qtrees
Notice repeat these steps for every node in both clusters (source and destination cluster) -
specifies a space limit for the specified user on the qtree shows quota settings enables quota management on volume shows state of quota management shows active quotas lists cifs shares of vserver creates a share with enabled access based enumeration shows access settings for shares on vserver
that new rules become active you have to do a "volume quota off" and a "volume quota on" that new rules become active you have to do a "volume quota off" and a "volume quota on" that new rules become active you have to do a "volume quota off" and a "volume quota on" that new rules become active you have to do a "volume quota off" and a "volume quota on" the "default" policy default shares: c$ with path / -
add additional permissons to a share
-
set another permission level for an existing group removes access for everyone from share create snapmirror relationship shows actual snapmirror and snapvault status initial transfer of source volume to destination site link created job schedule into snapmirror relationship manually updates the destination volume set snap reserve on aggregate to 0 shows snap reserve of aggregates deactivate aggregate snap schedule shows snap schedules of aggregates delete all aggregate snapshots shows
execute on destination execute on dr site | execute on source execute on destination execute on destination execute on destination default: 0 7-mode nodeshell command 7-mode nodeshell command 7-mode nodeshell command 7-mode nodeshell command 7-mode nodeshell command because of rootvol is 7-mode vol, you need nodeshell command because of rootvol is 7-mode vol, you need nodeshell command because of rootvol is 7-mode vol, you need nodeshell command because of rootvol is 7-mode vol, you need nodeshell command because of rootvol is 7-mode vol, you need nodeshell command because of rootvol is 7-mode vol, you need nodeshell command -
set hard, soft and threshold quota value for a qtree change hard, soft and threshold quota value for a qtree sets a user quota that all users have a space limit on the qtree
-
execute on destination execute on destination, primary snapshot policy needs to have snapmirror labels configured
Command Line Reference - NetApp Clustered Data ONTAP 8.2 CLI Nr. Task Nr.
Task
Category
Command
Description
Configure SnapVault Configure SnapVault Configure SnapVault Configure SnapVault Configure SnapVault Configure SnapVault Configure SnapVault Configure SNMP Services Configure SNMP Services Configure SNMP Services Configure SNMP Services Configure SNMP Services
SnapVault SnapVault SnapVault SnapVault SnapVault SnapVault SnapVault SNMP Services SNMP Services SNMP Services SNMP Services SNMP Services
snapmirror policy add-rule -vserver DESTVSERVER -policy snapvault_destination -snapmirror-label weekly -keep 4 snapmirror create -source-path SOURCEVSERVER:SOURCEVOL DESTVSERVER:DESTVOL -type XDP -policy snapvault_destination snapmirror initialize -destination-path DESTVSERVER:DESTVOL snapmirror show | snapmirror list-destinations job schedule cron create -name snapvault_transfer -minute 0 -hour 0 -dayofweek * snapmirror modify -destination-path DESTVSERVER:DESTVOL -schedule snapvault_transfer snapmirror update -destination-path DESTVSERVER:DESTVOL system snmp community add -community-name public -type ro system snmp contact -contact "NAME" system snmp location -location "NAME" system snmp traphost add -peer-address IPADDRESS system snmp show
set retention for weekly transfers create snapvault relationship initial transfer of source volume to destination site shows actual snapvault and snapmirror status create a transport schedule for snapvault transfers link created job schedule into snapvault relationship manually updates the destination volume configure SNMP community configure SNMP contact configure SNMP location configure SNMP traphost show SNMP configuration
volume efficiency policy create -policy dedup_at_0000 -vserver VSERVERNAME volume efficiency policy modify -policy dedup_at_0000 -schedule dedup_at_0000 -enabled true -qos-policy background -vserver VSERVERNAME
creates a effiency policy named "dedup_at_0000"
0284 0285 0286 0287 0288 0289 0290 0032 0033 0034 0035 0036
0028 0028 0028 0028 0028 0028 0028 0008 0008 0008 0008 0008
0131
0019 Configure dedup schedules & policies
Storage Efficiency
0132
0019 Configure dedup schedules & policies
Storage Efficiency
0134
0019 Configure dedup schedules & policies
Storage Efficiency
0135 0149 0150 0151 0152 0153 0154 0155 0181 0182 0183 0184 0185 0186 0187 0225 0226 0227 0228 0229 0230 0231 0008 0009 0010 0011 0012 0013 0014 0015
0019 0020 0020 0020 0020 0020 0020 0020 0021 0021 0021 0021 0021 0021 0021 0023 0023 0023 0023 0023 0023 0023 0004 0004 0004 0004 0004 0004 0004 0004
Configure dedup schedules & policies Create and configure NFS vservers Create and configure NFS vservers Create and configure NFS vservers Create and configure NFS vservers Create and configure NFS vservers Create and configure NFS vservers Create and configure NFS vservers Create and configure ISCSI vservers Create and configure ISCSI vservers Create and configure ISCSI vservers Create and configure ISCSI vservers Create and configure ISCSI vservers Create and configure ISCSI vservers Create and configure ISCSI vservers Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Configure Storage Failover Configure Storage Failover Configure Storage Failover Configure Storage Failover Configure Storage Failover Configure Storage Failover Configure Storage Failover Configure Storage Failover
Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Efficiency Storage Failover Storage Failover Storage Failover Storage Failover Storage Failover Storage Failover Storage Failover Storage Failover
volume efficiency policy create -policy dedup_at_1800 -vserver VSERVERNAME volume efficiency policy modify -policy dedup_at_1800 -schedule dedup_at_1800 -enabled true -qos-policy background -vserver VSERVERNAME volume efficiency on -volume VOLNAME -vserver VSERVERNAME volume efficiency start -vserver VSERVERNAME -volume VOLNAME -scan-old-data true volume efficiency modify -vserver VSERVERNAME -volume VOLNAME-compression true volume efficiency modify -vserver VSERVERNAME -volume VOLNAME -inline-compression true volume efficiency modify -vserver VSERVERNAME -volume VOLNAME -policy POLICYNAME volume efficiency policy show -vserver VSERVERNAME df -S -h volume efficiency on -volume VOLNAME -vserver VSERVERNAME volume efficiency start -vserver VSERVERNAME -volume VOLNAME -scan-old-data true volume efficiency modify -vserver VSERVERNAME -volume VOLNAME-compression true volume efficiency modify -vserver VSERVERNAME -volume VOLNAME -inline-compression true volume efficiency modify -vserver VSERVERNAME -volume VOLNAME -policy POLICYNAME volume efficiency policy show -vserver VSERVERNAME df -S -h volume efficiency on -volume VOLNAME -vserver VSERVERNAME volume efficiency start -vserver VSERVERNAME -volume VOLNAME -scan-old-data true volume efficiency modify -vserver VSERVERNAME -volume VOLNAME-compression true volume efficiency modify -vserver VSERVERNAME -volume VOLNAME -inline-compression true volume efficiency modify -vserver VSERVERNAME -volume VOLNAME -policy POLICYNAME volume efficiency policy show -vserver VSERVERNAME df -S -h storage failover modify -node NODENAME -enabled true storage failover show system node reboot -node NODENAME -inhibit-takeover true storage failover modify -hwassist-partner-ip NODE1-MGMT-IP -node NODENAME2 storage failover modify -hwassist-partner-ip NODE2-MGMT-IP -node NODENAME1 storage failover hwassist show cluster ha modify -configured true cluster ha show
0001 0026 0027 0028 0029 0030 0031 0291 0292 0293 0294 0295 0296 0297 0298
0001 0007 0007 0007 0007 0007 0007 0029 0029 0029 0029 0029 0030 0030 0030
Configure Service Processor Configure Time Services Configure Time Services Configure Time Services Configure Time Services Configure Time Services Configure Time Services Basic troubleshooting Basic troubleshooting Basic troubleshooting Basic troubleshooting Basic troubleshooting Ontap Upgrade Ontap Upgrade Ontap Upgrade
System Time Services Time Services Time Services Time Services Time Services Time Services Troubleshooting Troubleshooting Troubleshooting Troubleshooting Troubleshooting Upgrade Upgrade Upgrade
sp setup system date modify -timezone TIMEZONE -dateandtime YYYYMMDDhhmm system date show system services ntp config modify -enabled true system services ntp config show system services ntp server create -node NODENAME -server NTPSERVERIP system services ntp server show event log show debug log show system node show cluster show cluster ping-cluster -node SOURCENODE system image update -node * -setdefault true -package http://URL/ONTAPIMAGE.tgz storage failover show storage failover takeover -ofnode HAPARTNER
0299 0300 0073 0074 0075
0030 0030 0013 0013 0013
Ontap Upgrade Ontap Upgrade Optimize root volume Optimize root volume Optimize root volume
Upgrade Upgrade Volumes Volumes Volumes
storage failover giveback -ofnode HAPARTNER system image show volume show volume rename -vserver NODENAME -volume vol0 -newname NEWNAME volume size -vserver NODENAME -volume ROOTVOLNAME -new-size 79PERCENTOFAGGR
Copyright © 06/2014 teamix GmbH, Benjamin Ulsamer
configures the efficiency policy with schedule creates a effiency policy named "dedup_at_1800" configures the efficiency policy with schedule activate dedup on volume start dedup job for volume enables compression on the volume enables inline compression on the volume configure a Storage Effiency policy to the volume shows Storage Effiency policy on the volume shows space savings activate dedup on volume start dedup job for volume enables compression on the volume enables inline compression on the volume configure a Storage Effiency policy to the volume shows Storage Effiency policy on the volume shows space savings activate dedup on volume start dedup job for volume enables compression on the volume enables inline compression on the volume configure a Storage Effiency policy to the volume shows Storage Effiency policy on the volume shows space savings enables storage failover show storage failover status reboots node without takeover configures mgmt-IP of NODE1 as hw-assist address for NODE2 configures mgmt-IP of NODE2 as hw-assist address for NODE1 shows actual hwassist configuration enables ha cluster configuration shows actual ha cluster configuration starts setup of sp configuration sets timezone, date and time shows actual timezone, date and time enable NTP service shows state of NTP service adds NTP Server to NODENAME shows NTP server configuration shows events / messages shows debug events / messages shows model and runtime of nodes shows basic health of nodes in cluster checks backend connectivity of nodes installs specified ontap image on all nodes shows ha pairs and state node where the command is executed "catches" the partner node where the command is executed gives back the partnernode to his original hardware shows installed ontap version shows actual volumes renames root volume resize root volume
5 von 6
Notice execute on destination, primary snapshot policy needs to have snapmirror labels configured execute on destination execute on destination execute on dr site | execute on source execute on destination execute on destination execute on destination you need to create avolume efficiency policy for every vserver you need to create avolume efficiency policy for every vserver
default: false default: false default: false default: false default: false default: false sometimes needed when enabling storage failover just needed in 2 node cluster setups configuration in BIOS of each node, LOADER-A> priv set diag newest messages on top in diag mode, newest messages on top -
Command Line Reference - NetApp Clustered Data ONTAP 8.2 CLI Nr. Task Nr.
Task
Category
0147 0148
0020 Create and configure NFS vservers 0020 Create and configure NFS vservers
Volumes Volumes
0179 0180
0021 Create and configure ISCSI vservers 0021 Create and configure ISCSI vservers
Volumes Volumes
0223 0224 0266 0267
0023 0023 0025 0025
Volumes Volumes Volumes Volumes
0275
0026 Basic configuration SnapMirror & SnapVault
Volumes
0136 0143 0144
0020 Create and configure NFS vservers 0020 Create and configure NFS vservers 0020 Create and configure NFS vservers
vserver vserver vserver
0169 0175 0176
0021 Create and configure ISCSI vservers 0021 Create and configure ISCSI vservers 0021 Create and configure ISCSI vservers
vserver vserver vserver
0203 0211 0212 0273 0274
0023 0023 0023 0026 0026
vserver vserver vserver vserver vserver
Create and configure CIFS vservers Create and configure CIFS vservers FlexClone handling FlexClone handling
Create and configure CIFS vservers Create and configure CIFS vservers Create and configure CIFS vservers Basic configuration SnapMirror & SnapVault Basic configuration SnapMirror & SnapVault
Copyright © 06/2014 teamix GmbH, Benjamin Ulsamer
Command volume create -volume VOLNAME -aggregate AGGRNAME -size SIZE -vserver VSERVER -security-style unix -space-guarantee none -percent-snapshot-space 0 -snapshot-policy none -junction-patch /VOLNAME volume show -junction volume create -volume VOLNAME -aggregate AGGRNAME -size SIZE -vserver VSERVER -security-style unix -space-guarantee none -percent-snapshot-space 0 -snapshot-policy none -junction-patch /VOLNAME volume show -junction volume create -volume VOLNAME -aggregate AGGRNAME -size SIZE -vserver VSERVER -security-style ntfs -space-guarantee none -percent-snapshot-space 20 -snapshot-policy default -junction-patch /VOLNAME volume show -junction volume offline VOLNAME -vserver VSERVERNAME -force true volume destroy -vserver VSERVERNAME -volume VOLNAME -force true volume create -vserver DESTVSERVER -volume NAMEOFSECONDARYVOL -aggregate DESTAGGR -size SIZE -type DP -space-guarantee none vserver create -vserver VSERVERNAME -rootvolume ROOTVOLNAME -aggregate AGGRNAME -ns-switch file -nm-switch file -rootvolume-security-style unix -language C.UTF-8 -snapshot-policy default vserver modify -vserver VSERVERNAME -disallowed-protocols cifs, fcp, iscsi vserver show -vserver VSERVERNAME vserver create -vserver VSERVERNAME -rootvolume ROOTVOLNAME -aggregate AGGRNAME -ns-switch file -nm-switch file -rootvolume-security-style unix -language C.UTF-8 -snapshot-policy default vserver modify -vserver VSERVERNAME -disallowed-protocols cifs, fcp, nfs vserver show -vserver VSERVERNAME vserver create -vserver VSERVERNAME -rootvolume ROOTVOLNAME -aggregate AGGRNAME -ns-switch file -nm-switch file -rootvolume-security-style ntfs -language C.UTF-8 -snapshot-policy default vserver modify -vserver VSERVERNAME -disallowed-protocols nfs, fcp, iscsi vserver show -vserver VSERVERNAME vserver peer create -vserver SOURCEVSERVER -peer-vserver DESTVSERVER -applications snapmirror -peer-cluster DESTCLUSTER vserver peer accept -vserver DESTVSERVER -peer-vserver SOURCEVSERVER -peer-cluster SOURCECLUSTER
6 von 6
Description create thinprovisioned volume with no snapshots and no snapshot reserve show junctions create thinprovisioned volume with no snapshots and no snapshot reserve show junctions create thinprovisioned volume with default snapshots, snapshot reserve show junctions offlines a volume or FlexClone volume destroys a volume or a FlexClone volume creates destination volume, marked as data protection volume
Notice -
-
execute on destination
creates a NFS vserver disallow all other protocolls than nfs show vserver configuration
-
creates ISCSI vserver disallow all other protocolls than iscsi show vserver configuration
-
creates a CIFS vserver disallow all other protocolls than cifs show vserver configuration peers the source and destination vserver accepts the request for peering from source vserver
vservers must have different names, execute on source execute on destination