VDI in a Box Installation Guide for Lab PCs
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
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
4
Importing Virtual Machine
Requirement : Xenserver, vdiManager VM, Windows 7 VM
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
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
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
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
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>
10
Setting IP address
Network restart : $ service network restart
11
Setting IP address
DNS Server Configuration with vi editerFile: /etc/resolv.conf
Add DNS Server IP address
Ping test : Check IP resolution
12
Setting IP address
Checking IP address after vdiManager reboot
13
DHCP Server Configuration
Log into the vdiManager console root user / pass: root / kaviza123Installation DHCP Server : # yum –y install dhcp
14
DHCP Server Configuration
cd /etc/rm dhcpd.confcp /usr/share/doc/dhcp*/dhcpd.conf.sample ./dhcpd.confvi ./dhcpd.conf
15
DHCP Server Configuration
Change dhcpd.confPrefix MAC Address Pool
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
17
Windows 7 Virtual Machine Preparation
Editing Workgroup and add User account
18
Windows 7 Virtual Machine Preparation
Adding User account
Administrator
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
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
21
Setting up Grid
22
Master Image
Connecting Windows 7 Virtual Machine-> VDI in a Box agent Installation
23
Master Image
Install agent after login as administrator https://175.115.93.217/dt/dtagent
24
Master Image
Connection test with HDX
25
Master Image
Login test as user
26
Master Image
27
Master Image
Checking Disk drivers for USB flash drive
28
Creation Virtual Desktop
29
Add workgroup and User account
30
Connction User Virtual Desktop
Access vdiManager and login with user accounthttps://175.115.93.217/
31
Connction User Virtual Desktop
32
Grid IP address
Grid Virtual IP address : no more L4 switch for one point access and balancing
33
Grid IP address
Log into the vdiManager console ( root user / password ) : root / kaviza123Check Grid IP address : # ifconfigPing test Grid IP address
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
Thank you