Okay, so we’ve done a basic 2-node ONTAP 8.3 Simulator
setup as in the last post here
- what next?
This is what I’m doing (below).
Note: All these
commands are run from the Clustershell ::> . Mostly everything below can be
done in OnCommand System Manager, with wizards, workflows and stuff (probably
better than doing it via the CLI), but I’m most comfortable with the CLI hence
I’ll do it my way ;-)
Modify the CLI session timeout so it doesn’t keep
chucking you out every 30 minutes (and of course, this is a SIM so we don’t
want the session to timeout!)
timeout
modify -timeout 0
timeout
show
I like to rename the nodes since hashes can’t be used
everywhere. Replace CLUSTER below with your Cluster name:
node
rename -node CLUSTER-01 -newname CLUSTERN1
node
rename -node CLUSTER-02 -newname CLUSTERN2
node
show
Assign all disks (the SIMs are not HA partners). Replace
NODE1 & NODE2 below with your node names:
disk
assign -all true -node NODE1
disk
assign -all true -node NODE2
disk
show -container-type unassigned
Rename aggregates as required:
aggr
rename aggr0 -newname NODE1_ROOT
aggr
rename aggr0_CLUSTER_02_0 -newname NODE2_ROOT
aggr
show
Expand the root aggregates - I increase the ROOT aggr
from 3 to 7 disks since vol0 has a habit of running out of space on the SIM
with its default tiny 1GB size disks, and we make vol0 bigger next!:
aggr
add-disks -aggregate NODE1_ROOT -diskcount 4
aggr
add-disks -aggregate NODE2_ROOT -diskcount 4
aggr
show
I increase vol0 to 75% the size of the ROOT aggr - 75%
because over 75% generates aggr low space alerts in some OnCommand softwares:
vol
size vol0 -vserver NODE1 -new-size 3202M
vol
size vol0 -vserver NODE2 -new-size 3202M
vol
show vol0
Disable snapshots on the node root vol - vol0 - and
delete any snaps since this is a SIM with limited capacity:
node
run -node * snap sched vol0 0 0 0
node
run -node * snap sched vol0
node
run -node * snap delete -a -f vol0
snap
list vol0
Disable snapshots on the root aggregates and delete any
snaps:
node
run -node NODE1 snap sched -A NODE1_ROOT 0 0 0
node
run -node NODE2 snap sched -A NODE2_ROOT 0 0 0
node
run -node * snap sched -A
node
run -node NODE1 snap delete -a -A -f NODE1_ROOT
node
run -node NODE2 snap delete -a -A -f NODE2_ROOT
node
run -node * snap list -A
Verify the timezone is correct and set if required (e.g.
to Europe/London):
timezone
Verify the date and set if required (e.g. date HHMM):
date
Set Cluster-scoped NTP servers:
cluster
time-service ntp server create NTP_SERVER_IP_1
cluster
time-service ntp server create NTP_SERVER_IP_2
cluster
time-service ntp server show
Disable AutoSupport since this is a SIM!:
autosupport
modify -node * -state disable
Add Simulator licenses for Node 1 (Note: The real SIM license codes are replaced by X’s below):
system
license add XXXXXXXXXXXXXXXXXXXXXXXXXXXX # CIFS protocol
system
license add XXXXXXXXXXXXXXXXXXXXXXXXXXXX # Fibre Channel Protocol
system
license add XXXXXXXXXXXXXXXXXXXXXXXXXXXX # FlexClone
system
license add XXXXXXXXXXXXXXXXXXXXXXXXXXXX # OnCommand Insight and Balance
products
system
license add XXXXXXXXXXXXXXXXXXXXXXXXXXXX # iSCSI protocol
system
license add XXXXXXXXXXXXXXXXXXXXXXXXXXXX # NFS protocol
system
license add XXXXXXXXXXXXXXXXXXXXXXXXXXXX # SnapLock Compliance
system
license add XXXXXXXXXXXXXXXXXXXXXXXXXXXX # SnapLock Enterprise
system
license add XXXXXXXXXXXXXXXXXXXXXXXXXXXX # SnapManager and SnapDrive products
system
license add XXXXXXXXXXXXXXXXXXXXXXXXXXXX # SnapMirror, including synchronous
SnapMirror
system
license add XXXXXXXXXXXXXXXXXXXXXXXXXXXX # SnapProtect Applications
system
license add XXXXXXXXXXXXXXXXXXXXXXXXXXXX # SnapRestore
system
license add XXXXXXXXXXXXXXXXXXXXXXXXXXXX # SnapVault primary and secondary
Add Simulator licenses for Node 2 (Note: The real SIM license codes are replaced by Y’s below):
system
license add YYYYYYYYYYYYYYYYYYYYYYYYYYYY # CIFS protocol
system
license add YYYYYYYYYYYYYYYYYYYYYYYYYYYY # Fibre Channel Protocol
system
license add YYYYYYYYYYYYYYYYYYYYYYYYYYYY # FlexClone
system
license add YYYYYYYYYYYYYYYYYYYYYYYYYYYY # OnCommand Insight and Balance
products
system
license add YYYYYYYYYYYYYYYYYYYYYYYYYYYY # iSCSI protocol
system
license add YYYYYYYYYYYYYYYYYYYYYYYYYYYY # NFS protocol
system
license add YYYYYYYYYYYYYYYYYYYYYYYYYYYY # SnapLock Compliance
system
license add YYYYYYYYYYYYYYYYYYYYYYYYYYYY # SnapLock Enterprise
system
license add YYYYYYYYYYYYYYYYYYYYYYYYYYYY # SnapManager and SnapDrive products
system
license add YYYYYYYYYYYYYYYYYYYYYYYYYYYY # SnapMirror, including synchronous
SnapMirror
system
license add YYYYYYYYYYYYYYYYYYYYYYYYYYYY # SnapProtect Applications
system
license add YYYYYYYYYYYYYYYYYYYYYYYYYYYY # SnapRestore
system
license add YYYYYYYYYYYYYYYYYYYYYYYYYYYY # SnapVault primary and secondary
And verify the licenses:
system
license show
Create an Intercluster LIF per node for later SnapMirror
purposes:
net
int create -vserver CLUSTER -lif rep1 -role intercluster -home-node NODE1 -home-port
e0c -address IPADDR -netmask MASK
net
int create -vserver CLUSTER -lif rep2 -role intercluster -home-node NODE2
-home-port e0c -address IPADDR -netmask MASK
Create some Data Aggregates:
aggr
create -aggregate NODE1_aggr1 -node NODE1 -diskcount 20 -maxraidsize 20
aggr
create -aggregate NODE2_aggr1 -node NODE2 -diskcount 20 -maxraidsize 20
Next step is to create some Vservers (SVMs I should say)
and serve some Data!
To be continued...
Comments
Post a Comment