vdi-in-a-box installation guide for lab pcs

35
VDI in a Box Installation Guide for Lab PCs

Upload: changhyun-lim

Post on 19-Jul-2015

82 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: VDI-in-a-Box installation guide for Lab PCs

VDI in a Box Installation Guide

for Lab PCs

Page 2: VDI-in-a-Box installation guide for Lab PCs

2

Concept of Architecture

Free with Windows Server1. No Server License : Cost down

2. Active Directory Workgroup

3. Windows Server DHCP DHCP with vdiManager appliance

User data1. Without any storage

2. Data : save user data to a USB flash drive

Image Backup1. Master Image and ViaB appliance convert to templates

2. Export templates to Administrator’s HDD

Page 3: VDI-in-a-Box installation guide for Lab PCs

3

Component

VM Host : Hypservisor

VDI-in-a-BoxVirtual Appliance

Key benefits

• Reduce costs

• Personalize virtual desktops

• Scale on-demand

• Achieve built-in high availability

• Simplify management

• Deliver a high-definition user on-demand experience

User Device

- ZeroClient

- Tablet PC

- ThinClient

Server

User virtual machine

Page 4: VDI-in-a-Box installation guide for Lab PCs

4

Importing Virtual Machine

Requirement : Xenserver, vdiManager VM, Windows 7 VM

Page 5: VDI-in-a-Box installation guide for Lab PCs

5

Change the MAC address of Windows 7 VM

* MAC Address Pool• MAC address range must be in the form of "00:50:56:[0-3]x:xx:xx".• The end of the range will be determined by "MAC Address range length”

http://support.citrix.com/proddocs/topic/vdi-50/vdi-desktops-from-mac-address-pool.html

Change the MAC Address of Windows 7 VM to 00:50:60:00:aa:bb

Page 6: VDI-in-a-Box installation guide for Lab PCs

6

Default URLs and Passwords for Citrix VDI in a Box

Management Consolehttps://<vdiManagerIPAddress>/adminAccount: vdiadmin/kaviza

VDI-in-a-Box appliance logonUser: kvm/kaviza123User: root/kaviza123

User logon from a web browserhttps://<vdiManagerIPAddress>User: <userid>/<password>

User logon from the Java Clientjavaws http://<vdiManagerIPAddress>/dt/vdiclient.jnlpUser: <userid>/<password>

User logon from mobile deviceshttp://<vdiManagerIPAddress>/dt/PNAgent/config.xmlUser: <userid>/<password>

Appliance Configuration

Appliance and VM Configuration

Page 7: VDI-in-a-Box installation guide for Lab PCs

7

Default URLs and Passwords for Citrix VDI in a Box

Entries in Citrix Access GatewayACL: IP Addresses for VDI range for both ICA and Session reliabilitySTA: vdiManagerIPAddress + path=/dt/staHome Page: Java Client = http://vdiManagerIPAddress/dt/vdiclient.jnlp vdiManagerIPAddress + path=/dt/staHome Page: PNAgent = http://vdiManagerIPAddress/dt/PNAgent/config.xml

Page 8: VDI-in-a-Box installation guide for Lab PCs

8

Setting IP address

Log into the vdiManager console ( root user / password ) : root / kaviza123Change Directory : $ cd /etc/sysconfig/network-scriptsNetwork configuration file : ifcfg-eth0

Copy network configuration file$ cp ifcfg-eth0 OLD_ifcfg-eth0

Page 9: VDI-in-a-Box installation guide for Lab PCs

9

Setting IP address

Edit ifcfg-eth0 : # vi ifcfg-eth0

1. Change DHCP parameterBOOTPROTO=dhcpto:BOOTPROTO=none

2. Add ParametersIPADDR=<static ip of XenServer Host>NETMASK=<netmask value>GATEWAY=<gateway ip>

Page 10: VDI-in-a-Box installation guide for Lab PCs

10

Setting IP address

Network restart : $ service network restart

Page 11: VDI-in-a-Box installation guide for Lab PCs

11

Setting IP address

DNS Server Configuration with vi editerFile: /etc/resolv.conf

Add DNS Server IP address

Ping test : Check IP resolution

Page 12: VDI-in-a-Box installation guide for Lab PCs

12

Setting IP address

Checking IP address after vdiManager reboot

Page 13: VDI-in-a-Box installation guide for Lab PCs

13

DHCP Server Configuration

Log into the vdiManager console root user / pass: root / kaviza123Installation DHCP Server : # yum –y install dhcp

Page 14: VDI-in-a-Box installation guide for Lab PCs

14

DHCP Server Configuration

cd /etc/rm dhcpd.confcp /usr/share/doc/dhcp*/dhcpd.conf.sample ./dhcpd.confvi ./dhcpd.conf

Page 15: VDI-in-a-Box installation guide for Lab PCs

15

DHCP Server Configuration

Change dhcpd.confPrefix MAC Address Pool

Page 16: VDI-in-a-Box installation guide for Lab PCs

16

DHCP Server Configuration

Setting DHCP Server startup in Booting

Checking DHCP Server after rebooting appliance

Check ing IP lease after reboot Windows 7 VM : # cat /var/lib/dhcpd/dhcpd.leases

Page 17: VDI-in-a-Box installation guide for Lab PCs

17

Windows 7 Virtual Machine Preparation

Editing Workgroup and add User account

Page 18: VDI-in-a-Box installation guide for Lab PCs

18

Windows 7 Virtual Machine Preparation

Adding User account

Administrator

Page 19: VDI-in-a-Box installation guide for Lab PCs

19

Login vdiManager

Access vdiManagerhttps://175.115.93.217/admin/ID : vdiadminPW : kaviza

Citrix XenServer Using a Windows 7 Imagehttp://support.citrix.com/proddocs/topic/vdi-50/vdi-getting-started-landing-page-win7-xen.html

Page 20: VDI-in-a-Box installation guide for Lab PCs

20

MAC Adderss Pool

* MAC Address Pool• MAC address range must be in the form of "00:50:56:[0-3]x:xx:xx".• The end of the range will be determined by "MAC Address range length”

http://support.citrix.com/proddocs/topic/vdi-50/vdi-desktops-from-mac-address-pool.html

Page 21: VDI-in-a-Box installation guide for Lab PCs

21

Setting up Grid

Page 22: VDI-in-a-Box installation guide for Lab PCs

22

Master Image

Connecting Windows 7 Virtual Machine-> VDI in a Box agent Installation

Page 23: VDI-in-a-Box installation guide for Lab PCs

23

Master Image

Install agent after login as administrator https://175.115.93.217/dt/dtagent

Page 24: VDI-in-a-Box installation guide for Lab PCs

24

Master Image

Connection test with HDX

Page 25: VDI-in-a-Box installation guide for Lab PCs

25

Master Image

Login test as user

Page 26: VDI-in-a-Box installation guide for Lab PCs

26

Master Image

Page 27: VDI-in-a-Box installation guide for Lab PCs

27

Master Image

Checking Disk drivers for USB flash drive

Page 28: VDI-in-a-Box installation guide for Lab PCs

28

Creation Virtual Desktop

Page 29: VDI-in-a-Box installation guide for Lab PCs

29

Add workgroup and User account

Page 30: VDI-in-a-Box installation guide for Lab PCs

30

Connction User Virtual Desktop

Access vdiManager and login with user accounthttps://175.115.93.217/

Page 31: VDI-in-a-Box installation guide for Lab PCs

31

Connction User Virtual Desktop

Page 32: VDI-in-a-Box installation guide for Lab PCs

32

Grid IP address

Grid Virtual IP address : no more L4 switch for one point access and balancing

Page 33: VDI-in-a-Box installation guide for Lab PCs

33

Grid IP address

Log into the vdiManager console ( root user / password ) : root / kaviza123Check Grid IP address : # ifconfigPing test Grid IP address

Page 34: VDI-in-a-Box installation guide for Lab PCs

34

Sample Hardware Architecture

HDD01

HDD02

HDD03

HDD04

HDD05

HDD06

HDD07

HDD08

HDD09

HDD10

HDD11

HDD12

HDD13

HDD14

HDD15

HDD16

RAID5

CPU : 16 CoreMemory : 72GB

Win7VM#01

Win7VM#02

Win7VM#03

Win7VM#31

Win7VM#32

LAN

Gb NIC

XenServer

vdiManager

binding

Page 35: VDI-in-a-Box installation guide for Lab PCs

Thank you