

Using CA AppLogicĀ® › Appliance Developer Guide › Creating Appliances › Distribution Installations › Windows Installation Reference › Windows Server 2008 Base Server Class Installation Reference
Windows Server 2008 Base Server Class Installation Reference
Versions of CA AppLogic® later than 2.9.1 include support for Windows Server 2008 appliances and applications. If you are using such a grid you may follow the instructions in this topic to create Windows Server 2008 base classes. More information about these appliances can be found in the Appliance Catalog Reference Guide.
This example installation is based on a DVD install of Windows Server 2008 Standard Edition without Hyper-V SP2 32-bit. The instructions are general to other editions of Windows Server 2008 and have been tested with:
|
OS
|
Class Name
|
Install Size
|
|
Windows Server 2008 DataCenter Edition without Hyper-V SP2 32-bit
|
WIN08DC
|
12 GB
|
|
Windows Server 2008 Enterprise Edition without Hyper-V SP2 32-bit
|
WIN08E
|
12 GB
|
|
Windows Server 2008 Standard Edition without Hyper-V SP2 32-bit
|
WIN08S
|
12 GB
|
|
Windows Server 2008 Web Edition SP2 32-bit
|
WIN08W
|
12 GB
|
|
Windows Server 2008 DataCenter Edition R2 64-bit
|
WIN0864DC
|
12 GB
|
|
Windows Server 2008 Enterprise Edition R2 64-bit
|
WIN0864E
|
12 GB
|
|
Windows Server 2008 Standard Edition R2 64-bit
|
WIN0864S
|
12 GB
|
|
Windows Server 2008 Web Edition R2 64-bit
|
WIN0864W
|
12 GB
|
- This install size may change as Microsoft releases new updates to the operating system.
- The contents of the X:\WINDOWS\SoftwareDistribution\Download folder can be removed if you need to save disk space.
For the example, the ISO image used for the installation has been downloaded from the Microsoft MSDN site and copied to the impex volume of the grid as en_windows_server_2008_datacenter_enterprise_standard_without_hyper-v_sp2_x86_dvd_342334.iso. See the iso2class reference for other ways to specify an ISO image for the installation.
Notes:
- The TurboGate PV drivers version 2.0 can be used with 32-bit versions of Windows Server 2008, but do not work with 64-bit versions of Windows Server 2008. Version 3.0.1 of these drivers work with both 32-bit and 64-bit versions of Windows Server 2008.
- In the following text in this topic, the y placeholder in WIN08y corresponds to the Windows edition that the appliance is based upon (S for Standard, E for Enterprise, DC for DataCenter, W for Web, and so on.)
- Execute the following command in a 3T shell to begin the installation:
util iso2class app_name=win08_install install_size=12G console_type=graphic iso_volume1=en_windows_server_2008_datacenter_enterprise_standard_without_hyper-v_sp2_x86_dvd_342334.iso virt_options=acpi=1 cpu=1 mem=1G
This command creates and starts the win08_install application, booting the singleton iso2class from the specified ISO image.
- Note: The volume size of 12 GB provides enough space for the OS installation and subsequent Windows updates, resulting in an appliance with approximately 1GB of free space when the process is complete. This size requirement may change as Microsoft introduces more updates to the OS. On CA AppLogic® the boot volume of a Windows Server 2008 appliance is of type ntfs08, and ntfs08 volumes may be resized upwards only (enlarged but not shrunk).
- Access the graphic console of the singleton with one of the following methods:
- Select the application within the application list in the CA AppLogic® GUI and click the icon for Login (graphic).
- Open the application in the CA AppLogic® editor and select the singleton iso2class. Use the pull-down Appliance menu to select Login (graphic).
- After the graphic console appears, the Windows 2008 Server installation interface should be visible. Proceed to install the OS.
- The singleton will reboot during installation, rendering the console inoperative. When this happens, simply close and reopen the console.
- On rare occasion, when using Firefox to access the console, it will give a repeatable error of Application is not started or console misconfigured. If this should happen simply close and reopen Firefox.
- The following instructions assume a full Installation of Windows with its more complete graphical interface. If you are installing a Server Core installation you will need to adjust your keyboard and mouse actions to accomplish these same steps.
- During Windows installation on a VMware grid, due to absence of VMware tools, the mouse may not function as expected. The following keyboard shortcuts are useful:
- To navigate between buttons use Tab key and / or arrow keys
- To select use space bar or enter
- To access the file menu of the selected window use Alt+f key
- After the installation completes, the singleton reboots itself and Windows prompts you to set a new password. Type in your new password and press Enter. Windows sets a new password for Administrator and displays a message indicating that the Administrator password iset successfully. Press OK and Windows will login into the administrator desktop automatically. Now perform the following operations:
- If you are creating Windows appliance on ESX grid, install VMware tools as follows:
- Stop the application
- In grid shell execute 3t vol copy _GLOBAL_RO:vmware_tools_windows APPNAME:vmware_tools_windows
- Open infrastructure editor in browser
- Right-click the singleton appliance ‘iso2class’ and select ‘user volumes’
- Select volume ‘vmware_tools_windows’ for placeholder iso_volume1
- Save and start the application
- Login through the graphical console
- Press “Ctrl+Alt+Del” button on center top of the graphical console window
- Click inside the graphical console window anywhere
- Using ‘tab’ and ‘arrow keys’ navigate to “start task manager”
- Using ‘tab’ navigate to “new task” and hit ‘spacebar’
- Type “D:\setup.exe /S /v /qn” to execute VMware tools installation silently.
- The installation will reboot the appliance automatically. Wait patiently. After reboot you have to reopen the graphical console and login to the appliance.
- Set the screen resolution and screen saver timeout: Right-click an empty area of the desktop and select Personalize. From this interface set the screen resolution to 1024x768 and the screen saver timeout to 1000 minutes (or disable it). On 64-bit versions of Windows Server 2008 R2, the screen saver configuration may be accessed with Start, Control Panel, Appearance, Change screen saver while the screen resolution may be accessed with either Start, Control Panel, Adjust screen resolution or right-click an empty area of desktop and click Screen resolution.
- Disable the page file:
- Open Control Panel, System, Advanced system settings, Advanced, Performance Settings, Advanced, Change Virtual Memory.
- Clear the check box marked Automatically manage paging file size for all drives and select No paging file.
- Select Set.
- Click Restart Later. On 64-bit versions of Windows, the page file setting may be accessed with Control Panel, System and Security, System, Advanced system settings, Advanced, Performance Settings, Advanced, Change Virtual Memory.
- Disable power management hibernation support: Open Start, Command Prompt and execute powercfg -h off.
- Disable IE enhanced security: Open Server Manager, Configure IE ESC and turn IE enhanced security off for both Administrators and Users.
- Change the computer name: Open Server Manager, Change System Properties and set the computer name to WIN08y. Restart when requested and close the graphical console.
- After a minute reopen the graphical console and login to the Windows desktop. Perform the following operations:
- Clean up the leftover pagefile if it is present:
- Select Start and type windows explorer in the input box followed by Enter to open Windows Explorer.
- Open Organize, Folder and search options, View and select Show hidden files and folders. Unselect Hide protected operating system files.
- Delete the file C:\pagefile.sys if it is present.
- Restore the default settings under Organize, Folder and search options, View.
- The singleton has two network interfaces: Local Area Connection and Local Area Connection 2. The first of these is the external interface while the second is the internal interface. Configure the external interface of the singleton to provide access to the World Wide Web:
- Install high priority and optional Windows updates:
- Open IE and select Tools, Windows Update, Turn on Now and install updates. On 64-bit versions of Windows, Windows Update may be access with Start, Control Panel, System and Security, Windows Update, Change settings, Download updates but let me choose to install them then OK and Check for updates.
- Reboot when prompted. Close the graphical console, and, after a minute, reopen the graphical console.
- Repeat the above procedure until there are no more updates to install. The option in IE to select Windows Update may become available under Security, Windows Update.
- Activate Windows: Access Control Panel, System, Change Product Key and enter a valid product key. On 64-bit versions of Windows: Access Control Panel, System and Security, System, Change Product Key.
- Disable external network access: Open Server Manager, View Network Connections, Local Area Connection, Properties, TCP/IPv4, Properties and select Obtain an IP address automatically and Obtain DNS server address automatically.
- Disable Windows Firewall: Open Server Manager, Go to Windows Firewall, Windows Firewall Properties. Set the firewall to Off for Domain Profile, Private Profile and Public Profile.
- Disable automatic updates: Open Server Manager, Configure Updates, Change Settings. Select Never check for updates.
- Disable password complexity requirements if set: open Start, Administrative Tools, Local Security Policy, Account Policies, Password Policy. Disable password complexity requirements.
- Set the Administrator password to never expire: open Server Manager, Configuration, Local Users and Groups, Users, Administrator, Properties. Select Password Never Expires.
- Disable the shutdown event tracker:
- Select Start and type gpedit.msc in the input box.
- Open Computer Configuration, Administrative Templates, System.
- Scroll down on the right pane and right-click Display Shutdown Event Tracker, Properties or, on 64-bit versions, Display Shutdown Event Tracker, Edit.
- Select Disabled and click OK.
- Set the default Windows disk device timeout value to 60 seconds and tell the system how the realtime clock is set. Note that these settings require a reboot to take effect.
- Select Start and type regedit.exe in the input box to open the registry editor.
- Navigate to the key HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Disk.
- Create a DWORD value named TimeOutValue. (If this value exists, skip this step.)
- Set TimeOutValue to 60.
- Navigate to the key HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/TimeZoneInformation.
- Create a DWORD value named RealTimeIsUniversal (if this value exists, skip this step).
- Set RealTimeIsUniversal to 1.
- If you intend to install the TurboGate PV drivers, then disable TCP checksum offload:
- In the registry editor navigate to HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Tcpip/Parameters. Right-click Parameters in the left pane and select New, DWORD. Type DisableTaskOffload. Right-click DisableTaskOffload and select modify.
- Enter 1 for the value.
- Close the registry editor.
- Shutdown the OS and continue the iso2class install as follows:
- In the command shell type shutdown -s -t 0.
- Wait 5 seconds and then, within the 3t shell running the iso2class utility: Press Enter and then the Y key followed by Enter to continue such that the second volume becomes available to the singleton.
- After a minute reopen the graphical console and login to the Windows desktop.
- If the graphical console starts up in the System Recovery Options dialog select Next, login as Administrator, then Restart. After a minute reopen the graphical console and login to the Windows desktop.
- (Optional) Install windows components that you want available on this appliance and which require access to the installation ISO images. Navigate to Server Manager->Add Role. Add the IIS Web Server Role and install optional components such as IIS.
- To transform the singleton into a fully managed CA AppLogic® appliance, install the current version of the Windows Server msi. The installer can now be located on the E drive of the singleton.
- In the command shell type E: to navigate to the E drive.
- Execute Server_Windows-1.1.6-1.msi (use the current version on the E drive) to install the Windows Server MSI.
- Delete junction points to prevent failures when you try to resize Windows appliance volumes. The following are examples of junction points that you may find on a Windows boot volume but note that actual names may vary:
- WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\
- WINDOWS\assembly\GAC_MSIL\IEExecRemote\2.0.0.0__b03f5f7f11d50a3a\
You can search for junction points using the Command Prompt. The output of the following command reports the path for any junction points that it finds:
dir /S/A:L
- If this appliance is 64-bit, use Windows Explorer to copy shutdown.exe from C:\WINDOWS\system32 to C:\WINDOWS\SYSWOW64 (if it is not already present). If Windows Explorer refuses to copy but instead moves the executable:
- Move shutdown.exe to C:\WINDOWS using Windows Explorer.
- Open a bash shell and:
- cp -p /cygdrive/c/WINDOWS/shutdown.exe /cygdrive/c/WINDOWS/system32/shutdown.exe (this command actually copies the file into C:\WINDOWS\SYSWOW64).
- Use Windows Explorer to move C:\WINDOWS\shutdown.exe to C:\WINDOWS\system32\shutdown.exe.
- If you intend to install the current TurboGate PV drivers copy D:\TurboGate_Tools-Setup-V3.0.1.exe C:\. Do not execute the installer yet.
- Complete the basic installation:
- Enter the following command In the command shell:
shutdown -s -t 0
- Wait 5 seconds and then, within the 3t shell running the iso2class utility: Press the <enter> key and then the Y key followed by the <enter> key to continue.
- When prompted in the 3t shell, select The appliance is fully managed. After this, iso2class stops the application, changes the singleton boundary to that of a generic server appliance, and restarts the application (the appliance will enter maintenance mode during the restart).
- Change the resulting singleton into a WIN08y catalog appliance class. (See the table at the bottom of this page for the resource settings for the correct edition.)
- Stop the application.
- Open the application in the CA AppLogic® editor.
- Right-click the singleton and select Attributes. Change the instance name to WIN08y.
- Right-click the singleton and select Modify Boundary:
- Change the class name to WIN08y.
- Enter the description: Windows Server Appliance - based on Windows Server 2008 Standard Edition without Hyper-V SP2 32-bit (be sure to use the correct edition name).
- Please refer to the below resource table at the bottom of the document and change the resource settings based on the windows edition.
- Select the OS icon as windows.
- Set the documentation URL to: http://doc.3tera.com/AppLogic35/en/CatGenericWindows.html
- Save the application when prompted.
- If you are not installing the TurboGate PV drivers, complete the appliance creation as follows:
- If you are installing the TurboGate PV Drivers, complete the appliance creation as follows:
The WIN08y appliance is now ready for use.
Review the Appliance Catalog Reference Guide for details on the behavior of the Windows APK which is installed by all of the Windows MSIs.
The resource settings for the Windows Server 2008 base classes are:
|
Class Name
|
CPU min
|
CPU max
|
CPU dflt
|
Mem min
|
Mem max
|
Mem dflt
|
BW min
|
BW max
|
BW dflt
|
|
WIN08DC
|
0.25
|
32
|
0.5
|
512M
|
64G
|
768M
|
1Mbps
|
2Gbps
|
100Mbps
|
|
WIN08E
|
0.25
|
8
|
0.5
|
512M
|
64G
|
768M
|
1Mbps
|
2Gbps
|
100Mbps
|
|
WIN08S
|
0.25
|
4
|
0.5
|
512M
|
4G
|
768M
|
1Mbps
|
2Gbps
|
100Mbps
|
|
WIN08W
|
0.25
|
4
|
0.5
|
512M
|
4G
|
768M
|
1Mbps
|
2Gbps
|
100Mbps
|
|
WIN0864DC
|
0.25
|
32
|
0.5
|
768M
|
64G
|
1G
|
1Mbps
|
2Gbps
|
100Mbps
|
|
WIN0864E
|
0.25
|
8
|
0.5
|
768M
|
64G
|
1G
|
1Mbps
|
2Gbps
|
100Mbps
|
|
WIN0864S
|
0.25
|
4
|
0.5
|
768M
|
32G
|
1G
|
1Mbps
|
2Gbps
|
100Mbps
|
|
WIN0864W
|
0.25
|
4
|
0.5
|
768M
|
32G
|
1G
|
1Mbps
|
2Gbps
|
100Mbps
|
Copyright © 2012 CA.
All rights reserved.
 
|
|