VMware vSphere ESXi– Installing and configuring a virtual SMU
Installing the vSphere ESXi host and client
If the vSphere ESXi™ host is not already installed and operational, install the vSphere ESXi host onto the bare-metal host machine for your VM.
Use a Web browser to access the vSphere Client which manages the vSphere ESXi host, and operates its virtual machines.
Deploying the SMU OS
Deploy and map the pre-configured SMU OS template.
Procedure
Using a Web browser, log into the vSphere Client.
Right-click in the required location in the left-hand task bar and select Deploy OVF template.
Browse to the location of the SMU OS OVA file. Click Next.
Specify a unique virtual machine name and target location. Click Next.
Select the destination computer resource (host). Click Next.
Review the details and click Next.
Select the following virtual disk format: Thin Provision.
Select the storage (data store) and click Next.
Select the destination network (network card). Click Next.
Click Finish. The virtual image is deployed.
Increasing memory and CPU resource allocations
Before you add extra managed servers or clusters to the virtual SMU, increase the memory and the CPU resource allocations to reserve sufficient resources for each VM.
The following example is for four managed servers.
Procedure
Power off the VM.
In the vSphere Client, right-click the VM and select Edit Settings to open the Virtual Machine properties dialog box.
Under Virtual Hardware, select CPU:
Either set the CPU option to four or set the Cores per Socket option to two to make a total of four sockets.
(Optional) Although CPU reservation is not required, you should increase the CPU reservation if the host supports it.
(Optional) If other VMs on the host can starve the virtual SMU of resources, you can set Shares for CPU (and Hard Disk) to High. This prioritizes the virtual SMU over VMs with a Normal or Low setting.
Under Virtual Hardware, select Memory:
Increase the memory value to 4GB.
(Optional Best Practice*) Set the reservation to 4096GB.
(Optional) If other VMs on the host can starve the virtual SMU of resources, you can set Shares for Memory to High.
Click OK to save your changes, and then close the dialog box.
Right-click the VM and select Edit Settings again to verify that your memory and CPU settings are correct.
Although resource reservations are not required, it is best to reserve a portion of the host's physical RAM to guarantee the responsiveness of the virtual SMU and its quorum device. Ultimately, if you oversubscribe the host, do so responsibly to ensure that the virtual SMU is not starved of resources.
The critical virtual SMU requirement is that the quorum device must respond to cluster heartbeats (over UDP) within five seconds to prevent the possibility of dependent and degraded HNAS clusters rebooting. Resource reservations are just one way of achieving this requirement. VMware also provides other mechanisms to ensure VM responsiveness and to protect against resource starvation.
Installing the SMU software
The SMU software is a virtual solution that runs on the vSphere ESXi server. After you install the SMU OS template, set up and connect the SMU software image to the newly created guest virtual machine.
Click on the datastore icon in the left-hand task bar.
Select a datastore which is visible to the new SMU VM and click on the Files tab.
Upload the SMU software ISO file.
Right-click the new SMU VM and select Edit Settings to open the Virtual Machine properties dialog box.
Under Virtual Hardware, select the CD/DVD drive.
Select Datastore ISO File, and then click Browse.
Select the recently uploaded SMU software ISO file, and then click Open.
Verify that the Connect At Power On check box is selected, and then click OK.
Power on the new SMU VM. and then launch a console.
Log in as root.
The default SMU passwords for root and admin can be obtained by service partners and employees via the support site "Hitachi NAS Upgrade, Deployment and Procedures Documentation".
NoteThe default password for root used by the CentOS Stream 8 template differs from that previously used by the CentOS 6 template.Run mount /media/cdrom or mount /media/cdrecorder on Centos 6).
Run /media/cdrom/autorun or /media/cdrecorder/autorun on CentOS 6) to start the installation. Note that the installation may take a few minutes to complete, after which the system reboots.
Configuring the SMU software
After you have installed the virtual SMU software, configure the virtual SMU network settings.
In the console, log in as root.
Run smu-config, and then follow the prompts to configure the network.
Review all of the settings, and then type Y to confirm.
The script sets up the network interfaces and the default properties, and then the SMU reboots.On your laptop or desktop, open a web browser and point it to one of the SMU IP addresses.
Log in to NAS Manager as admin.
The NAS Manager GUI opens.Before you set up the server, navigate to
to configure the SMU settings.NoteFor more information about using the SMU Setup Wizard, see the
Server and Cluster Administration Guide.
Installing VMware Tools
VMware Tools™ is an optional package that provides useful tools for managing the virtual SMU. The main benefit of VMware Tools is its ability to shut down or restart the VM cleanly.
shutdown
-h
command from a console session, or in NAS Manager, navigate to
, and then click shut down. Procedure
Power on the VM.
Right-click on the SMU VM and select Guest OS > Install VMware Tools....
Read the text and then click Mount.
Launch the console.
Log in as root.
Run mount /media/cdrom (or mount /media/cdrecorder on CentOS 6).
To change to the /tmp directory and then extract the contents of the tar file into a new directory called vmware-tools-distrib, run:
cd /tmp; tar –zxpf /media/cdrom/VMwareTools*.tar.gz (or tar –zxpf /media/cdrecorder/VMwareTools*.tar.gz on CentOS 6).To change the directory to vmware-tools-distrib and then start the installer, run:
cd vmware-tools-distrib; ./vmware-install.plFollow the prompts and confirm the default settings.
When the script is complete, type reboot.
To confirm that VMware Tools has installed, click the VM Summary tab.
Adding an optional eth1
You can add an optional eth1 in addition to the default single eth0.
In general, SMUs need only a single Network Interface Card (NIC). Add a second NIC only if there a clear requirement for it.
Before you begin, make sure that a separate distributed virtual switch is configured.
Procedure
Power off the VM.
In the vSphere Client, right-click the VM and select Edit Settings to open the virtual machine properties dialog box.
On the Virtual Hardware tab, click Add New Device.
Select Network Adapter.
Select the name of the separate distributed virtual switch from the drop-down list.
Under Adapter Type, from the drop-down list, select E1000.
Click OK.
After restarting the SMU VM, login to NAS Manager and configure an IP address for the eth1 port under Home > SMU Administration > SMU Network Configuration. The recommended IP is 192.0.2.1 (or 192.0.2.253 for a standby SMU)
NoteYou should always explicitly assign a static IP address to the port. Although an address may have been assigned by DHCP, you should not rely on that as the SMU will not be correctly configured to use DHCP assigned addresses.