Simulators can be very useful tools to learn most of a products features. They can also serve as test platforms for updates, scripts, migrations, etc without the fear of affecting your production environment and causing a resume generating event. NetApp simulates its Data ONTAP software allowing for support for a majority of its functionality within a virtual environment. Supported VMware environments consists of Workstation, Player, Fusion and vSphere. This install process covers deploying the Data ONTAP simulator in cluster mode on a vSphere 5.5 lab environment.
Prerequisites
- NetApp Now account with appropriate access, consult with your NetApp rep for further information.
- Download the Simulator that meets the needs of your environment as there are separate downloads if using vSphere or Workstation, etc.
- Cluster mode requires 3 IPs per node for setup.
- Storage for simulator.
Create a NetApp Cluster Network vSphere Web Client
*Cluster Mode requires a dedicated network for the cluster traffic*
vSwitch (Per host configuration)
- Select an ESXi host.
- Go to the Manage tab and select Networking.
- In the Virtual Switches view, click Add host networking (globe with plus sign).
- In the Add host networking wizard select Virtual Machine Port Group for a Standard Switch as the connection type, click Next.
- Determine whether to use a separate vSwitch or to use an existing one as the target device. Keep in mind that the port group requires no connectivity to any uplinks. In this example I am using a new standard switch, click Next. Note : if existing standard switch is selected the wizard goes directly to Connection Settings (step #8).
- This network is for inter VM communication no uplinks are required, click Next.
- A warning that there no active physical network adapters for the vSwitch are connected, click OK.
- Provide a Network Label “NetApp Cluster Network” and VLAN ID if required, click Next.
- Verify the vSwitch information is correct and click Finish.
- A new vSwitch with no uplinks is created.
dvSwitch (One time configuration)
- From the Home tab select Networking under the inventories.
- Verify if there is a Distributed Switch. If one exists then create a new port and go to step #8
- Right click and select New Distributed Switch.
- New Distributed Switch wizard is launched, Provide a Name and Click Next.
- Select the dvSwitch version based on your environment.
- Provide the correct settings for your environment (# of uplinks, Default port group, etc), click Next.
- Verify the Distributed Switch information is correct and click Finish.
- Right click the port group for your NetApp Cluster Network and edit settings.
- Select Teaming and failover.
- Uplink failover order should have all uplinks set to Unused.
- A warning that there no active physical network adapters for the port group on the dvSwitch are connected, click OK.
Registering Data ONTAP Simulator 1st Node on vSphere
- From the Home tab select Storage under the inventories.
- Select an existing or create a new datastore that will host the files for the simulator.
- Upload the simulator files to the selected datastore.
- Register the simulator VM by locating the .vmx file called “DataONTAP.vmx”.
- Right click .vmx file and Register VM.
- Provide a name and folder location, click Next.
- Select a cluster or host.
- Verify registered VM information, click Finish.
- Right click on the VM and assign the four NICs to the correct networks (2 cluster / 2 data). By default a inaccessible “Cluster Network” is created and will go away once the Cluster NICs have a network assigned.
- When trying to power on your simulator an error “File/vmfs/volumes/”Datastore”/NetappSimulator/DataONTAP-sim.vmdk was not found.” The reason for this is the “sim.vmdk” is a sparse disk (split in 2GB files). Here are some options to help fix :
- On the ESXi console run the following command vmkload_mod multiextent (this will need to be ran on any host that will have a simulator). Warning / Caution if host is rebooted command will need to be re-run.
- Use VMware Converter.
- ESXi command line use vmkfstools to convert the VM disk: vmkfstools -i “Current VM disk name” “New VM disk name” -d zeroedthick or thin.
- Delete the current disk and add a new eager zero thick disk or thin disk.
11. Power on VM.
At this point the first node is hopefully powered on and booting. Next steps will be getting the node configured and adding another node to the cluster.