Deploying and Configuring a Two Node Cluster

Start and configure a two-node cluster using Simulate ONTAP, VMware, System Manager, and the command line.

  1. Create the first Simulate ONTAP virtual machine and name it node1 using .ova file.

  2. After a few minutes from starting the virtual machine, you receive a message to log in to System Manager to complete cluster setup. This message includes an IP address. Copy this IP address and paste it into your browser address bar to open System Manager.

  3. System Manager will open. You can ignore the ‘partner details were not found’ error message.

  4. If you have any issues with how System Manager displays pages, then try a different web browser or Java version on your laptop.

  5. Enter these details as per your requirement, leaving the other checkboxes unchecked, then click Submit:

    1. Storage System Name: cluster1

    2. Administrative Password: Utimaco@123

    3. Cluster IP Address: 192.168.182.61 Subnet Mask: 255.255.255.0 Gateway: 192.168.182.1

    4. Node IP Addresses: 192.168.182.62

tmpqxislved.jpg

NetApp ONTAP Login window

  1. Back in the VMware Workstation Player window, log in with the username admin and the password.

  2. Add all existing disks to Cluster 1 Node 1 with the below command.

›_ Console

cluster1::> storage disk assign –all true –node cluster1-01 

If you get an error message it’s because the system already auto assigned the disks, you can ignore it.

  1. If necessary, add more disks to your root aggregate to increase its size and accommodate the additional space needed in your root volume.

›_ Console

cluster1::>  storage aggregate add-disks -diskcount 8 -aggregate aggr0_cluster1_01 
  1. Set the root volume to a new size.

›_ Console

cluster1::>  volume modify -size 7.47GB -volume vol0 -vserver cluster1-01 
  1. Download a production data at rest encryption image from: https://mysupport.netapp.com.

    1. Click to downloaded latest image for example “Download Latest Release [9.11.1P4]”.

    2. Click I read the EULA. Click Accept and Continue.

    3. Click Download ONTAP 9.11.1P4 with NetApp Volume Encryption for FAS [2.31 GB].

    4. Save the file and make it accessible via a web server.

›_ Console

cluster1::>  cluster image package get -url 
http://192.168.182.176/9111P4_q_image.tgz 
cluster1::>  cluster image package show 
cluster1::>  cluster image update -version 9.11.1P4 -nodes cluster1-01 
cluster1::>  cluster image show-update-progress 
cluster1::>  security login unlock -username diag 
cluster1::>  security login password -username diag 
  1. Create the second Simulate ONTAP virtual machine and name it node2.

  2. Power on the node2 virtual machine.

  3. Change the system ID and serial number of the second node before joining the cluster as shown in the following steps.

  4. Press the space bar when the Hit [Enter] to boot immediately, or any other key for command prompt. Booting in 10 seconds... message is displayed in the console of node2.

  5. You should see a VLOADER> prompt.

  6. Change the serial number and system ID for this node:

›_ Console

VLOADER> setenv SYS_SERIAL_NUM 4034389-06-2  
VLOADER> setenv bootarg.nvram.sysid 4034389062 
  1. Verify that the information was saved correctly:

›_ Console

VLOADER> printenv SYS_SERIAL_NUM  
VLOADER> printenv bootarg.nvram.sysid 
  1. Enter the boot command to boot the node:

    1. Type boot and press Enter to boot the node.

    2. You will receive a message that System Initialization has completed successfully, and then the Node Management IP has been assigned. It may take several minutes for the messages to appear.

  2. Log in with the username admin and a blank password. Then create a password for the admin account with the command.

›_ Console

cluster1::> security login password -username admin 

Enter your current password: Leave blank and hit Enter.

Enter a new password for example: Utimaco@123.

  1. Back to the VMware Workstation Player window for Cluster 1 Node 1, and enter the command.

›_ Console

cluster1::> network interface show 

Note the IP address of the first interface cluster1-01_clus1. It is 169.254.181.219.

tmpi0_fjx8n.jpg

Network Interface IPs

  1. Back in the VMware Workstation Player window for Cluster 1 Node 2, enter the command.

›_ Console

cluster join -clusteripaddr <cluster1-01_clus1 IP>, where <cluster1- 
01_clus1 IP> 
Example: 
cluster1::>  cluster join -clusteripaddr 169.254.181.219 

169.254.181.219 is the IP address you just noted on Node 1. This will join Node 2 to Cluster 1.

  1. Add all existing disks to Cluster 1 Node 2 with the command.

›_ Console

cluster1::> storage disk assign –all true –node cluster1-02 

If you get an error message it’s because the system already auto assigned the disks, you can ignore it.

  1. If necessary, add more disks to your root aggregate to increase its size and accommodate the additional space needed in your root volume.

›_ Console

cluster1::>  storage aggregate add-disks -diskcount 8 -aggregate aggr0_cluster1_02 
tmpyy861u0h.jpg

Adding disks to aggregate

24. Set the root volume to a new size.

›_ Console

cluster1::>  volume modify -size 7.47GB -volume vol0 -vserver cluster1-02 
tmpx6xdafb5.jpg

Modifying size of volume

  1. Install the VE license for a node:

›_ Console

cluster1::> license add -license-code AAAAAAAAAAAAAAAAAAAAAAAAAAAA 
  1. Verify that the license is installed by displaying all the licenses on the cluster:

›_ Console

cluster1::> system license show 
tmp7dt2japj.jpg

NVE License Show

  1. Add all the licenses for the ONTAP simulator via SM web GUI.

tmp8an3pjra.jpg

All Licenses Output