*for NA7SIM101
& NA7SIM201
The following how-to-guide is a concise recipe to setup the Data ONTAP 8.1.2 7-Mode Simulators
which we will call NA7SIM101 and NA7SIM201.
Key:
RED = site and/or filer specific variable
HIGHLIGHT = user
input
0: Pre-boot VM Settings
Rename the Serial Port for NA7SIM101 to na7sim101-cons
Rename the Serial Port 2 for NA7SIM101 to na7sim101-rgb
Rename the Serial Port for NA7SIM201 to na7sim201-cons
Rename the Serial Port 2 for NA7SIM201 to na7sim201-rgb
(Optional) Add two
additional Network Adapters (check this first!)
(Optional) Set all
Network Adapters connection to NAT
Image: Example
Virtual Machine Settings for NA7SIM101
Note: Notice that
the DOT 8.1.2 7-Mode SIM has a thin-provisioned 250GB Hard Disk 4.
1: NA7SIM101
The below recipe is
for NA7SIM101; repeat for NA7SIM201 replacing the variables (in red) as
required.
Setting the
Serial Numbers*
*so you can manage
more than one SIM in OnCommand System Manager
Suggested serial
numbers:
NA7SIM101: 1234567101
NA7SIM201: 1234567201
Boot the simulator – NA7SIM101.
When you see “Hit [Enter] to boot immediately, or any
other key for command prompt” hit Ctrl-C.
Enter the following commands to set your unique 10 digit serial
number.
set bootarg.nvram.sysid=1234567101
set SYS_SERIAL_NUM=1234567101
boot
When you see “Press Ctrl-C for Boot Menu” hit Ctrl-C
Selection? 4 {for Clean configuration and initialize all
disks}
Zero disks, reset config, and install a new file system: y
This will erase all the data on the disks, are you sure: y
{APPLIANCE REBOOTS}
Initial Setup
Please enter the new hostname: NA7SIM101
Do you want to enable IPv6: n
Do you want to configure interface groups: n
Please enter the IP address for Network Interface e0a: 10.1.2.71
Please enter the netmask for Network Interface e0a: 255.255.255.0
Please enter the media type for e0a: auto
Please enter the flow control for e0a: full
Do you want e0a to support jumbo frames: n
Please enter the IP address for Network Interface e0b: {RETURN}
Please enter the IP address for Network Interface e0c: {RETURN}
Please enter the IP address for Network Interface e0d: {RETURN}
Please enter the IP address for Network Interface e0e: {RETURN}
Please enter the IP address for Network Interface e0f: {RETURN}
Please enter the name or IP address of the IPv4 default
gateway: 10.1.2.5
Please enter the name or IP address of the administration
host: {RETURN}
Please enter timezone: GMT
Where is the filer location: Site 1
Enter the root directory for HTTP files: /home/http
Do you want to run DNS resolver: y
Please enter DNS domain name: lab.priv
Please enter the IP address for first nameserver: 10.1.1.11
Do you want another nameserver: y
Please enter the IP address for alternate nameserver: 10.2.1.11
Do you want another nameserver: n
Do you want to run NIS client: n
{RETURN}
Do you want to configure the Shelf Alternate Control Path
Management interface for SAS shelves: n
New password: XXXXXXXX
Retype new password: XXXXXXXX
System
initialization has completed successfully!
Adding 8.1.2-7 SIM
Licenses
Connect to NA7SIM101 on 10.1.2.71 using SSH (PuTTY or
similar) and the root login. Paste in
the following:
Note 1: If you’re
having problems with SSH disconnecting on attempting the paste below, retry after
doing the ssl.enable off/on below…
Note 2: You’ll find
quite a few of the licenses are pre-installed.
license add MTVVGAF #a_sis
license add DZDACHD #cifs
license add CEVIVFK #compression
license add PZKEAZL
#disk_sanitization
license add NAZOMKC #http
license add BKHEXNB #fcp
license add ADIPPVM
#flex_cache_nfs
license add ANLEAZL #flex_clone
license add BSLRLTG #iscsi
license add ELNRLTG
#nearstore_option
license add BQOEAZL #nfs
license add CYLGWWF
#operations_manager
license add CGUKRDE
#protection_manager
license add UYNXFJJ
#provisioning_manager
license add RKBAFSN #smdomino
license add HNGEAZL #smsql
license add ZOJPPVM #snaplock
license add PTZZESN
#snaplock_enterprise
license add BCJEAZL
#snapmanagerexchange
license add COIRLTG
#snapmanager_hyperv
license add QZJTKCL
#snapmanager_oracle
license add WICPMKC
#snapmanager_sap
license add UPDCBQH
#snapmanager_sharepoint
license add DFVXFJJ #snapmirror
license add XJQIVFK
#snapmirror_sync
license add DNDCBQH #snaprestore
license add JQAACHD
#snapvalidator
license add ZYICXLC
#sv_linux_pri
license add PVOIVFK
#sv_ontap_pri
license add PDXMQMI
#sv_ontap_sec
license add RQAYBFE #sv_unix_pri
license add ZOPRKAM
#sv_windows_pri
license add RIQTKCL
#syncmirror_local
license add NQBYFJJ #vfiler
license add JGFRLTG #vld
reboot
{APPLIANCE REBOOTS}
Note: The reboot
here is to enable local synchronous mirror
(Optional) Adding 2 More Shelves, Moving
the Root Volume, Replacing the Original 2 Shelves with Larger Disks, and More!
By default the 8.1.2-7
SIM has 2 shelves of 14 x 1GB disks, for a maximum usable RAW capacity of 28GB.
3 disks make up aggr0, there are a further 11 spare disks, and 14 disks unowned
(all the disks from the second shelf.) Use the following commands to verify
this, or alternatively OnCommand System Manager:
sysconfig –r
disk show
disk show –n
The 8.1.2 SIM comes
with a larger 250 GB VMDK (thin-provisioned) disk than the 48GB disk on the 8.1
SIM, but to take advantage of it we still need to add additional shelves, we
can add two more shelves, with 2 x 14 x 4 GB disks, move the root volume (nice
to know how to do) then re-populate the original shelves with 2 x 14 x 4 GB
disks.
priv set advanced
useradmin diaguser unlock
useradmin diaguser password
Please enter a new password: XXXXXXXX
Please enter it again: XXXXXXXX
systemshell
login: diag
Password: XXXXXXXX
setenv PATH
"${PATH}:/usr/sbin"
echo $PATH
cd /sim/dev
ls ,disks/
vsim_makedisks -h
sudo vsim_makedisks -n 14 -t 31
-a 2
sudo vsim_makedisks -n 14 -t 31
-a 3
ls ,disks/
exit
useradmin diaguser lock
priv set admin
reboot
{APPLIANCE REBOOTS}
disk assign all
options
disk.maint_center.spares_check off
aggr create aggr1 –r 28 28@4G
aggr status –r
df -h
vol create vol1 aggr1 850m
ndmpd on
ndmpcopy /vol/vol0 /vol/vol1
vol options vol1 root
reboot
{APPLIANCE REBOOTS}
options ssl.enable off
secureadmin setup ssl
SSL Setup has already been done before. Do you want to
proceed? y
Press {RETURN} to the prompts…
options ssl.enable on
vol offline vol0
vol destroy vol0
Are you sure you want to destroy volume ‘vol0’? y
aggr offline aggr0
aggr destroy aggr0
Are you sure you want to destroy this aggregate? y
options disk.auto_assign off
priv set advanced
disk show
disk remove_ownership v4.*
Volumes must be taken offline. Are all impacted volumes
offline? y
disk remove_ownership v5.*
Volumes must be taken offline. Are all impacted volumes
offline? y
vol rename vol1 vol0
aggr rename aggr1 aggr0
useradmin diaguser unlock
systemshell
login: diag
Password: XXXXXXXX
setenv PATH
"${PATH}:/usr/sbin"
cd /sim/dev/,disks
ls
sudo rm v0*
sudo rm v1*
sudo rm ,reservations
cd /sim/dev
sudo vsim_makedisks -n 14 -t 31
-a 0
sudo vsim_makedisks -n 14 -t 31
-a 1
exit
useradmin diaguser lock
priv set admin
reboot
{APPLIANCE REBOOTS}
options
autosupport.support.enable off
options autosupport.enable off
options disk.auto_assign on
disk assign all
aggr create aggr2 –r 28 28@4G
aggr status -r
This will gives us two aggregates with roughly 92GB
usable space each!
2: NA7SIM201
Repeat 1 with Serial Number = 1234567201
Hostname = NA7SIM201
IP Address for e0a = 10.2.2.71
IPv4 default gateway = 10.2.2.5
Filer location = Site 2
First nameserver = 10.2.1.11
Alternate nameserver = 10.1.1.11
3: Halt and
Take a Snapshot
Finally, halt the simulator
filers and take a VMware workstation snapshot before we get to play and break things!
Just what I was looking for - thanks for taking the time to document this :)
ReplyDeletelooks like CF is disabled so no failover of the disks. True? In your example you have 2 seperate nodes?
ReplyDeleteThis is helpful...but I how can we make this as cluster failover nodes?
ReplyDelete