Saturday, 19 December 2015

Setting up a 2-Node cDOT 8.3.1 Simulator Cluster: Part 1/2 (To End of Cluster Setup Wizard)

Pre-requisite Information

Note 1: The required information is listed in order of input.
Note 2: cDOT 8.3.1 has two wizards - (1) Node setup wizard, (2) Cluster setup wizard.

Node 1: Node management interface ...

.............. port: {N1_mgmt_port} (1)
........ IP address: {N1_mgmt_IP} (2)
........... netmask: {Node_netmask} (3)
... default gateway: {Node_gateway} (4)

Node 1: Cluster Create ...

Do you want to create a new cluster or join an existing cluster? create
Do you intend for this node to be used as a single node cluster? no
Will the cluster network be configured to use network switches? yes
Do you want to use these (cluster network) defaults? yes

... cluster ... (“admin”) password: {XXXXXXXXX} (5)
..................... cluster name: {Cluster_Name} (6)
......... cluster base license key: {Cluster_Base_License} (7)
........... additional license key: {Press ENTER (input feature keys later)}

Node 1: Cluster Management interface ...

.............. port: {Clu_mgmt_port} (8)
........ IP address: {Clu_mgmt_IP} (9)
........... netmask: {Clu_netmask} (10)
... default gateway: {Clu_gateway} (11)

Node 1: Cluster DNS & Location ...

.................. DNS domain names: {DNS_domain_names} (12)
.......... name server IP addresses: {Nameservers} (13)
... Where is the controller located: {Location} (14)

Node 2: Node management interface ...

.............. port: {N2_mgmt_port} (15)
........ IP address: {N2_mgmt_IP} (16)
........... netmask: {Node_netmask}
... default gateway: {Node_gateway}

Node 2: Cluster Join ...

Do you want to create a new cluster or join an existing cluster? join
Do you want to use these (cluster network) defaults? yes
... cluster you would like to join: {Cluster_Name}

Note 3: Highlighted in yellow is information that is required; in cyan are simple answers; in green is information we already have.
Note 4: We don’t have network switches in a VSIM lab, but it doesn’t matter.

Setting up Node 1

Note 5: This post skips past deploying the OVA template.
Note 6: (Optional) I like to add 3 vNICs before first boot.

1) Power on the node
2) At “Hit [Enter] to boot immediately”, press any other key

VLOADER>
setenv bootarg.vm.no_poweroff_on_halt false
printenv bootarg.vm.no_poweroff_on_halt
boot_ontap

Note 7: If this is the first node in a second cluster, you may want to set the SYS_SERIAL_NUM and bootarg.nvram.sysid as below, to something unique (also for node 2).

3) At “Press Ctrl-C for Boot Menu”, press Ctrl-C

Note 8: This post is for setting up the VSIM, for real systems configured from the factory you will not need to option 4 them!

Select 4 - “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

Note 9: The initial pre-setup login is admin with no password.

4) After system initialization, complete the node setup wizard using information acquired above (::> node setup)
5) Run ::> cluster setup, to create a new cluster using information acquired above

Setting up Node 2

1) Power on the node
2) At “Hit [Enter] to boot immediately”, press any other key

VLOADER>
setenv bootarg.vm.no_poweroff_on_halt false
printenv bootarg.vm.no_poweroff_on_halt
setenv SYS_SERIAL_NUM 4034389-06-2
printenv SYS_SERIAL_NUM
setenv bootarg.nvram.sysid 4034389062
printenv bootarg.nvram.sysid
boot_ontap

3) At “Press Ctrl-C for Boot Menu”, press Ctrl-C

Select 4 - “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

4) After system initialization, complete the node setup wizard using information acquired above (::> node setup)
5) Run ::> cluster setup, to join a new cluster using information acquired above

Some Basic Clustershell Health Checks

CLU::>
cluster show
node show
set -conf off; set adv; cluster ring show; set adm; set -conf on

Halting the SIM Cluster prior to Snapshotting

set –conf off
halt -igno -inhi -skip -node !local
halt -igno -inhi -skip -node local

1 comment:

  1. Thanks for the info, I used this to help figure out all the tweaks.
    I've posted an updated simulator setup guide for ONTAP 9 here:
    http://www.flackbox.com/netapp-simulator/

    ReplyDelete