VMware Integration Lab - 09182017
VMware Integration Lab - 09182017
Exercise
v.date.9/18/2017
VMware: Nimble Storage Integration Copyright © 2017 Nimble Storage 4.2/6.5 9/18/2017
1
Contents
Registering the vCenter plugin with vCenter allows vCenter to manage VMware datastores on an array. It is part
of the NimbleOS but must be registered with vCenter.
Lab Topology
Login Instructions
1. Launch a Remote Desktop Connection (RDP) from your client os.
2. Type in the IP address provided to you by the lab administrator.
3. Use the following login credentials and click OK:
Note: If you get a security warning, click ADVANCED then click on the Proceed to link.
4. You will see an icon marked “Nimble”. This is the “Data Center’ which is the primary container
of inventory objections including hosts and virtual machines. Expand the Nimble Data Center to
review the two hosts.
6. After reviewing the vSphere Hosts submenu open a new window in the browser by clicking on
the “New Window” tab and type https://vmlab-array01.edu.lab in the address field followed
by Enter.
Note: If you get a security warning, click ADVANCED then click on the Proceed to link as you did in
Step 1
7. You are now at the login prompt the Nimble Storage array. Input the Username of student and
password of MSoft01! Into their respective fields and click on the Log In button.
10. Return to the vSphere Web Client. Logout and back into the interface.
Credentials = [email protected]/MSoft01!
11. Click on Hosts and Clusters then right click on one of the hosts and look at the submenu.
Q1. What do you notice that wasn’t an option prior to connecting the array to vCenter?
___________________________________________________________________________________________________
___________________________________________________________________________________________________
Nimble Connection Manager (NCM) manages connections from an ESXi host to Nimble Array volumes.
Instead of having to advertise all iSCSI network interfaces at the time of discovery, NCM only requires
one IP address (iSCSI discovery IP address) to be advertised. This simplifies configuring multiple
connections and MPIO. As connections are made to the same address (group target portal), the
connections are redirected to the appropriate iSCSI network interfaces.
For an extensive description of the Nimble Connection Manager and methods of installation, please
refer to the “VMware Integration Guide” document on Infosight. The following is a page from that
document:
ESXi 5.0, 5.1, 5.5, 6.0, or 6.5 with Enterprise or Enterprise Plus licensing running on the host
vCenter Server 5.0, 5.1, 5.5, 6.0, or 6.5
Determine which version of ESXi host and NCM you want to use:
If currently using, or updating to ESXi 6.x, use NCM for ESX 6.x
If currently using ESXi 5.0, 5.1, or 5.5, use NCM for ESX 5.x
Internet connection to the Windows or Linux host
Login ID and password for the Nimble Storage Support downloads site
SCP client on the Windows or Linux host, such as WinSCP
SSH client on the Windows or Linux host, such as PuTTY
Root access to the ESX host
Able to put ESX host in Maintenance mode and Reboot the host
NCM cannot be installed on ESXi hosts that are in lockdown mode. If enabled, you must first
disable lockdown mode before installing NCM.
While logged in to the Vcenter web interface, put each host you are installing the NCM in
Maintenance mode.
NCM is a VMware VIB package available from Nimble Storage Support in the Downloads section of
Nimble’s InfoSight portal. There are several methods that can be used to install the Nimble VIB on ESXi
hosts, they are:
2. The offline installation method using ESXi’s built-in command line utility esxcli. The offline
installation method requires downloading the VIB installation file from Infosight. The file will then
need to be copied to the ESX host using a SCP client or other method.
3. The online installation method using ESXi’s built-in command line utility esxcli
Note: For detailed descriptions of each of the Nimble VIB installation methods mentioned above,
please reference the VMware Integration documentation available in the Documents section of
Nimble’s InfoSight portal.
1. To install the plugin installation we performed on the first host, launch the SSH client PuTTY by
Type the name of the ESXi server pod-esxi65-01.edu.lab into the Host Name field, then
click Open.
Log into the ESXi host using the following credentials:
Login as: root
Password: VMware01!
2. From the ESXi server command line, execute the following command:
Note: Cut and Paste of this text into putty, may not work, Please type the above command.
Once installed you will see a success message in your SSH client window. The host must then be
rebooted. In the SSH client window connected to the host, type reboot. When the host(s) have
rebooted, use vCenter and exit each host from maintenance mode.
Using the VCenter Web interface, once the ESX server is back online (this may take a few minutes),
exit maintenance mode:
For the purpose of this lab, we have installed the Nimble VIB on each host and each host has been
rebooted and taken out of maintenance mode for you. Verify the correct installation of the Nimble
VIB now using the following instructions.
2. Right click on the Nimble Datacenter then hover over Nimble Storage Actions
_____________________________
Q3. What are the options available with the new menu item?
__________________________________________________________________________
__________________________________________________________________________
3. Right click on the Nimble Datacenter, click on Nimble Storage Actions then click Create Datastore
4. Select the group vmlab-arrays, click the Next button then use the following information to create a
datastore
6. Create a new Volume Collection by clicking on the Create new Volume Collection radio button and
typing vm-datastores in the name field.
7. Enable application consistent snapshots by checking the Configure synchronized snapshots checkbox
and use the following credentials:
User Name: [email protected]
Password: MSoft01!
b. Click the Next button and use the Schedule Template drop-down to set a schedule to keep
30 daily snapshots
d. You will see a message stating the job to create the datastore is submitted.
Q5. What do you think happens when you click the Finish button? _________________________________
___________________________________________________________________________________________________
___________________________________________________________________________________________________
Q6. Aside from looking at the vCenter Recent Tasks list, what would be another way of seeing your
results? ___________________________________________________________________________________________
___________________________________________________________________________________________________
___________________________________________________________________________________________________
Q7. In the vSphere Web Client, where could you go to view the tasks completed by VMware related to
__________________________________________________
the datastore you just created?
__________________________________________________________________________
Q8. What are the tasks that were automatically created and completed?
___________________________________________________________________________________________________
___________________________________________________________________________________________________
___________________________________________________________________________________________________
___________________________________________________________________________________________________
8. Click on the Volume Collection vm-datastores using the Manage -> Data Protection Menu. Here you
will notice the Protection schedule you created when you created the datastore as well as any other
volumes (there are none in this case) that were or would have been created had you chose those
options when you created the datastore or added new datastores to the same volume collection
through the Nimble datastore creation menu in vCenter.
1. Switch back to the vCenter GUI by clicking on its tab in the Chrome browser. You should be in the
Storage section under the vSphere Navigator. Click the expand arrow to the left of the Nimble
datacenter then click the Refresh button on the vSphere Web Client to update the screen to show the
newly created datastore.
2. From the vSphere Web Client Home screen, select the Storage tab within the Navigator, Expand the
Nimble Datacenter, then right click on the ncm-datastore-01 you just created.
3. At the bottom of the pop-up menu click on Nimble Storage Actions and select Clone Datastore
5. Click Clone – it may take a couple of minutes to complete, you can check the status under the
Recent Tasks section of the GUI.
Result: After the datastore is successfully cloned, all hosts that had mounted the original datastore also
show the cloned datastore as well.
Note: If you do not see the clone you created listed once the task has completed, click the
vSphere Web Client refresh icon.
Q9. What happens when you try to increase the size of the datastore here?
___________________________________________________________________________________________________
___________________________________________________________________________________________________
Q10. Why do you think you cannot increase the size of the Nimble-based datastore?
___________________________________________________________________________________________________
___________________________________________________________________________________________________
___________________________________________________________________________________________________
2. Close the Increase Datastore Capacity window by clicking the Cancel button.
3. Right Click on ncm-datastore-01 and select Nimble Storage Actions > Grow Datastore
5. Select the Summary tab then click the Refresh link after the task has completed.
1. From the Home screen of the vSphere web client, click on Hosts and Clusters icon and expand the
Nimble Datacenter.
2. Right click the first ESX Host, pod-esx65i-01.edulab and selectNew Virtual Machine > New Virtual
Machine and click the Next button
4. Name the virtual machine CentOS. Ensure the Nimble datacenter is highlighted then click Next.
5. Expand the Nimble Datacenter, highlight the host pod-esxi65-01.edu.lab and click the Next button.
6. Leave the default VM Storage Policy of Datastore Default and select the datastore you created earlier
ncm-datastore-01, click Next.
8. Click Next to get to the Customize hardware screen. Expand the New Hard disk option and click the
radio button on the side of Thin provision then click Next one more time.
9. On the next screen verify your inputs, when satisfied click the Finish button.
Q2. Switch back to the Chrome browser and right click on one of the hosts. Look at the submenu.
What do you notice that wasn’t an option prior to installing the plug-in?
At the bottom of the pop-up menu, you see a new menu item called Nimble Storage Actions.
Q3. What are the options available with the new menu item? Create Datastore, Enable iSCSI Digest,
Disable iSCSI Digest and Mount Nimble Datastore(s)
Q4. What would be the difference if you only selected one of the available hosts in the list versus all of
them?
By selecting all the hosts, the datastore you are creating will be available to all the hosts instead of just
one.
Q5. What do you think happens when you click the Finish button?
vSphere connects to the Nimble Storage array and creates a volume of the size and options specified.
It then formats and mounts the volume as a datastore attached to the host or hosts specified during
creation.
Q6. Aside of looking at the vCenter Recent Tasks list, what would be another way of seeing your
results?
Log into the array, go to Manage then Volumes. You will see a new volume with the name you used
during the datastore creation. You can also check Volume Collections and verify a new volume
collection was created. Clicking on the volume collection you will also see the protection schedule
was also created. Going a step further, looking at Initiator Groups you will find a new i-group created
using the name of the host you attached the datastore to.
Q7. In the vSphere Web Client, where could you go to view the tasks completed by VMware related to
the datastore you just created?
Click on the Datacenter for the datastore just created, then go to Monitor and select the Tasks tab.
Another method would be to highlight the datacenter under the vSphere Navigator and click on the
Datastores tab
Q8. What are the tasks that were automatically created and completed?
Create Nimble datastore, Change Software Internet SCSI Status, Open firewall ports, Add Internet SCSI
send targets, Update Internet SCSI advanced options, Rescan HBA, Refresh host storage system,
Create VMFS datastore and Rescan VMFS
Q9. What happens when you try to increase the size of the datastore here?
If you look at the last column with the header Expandable, it has a No meaning you cannot increase
the size of the datastore. You can only add a new extent to the datastore.
Q10. Why do you think you cannot increase the size of the Nimble-based datastore?
You need to use the features installed with the NCM. To increase the size of the datastore right click
on it in the Navigator then use the Nimble Storage Actions submenu.
Q11. Click the Refresh icon after the task has completed. What is the result?
The datastore is now 20Gb