Documente Academic
Documente Profesional
Documente Cultură
Configuration and Implementation Guide using IBM System x Servers and DS3500
Scott Smith
Contents
IBM Virtualization Reference Architecture for Microsoft Hyper-V on System x - Users Guide ..................... 1 Overview ....................................................................................................................................................... 4 Intended Audience ........................................................................................................................................ 5 Microsoft Hyper-V and Failover Clustering ................................................................................................... 5 Components .................................................................................................................................................. 5 IBM System x3650 M4.............................................................................................................................. 5 IBM System Storage DS3500 ................................................................................................................... 6 Juniper Ethernet Switch EX2200 .............................................................................................................. 7 IBM Virtualization Reference Configuration Best Practice and Implementation Guidelines ......................... 7 Racking and Power Distribution .................................................................................................................... 7 Networking and VLANs ................................................................................................................................. 8 VLAN Description ..................................................................................................................................... 8 iSCSI Storage Network (VLAN 10 & 20) .................................................................................................. 9 Storage Controller Access .................................................................................................................... 9 Physical Host Storage Access ............................................................................................................. 9 Cluster Heartbeat & CSV Networks (VLANs 30) ...................................................................................... 9 Production Live Migration Network (VLAN 40) ......................................................................................... 9 Production Communication Network (VLAN 50) ...................................................................................... 9 IBM DS3500 Network Ports ...................................................................................................................... 9 IBM x3650 M4 Network Ports ................................................................................................................. 10 Juniper EX2200 Ethernet Configuration ................................................................................................. 10 Active Directory ........................................................................................................................................... 12 Storage ........................................................................................................................................................ 12 Overview ................................................................................................................................................. 12 Cabling .................................................................................................................................................... 12
Page 2
Page 3
Overview
The IBM Virtualization Reference Architecture for Microsoft Hyper-V on System x provides businesses an affordable, interoperable and reliable industry-leading virtualization solution. Validated by the Microsoft Private Cloud Fast Track program, the IBM virtualization reference architecture combines Microsoft software, consolidated guidance and validated configurations for compute, network, and storage. The Microsoft program requires a minimum level of redundancy and fault tolerance across the servers, storage, and networking for the Hyper-V clusters to help ensure a certain level of fault tolerance while managing private cloud pooled resources. This Virtualization Reference Configuration and Implementation guide provides ordering, setup and configuration details for the IBM 2-Node highly available virtualization environment that has been validated as a Microsofts Hyper-V Fast Track Small configuration. The design consists of two IBM System x3650 M4 servers, attached to IBM DS3500 iSCSI storage, and networked together with Juniper Networks EX2200 Top of Rack switches. This fault tolerant hardware configuration is clustered using Microsofts Windows Server 2012 operating system. A short summary of the IBM Virtualization Reference Architecture software and hardware components is listed below, followed by best practice implementation guidelines. The IBM Virtualization Reference Configuration is constructed of the following enterprise-class components: Two IBM System x3650 M4 System x Servers in a Windows Failover Cluster running Hyper-V One DS3500 shared Highly Available (HA) storage w/ dual iSCSI controllers Two Juniper Networks EX2200 switches providing redundant networking Together, these software and hardware components form a high-performance, cost-effective solution that supports Microsoft Hyper-V cloud environments for the most popular business-critical applications and many custom third-party solutions. Equally important, these components meet the criteria set by Microsoft for the Private Cloud Fast Track program which promotes robust cloud environments to help satisfy even the most demanding virtualization requirements.
Figure 1) IBM Virtualization Reference Configuration for Microsoft Private Cloud Fast Track Architecture
Page 4
Intended Audience
This Virtualization Reference Architecture configuration and implementation guide targets smaller organizations implementing Hyper-V and IT engineers familiar with the hardware and software that make up the IBM Virtualization Reference Architecture. Additionally, the Systems x sales teams and their customers evaluating or pursuing Hyper-V virtualization solutions will benefit from this previously validated configuration. Advanced comprehensive experience with the various Virtualization Reference Configuration components is recommended.
Components
This highly available IBM virtualization architecture is comprised of IBM System x servers, storage, and networking running Microsofts Windows 2012 operating system. Each component provides a key element to the overall solution.
Page 5
Page 6
Page 7
VLAN Description
The five VLANS are described in Table 1 below. Additional information such as an example of port layouts and configuration are shown in Figure 5. Worksheets to assist in planning network layout can be found at the end of this document.
Network
VLAN 10 VLAN 20 VLAN 30
Name
iSCSI Storage Network iSCSI Storage Network Cluster Private Network
Description
Used for iSCSI storage traffic Used for iSCSI storage traffic Used for private cluster communication and Cluster Shared Volume traffic Used for cluster VM Live Migration traffic
VLAN 40
VLAN 50
Page 8
Page 9
Page 10
Figure 7) Switch Port Layout for EX2200 Management of the Juniper EX2200 switches can be performed either via command line interface (SSH) or a web based user interface. If the default management IP address (192.168.1.1) is not available a serial connection (serial to RJ-45) can be used to set these values. The default user name and password for the Juniper switches is root with no password. It is recommended that these be changed to something suitably secure for your corporate environment during the configuration process. In addition changes will not be able to be saved until a password is set. Creating a LAG interface cannot be performed solely with the web interface without deletion of a default port property. This can only be performed using the command line or the J-Web interface to the CLI toolset. Below are the steps from within SSH or traverse the J-Web configuration interface to the CLI Tools menu and edit the port properties under interfaces. Enter the command line interface by typing cli edit (to enter edit mode) edit interfaces ge-0/0/x (where x is the port number to modify) show (to inspect that the default unit 0 family ethernet property switching is still on the port) delete unit 0 commit (to save the change and apply)
The remaining steps can be performed using the web interface. Spanning Tree should be enabled on both switches according to your organizations requirements. An in band management IP address can be set during setup. This should be created on the Management network if implemented. Otherwise and out of band address can be assigned to the management port in the back of the switch.
Page 11
Active Directory
The IBM Virtualization Reference Architecture must be part of an Active Directory domain. This is required to form the Microsoft Windows Server 2012 clusters. An active directory (AD) server is presumed to be pre-existing, and either the switch ports on the EX2200 can be used for connectivity or it can be achieved from your uplink ports to your organizations network.
Storage
Overview
The DS3500 Introduction and Implementation Guide can be found on the IBM Redbook site at the following link: http://www.redbooks.ibm.com/redbooks.nsf/RedbookAbstracts/sg247914.html?Open
Cabling
There are four 1GbE iSCSI connections per controller. Two cables from each controller should be plugged into the EX2200 switches as described above with one connection from each controller to each switch. Two 1GbE connections using MPIO provides sufficient bandwidth for most configurations of this size. However if the storage network load requires additional bandwidth then the remaining two iSCSI ports on the DS3500 may be connected as well. These switch ports should already be configured for access mode and their respective VLAN IDs
There are two management Ethernet ports on the back of the DS3500. Distribute the management connections across both EX2200 switches to help insure connectivity in the event one switch is temporarily down. These switch ports should also be configured with VLAN 50 in Access mode to be able to communicate properly
Figure 8 below shows the storage connections for both iSCSI and management to the EX2200 switches.
Page 12
Management
Management of the DS3500 is performed using the IBM Total Storage Manager tools available for download at the IBM support website (support account registration required). The MPIO driver is also included in this package. To begin management of the IBM DS3500, perform the following actions: Establish an out of band connection with Total Storage Manager using the default TCP/IP addresses (Figure 9) o Management Interface 1: o Controller-A - 192.168.128.101 o Controller-B - 192.168.128.102 o Management Interface 1: o Controller-A - 192.168.129.101 o Controller-B - 192.168.129.102
Figure 9) DS3500 Storage Management Connections Navigate to the Setup page to change the Management and iSCSI Port TCP/IP addresses to the address to be used in production (Figure 10)
Page 13
Figure 10) Configure Management and iSCSI ports Set the iSCSI port TCP/IP addresses and set to jumbo frames (9000 bytes) under Advanced Port Settings (Figure 11)
Page 14
Figure 12) DS3524 Storage Configuration The following is a suggested configuration. The storage I/O profiling performed previously will be very useful to help balance workloads across these volumes. It is recommended to balance the workload on the IBM DS3500 volumes across both controllers by assigning each to a preferred controller. As CSV1 and CSV2 will be the primary VM storage, one should be assigned to each controller.
Configuration
The following step-by-step processes are shared with sample screenshots to illustrate how quick and easy it is to configure DS3500 storage. Create each of the arrays needed for the production configuration. Assign it an array name, and select the number of disks and RAID type to be used (Figure 13).
Page 15
Disks can now be created off each of the arrays (Figure 14)
Figure 14) DS3500 Drive Creation The primary Cluster Shared Volumes will host primarily VHD and other large files, so the segment size should be increased to 512 KB for the disks that will be CSV1 and CSV2 (Figure 15)
Page 16
A Host Group is a logical group that will contain the host servers that should all see the same storage volumes. Create a Host Group to that will contain each of the host servers (Figure 16)
Page 17
Pre-OS Installation
Confirm additional Intel I340 quad port NIC is installed in each server IBM x3650 M4 firmware should be flashed to the latest firmware using a Bootable Media Creator image o Bootable Media Creator will create a bootable image of the latest IBM x3650 M4 updates (download previously) o If no CD/DVD internal drive is available then an external device will be required o http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=TOOL-BOMC Confirm each NIC ports is connected to their assigned EX2200 switch ports Switches have been configured o Jumbo Frames are set for iSCSI ports o Inter switch links have been created and show as active under the JunOS management utility. o Uplinks have been created and show as active under the JunOS management utility o VLANs are configured as defined previously for their respective ports in the JunOS management utility DS3500 iSCSI storage should be configured as defined above and be ready for IQN assignments to map the volumes to the servers The two local disks should be configured as a RAID 1 array. Complete the following actions under the Configuring RAID arrays section of the IBM System x3650 M4 Installation and Users Guide. http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=migr-5089516 Set the IMM TCP/IP address in uEFI
Page 18
Network Configuration
For the iSCSI network interfaces set the MTU size to 9014 to support jumbo frames. The larger packet size will assist in storage performance o This is performed under the device properties of each NIC (Figure 17)
Figure 17) Jumbo Frame Settings for Host Server One key new feature of Windows Server 2012 is in box NIC teaming. This in box teaming can provide fault tolerance, and link aggregation, and be tailored to host or virtual machine (VM) connectivity. Two separate Windows Server 2012 teams will be created in this configuration. One team is used to support host server management traffic, and a second team is used to provide VM communication. Windows Server 2012 in box NIC teaming can be found in the Server Manager console seen below.
Figure 18) NIC teaming in Server Manager The team created to support cluster public communication with the host servers should be created using the two dedicated NIC ports as described in the networking section. This team should be created using the default switch independent mode and address hash mode (Figure 19). o This will provide 2Gb/s of outbound traffic bandwidth, and 1Gb of inbound traffic bandwidth
Page 19
Figure 19) Windows Server 2012 NIC team The VLAN properties of the team can be set under the Team Properties, and should be set to VLAN 50 (Figure 20)
Figure 20) Windows Server 2012 NIC team VLAN configuration The team created to support virtual machine communication with the host servers should be created using the two dedicated NIC ports as described in the networking section. This team should be created using the default switch independent mode and Hyper-V port mode. o Ethernet traffic for each virtual machine will be assigned to one of the team members as the default path. The VM traffic is spread evenly across the team. In the event of a failure traffic will be reassigned to an alternate team member o VLAN setting will be configured under Hyper-V When Windows Server 2012 NIC teaming is complete there should be two teams displayed under the NIC teaming management utility (Figure 21)
Page 20
Figure 21) Windows Server NIC teaming. When this is completed, use Hyper-V Manager to create a vSwitch using the VMTeam. Uncheck the checkbox that allows management traffic on this device. o VLAN IDs can set as needed in each virtual machines configuration settings o Confirm the switch name is the same on all cluster nodes to insure Live Migration works properly Assign TCP/IP addresses and confirm network connectivity for all network connections on each VLAN The cluster public network should be at the top of the network binding order (VLAN 50) The iSCSI, Cluster Private, and Live Migration networks should not have any default gateway defined. In addition the Client for Microsoft networks, and File and Print Sharing can be disabled for these interfaces
Storage Connections
The IBM DS3500 provides shared storage used to create highly available fault tolerant drives for use by the cluster. The following steps will complete the configuration and presentation of the disks on the DS3500, and also step through the process of making the iSCSI connections from Windows Server 2012 back to these disks. Each disk is used to ensure the DS3500 storage volumes are only accessible to the specific servers assigned to them. IQN names are assigned to each server, and can be seen in the Microsoft iSCSI initiator properties found in Control Panel. The IQN name for each server will change after the host servers join the Windows domain Record these names for each server to complete the host mapping in the DS3500 Storage Manager (Figure 22)
Figure 22) Server IQN name in Windows Server 2012 iSCSI Initiator Properties
Page 21
Figure 23) Add Host to Host Group Select iSCSI for interface type, add the unique IQN name for the host, and assign a chosen name (Figure 24)
Figure 24) Host Definition Choose Windows Clustered when queried for Host Type (Figure 25)
Figure 25) Host Type The DS3500 disks should now be ready and able to be seen by the host servers. iSCSI connections will be made from each server to the DS3500 to complete the storage connections. Using the Microsoft iSCSI initiator a connection should be made for each host to server path. The Quick Connect option may be used if not using any advanced features. If a CHAP secret has been defined on the Target (DS3500), then use the Discover tab, enter the target IP and then select Advanced button at the bottom of the dialog box (Figure 26)
Page 22
Figure 26) Target discovery with advanced options When completed there should be a minimum of four paths defined between the server and the storage (Figure 27)
Figure 27) iSCSI storage paths The Volumes and Devices tab should now display the targets that are available to the host server. The disks should also appear in Windows Disk Manager o A disk rescan may be required From a single server, bring each disk online, and format it as a GPT disk for use by the cluster. Assigning drive letters is optional since they will be used for specific clustering roles such as CSV, and Quorum it is not required o Validate that each potential host server can see the disks and bring them online. o Note that only one server can have the disks online at a time, until they have been added to Cluster Shared Volumes.
Page 23
Cluster Creation
Microsoft Windows clustering will be used to join the host servers together in a highly available configuration that will allow both servers to run virtual machines to support a production environment. Virtual machines workloads should be balanced across both hosts and careful attention should be paid to insure that the combined resources of all virtual machines do not exceed those available on N-1 cluster nodes. Staying below this threshold will allow any single server to be taken out of the cluster and minimize the impact to your production servers. A policy of monitoring resource utilization such as CPU, Memory, and Disk (space, and I/O) will help keep the cluster running at optimal levels, and allow for proper planning to add additional resources as needed. Using the Failover Cluster Manager, run the cluster validation wizard to assess the two physical host servers as potential cluster candidates and address any errors. The cluster validation wizard checks for available cluster compatible host servers, storage, and networking (Figure 28) Make sure the intended cluster storage is online to only one of the cluster nodes Temporarily disable the default IBM USB Remote NDIS Network Device on all cluster nodes since it causes the validation to issue a warning during network detection due to all nodes sharing the same IP address Address any issues that are flagged during the validation
Use the Failover Cluster Manager to create a cluster with the two physical host servers. o You will need a cluster name and IP address
Page 24
Figure 29) Failover Cluster Manager Add the disks to Cluster Shared Volumes Using Hyper-V Manager, set the default paths for VM creation to use the Cluster Shared Volumes
Page 25
Summary
Upon completing implementation steps, an operational, highly available Microsoft Hyper-V failover cluster helps to form a high-performing, interoperable, and reliable IBM private cloud architecture. With Enterprise-class multi-level software and hardware fault tolerance is achieved by configuring a robust collection of industry-leading IBM System x servers, and storage systems and Juniper networking components to meet Microsofts Private Cloud Fast Track program guidelines. The programs unique framework promotes standardized and highly manageable cloud environments which help satisfy even the most challenging business critical virtualization demands.
Page 26
Related Links
IBM Support: http://www.ibm.com/support IBM System x3650 M4 Installation and Users Guide: http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=migr-5089516 IBM Firmware update and best practices guide: http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5082923 IBM Bootable Media Creator: http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=TOOL-BOMC IBM Director Agent Download (Platform Agent) http://www-03.ibm.com/systems/software/director/downloads/agents.html
http://www.juniper.net/techpubs/en_US/release-independent/junos/informationproducts/pathway-pages/ex-series/ex2200/ex2200.html#installation
IBM Reseller Option Kit for Windows Server 2012 http://www-01.ibm.com/common/ssi/rep_ca/7/897/enus212-317/unus212-317.pdf
Page 27
Bill of Materials
SBB Part Number 7915AC1 A1JT 81Y6892 94Y6676 94Y6679 90Y8928 44W3251 49Y4243 94Y6666 49Y1379 80Y9626 39Y7979 90Y6458 00Y6325 A1JU A2VN A2QL A2XB 4161 5768 A2EB 8923 A1ML 6263 A228 Feature Code Description IBM System x3650 M4 x3650 M4 PCIe Riser Card 1 (1 x8 FH/FL + 2 x8 FH/HL Slots) x3650 M4 PCIe Gen-III Riser Card 2 (1 x8 FH/FL + 2 x8 FH/HL Slots) Intel Xeon Processor E5-2690 8C 2.9GHz 20MB Cache 1600MHz 135W Addl Intel Xeon Processor E5-2690 8C 2.9GHz 20MB 135W W/Fan IBM 146GB 15K 6Gbps SAS 2.5" SFF G2HS HDD IBM UltraSlim Enhanced SATA DVD-ROM (optional) Intel Ethernet Quad Port Server Adapter I340-T4 for IBM System x IBM System x 900W High Efficiency Platinum AC Power Supply 8GB (1x8GB, 2Rx4, 1.35V) PC3L-10600 CL9 ECC DDR3 1333MHz LP RDIMM IBM Integrated Management Module Advanced Upgrade 4.3m, 10A/100-250V, C13 to IEC 320-C14 Rack Power Cable IBM System x Gen-III Slides Kit Windows Server Datacenter 2012 2 Socket Quantity 2 2 2 2 2 4 2 2 4 16 2 4 2 2
IBM System Storage DS3524 Express 2GB Cache Upgrade 1Gb iSCSI 4 Port Daughter Card 600GB 10,000 rpm 6Gb SAS 2.5 HDD
1 2 2 24
Juniper 24 Port 1Gb EX2200 Ethernet Switch for IBM System x 3m Blue Cat5e Cable 1000B-SX GbE 850nm 550m SFP
2 24 4
Page 28
Networking Worksheets
EX2200 Switch Layout (Switch1) Switch Ports Port 0 Port 1 Port 2 Port 3 Port 4 Port 5 Port 6 Port 7 Port 8 Port 9 Port 10 Port 11 Port 12 Port 13 Port 14 Port 15 Port 16 Port 17 Port 18 Port 19 Port 20 Port 21 Port 22 Port 23 Uplink1 Uplink2 Uplink3 Uplink4 Device Controller-A iSCSI Port 1 Server 1 iSCSI Port 1 Controller-B iSCSI Port 1 Server2 iSCSI Port 1 VLANs VLAN 10 VLAN 10 VLAN 10 VLAN 10
VLAN 30 VLAN 30
Active Directory Server Server 1 Cluster Public/Management Server 2 Cluster Public/Management Server 1 VM Communication Server 2 VM Communication Storage Controller-A (Management)* Storage Controller-B (Management)* Server1 IMM* Switch1 Management*
LACP Link to Switch2 LACP Link to Switch2 Uplink to CorpNet Uplink to CorpNet
Page 29
Port 0 Port 1 Port 2 Port 3 Port 4 Port 5 Port 6 Port 7 Port 8 Port 9 Port 10 Port 11 Port 12 Port 13 Port 14 Port 15 Port 16 Port 17 Port 18 Port 19 Port 20 Port 21 Port 22 Port 23 Port 24 Uplink1 Uplink2 Uplink3 Uplink4
Controller-A iSCSI Port 2 Server 1 iSCSI Port 2 Controller-B iSCSI Port 2 Server 2 iSCSI Port 2
Cluster Cluster
Active Directory Server Server 1 Cluster Public/Management Server 2 Cluster Public/Management Server 1 VM Communication Server 2 VM Communication Storage Controller-A (Management)* Storage Controller-B (Management)* Server2 IMM* Switch2 Management*
LACP Link to Switch1 LACP Link to Switch1 Uplink to CorpNet Uplink to CorpNet
Page 30
VLAN 10 (iSCSI) Controller-A iSCSI Port 1 Controller-B iSCSI Port 1 Server 1 iSCSI Port 1 Server2 iSCSI Port 1
IP Addresses 192.168.10.xx
VLAN 20 (iSCSI) Controller-A iSCSI Port 2 Controller-B iSCSI Port 2 Server 1 iSCSI Port 2 Server2 iSCSI Port 2
IP Addresses 192.168.20.xx
IP Addresses 192.168.30.xx
VLAN 40 (Cluster Priv/Live Migr) IP Addresses Server 1 Cluster Private / Live Migration 192.168.40.xx Server2 Cluster Private / Live Migration
Page 31
VLAN 50 (Cluster Pub/Mgmt/VM Comm) IP Addresses Server 1 (WS12 Team Cluster Public) 192.168.50.xx Server 1 (WS12 Team VM Comm) No Host Exposure Server 2 (WS12 Team Cluster Public) Server 2 (WS12 Team VM Comm) No Host Exposure Hyper-V Cluster IP Storage Controller-A (Mgmt Switch1) Storage Controller-A (Mgmt Switch2) Storage Controller-B (Mgmt Switch1) Storage Controller-B (Mgmt Switch2) EX2200 Switch Management Switch1 EX2200 Switch Management Switch2 IBM x3650 M4 IMM Server1 IBM x3650 M4 IMM Server2
Page 32
Page 33
Page 34
Page 35