Monday, 5 May 2014

7 to C Migration Methods for SnapMirrored 7-Mode Volumes: Part 3/7


Part 3) Setting up two C-Mode clusters

Starting from standard NetApp 8.2.1 C-Mode simulators...

NACLU1: Pre-Setup

On first boot, press any key except enter to access the boot loader (VLOADER>)

setenv bootarg.vm.no_poweroff_on_halt false
boot_ontap

Press CTRL+C to get the Boot Menu

Option (4) ‘Clean configuration and initialize all disks’
Y to ‘Zero disks ...’ and Y to ‘...are you sure’

NACLU2: Pre-Setup

On first boot, press any key except enter to access the boot loader (VLOADER>)

setenv SYS_SERIAL_NUM 4082368511
setenv bootarg.nvram.sysid 4082368511
setenv bootarg.vm.no_poweroff_on_halt false
boot_ontap

Press CTRL+C to get the Boot Menu

Option (4) ‘Clean configuration and initialize all disks’
Y to ‘Zero disks ...’ and Y to ‘...are you sure’

NACLU1: Setup

Here I configure:
(Cluster base license key has been XXXXXXXXXXXXXXXXXXXXXXXXXXXX’d out!)

... create a new cluster? CREATE
... single node cluster? YES
...cluster name: NACLU1
...base license key: XXXXXXXXXXXXXXXXXXXXXXXXXXXX
...additional license key: {SKIP}
...cluster management ... port: e0a
...cluster management ... IP...: 10.10.10.110
...cluster management ... netmask: 255.255.255.0
...gateway: 10.10.10.1
...DNS...: lab.priv
...name server...: 10.10.10.10
...located: SITE1
...node management ... port: e0a
...node management ... IP...: 10.10.10.111
...node management ... netmask: 255.255.255.0
...gateway: 10.10.10.1
...backup destination...: {SKIP}

NACLU2: Setup

Here I configure:
(Cluster base license key has been XXXXXXXXXXXXXXXXXXXXXXXXXXXX’d out!)

... create a new cluster? CREATE
... single node cluster? YES
...cluster name: NACLU2
...base license key: XXXXXXXXXXXXXXXXXXXXXXXXXXXX
...additional license key: {SKIP}
...cluster management ... port: e0a
...cluster management ... IP...: 10.10.10.210
...cluster management ... netmask: 255.255.255.0
...gateway: 10.10.10.1
...DNS...: lab.priv
...name server...: 10.10.10.10
...located: SITE2
...node management ... port: e0a
...node management ... IP...: 10.10.10.211
...node management ... netmask: 255.255.255.0
...gateway: 10.10.10.1
...backup destination...: {SKIP}

NACLU1: Configuration over SSH (logged in as admin)

timeout modify 0
autosupport modify -state disable
sto disk assign -all true -node NACLU1-01
aggr add-disks -aggregate aggr0 -diskcount 4
aggr create -aggregate aggr1 -diskcount 21 -maxraidsize 21
node run local snap sched -A aggr0 0 0 0
node run local snap sched -A aggr1 0 0 0
node run local snap delete -A -a -f aggr0
node run local snap delete -A -a -f aggr1
node run local vol size vol0 3375m
node rename NACLU1-01 NACLU1N1
timezone Europe/London
ntp server create NACLU1N1 10.10.10.10
net int cre -vserver NACLU1N1 -lif rep1 -role intercluster -home-node NACLU1N1 -home-port e0b -address 10.10.10.121 -netmask 255.255.255.0
net ro ro cre -vserver NACLU1N1 -routing-group i10.10.10.0/24 -destination 0.0.0.0/0 -gateway 10.10.10.1 -metric 40

(License keys have been XXXXXXXXXXXXXXXXXXXXXXXXXXXX’d out!)

sys lic add XXXXXXXXXXXXXXXXXXXXXXXXXXXX #CIFS
sys lic add XXXXXXXXXXXXXXXXXXXXXXXXXXXX #FlexClone
sys lic add XXXXXXXXXXXXXXXXXXXXXXXXXXXX #NFS
sys lic add XXXXXXXXXXXXXXXXXXXXXXXXXXXX #SnapMirror
sys lic add XXXXXXXXXXXXXXXXXXXXXXXXXXXX #SnapRestore
sys lic add XXXXXXXXXXXXXXXXXXXXXXXXXXXX #SnapVault

NACLU2: Configuration over SSH (logged in as admin)

timeout modify 0
autosupport modify -state disable
sto disk assign -all true -node NACLU2-01
aggr add-disks -aggregate aggr0 -diskcount 4
aggr create -aggregate aggr1 -diskcount 21 -maxraidsize 21
node run local snap sched -A aggr0 0 0 0
node run local snap sched -A aggr1 0 0 0
node run local snap delete -A -a -f aggr0
node run local snap delete -A -a -f aggr1
node run local vol size vol0 3375m
node rename NACLU2-01 NACLU2N1
timezone Europe/London
ntp server create NACLU2N1 10.10.10.10
net int cre -vserver NACLU2N1 -lif rep1 -role intercluster -home-node NACLU2N1 -home-port e0b -address 10.10.10.221 -netmask 255.255.255.0
net ro ro cre -vserver NACLU2N1 -routing-group i10.10.10.0/24 -destination 0.0.0.0/0 -gateway 10.10.10.1 -metric 40

(License keys have been XXXXXXXXXXXXXXXXXXXXXXXXXXXX’d out!)

sys lic add XXXXXXXXXXXXXXXXXXXXXXXXXXXX #CIFS
sys lic add XXXXXXXXXXXXXXXXXXXXXXXXXXXX #FlexClone
sys lic add XXXXXXXXXXXXXXXXXXXXXXXXXXXX #NFS
sys lic add XXXXXXXXXXXXXXXXXXXXXXXXXXXX #SnapMirror
sys lic add XXXXXXXXXXXXXXXXXXXXXXXXXXXX #SnapRestore
sys lic add XXXXXXXXXXXXXXXXXXXXXXXXXXXX #SnapVault

DNS: Things to configure on your DNS Server

Create DNS A record (and PTR): NACLU1 to 10.10.10.110
Create DNS A record (and PTR): NACLU1N1 to 10.10.10.111
Create DNS A record (and PTR): NACLU2 to 10.10.10.210
Create DNS A record (and PTR): NACLU2N1 to 10.10.10.211
Create DNS A record (and PTR): NASVM1 to 10.10.10.131
Create DNS A record (and PTR): NASVM2 to 10.10.10.231

NACLU1: NASVM1 Setup - run “vserver setup”

...name: NASVM1
...protocols: nfs,cifs
...client services...: dns
...root volume aggregate: aggr1
...language...: C.UTF-8
...security style: ntfs
...create a data volume: NO
...create a logical interface: YES
...LIF name...: lif1
...protocols...: nfs,cifs
...home node: NACLU1N1
...home port: e0c
...IP address: 10.10.10.131
...network mask: 255.255.255.0
...gateway...: 10.10.10.1
...additional LIF...: NO
...configure DNS: YES
...DNS domain...: lab.priv
...DNS server...: 10.10.10.10
...CIFS? YES
...CIFS server...: NASVM1
...Active Directory...: lab.priv
...share...? NO

NACLU2: NASVM2 Setup - run “vserver setup”

...name: NASVM2
...protocols: nfs,cifs
...client services...: dns
...root volume aggregate: aggr1
...language...: C.UTF-8
...security style: ntfs
...create a data volume: NO
...create a logical interface: YES
...LIF name...: lif1
...protocols...: nfs,cifs
...home node: NACLU2N1
...home port: e0c
...IP address: 10.10.10.231
...network mask: 255.255.255.0
...gateway...: 10.10.10.1
...additional LIF...: NO
...configure DNS: YES
...DNS domain...: lab.priv
...DNS server...: 10.10.10.10
...CIFS? YES
...CIFS server...: NASVM2
...Active Directory...: lab.priv
...share...? NO

NANAS1: Modifications to SnapMirror Access

options snapmirror.access host=NAFAS2,10.10.10.121

NANAS2: Modifications to SnapMirror Access

options snapmirror.access host=10.10.10.221

Getting Ready for Migration

Now install 7MTT on the admin server MSADM1 - check out the following Quick Install Guide:

Now is a good time to shut down the whole lab and take snapshots!

No comments:

Post a Comment