Cisco UCS Cookbook - Sample Chapter
Cisco UCS Cookbook - Sample Chapter
Cisco UCS Cookbook - Sample Chapter
By the end of the book, you will know several ways to build
and compute in datacenter environments using Cisco UCS.
$ 49.99 US
31.99 UK
P U B L I S H I N G
Sa
pl
e
Q u i c k
a n s w e r s
t o
c o m m o n
p r o b l e m s
ee
Over 40 practical recipes to get your hands dirty with the powerful
Cisco UCS and overcome various challenges
Victor Wu
P U B L I S H I N G
Preface
This book is for competent system, network, or storage administrators who are working with
Cisco UCS, but they now want to learn innovative ways to compute or deploy UCS to leverage
its full potential.
Chapter 3
Installing an Operating
System on Cisco UCS
In this chapter, we will cover the following topics:
Introduction
In this chapter, you will learn how to accomplish tasks related to an OS platform installation
on Cisco UCS 2.2; it includes both Microsoft Windows 2008/2012 local boot and SAN boot
installation and configuration and VMware vSphere Server local and SAN boot installation
and configuration.
89
Getting ready
Prepare a Cisco UCS 5108 Chassis with two UCS IOM 2208XP installed; each UCS IOM is
connected to a Cisco UCS 6248UP. There is a UCS B200 M3 with a VIC 1240 installed into the
chassis. Configure four ports on each Cisco UCS 6248UP as an Ethernet uplink port and FC
uplink port, which is connected to SAN Switches and LAN Switches by Fibre Channel cables.
Due to each port being a unified port, you can configure it for different roles. For a chassis
uplink, it is connected by Twinax copper (SFP-H10GB-CU1M); for a SAN uplink, it is connected
by an 8 GB SFP (DS-SFP-FC8G-SW); for an Ethernet uplink, it is connected by a 10 GB SFP
(SFP-10G-SR). Prepare a UCS service profile, it includes two vNICs, two vHBAs, and local
drive with mirror mode (RAID 1). The details are listed in the following service profile:
90
Chapter 3
How to do it
In this recipe, we will learn how to prepare a boot policy on the UCS for Microsoft Server 2008
local boot installation.
Assume that there are two 300 GB SAS local disks and a LSI MegaRAID SAS 2004 installed
on a Blade Server and you have prepared a service profile WIN08_Local_Boot, which is
defined as two vNICs and two vHBAs:
1. Log in to a UCS Manager; click on the Servers tab in the navigation pane and
right-click on Local Disk Config Policies and select Create Local Disk
Configuration Policy.
2. Now, define the local disk policy in Raid 1. Input the Name of the local disk as
localdisk_raid1 and Mode in RAID 1 Mirrored:
3. Go to the Servers tab and select a service profile WIN08_Local_Boot, select Change
Local Disk Configuration Policy on Storage tab and select the localdisk_raid1 on
the Select the Local Disk Configuration Policy menu:
91
5. Go to the Servers tab and select service profile WIN08_Local_Boot. Under Actions,
select Modify Boot Policy and then select WIN08_Local from the Boot Policy menu.
6. Associate the service profile into UCS Blade and boot up the UCS. Open the KVM
Console of UCS, activate the Virtual Devices on the Virtual Media tab, and then
mount the Microsoft Windows 2008 R2 installation iso image.
7.
Now, the UCS can boot up this iso and select the operating system you want to install.
8. If you are installing Windows on a local LUN, which is created by LSI MegaRAID SAS
2004, you must install Cisco LSI drivers for Windows during the OS installation. If you
do not provide the drivers during the OS installation, the system will not be able to
detect the LUN.
9. Go to https://software.cisco.com/download/navigator.html and log in
with the My Cisco account. Select Products, the details are as shown:
92
Chapter 3
Note: Access to the download UCS driver is limited to users with an
active Technical Support contract with Cisco.
12. After loading the driver, you can see the local drive and click on Next to install the OS.
13. It starts to install Microsoft Windows 2008 and will reboot automatically when it
finishes the installation.
How it works
In this recipe, we will learn how to verify that Microsoft Windows 2008 can local boot
successfully and install the Cisco VIC driver into Windows 2008 R2.
Follow these steps to local boot the Windows 2008 and install the Cisco VIC driver into
Windows 2008 R2:
1. After booting up Windows 2008 R2, you wont be able to view the Storage adapter
and Network adapter that were listed in the Device Manager.
2. Mount the ucs-bxxx-drivers.2.2.5b.iso and install the Cisco VIC driver into
Windows 2008 R2 by Cisco VIO Installer.
93
94
Chapter 3
Getting ready
Prepare a Cisco UCS 5108 Chassis with two UCS IOM 2204XP installed, each UCS IOM is
connected to a Cisco UCS 6248UP. There is a UCS B200 M4 with one VIC 1340 installed
into this chassis and configure four ports on each Cisco UCS 6248UP as an Ethernet uplink
port and an FC uplink port, which is connected to SAN Switches and LAN Switches by Fibre
Channel cables.
Due to each port being a unified port, you can configure it as different roles. For chassis, the
uplink is connected by Twinax copper (SFP-H10GB-CU1M); for SAN uplink, it is connected by an
8 GB SFP (DS-SFP-FC8G-SW); for Ethernet uplink, it is connected by a 10 GB SFP (SFP-10G-SR).
Prepare a UCS service profile, it includes two vNICs, two vHBAs, and a local drive with mirror
mode (RAID 1). The details are listed in the following service profile:
95
How to do it
In this recipe, we will learn how to prepare a boot policy on UCS for Microsoft Server 2012
local boot installation.
Assume that there are two 300 GB SAS local disks and LSI MegaRAID SAS 2004 installed
on Blade Server and you have prepared one service profile WIN12_Local_Boot, which is
defined by two vNICs and two vHBAs:
1. Log in to UCS Manager, click on the Servers tab in the navigation pane,
and then right-click on Local Disk Config Policies and select Create
Local Disk Configuration Policy.
2. Now define the local disk policy in Raid 1. Input the Name of the local disk as
localdisk_raid1 and Mode in RAID 1 Mirrored.
3. Go to the Servers tab and select service profile WIN12_Local_Boot, select Change
Local Disk Configuration Policy on the Storage tab. Select the localdisk_raid1 on
the Select the Local Disk Configuration Policy menu:
4. Right-click on Boot Policies and select Create Boot Policy. Input the Name of the
boot policy and add Remote CD/DVD in Order 1, and Local Disk in Order 2:
96
Chapter 3
5. Go to the Servers tab and select service profile WIN12_Local_Boot. Under Actions,
select Modify Boot Policy, also select WIN12_Local on the Boot Policy menu.
6. Associate the service profile to the UCS Blade and boot up the UCS. Open KVM
Console of UCS and activate the Virtual Devices on the Virtual Media tab. Mount the
Microsoft Windows 2012 R2 installation iso image.
7.
The UCS can now boot up by this iso, select the operating system you want to install.
8. You can then see the local drive and click on Next to install the OS.
9. It starts to install Microsoft Windows 2012 and it will reboot automatically when it
finishes the installation.
How it works
In this recipe, we will learn how to verify that Microsoft Windows 2012 can local boot
successfully and install the Cisco VIC driver into the Windows 2012 R2, by the following steps:
1. After booting up Windows 2012 R2, you cannot see the Storage adapter and
Network adapter, which were listed in the Device Manager.
97
98
Chapter 3
4. Mount ucs-bxxx-drivers.2.2.5b.iso by virtual media and install Cisco VIC
driver into Windows 2012 R2 by Cisco VIO Installer.
5. After installing Cisco VIC driver, you can check that the Cisco VIC Ethernet Interface
and Cisco VIC-FCoE Storport Miniport are listed in the Device Manager:
99
Getting ready
Prepare a Cisco UCS 5108 Chassis with two UCS IOM 2208XP installed, each UCS IOM is
connected to a Cisco UCS 6428UP. There is a UCS B200 M4 with a VIC 1340 installed into
this chassis and configure four ports on each Cisco UCS 6428UP as an Ethernet uplink
port and an FC uplink port, which is connected to SAN Switches and LAN Switches by Fibre
Channel cables. Due to each port being a unified port, you can configure it for different roles;
for chassis uplink, it is connected by Twinax copper (SFP-H10GB-CU1M); for SAN uplink,
it is connected by 8 GB SFP (DS-SFP-FC8G-SW); for Ethernet uplink, it is connected by a
10 GB SFP (SFP-10G-SR) and prepare a UCS service profile. It includes two vNICs, two vHBAs,
and a local drive with a mirror mode (RAID 1). The detail is listed in the following service
profile screenshot:
How to do it
In this recipe, we will learn how to prepare a boot policy on UCS for VMware vSphere 5.5 local
boot installation.
Assume there are two 300 GB SAS local disks and a LSI MegaRAID SAS 2004 installed on a
Blade Server, and you have prepared one service profile ESXi5.5_Local_Boot, which is
defined by two vNICs and two vHBAs:
100
Chapter 3
1. Log in to UCS Manager, click on the Servers tab in the navigation pane and right-click
on Local Disk Config Policies, and select Create Local Disk Configuration Policy.
2. Now, define the local disk policy in Raid 1. Input the Name of local disk as
localdisk_raid1 and Mode in RAID 1 Mirrored.
3. Go to the Servers tab and select a service profile ESXi5.5_Local_Boot, and also
select the Change Local Disk Configuration Policy on the Storage tab. Select the
localdisk_raid1 on the policy menu:
4. Right-click on Boot Policies and select Create Boot Policy. Input the Name of the
boot policy and add a Remote CD/DVD in Order 1, and Local Disk in Order 2:
7.
The UCS can boot up by this iso, start installing ESXi 5.5.
8. Now, you can see the local drive and click on Next to install the OS.
9. It starts to install ESXi 5.5 and will reboot automatically when it finishes
the installation.
How it works
In this recipe, we will learn how to verify that VMware vSphere 5.5 can local boot successfully.
Assume that vSphere 5.5 has already configured the management IP:
1. After booting up vSphere 5.5 and logging into it with a VMware vSphere Client. Go
to the Configuration tab and choose Storage Adapters. You can see vmhba1 and
vmhba2 drivers on Cisco VIC FCoE HBA Driver:
2. Go to the Configuration tab and choose Network Adapters. You can see vmnic0 and
vmnic1 on Network Adapters:
102
Chapter 3
Getting ready
Prepare a Cisco UCS 5108 Chassis with two UCS IOM 2208XP installed; each UCS IOM is
connected to a Cisco UCS 6428UP. There is one UCS B200 M3, with one VIC 1240 installed
into the Chassis. Configure four ports on each Cisco UCS 6428UP as an Ethernet uplink
port (port 17/18) and FC uplink port (port 6/7), which is connected to SAN Switches and
LAN Switches by Fibre Channel cables. The EMC SAN Storage has two controllers, and each
controller has two FC ports, which are connected to SAN Switches. Prepare a UCS service
profile, it includes two vNICs, and two vHBAs. The detail is listed in the following diagram:
103
How to do it
In this recipe, we will learn how to prepare a boot policy on UCS for VMware ESXi 5.5 SAN boot
installation. Assume that the name of the service profile is ESXi5.5_SAN_Boot_EMC and the
EMC SAN Storage is CLARiiON CX4-240.
Follow these steps to prepare a boot policy on UCS for VMware ESXi 5.5 SAN boot installation:
1. First, you note the WWPN of each vHBA on the Storage tab of this service profile
ESXi5.5_SAN_Boot_EMC, as shown in the following screenshot. The WWPN of
vHBA1 is 20:00:00:25:B5:0A:00:07 and vHBA2 is 20:00:00:25:B5:0B:00:07:
2. Log in to EMC Unisphere Manager and go to Port Management, you can note
the WWN of each port on each Controller; A4 and A5 are on Controller1, B4 and
B5 are on Controller2. The WWN of Controller1-A4 is 50:06:01:64:47:20:25:EB
and Controller1-A5 is 50:06:01:65:47:20:25:EB. The WWN of Controller2-B4 is
50:06:01:6C:47:20:25:EB and Controller2-B5 is 50:06:01:6D:47:20:25:EB:
104
Chapter 3
3. Associate this service profile to a Blade Server and power up the Server.
4. You must power on the UCS otherwise the WWPN of each vHBA will not be able to log
in to SAN Switches; then, log in to SAN Switch-A by SSH and verify that the WWPN of
each Controller's FC port and WWN of each vHBA can successfully log in to the SAN
switch. According to the following screenshot, you can see that port 0 and 3 are the
WWPN of Controller1-SPA4 and Controller2-SPB5, by executing the switchshow
command. Ports 6 and 7 are FI's FC uplinks:
105
Finally, you can see that all WWNs can log in to SAN Switch-A successfully, the details
are shown in the following table:
SAN Switch
Port Number
WWPN/WWN
Devices
SAN Switch-A
50:06:01:64:47:20:25:EB
Controller1-A4
50:06:01:6D:47:20:25:EB
Controller2-B5
20:00:00:25:B5:0A:00:07
vHBA1
The following table lists the summary of all WWPN/WWN on SAN Switch-B:
SAN Switch
Port Number
WWPN/WWN
Devices
SAN Switch-B
50:06:01:6c:47:20:25:EB
Controller2-B4
50:06:01:65:47:20:25:EB
Controller1-A5
20:00:00:25:B5:0B:00:07
vHBA2
106
Chapter 3
Finally, create two zones on each SAN Switch and enable all zones, the following
table lists the summary of each FC zone:
SAN Switch
Zone Name
Zone Member1
Zone Member2
SAN Switch-A
vHBA1_Controll1-A4
vHBA1-
Controller1-A4
vHBA1_Controll2-B5
vHBA1
Controller2-B5
SAN Switch-B
vHBA2_Controll1-A5
vHBA2
Controller1-A5
vHBA2_Controll2-B4
vHBA2
Controller2-B4
6. When the FC zoning is created on both SAN Switches, log in to EMC Unisphere
Manager, right-click on the system, and choose Connectivity Status, as shown in the
following screenshot. Then you can see all the UCS's initiators (WWN of each vHBA)
on Host Initiators, manually register two initiators 20:00:00:25:B5:0A:00:07 and
two initiators 20:00:00:25:B5:0B:00:07 into one host esxi55.testlab.com:
7.
Go to Storage tab and create a new storage group on the Storage menu, enter the
name of the Storage Group.
107
9. Assume that the OS LUN is prepared and its capacity is 20 GB. Select the LUNs tab,
add ESX's OS LUN into Selected LUNs, and then press OK:
108
Chapter 3
10. Go to UCS Manager, right-click on Boot Policies and select Create Boot Policy on
Servers tab:
11. Input the Name of the boot policy and move Remote CD/DVD in Order 1, and SAN
Boot in Order 2. Each SAN boot has two boot targets, you need to input the vHBA
name and WWN of the SAN target. The name of vHBA must be same as the name
of the UCS's vHBA, otherwise the boot target cannot work.
109
vHBA
SAN target
Target WWN
Storage port
SAN
boot
vHBA1
Primary
50:06:01:64:47:20:25:EB
Controller1-A4
Secondary
50:06:01:6D:47:20:25:EB
Controller2-B5
vHBA2
Primary
50:06:01:6c:47:20:25:EB
Controller2-B4
Secondary
50:06:01:65:47:20:25:EB
Controller1-A5
12. Go to the Servers tab and select service profile ESXi5.5_SAN_Boot_EMC, and select
Modify Boot Policy on Boot Order tab. Select ESXi5.5_EMC on the Boot Policy menu.
13. Power down UCS and re-associate this service profile into UCS again. Then, power on
UCS and open the KVM Console, you can see four paths appear during UCS boot up,
these are the WWN of the SAN boot target:
110
Chapter 3
14. Activate the Virtual Devices on the Virtual Media tab. Mount the VMware vSphere
5.5 installation iso.
According to Cisco best practice, please install ESXi using the
Cisco Custom Image for ESXi 5.5 iso.
15. The UCS can boot up by this iso, start to install ESXi 5.5.
16. You can select EMC's 20GB LUN and click on Next to install the OS.
17. It starts to install ESXi 5.5 and it will reboot automatically when it finishes
the installation.
How it works
In this recipe, we will learn how to verify that VMware vSphere 5.5 can SAN boot successfully.
Assume that vSphere 5.5 has already configured the management IP:
1. After booting up vSphere 5.5 and logging into it by VMware vSphere Client. Go to the
Configuration tab and choose Storage Adapters. You can see vmhba1 and vmhba2
on Cisco VIC FCoE HBA Driver:
111
There's more
Assume that Server 4 is the ESXi host. Choose the UCS Server on Equipment tab and go to
the General tab. You can also see all the SAN boot targets on the Actual Boot Order tab:
112
Chapter 3
Getting ready
Prepare a Cisco UCS 5108 Chassis with two UCS IOM 2208XP installed, each UCS IOM is
connected to a Cisco UCS 6428UP. There is one UCS B200 M3 with one VIC 1240 installed
into the chassis and configure four ports on each Cisco UCS 6428UP as an Ethernet uplink
port (port 17/18) and an FC uplink port (port 6/7), which is connected to SAN Switches and
LAN Switches by Fibre Channel cables. The EMC SAN Storage has two controllers and each
controller has two FC ports that are connected to each SAN Switch. Prepare a UCS service
profile, it includes two vNICs, two vHBAs. The details are listed in the following diagram:
113
How to do it
In this recipe, we will learn how to prepare a boot policy on UCS for VMware ESXi 5.5 SAN
boot installation.
Assume that the name of service profile is ESXi5.5_SAN_Boot_HP and the HP 3PAR
Storage is StoreServ 7200:
1. First, you will note the WWPN of each vHBA on the Storage tab of this service profile
ESXi5.5_SAN_Boot_HP, as shown in the following screenshot. The WWPN of
vHBA-FIA is 20:00:00:25:B5:0A:00:02 and vHBA-FIB is 20:00:00:25:B5:0B:00:02:
114
Chapter 3
3. Associate this service profile into UCS and then power on the UCS.
4. You must power on the UCS, otherwise the WWPN of each vHBA cannot log in to
each SAN Switches. Then log in to SAN Switch-A by SSH and verify that the WWPN
of each 3PAR Controller's FC port and WWN of each vHBA can successfully log on to
the SAN switch. According to the following screenshot, you can see that port 1 and 5
are the WWPN of Controller1-P1 and Controller2-P1 by executing the switchshow
command. Ports 6 and 7 are FI's FC uplinks:
115
Finally, you can see that all WWN log in to SAN Switch-A successfully, details are as
shown in the following table:
SAN Switch
Port Number
WWPN/WWN
Devices
SAN Switch-A
20:11:00:02:AC:00:8E:5B
Controller1 Port1
21:11:00:02:AC:00:8E:5B
Controller2 Port1
20:00:00:25:B5:0A:00:02
vHBA-FIA
6. Repeat the procedure in Step 3 to verify all WWPN/WWN on SAN Switch-B, you can
see all WWN can log in to SAN Switch-B successfully; refer to the following screenshot
for reference:
116
SAN Switch
Port Number
WWPN/WWN
Devices
SAN Switch-B
21:12:00:02:AC:00:8E:5B
Controller2 Port2
20:12:00:02:AC:00:8E:5B
Controller1 Port2
20:00:00:25:B5:0B:00:02
vHBA-FIB
Chapter 3
Finally, create two zones on each SAN Switch and enable all zones, the following
table lists the summary of each FC zone:
SAN Switch
Zone Name
Zone Member1
Zone Member2
vHBA-FIA
Controller1 Port1
vHBA-FIA_Controll1-P2
vHBA-FIA
Controller2 Port1
vHBA-FIB
Controller1 Port2
vHBA-FIB_Controll1-P2
vHBA-FIB
Controller2 Port2
7.
When all the FC zoning is created on both the SAN Switches, log in to HP 3PAR
Management Console, go to Hosts, and create a host group.
8. Input the Name for this host group and select Host OS as ESX 4.x/5.x, as shown in
the following screenshot:
117
It has four WWNs available due to the fact that it has two
zones for each vHBA on each SAN Switch.
10. Assume that the ESXi system volume is 10 GB. After creating the host group,
right-click on the menu and select Export Volume to assign this volume to the
host group on the Volume menu.
11. Go to the UCS Manager, right-click on Boot Policies and select Create Boot Policy on
the Servers tab.
118
Chapter 3
12. Input the Name of the boot policy and move the Remote CD/DVD in Order 1 and
SAN Boot in Order 2. Each SAN boot has two boot targets, you need to input the
vHBA Name and WWN of the SAN target. The name of the vHBA must be same
as the name of UCS's vHBA, otherwise, the boot target cannot work.
The following table lists the summary of the SAN boot target:
SAN
boot
vHBA
SAN target
Target WWN
Storage Port
SAN
boot
vHBA-FIA
Primary
20:11:00:02:AC:00:8E:5B
Controller1 Port1
Secondary
21:11:00:02:AC:00:8E:5B
Controller2 Port1
vHBA-FIB
Primary
21:12:00:02:AC:00:8E:5B
Controller2 Port2
Secondary
20:12:00:02:AC:00:8E:5B
Controller1 Port2
13. Go to the Servers tab and select the service profile ESXi5.5_SAN_Boot_HP, modify
Boot Policy on the Boot Order tab. Select ESXi5.5_HP on the Boot Policy menu.
119
15. Activate Virtual Devices on the Virtual Media tab and mount the VMware vSphere 5.5
installation iso.
According to Cisco best practice, please install ESXi using
the Cisco Custom Image for ESXi 5.5 iso.
16. The UCS can boot up this iso. Start to install ESXi 5.5.
17. You can select EMC's 10 GB LUN and click on Next to install OS.
18. It starts to install ESXi 5.5 and it will reboot automatically when it finishes
the installation.
How it works
In this recipe, we will learn how to verify that VMware vSphere 5.5 can SAN boot successfully.
120
Chapter 3
Assume that vSphere 5.5 is already configured in the management IP:
1. After booting up vSphere 5.5 and logging in to it as a VMware vSphere Client. Go
to the Configuration tab and choose Storage Adapters. You can see vmhba1 and
vmhba2 on Cisco VIC FCoE HBA Driver:
2. Go to the Configuration tab and choose Network Adapters. You can see vmnic0 and
vmnic1 on Network Adapters:
121
There's more
Assume that Server 4 is an ESXi host. Choose the UCS Server on the Equipment tab and go to
the General tab; you can also see all the SAN boot targets on the Actual Boot Order tab:
Getting ready
Prepare a Cisco UCS 5108 Chassis with two UCS IOM 2208XP installed, each UCS IOM is
connected to a Cisco UCS 6428UP. There is a UCS B200 M3 with a VIC 1240 installed into
this chassis. Configure four ports on each Cisco UCS 6428UP as an Ethernet uplink port
(port 17/18) and an FC uplink port (port 6/7), which is connected to SAN Switches and LAN
Switches by Fibre Channel cables. EMC SAN Storage has two controllers and each controller
has two FC ports, which are connected to each SAN Switch. Prepare a UCS service profile,
it includes two vNICs, two vHBAs. The details are listed in the following diagram:
122
Chapter 3
How to do it
In this recipe, we will learn how to prepare a boot policy on UCS for Microsoft Windows 2008
R2 SAN boot installation. Assume that the name of the service profile is WIN08_SAN_Boot_
EMC and the EMC SAN Storage is CLARiiON CX4-240.
123
2. Log in to EMC Unisphere Manager and go to Port Management, you can note
the WWN of each port on each Controller. A4 & A5 are on Controller1, with B4
and B5 on Controller2. The WWN of Controller1-A4 is 50:06:01:64:47:20:25:EB,
and Controller1-A5 is 50:06:01:65:47:20:25:EB. The WWN of Controller2-B4 is
50:06:01:6C:47:20:25:EB, and Controller2-B5 is 50:06:01:6D:47:20:25:EB:
124
Chapter 3
3. Associate this service profile into UCS and then power on the UCS.
4. You must power on the UCS, otherwise the WWPN of each vHBA cannot log in to each
SAN Switch; then, log in to SAN Switch-A by SSH and verify that the WWPN of each
Controller's FC port and WWN of each vHBA can successfully log in to the SAN switch.
According to the following screenshot, you can see that ports 0 and 3 are the WWPN
of Controller1-SPA4 and Controller2-SPB5, by executing the switchshow command.
Ports 6 and 7 are the FI's FC uplink:
Due to ports 6 and 7 being NPIV, you need to perform portloginshow <port
number> command to verify that the WWN of vHBA can successfully log on to the
SAN switch; you can see that the WWN of vHBA-FIA can log in to port 6, as shown in
the following screenshot:
Finally, you can see that the WWN can log in to SAN Switch-A successfully, the details
are as shown in the following table:
SAN Switch
Port Number
WWPN/WWN
Devices
SAN Switch-A
50:06:01:64:47:20:25:EB
Controller1-A4
50:06:01:6D:47:20:25:EB
Controller2-B5
20:00:00:25:B5:0A:00:08
vHBA1
125
The following table lists the summary of all WWPN/WWN on SAN Switch-B:
SAN Switch
Port Number
WWPN/WWN
Devices
SAN Switch-B
50:06:01:6c:47:20:25:EB
Controller2-B4
50:06:01:65:47:20:25:EB
Controller1-A5
20:00:00:25:B5:0B:00:08
vHBA2
6. Finally, create two zones on each SAN Switch. In this moment, you only enable one
zone to install Microsoft Windows on SAN LUN. The Windows will detect four same
SAN disks, if you enable four zones during Windows installation. It is because the
Microsoft default doesn't install any multipath software, so that Windows cannot
combine the paths of four SAN disks into one logical drive. We suggest that you
enable a zone, then it can detect one SAN disk during Windows installation,
you can enable the other zones again after Windows installation.
The following table lists the summary of each FC zone:
126
SAN Switch
Zone Name
Zone
Member1
Zone Member2
Remark
SAN Switch-A
vHBA1_
Controll1-A4
vHBA1-
Controller1-A4
vHBA1_
Controll2-B5
vHBA1
Controller2-B5
Chapter 3
SAN Switch
Zone Name
Zone
Member1
Zone Member2
Remark
SAN Switch-B
vHBA2_
Controll1-A5
vHBA2
Controller1-A5
vHBA2_
Controll2-B4
vHBA2
Controller2-B4
7.
After all FC zones are created on both SAN Switch and enabled one of four zones,
then log in to EMC Unisphere Manager, right-click on the System, and choose a
Connectivity Status. Since you only enable one zone on SAN Switch, you can see
only one UCS's initiators (WWN of each vHBA) display on Host Initiators, you need
to manually register one initiators, 20:00:00:25:B5:0A:00:08, into one host,
win08.testlab.com:
8. Go to Storage and create a new storage group on the Storage menu and enter the
name of the storage group.
127
10. Assume that OS LUNS is prepared and its capacity is 90 GB. Choose LUNs tab,
add Windows OS LUN into Selected LUNs then press OK:
128
Chapter 3
11. Go to UCS Manager, right-click on Boot Policies, and select Create Boot Policy on
the Servers tab.
12. Input the Name of the boot policy and move Remote CD/DVD in Order 1 and SAN
Boot in Order 2. Each SAN boot has two boot targets, you need to input the vHBA
name and WWN of the SAN target. The name of vHBA must be same as the name
of UCS's vHBA, otherwise the boot target cannot work. Make sure that Windows can
detect only one SAN disk with one logical path during Windows installation, now add
only one SAN boot target into this boot policy. Then, add an other boot target into the
policy after finishing the Windows installation.
129
vHBA
SAN target
Target WWN
Storage Port
SAN
boot
vHBA1
Primary
50:06:01:64:47:20:25:EB
Controller1-A4
Secondary
50:06:01:6D:47:20:25:EB
Controller2-B5
vHBA2
Primary
50:06:01:6c:47:20:25:EB
Controller2-B4
Secondary
50:06:01:65:47:20:25:EB
Controller1-A5
13. Go to the Servers tab and select service profile WIN08_SAN_Boot_EMC and select
Modify the Boot Policy on the Boot Order tab. Select WIN08_EMC on the Boot
Policy menu.
14. Power down UCS and re-associate this service profile into UCS again. Then power on
UCS and open the KVM Console, you can see one path appearing during the UCS
boot up; these are the WWN of SAN boot target:
130
Chapter 3
15. Open the KVM Console of UCS, activate the Virtual Devices on Virtual Media tab and
mount the Microsoft Windows 2008 R2 installation iso image.
16. The UCS can boot up by this iso and select the operating system you want to install.
17. If you are installing Windows on SAN LUN, you must install Cisco VIC drivers for
Windows during the OS installation. If you do not provide the drivers during the OS
installation, the system will not be able to detect the SAN LUN.
18. Go to https://software.cisco.com/download/navigator.html and log in
with a My Cisco account. Select Products, as shown:
131
How it works
In this recipe, we will learn how to verify that Microsoft Windows 2008 can SAN boot
successfully and install the Cisco VIC driver into Windows 2008 R2:
1. After booting up Windows 2008 R2, you cannot see the Storage adapter and
Network adapter that were listed in the Device Manager.
2. Mount ucs-bxxx-drivers.2.2.5b.iso again and install Cisco VIC driver into
Windows 2008 R2 by Cisco VIO Installer.
132
Chapter 3
3. After installing Cisco VIC driver, you can see that the Cisco VIC Ethernet Interface
and Cisco VIC FCoE Storport Miniport is listed on the Device Manager:
133
There's more
By default, Microsoft Windows 2008 R2 does not install any multipath software, so it detects
four SAN disks with the same capacity on Windows Disk Management. It is because this SAN
disk has four logical paths:
According to EMC best practice, it is recommended to install EMC Powerpath for Windows to
enable multipath features. After installing EMC Powerpath, it only detects one SAN disk with
four logical paths on Windows Disk Management:
134
Chapter 3
EMC Powerpath for Windows is a software that is used to enable
multipath features with EMC Storage. This software requires the
license to enable the multipath feature.
When you open an EMC_Powerpath_Console, you can see four logical paths for this disk:
135
Getting ready
Prepare a Cisco UCS 5108 Chassis with two UCS IOM 2208XP installed, each UCS IOM is
connected to one Cisco UCS 6428UP. There is one UCS B200 M3 with one VIC 1240 installed
into this chassis; configure four ports on each Cisco UCS 6428UP as an Ethernet uplink
port (port 17/18) and an FC uplink port (port 6/7), which is connected to SAN Switches and
LAN Switches by Fibre Channel cables. The EMC SAN Storage has two controllers, and each
controller has two FC ports, which are connected to each SAN Switch. Prepare a UCS service
profile, it includes two vNICs, two vHBAs. The details are listed in the following diagram:
How to do it
In this recipe, we will learn how to prepare a boot policy on UCS for Microsoft Windows 2008 R2
SAN boot installation. Assume that the name of the service profile is WIN08_SAN_Boot_HP,
and the HP SAN Storage is 3PAR StoreServ 7200:
1. First, note the WWPN of each vHBA on Storage tab of this service profile
WIN08_SAN_Boot_HP as shown in the following screenshot. The WWPN of
vHBA1 is 20:00:00:25:B5:0A:00:09, and vHBA2 is 20:00:00:25:B5:0B:00:09:
136
Chapter 3
137
Due to ports 6 and 7 being NPIV, You need to perform portloginshow <port
number> command to verify that the WWN of vHBA can successfully log on to the
SAN switch; you can see that the WWN of vHBA1 can log in to port 7 as shown:
Finally, you can see that the WWN can log in to SAN Switch-A successfully; the details
are as shown in the following table:
138
SAN Switch
Port Number
WWPN/WWN
Devices
SAN Switch-A
20:11:00:02:AC:00:8E:5B
Controller1 Port1
21:11:00:02:AC:00:8E:5B
Controller2 Port1
20:00:00:25:B5:0A:00:02
vHBA1
Chapter 3
5. Repeat the procedure from Step 3 to verify all WWPN/WWN on SAN Switch-B; you can
see that WWN can log in to SAN Switch-B successfully. Take a look at the following
screenshot for reference:
Port Number
WWPN/WWN
Devices
SAN Switch-B
21:12:00:02:AC:00:8E:5B
Controller2 Port2
20:12:00:02:AC:00:8E:5B
Controller1 Port2
20:00:00:25:B5:0B:00:02
vHBA2
6. Finally, create two zones on each SAN Switch. In this moment, you only enable one zone
for the installation of Microsoft Windows on SAN LUN, Windows will detect four same
SAN disks if you enable four zones during the Windows installation. This is because
Microsoft Windows' default doesn't install any multipath software, so that Windows
cannot combine the paths of four SAN disks into one logical drive. We suggest that you
enable one zone, then it can detect one SAN disk during the Windows installation, you
can enable the other zones again after Windows installation.
The following table lists the summary of each FC zone:
SAN Switch
Zone Name
Zone Member1
Zone Member2
Remark
SAN
Switch-A
vHBA1_
Controll1-P1
vHBA1
Controller1 Port1
vHBA1_
Controll1-P2
vHBA1
Controller2 Port1
139
Zone Name
Zone Member1
Zone Member2
Remark
SAN
Switch-B
vHBA2_
Controll1-P2
vHBA2
Controller1 Port2
vHBA2_
Controll1-P2
vHBA2
Controller2 Port2
7.
After all the FC zones are created on both the SAN Switch and enabled on one of the
four zones, log in to 3PAR Management and create a new host group. Due to the fact
that you only enable one zone, you can see one UCS's initiator (WWN of each vHBA)
on a Host Initiators, manually register one initiators 20000025B50A0009 into this
host group:
8. Assume that the Windows system volume is 100 GB. After creating the host group,
right-click on the menu and select Export Volume to assign this volume to this host
group on the Volume menu.
9. Go to UCS Manager, right-click on Boot Policies and select Create Boot Policy on the
Servers tab.
140
Chapter 3
10. Input the Name of boot policy and move the Remote CD/DVD in Order 1, and SAN
Boot in Order 2. Each SAN boot has two boot targets; you need to input the name
of the vHBA, and WWN of the SAN target. The name of the vHBA must be the same
as the name of UCS's vHBA otherwise the boot target cannot work. Make sure
that Windows can detect only one SAN disk with one logical path during Windows
installation; now only add one SAN boot target into this boot policy. Then add the
other boot target into the policy after finishing the Windows installation.
This table lists the summary of the SAN boot target:
SAN
boot
vHBA
SAN target
Target WWN
Storage Port
SAN
boot
vHBA1
Primary
20:11:00:02:AC:00:8E:5B
Controller1 Port1
Secondary
21:11:00:02:AC:00:8E:5B
Controller2 Port1
Primary
21:12:00:02:AC:00:8E:5B
Controller2 Port2
Secondary
20:12:00:02:AC:00:8E:5B
Controller1 Port2
vHBA2
11. Go to the Servers tab and select service profile WIN08_SAN_Boot_HP, Modify Boot
Policy on the Boot Order tab. Select WIN08_EMC on the Boot Policy menu.
12. Power down the UCS and re-associate this service profile into the UCS again. Then
power on the UCS and open a KVM Console, you can see a path appear during UCS
boot up, these are the WWN of the SAN boot target:
141
142
Chapter 3
17. Load the VIC driver during OS installation.
You need to un-mount Microsoft Windows 2008 installation
iso first and mount UCS driver iso to load the driver into UCS.
18. After loading the driver, you can see the local drive and press Next to install the OS.
19. It starts to install Microsoft Windows 2008 and it will reboot automatically when it
finishes the installation.
20. After finishing the installation, we can boot up Microsoft Windows 2008. Shut down
UCS. Enable the other zone in Step 6 and add the other SAN boot target into boot
policy in Step 12. After that, power on UCS again; you can see four paths appear
during UCS boot up. Now, Windows 2008 can boot up successfully by four paths:
How it works
In this recipe, we will learn how to verify that Microsoft Windows 2008 can SAN boot
successfully and install the Cisco VIC driver into Windows 2008 R2:
1. After booting up Windows 2008 R2, you cannot see the Storage adapter and
Network adapter that were listed in the Device Manager.
2. Mount the ucs-bxxx-drivers.2.2.5b.iso again and install Cisco VIC driver into
Windows 2008 R2 with the Cisco VIO Installer.
143
144
Chapter 3
There's more
By default, Microsoft Windows 2008 R2 doesn't install any multipath software; so it detects
four SAN disk with same capacity on Windows Disk Management. It is because this SAN disk
has four logical paths:
145
Go to Disk drives on Windows Device Manager, you also can see one 3PARdata VV Multi-Path
Disk Device:
146
Chapter 3
Right-click on 3PAR disk and choose the MPIO tab, you can see the state of all paths of
the disk:
147
www.PacktPub.com
Stay Connected: