1 / 117

CIT 198 Week#7 Module 6 from the e-book. Deploy Virtual Machines & vApps – Sybex Chapter#6

CIT 198 Week#7 Module 6 from the e-book. Deploy Virtual Machines & vApps – Sybex Chapter#6. Instructor - Allan Ackerman VCA-DCV & VCP5-DCV. Click the graphic for assessment. This week our objectives will be. Complete labs 16 & 17 on the in-class virtual lab.

juliet
Download Presentation

CIT 198 Week#7 Module 6 from the e-book. Deploy Virtual Machines & vApps – Sybex Chapter#6

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CIT 198 Week#7Module 6 from the e-book.Deploy Virtual Machines & vApps– Sybex Chapter#6 Instructor - Allan Ackerman VCA-DCV & VCP5-DCV Click the graphic for assessment

  2. This week our objectives will be • Complete labs 16 & 17 on the in-class virtual lab. • Complete labs 8, 9, & 10 from the NDG/Cisco • The eBook (Chapter 6) will cover shared storage. • Identify storage adapters • Configure a VMFS datastore (extend and expand) • Identify storage naming conventions • The Sybex book (Chapter 6) will be covering virtual machines and vApps. • We will learn how to use the Vmware standalone converter. • Learn how to modify and configure hardware settings for a VM. • Identify the capabilities of the virtual machine hardware versions. • We will postpone vApps until next week. Week#7 vSphere 5.1

  3. Our quiz scores are going down not up. • This week’s average was 62. • We had thirteen people take the quiz. • 5 Bs, 3Cs, and 5 not so good. • Not so good defined to be <= 69 percent. • Try the following this week – bring your Sybex book to class. • Make sure your eBook is on your desktop. • Remember you can keep your eBook functional in 4 places. • If you need to install it in more than 4 places – you can move it from place to place – but only 4 active locations. Week#7 vSphere 5.1

  4. Overview of this week’s labsin-class lab#16 • This lab will get us familiar with the VMware standalone converter. • You can download it at • https://my.vmware.com/web/vmware/downloads • I have already downloaded it and it is in the vSphere5.5 ISO subfolder. • This is an easy tool to use and it can do Physical to Virtual machine conversions – P2V. • It can do virtual to virtual conversions – v2v. • It can even do a hyper-v machine into a VMware machine. Week#7 vSphere 5.1

  5. Our in-class lab#17 • In this lab we will unmount a VMFS datastore • We will delete a VMFS datastore and note that it is a destructive delete, i.e., the disk is wiped clean. • We will unmount a NFS datastore • We will delete a NFS datastore • We will note that the NFS delete is non-destructive, i.e., the data remains on the datastore. • We will add the datastores back into the hosts. Week#7 vSphere 5.1

  6. Our NDG lab#8 • This lab will give us more practice in creating Virtual Machines. • We will be installing the 32 bit version of Windows 2003 server. (note: the lab does not make it clear which version to install the 64 bit or the 32 bit version. We will be installing the 32 bit version. • We will be bringing over some cool utilities to the desktop. • Note: you can do a google or bing search and find these utilities. The one from Dell is really cool, ExtPart, and is worth having in your local utils folder. Here is the URL. • http://www.dell.com/support/drivers/us/en/19/driverdetails?driverid=R64398 • The winscputil is also another wonderful utility to download. Here is the URL: • http://winscp.net/eng/download.php • Here is the URL for putty: • http://www.putty.org/ Week#7 vSphere 5.1

  7. Our NDG lab#9 • In this lab we will setup Clones and Templates. • Make sure you know the folder location in SUSE for the sysprep files. Here it is -> go to the root folder /, select the etc folder, select the vmware-vpx folder, select the sysprep folder, select the operating system folder you want to customize. Extract the contents of the Deploy.cab and put them there. • Next week, we will do this again, but will do it on a Windows vCenter app not the VCSA. • We will practice cloning • We will setup an answer file – (so much easier than the WSIM) • We will deploy three more VMs running 2003 server using our new answer file. Week#7 vSphere 5.1

  8. Our NDG lab#10 • We will increase the size of a vmdk while the machine is running. • We will add more RAM to a VM (This time the power will be off) • We will rename a VM. • When you do this I want you to user the disk browser and note that VMware has a very undesirable feature here. • We will add a RDM to a raw LUN. • We will learn how to expand a thin disk into a thick eager zeroed disk. Week#7 vSphere 5.1

  9. Configuring and Managing Virtual Storage Module 6

  10. You Are Here Configuring and Managing vSphere Storage Week#7 vSphere 5.1

  11. Importance • Storage options give you the flexibility to set up your storage based on your cost, performance, and manageability requirements. • Shared storage is useful for disaster recovery, high availability, and moving virtual machines between hosts. Week#7 vSphere 5.1

  12. Module Lessons • Lesson 1: Storage Concepts • Lesson 2: Configuring iSCSI Storage • Lesson 3: Configuring NAS/NFS Storage • Lesson 4: Fibre Channel SAN Storage • Lesson 5: VMFS Datastores • Lesson 6: VSA Week#7 vSphere 5.1

  13. Lesson 1 Storage Concepts Week#7 vSphere 5.1

  14. Learner Objectives • After this lesson, you should be able to do the following: • Describe VMware vSphere® storage technologies and datastores. • Describe the storage device naming convention. Week#7 vSphere 5.1

  15. Storage Overview VMware vSphere® ESXi™hosts • Fibre, DAS, FCoE, iSCSI, NAS NFS VMware vSphere® VMFS datastoretypes filesystem FCoE NAS directattached Fibre Channel iSCSI storagetechnology Week#7 vSphere 5.1

  16. Storage Protocol Overview Make sure to note that NFS does not support RDMs Week#7 vSphere 5.1

  17. host host Datastore • A datastore is a logical storage unit that can use disk space on one physical device or span several physical devices. • Types of datastores: • VMFS • NFS • Datastores are used to hold virtual machine files, templates, and ISO images. datastore Week#7 vSphere 5.1

  18. host host VMFS-5 • VMFS-5: • Allows concurrent access to shared storage • Can be dynamically expanded • Uses a 1MB block size, good for storing large virtual disk files • Uses subblock addressing, good for storing small files: • The subblock size is 8KB. • Provides on-disk, block-level locking VMFS datastore Week#7 vSphere 5.1

  19. host host NFS NFS: • Is storage shared over the network at the file system level • Supports NFS version 3 over TCP/IP NFS datastore

  20. Storage Device Naming Conventions Storage devices are identified in several ways: • SCSI ID – Unique SCSI identifier • Canonical name – The Network Address Authority ID is a unique logical unit number (LUN) identifier, guaranteed to be persistent across reboots. • In addition to NAA IDs, devices can also be identified with mpx or T10 identifiers. • Runtime name – Uses the convention vmhbaN:C:T:L. This name is not persistent through reboots.

  21. Viewing Storage Maps HBA Storage Maps target LUN Week#7 vSphere 5.1

  22. Physical Storage Considerations • Discuss vSphere storage needs with your storage administration team, including: • LUN sizes • I/O bandwidth • I/O requests per second that a LUN is capable of • Disk cache parameters • Zoning and masking • Identical LUN presentation to each ESXi host • Active-active or active-passive arrays • Export properties for NFS datastores Week#7 vSphere 5.1

  23. Review of Learner Objectives • You should be able to do the following: • Describe vSphere storage technologies and datastores. • Describe the storage device naming convention. Week#7 vSphere 5.1

  24. Lesson 2 Configuring iSCSI Storage Week#7 vSphere 5.1

  25. Learner Objectives • After this lesson, you should be able to do the following: • Describe uses of IP storage with ESXi. • Describe iSCSI components and addressing. • Configure iSCSI initiators. Week#7 vSphere 5.1

  26. iSCSI Components 3 iSCSI initiators, software, dependent, independent HBAs Week#7 vSphere 5.1

  27. iSCSI Addressing iSCSI target name: iqn.1992-08.com.mycompany:stor1-47cf3c25 oreui.fedcba9876543210 iSCSI alias: stor1 IP address: 192.168.36.101 Note: eui means Extended Unique Identifier, iqn means iSCSI qualified name. iSCSI initiator name: iqn.1998-01.com.vmware:train1-64ad4c29 oreui.1234567890abcdef iSCSI alias: train1 IP address: 192.168.36.88 Week#7 vSphere 5.1

  28. iSCSI Initiators Note: The VMkernel does a fair amount of work in the software iSCSI adapter. Week#7 vSphere 5.1

  29. Configuring Software iSCSI • To configure the iSCSI software initiator: • Configure a VMkernel port for accessing IP storage. • Enable the iSCSI software adapter. • Configure the iSCSI qualified name (IQN) and alias (if required) • Configure iSCSI software adapter properties, such as static/dynamic discovery addresses and iSCSI port binding • Configure iSCSI security (Challenge Handshake Authentication Protocol (CHAP)). Week#7 vSphere 5.1

  30. ESXi Network Configuration for IP Storage • A VMkernel port must be created for ESXi to access software iSCSI. • The same port can be used to access NAS/NFS storage. • To optimize your vSphere networking setup: • Separate iSCSI networks from NAS/NFS networks. • Physical separation is preferred. • If physical separation is not possible, use VLANs. Week#7 vSphere 5.1

  31. iSCSI Target-Discovery Methods • Two discovery methods are supported: • Static • Dynamic (also known as SendTargets) • The SendTargets response returns IQN and all available IP addresses. 192.168.36.101:3260 SendTargets response SendTargets request iSCSI target 192.168.36.101:3260 Week#7 vSphere 5.1

  32. iSCSI Security: CHAP Software iSCSI properties > General tab • iSCSI initiators use CHAP for authentication purposes. • By default, CHAP is not configured. • ESXi supports two types of CHAP authentication: • Unidirectional • Bidirectional: • Software iSCSI only • ESXi also supports per-target CHAP authentication. • Software iSCSI only • Different credentials for each target Target authenticates host. Host authenticates target. Week#7 vSphere 5.1

  33. Configuring Hardware iSCSI • To configure the iSCSI hardware initiator: • Install the iSCSI hardware adapter. • For independent hardware iSCSI adapters, verify properly formatted IP address and IQN names. • For dependent hardware iSCSI adapters, determine the name of the physical NIC associated with the adapter so that port binding is properly configured. • Modify the iSCSI name and configure the iSCSI alias. • Configure iSCSI target addresses. • Configure iSCSI security (CHAP). Week#7 vSphere 5.1

  34. Multipathing with iSCSI Storage • Hardware iSCSI: • Use two or more hardware iSCSI adapters. • Software or dependent hardware iSCSI: • Use multiple network interface cards (NICs). • Connect each NIC to a separate VMkernel port. • Associate VMkernel ports with iSCSI initiator. • Configure port binding in the Properties window of the iSCSI adapter. Week#7 vSphere 5.1

  35. Review of Learner Objectives • You should be able to do the following: • Describe uses of IP storage with ESXi. • Describe iSCSI components and addressing. • Configure iSCSI initiators. Week#7 vSphere 5.1

  36. Lesson 3 Configuring NAS/NFS Storage Week#7 vSphere 5.1

  37. Learner Objectives • After this lesson, you should be able to do the following: • Describe NFS components and addressing. • Create an NFS datastore. Week#7 vSphere 5.1

  38. NFS Components NAS device or a server with storage directory to share with the ESXi host over the network NFS Storage ESXi host with NIC mapped to virtual switch VMkernel port defined on virtual switch Week#7 vSphere 5.1

  39. Addressing and Access Control with NFS Remember NFS is a protocol that sits on top of a OS storage file system. 192.168.81.33 192.168.81.72 VMkernel port configured with IP address Week#7 vSphere 5.1

  40. Configuring an NFS Datastore • Create a VMkernel port: • For better performance and security, separate it from the iSCSI network. • Provide the following information: • NFS server name (or IP address) • Folder on the NFS server, for example, /LUN1 and /LUN2 • Whether to mount the NFS file system read-only: • Default is to mount read/write • NFS datastore name Week#7 vSphere 5.1

  41. Viewing IP Storage Information Hosts and Clusters view > Configuration tab > Storage link Week#7 vSphere 5.1

  42. Unmounting or Deleting an NFS Datastore Click the Storage link in the Configuration tab to unmount an NFS datastore. Unmounting or deleting an NFS datastore causes the files on the datastore to become inaccessible.

  43. Multipathing and NFS Storage A recommended configuration for NFS multipathing: • Configure one VMkernel port. • Use adapters attached to the same physical switch to configure NIC teaming. • Configure the NFS server with multiple IP addresses. • IP addresses can be on the same subnet. • To use multiple links, configure NIC teams with the IP hash load-balancing policy. NIC NIC physical switch vmnic0 vmnic1 ESXi host Week#7 vSphere 5.1

  44. Lab 6 In this lab, you will configure access to an iSCSI and NFS datastore. • Add a VMkernel port group to a standard virtual switch. • Configure the iSCSI software adapter. Week#7 vSphere 5.1

  45. Lab 7 In this lab, you will configure access to an iSCSI and NFS datastore. • Configure access to NFS datastores. • View iSCSI and NFS storage information. Week#7 vSphere 5.1

  46. Review of Learner Objectives • You should be able to do the following: • Describe NFS components and addressing. • Create an NFS datastore. Week#7 vSphere 5.1

  47. Lesson 4 Fibre Channel SAN Storage Week#7 vSphere 5.1

  48. Learner Objectives • After this lesson, you should be able to do the following: • Describe uses of Fibre Channel with ESXi. • Describe Fibre Channel components and addressing. • Access Fibre Channel storage. Week#7 vSphere 5.1

  49. Using Fibre Channel with ESXi • ESXi supports: • 16Gb Fibre Channel • Fibre Channel over Ethernet (FCoE) Week#7 vSphere 5.1

  50. Fibre Channel SAN Components Week#7 vSphere 5.1

More Related