Click here to load reader

คู่มือการติดตั้งระบบ Vmware vCenter Server และการเชื่อมต่อกับระบบ

  • View
    280

  • Download
    17

Embed Size (px)

Text of คู่มือการติดตั้งระบบ Vmware vCenter Server...

  • Information Technology Center

    VMware vCenter Server install and Configuration with SAN fiber Channel

  • P a g e | 1

    VMware vSphere................................................................................................. 4

    VMware infrastructure ......................................................................................................................... 5

    Physical topology of VMware Infrastructure Data center ............................................................ 6

    Host, Cluster, Resource Pool ............................................................................................................. 8

    VMware VMotion .................................................................................................................................. 9

    VMware DRS .......................................................................................................................................... 9

    VMware HA .......................................................................................................................................... 10

    Network Architecture ......................................................................................................................... 11

    Storage Architecture .......................................................................................................................... 11

    RAW Device Mapping ......................................................................................................................... 12

    SAN Switch Storage .................................................................................14

    SAN (Storage Area Network) ............................................................................................................. 14

    SAN ............................................................................................................................... 15

    SAN ..................................................................................................... 16

    .................................................................20

    Spec ......................................................................... 20

    VMware vSphere ESXi 5.1 VMware vCenter 5.1 .......................22

    VMware vSphere ESXi 5.1 ................................................................................................. 22

    VMware vCenter Server Appliance 5.1 .......................................................................... 34

    SAN Switch ...................................................................................56

    Zoning ....................................................................................................................................... 56

    configuration SAN Switch .......................................................................................................... 58

  • P a g e | 2 VMware VCenter Server SAN

    ICS , ERS, MES , Webhosting (Virtual Machine System) VMware VMware vSphere (21 ) VMware VMware vCenter (Cluster) (VMware vMotion ) ( Data Store) SAN (Storage Area Network ) NAS ( Network Attachment Storage) (Data Store ) SAN 2 EMC NetApp

    1. VMware vSphere 2. SAN Switch Storage 3. 4. VMware vSphere ESXi 5.0 VMware vCenter 5.0 5. SAN Switch 6.

  • P a g e | 3

    SAN

  • P a g e | 4 VMware vSphere VMware (Virtual Machine) Hypervisor (Physical machine) Hypervisor 2

    - Native bare metal - Hosted

    2 hosted windows bare metal physical machine hosted VMware server, VMware player, VMware view, Virtualbox oracle native bare metal ESX, ESXi, hyper-v

    VMware VMware 3 o Desktop VMware Workstation, VMware Fusion

    Virtualization OS o Server VMware vSphere Enterprise

    ( Server) VMware OS Server 2 ESX ESXi

  • P a g e | 5

    o Management vCenter ESX, ESXi

    VMware infrastructure VMware

    VMware

    - VMware ESXi Server

    CPU, Memory , Network Storage Hypervisor

    - VMware vCenter VMware ESXi Server vCenter Server physical machine virtual machine vCenter (Administrator) vSphere configuration clusters, hosts, VMs, storage, guest OS feature virtual infrastructure

  • P a g e | 6

    Physical topology of VMware Infrastructure Data center Storage Network check VMware VMware vCenter Storage Virtual Machine Guest Storage performance

  • P a g e | 7

    Virtual Data Center Architecture

    Storage Virtual Machine

  • P a g e | 8

    Host, Cluster, Resource Pool

    resource pool

    host VMware ESXi group Cluster resource

    monitor VMware guest resource resource resource pool group server

  • P a g e | 9

    VMware VMotion

    VMware vCenter Cluster Feature vMotion VMware Guest host host resource down time VMware DRS

  • P a g e | 10 VMware DRS resource host cluster VMware guest host policy

    VMware HA

    VMware High Available

    Cluster VMware Down

    feature VMware HA VMware guest host

    down time feature feature VMware vMotion

  • P a g e | 11 Network Architecture

    Network architecture

    network VMware host NIC interface VMware Virtual Switch VMware Guest network port link aggregate band width Trunk Port tag VLAN Virtual Switch VMware Support Storage iSCSI NFS

    Storage Architecture Storage VMware Data Store disk file 1 Data Store map LUN source iSCSI , NFS, FC SAN, DAS SCSI performance source Data Store

  • P a g e | 12

    Storage architecture

    RAW Device Mapping file system VMware VMFS-5 block size 2M file size data store 2 TB Application file VMware feature RAW Device mapping RAW device Mapping Disk storage file size Storage assign performance bus storage

  • P a g e | 13

    RAW Device Mapping

    VMware feature

    internet Configuration

  • P a g e | 14 SAN Switch Storage

    SAN (Storage Area Network) SAN (Storage Area Network) NAS (Network Attached Storage) Direct Attached Storage (DAS) SAN

    LAN LAN LAN Hard Disk Tape Backup LAN SAN SAN

    SCSI Adapter SCSI SCSI LAN Workstation LAN LAN SAN Fiber Channel LAN

    SAN

  • P a g e | 15 SAN

    -

    -

    Hub Ethernet Switching Hub

    - Hub Fiber Channel Hub

    - Fiber Channel

    SAN Fiber Channel Hub Fiber

    Channel Adapter

    Bus Star Ring

    SAN 3 1. Server to Storage

    Access 2. Server to Server

    Server 3. Storage to Storage

    SAN 1. SAN Servers

    Platform Windows NT, Unix, Linux OS/390 SAN 2. SAN Storage

    SAN storage device SAN

  • P a g e | 16

    SAN Storage

    3. SAN Interconnect SAN

    SAN Interconnect Switch

    SAN 1. Cable Connector

    Cable SAN 2 fiber optic 30 fiber optic 2 Multi-Mode Fiber (MMF) 2 Single-Mode Fiber (SMF) 10

    2. Gigabit Link Model (GLM)

    Fiber Channel interface Fiber Channel

    3. Gigabit Interface Adapter (GIA)

    Hub switches fiber optic Hub switches

    4. Media Interface Adapter (MIA)

    Interface fiber optic MIA adapter host bus switches Hub switches Hub fiber optic MIA

  • P a g e | 17 5. Adapter

    Adapter GLM (Gigabit/Global/Generic Link Module)

    6. Extenders

    node node 7. Multiplexors

    8. Hubs

    Fiber Channel Hub node 126 node 1 loop node bandwidth port hub Port Bypass Circuit (PBC) -

    9. Routers

    Router storage router FCP (SCSI)

    10. Bridges

    LAN SAN

    11. Gateways

    2 IBM SAN data Gateway SCSI device

    12. Switches

    device bandwidth throughput

    4. SAN Application

    SAN

  • P a g e | 18

    SAN Aplication

    5. Managing SAN

    SAN (switches, router, etc.) Simple Network Management (SNMP), Web Based Enterprise Management (WBEM) Enterprise Storage Resources Management (ESRM) SAN Software package ESRM SAN resource

    SAN SAN fiber optic switch

    SAN

  • P a g e | 19

    SAN Fiber Channel Fiber Channel Switch SAN SAN

    SAN SAN bandwidth LAN SAN MAN (Metropolitan Area Network) 150 SAN

    Fiber Channel SAN SAN 1. Total Cost of Ownership (TCO) Fiber Channel Fiber Channel Fiber Channel Fiber Channel 2. Fiber Channel 10 Fiber optic Multimode 250 500

  • P a g e | 20 VMware EXSi (Physical machine) VMware ESXi vCenter VMware ESXi Storage Fiber Feature VMware VMDirectPath I/O Maping LUN Stoarage

    Spec General Manufacturer: Dell Inc. Model: PowerEdge R710 Processors: 8 CPU x 2.26 GHz Processor Type: Intel(R) Xeon(R) CPU E5520 @ 2.27GHz Hyperthreading: Active Total Memory: 31.99 GB Number of NICs: 4 State: Connected Virtual Machines: 3 vMotion Enabled: No Active Tasks: No Resources CPU Utilization: 0 Memory Utilization: 73 Datastores vmd-03_datastore: Capacity: 131.00 GB (105.40 GB free) Networks Manage 10.10.39.0 VLAN 10.10.31.0 VNIC-TrunkPort vMotion

  • P a g e | 21

    VMDirectPath I/O Configuration Software

    - VMware vSphere 5.1 - VMware vCenter 5.1 - Java RE

  • P a g e | 22 VMware vSphere ESXi 5.1 VMware vCenter 5.1

    VMware vSphere ESXi 5.1 Spec VMware VMware vSphere 5.1 CPU 8 core Memory 16G Network 1Gb FC 1 QLogic Corp ISP2432-based 4Gb Fibre Channel to PCI Express HBA (2432) FC 2 QLogic Corp ISP2432-based 4Gb Fibre Channel to PCI Express HBA (2432)

    Spec

  • P a g e | 23

    1. Mount CD scan hardware check compatible

    2. boot

  • P a g e | 24

    3.

    4. Accept license Agreement

  • P a g e | 25

    5. Disk

    6. default ( US english)

  • P a g e | 26

    7. Root password

    8. Check hardware Compatible

  • P a g e | 27

    9.

    10. reboot

  • P a g e | 28

    11. reboot server

    12. Start VMware vSphere

  • P a g e | 29

    13. VMware vSphere

    14. login root configuration network management

  • P a g e | 30

    15. configure network management

    16. Adaptor ( LAN Card)

  • P a g e | 31

    17. IP configuration

    18. IP Address

  • P a g e | 32

    19. DNS

    20. DNS Server

  • P a g e | 33

    21. Restart host

    22.

  • P a g e | 34 VMware vCenter Server Appliance 5.1

    VMware vCenter Server appliance download vmware.com appliance license os database VMware vCenter Appliance Spec

    - CPU 2 core - Memory 8G - Network 1G - Disk1 25G - Disk2 100G

    Spec

  • P a g e | 35

    1. deploy OVF file download vmware.com

  • P a g e | 36

    2. vCenter Appliance

  • P a g e | 37

    3.

  • P a g e | 38

    4. Datastore

  • P a g e | 39

    5. Network

  • P a g e | 40

    6. IP Address

  • P a g e | 41

    7. configuration

    8. Deploy

  • P a g e | 42

    9. login config

    10. Login user root/vmware default user vmware

  • P a g e | 43

    11. exec config network

  • P a g e | 44

    12. Config network

    13. IP netmask

  • P a g e | 45

    14. DNS

  • P a g e | 46

    15.

    16. gateway

  • P a g e | 47

    17. 0

    18. restart

  • P a g e | 48

    19. web browser https://hostname:5480 config SSO server , Inventory Server, Active Directory

    20. Accept License Agreement

    https://hostname:5480%20

  • P a g e | 49

    21. Custom Config SSO Create database

    22. Database embedded

  • P a g e | 50

    23. test install

    24. Configuration

  • P a g e | 51

    25. Join AD

    26. set restart

  • P a g e | 52

    27. login vCenter vSphere Client

    28. permission group user VMware

  • P a g e | 53

    29. group user Domain Controller

  • P a g e | 54

    30. administrator object vCenter ESXi vCenter User group

    31. login user group

  • P a g e | 55

    32. login

  • P a g e | 56 SAN Switch CPU Memory interface Storage Storage Disk Pool RAID (Redundant Array of Independent Disk) disk Raid group Pool LUN (Logical Unit) LUN Storage port fiber channel SAN Switch Broadcasting port LUN Disk SAN Switch Zoning LUN LUN

    Zoning group port fiber port port fiber channel WWN (World Wide name ) ip address network WWN SAN Switch map WWN Alias Group Port

  • P a g e | 57

    SAN Computer

    Concept LUN

  • P a g e | 58

    configuration SAN Switch Configuration SAN Switch 2 Command line Web Configuration Web tools Command line Web Tools

    1. Web browser 2.

    3. web tools

    Menu bar status pane admin domain switch view

    Tasks pane Indicator bar switch information

  • P a g e | 59

    - menu bar SAN Switch - tasks pane SAN Switch - status pane SAN Switch - switch view SAN Switch - switch information SAN Switch - indicator bar SAN Switch

    4. status pane

    - Healthy - Marginal - Critical - Unmonitored

    5. Tasks pane Manage, Monitor, other 6. Manage SAN Switch

    - Switch Admin

  • P a g e | 60

    SAN Switch, Domain ID, Serial number

    IP address SAN Switch

  • P a g e | 61 Update firmware firmware version

    License SAN Swich license

  • P a g e | 62 User account

    - Zone Admin Alias name WWN SAN Switch

  • P a g e | 63

    Zone server storage SAN Switch Zone name Zone member

    Zone Config zone Zone active name zone config member

  • P a g e | 64

    - Port Admin Port number detail

    Port statistics

  • P a g e | 65

    7. Monitor event log

    alias Web Tools

    1. Zone Admin task pane

  • P a g e | 66

    2. tab Alias

    3. New Alias

    4.

    5. Alias 6. OK

    7. member Alias WWNs Member Selection List 8. WWN Alias

  • P a g e | 67

    9. Add Member

    10. Alias name FI_Storage_HBA0 member

    11. Alias zone member zone Web Tools

    1. Zone Admin task pane

  • P a g e | 68

    2. Zone tab

    3. New Zone

    4.

    5. Zone

    6. OK 7. Zone name 8. add member Zone name

  • P a g e | 69

  • P a g e | 70 Zone name CX4_240_SPA2_SPB3_FI_DW_HBA0 member Alias

    9. Zone

  • P a g e | 71 zone config member zone config Web Tools

    1. Zone Config tab

    2. New Zone Config

    3.

    4. Zone Config name

    5. OK 6. Zone Config name

  • P a g e | 72

    7. add zone Zone Config Zone Config ZoneConfig member

    8. Save tab Save Config

  • P a g e | 73

    9.

    Yes

    10.

    11. tab Enable Config SAN Switch

    12.

  • P a g e | 74

    13.

    14.

  • P a g e | 75 SAN VMware

    VMware ESXi VMware vCenter Zoning SAN Switch SAN Storage VMware ESXi Server

    1. login vCenter Sever Add VMware ESXi

  • P a g e | 76

    2. Create DATA Center

    3. Add Host

  • P a g e | 77

    4. fqn vmware ESXi vm-test.nida.local

  • P a g e | 78

    5. add

  • P a g e | 79

    6. license key

  • P a g e | 80

    7. lock down mode ( Lock down

    login host ESXi )

  • P a g e | 81

    8. Data Center

  • P a g e | 82

    9. add host

  • P a g e | 83

    10. add

  • P a g e | 84

    11. check Storage 1 datastore

    12. Assign LUN Storage Fiber channel ESXi host

  • P a g e | 85

    13. login Navi Sphere

    14. LUN

  • P a g e | 86

    15. LUN 50G

    16. Comfirm for LUN Create

  • P a g e | 87

    17. Create

    18. Create Storage group

  • P a g e | 88

    19. Storage group

    20. Connect Storage group Host

  • P a g e | 89

    21. host

    22. LUN Create

  • P a g e | 90

    23.

    24. Create

  • P a g e | 91

    25. LUN Create Host ESXi

    26. Login vCenter host vm-test.nida.local configuration

    storage adaptor vmhba2 vmhba3 show disk assign

  • P a g e | 92

    50G

    27. add storage

  • P a g e | 93

    28. Add storage

    29. file system VMFS-5

  • P a g e | 94

    30. storage

    31. Data Store

  • P a g e | 95

    32. Size

    33. data store

  • P a g e | 96

    34. Data store

  • P a g e | 97

    35. deploy vmware template

    36.

  • P a g e | 98

    VMware vSphereVMware infrastructurePhysical topology of VMware Infrastructure Data centerHost, Cluster, Resource PoolVMware VMotionVMware HANetwork ArchitectureStorage ArchitectureRAW Device Mapping

    SAN Switch StorageSAN (Storage Area Network) SAN SAN

    Spec

    VMware vSphere ESXi 5.1 VMware vCenter 5.1 VMware vSphere ESXi 5.1 VMware vCenter Server Appliance 5.1

    SAN Switch Zoning configuration SAN Switch