Creating Windows Instances » История » Версия 3
Владимир Ипатов, 27.11.2012 00:31
1 | 1 | Владимир Ипатов | h1. WINDOWS-INSTALL |
---|---|---|---|
2 | 1 | Владимир Ипатов | |
3 | 1 | Владимир Ипатов | h2. System install |
4 | 1 | Владимир Ипатов | |
5 | 1 | Владимир Ипатов | h3. Copy installer ISO /stuff/cdimages |
6 | 1 | Владимир Ипатов | |
7 | 1 | Владимир Ипатов | hЗ. Add new instance |
8 | 1 | Владимир Ипатов | |
9 | 1 | Владимир Ипатов | <pre> |
10 | 2 | Dmitry Chernyak | gnt-instance add -t drbd --disk=0:size=20g --net=0:link=xen-lan -H xen-hvm:cdrom_image_path=/stuff/cdimages/ru_win_srv_2008_r2_sp2.iso,boot_order=cd,disk_type=ioemu,use_localtime=true -o windows+default -B memory=8g --no-ip-check --no-name-check -n gnt1:gnt2 w2k8 |
11 | 1 | Владимир Ипатов | </pre> |
12 | 1 | Владимир Ипатов | |
13 | 1 | Владимир Ипатов | h3. Connect to instance vnc console and install the system |
14 | 1 | Владимир Ипатов | |
15 | 1 | Владимир Ипатов | You should use vncviewer to connect vnc console(e.g. from xtightvncviewer package). |
16 | 1 | Владимир Ипатов | address and port: |
17 | 1 | Владимир Ипатов | <pre> |
18 | 1 | Владимир Ипатов | # gnt-instance info INSTANCE|grep vnc |
19 | 1 | Владимир Ипатов | </pre> |
20 | 1 | Владимир Ипатов | |
21 | 3 | Владимир Ипатов | On windows we recommend to use ultravnc: |
22 | 3 | Владимир Ипатов | http://www.uvnc.com/downloads/ultravnc/100-download-ultravnc-10962.html |
23 | 3 | Владимир Ипатов | |
24 | 1 | Владимир Ипатов | h3. GPLPV Driver install |
25 | 1 | Владимир Ипатов | |
26 | 1 | Владимир Ипатов | After install you should add this drivers in system: http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers |
27 | 1 | Владимир Ипатов | There is no additional actions after install. |
28 | 1 | Владимир Ипатов | You must reboot twice and check that disks in device manager your disk drives have disk type consist *XEN* word. |
29 | 1 | Владимир Ипатов | |
30 | 1 | Владимир Ипатов | After install you may detach distribution iso: |
31 | 1 | Владимир Ипатов | <pre> |
32 | 1 | Владимир Ипатов | # gnt-instance modify -H boot_order=c cdrom_image_path='' INSTANCE |
33 | 1 | Владимир Ипатов | </pre> |
34 | 1 | Владимир Ипатов | |
35 | 1 | Владимир Ипатов | h3. Disable TaskOffload and TX Offloas |
36 | 1 | Владимир Ипатов | |
37 | 1 | Владимир Ипатов | Without it there will be lags in rdp and in other tasks. |
38 | 1 | Владимир Ипатов | http://social.technet.microsoft.com/Forums/en/windowsserver2008r2management/thread/77397541-608f-4d1c-9856-1593f2186f5b |
39 | 1 | Владимир Ипатов | http://support.cloudcentral.com.au/KB/a32/fix-slow-stuttering-intermittent-windows-server-2008.aspx |
40 | 1 | Владимир Ипатов | http://support.microsoft.com/kb/888750 |
41 | 1 | Владимир Ипатов | |
42 | 1 | Владимир Ипатов | 1. Load the Windows Registry editor - regedit. |
43 | 1 | Владимир Ипатов | 2. Add a new DWORD key named DisableTaskOffload with a value of 1 to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters |
44 | 1 | Владимир Ипатов | 3. Restart server. |
45 | 1 | Владимир Ипатов | |
46 | 1 | Владимир Ипатов | TX Offload May be disabled in NIC settings. |
47 | 2 | Dmitry Chernyak | |
48 | 2 | Dmitry Chernyak | h2. Set Time |
49 | 2 | Dmitry Chernyak | |
50 | 2 | Dmitry Chernyak | * Set "use_localtime=true" in the hypervisor parameters (as in the "instance add" example) |
51 | 2 | Dmitry Chernyak | * Set timezone in Windows |
52 | 2 | Dmitry Chernyak | * Set proper local time in Windows (via standard clock tool) |
53 | 2 | Dmitry Chernyak | this will set the time shift which will be saved upon shutdown |
54 | 2 | Dmitry Chernyak | * Reboot to verify that time shift is saved and taken in effect |
55 | 1 | Владимир Ипатов | |
56 | 1 | Владимир Ипатов | h2. Notes |
57 | 1 | Владимир Ипатов | |
58 | 1 | Владимир Ипатов | RDP-6 in 32bpp generate less traffic than 24bpp and sometimes not more than 16bpp. |
59 | 1 | Владимир Ипатов | http://ericomguy.blogspot.com/2008/06/rdp6-performance-improvements-and-how.html |
60 | 1 | Владимир Ипатов | |
61 | 1 | Владимир Ипатов | Default bpp policy setup: |
62 | 1 | Владимир Ипатов | http://blog.dhampir.no/content/remote-desktop-does-not-support-colour-depth-24-falling-back-to-16 |
63 | 1 | Владимир Ипатов | |
64 | 1 | Владимир Ипатов | Performance Tuning Guidelines for Windows Server 2008 R2 |
65 | 1 | Владимир Ипатов | http://msdn.microsoft.com/en-us/library/windows/hardware/gg463392.aspx |