Windows 8 Base Class
For Windows appliances and applications, these instructions allow you to create Windows Server 8 base classes. The Windows.exe contains the APK.
The instructions have been tested with the following Windows Server versions:
|
OS |
Class Name |
Install Size |
|
Windows 8 Enterprise Edition 32-bit |
WIN8E |
20 GB |
|
Windows 8 Enterprise Edition 64-bit |
WIN864E |
20 GB |
Notes:
For the example, the ISO image for the installation has been downloaded from Microsoft MSDN and copied to the impex volume of the grid as en_windows_8_enterprise_x86_dvd_u_677651.iso. Refer to the iso2class reference for other methods to specify an ISO image for the installation.
The Windows exe contains the APK. The APK performs an automated prep script prior to installing the APK.
You can disable the automated prep script, if you have already prepared the machine. During the Install, select Custom and disable the Prep script. You can then manually perform the APK prep script. To review the manual steps, refer to Manually Perform APK Prep Script.
Install and Configure Appliance
Follow these steps:
util iso2class app_name=win8_install install_size=20G console_type=graphic iso_volume1=en_windows_server_8_enterprise_x86_dvd_677651.iso virt_options=acpi=1 cpu=1 mem=1G
The win8_install application starts, booting the singleton iso2class from the specified ISO image.
For SCSI based appliance creation, use the following command:
util iso2class app_name=win8_install install_size=20G console_type=graphic iso_volume1=en_windows_server_8_enterprise_x86_dvd_677651.iso virt_options=acpi=1 cpu=1 mem=1G scsi=1
The volume size of 20 GB provides enough space for the OS installation and subsequent Windows updates, which results in an appliance with approximately 1GB or more of free space when the process completes. This size requirement can change as Microsoft introduces more updates to the OS.
The boot volume is formatted as ntfs08. You can only increase the size of the ntfs08 boot volume.
Complete the Installation and Windows Setup
Windows 8 recommends using a Local account, rather than a Microsoft account during the installation.
The singleton reboots during installation, rendering the graphical console inoperative. When the reboot occurs, simply close and re-open the graphical console. On a rare occasion, when using Mozilla Firefox to access the graphical console, a repeatable error of Application is not started or graphical console misconfigured displays. If an error occurs, simply close and open Firefox.
To complete the installation and Windows setup, the singleton reboots. Windows requests a user name, computer name, and password.
Follow these steps:
Note: This is not the credentials for the Administrator.
Windows sets a new password for the specified user and automatically logs in to the desktop.
Click Use the following IP address and enter an available IP address from the grid's assigned external network and the corresponding netmask and gateway for that network. To locate the IP address and other values, access the Network Resources section of the dashboard.
netsh interface ip set address name="Ethernet" static [ip-address] [netmask] [gateway] 1 netsh interface ip set dns name="Ethernet" static [dns-ip]
In Internet Explorer, the Windows Update option is available under Security, Windows Update.
shutdown -s -t 0
The second volume becomes available to the singleton.
If the graphical console starts in the System Recovery Options dialog, perform the following steps:
The Windows APK is installed as a prerequisite.
Search for junction points using the command prompt.
dir/S /A:L
The output of the command reports the path for any junction points:
The following are examples of junction points on a Windows boot volume. The names on your volumes can differ.
copy E:\TurboGate-Tools-Setup-V3.0.1.exe C:\
Note: Do not execute the TurboGate installer until after you have completed installation of the basic OS.
shutdown -s -t 0
The iso2class stops the application, changes the singleton boundary to that of a generic server appliance, and starts the application.
Create Catalog Appliance Class
You can change the resulting singleton into a catalog appliance class.
Follow these steps:
Change the instance name to WIN8y and click OK.
The Infrastructure Editor displays.
The Class Definition window displays.
http://doc.3tera.com/AppLogicxx/index.htm?toc.htm?CatGenericWindows8.html
where xx indicates the current version of AppLogic.
The Resources page displays.
Modify the resource settings based on the following resource table
|
Class Name |
CPU min |
CPU max |
CPU default |
Mem min |
Mem max |
Mem default |
BW min |
BW max |
BW default |
|
WIN8E |
0.25 |
8 |
1 |
512M |
64G |
1G |
1M |
2GB |
1M |
|
WIN864E |
0.25 |
8 |
1 |
768M |
64G |
2G |
1M |
2GB |
1M |
Complete the Appliance
Completing the appliance includes making changes if you are installing the TurboGate PV drivers.
If not, refer to steps at the end of this procedure.
Follow these steps:
The Class Definition window displays.
If the appliance virtualization mode is not VMware, add terminals to the appliance until there are a total of 7 listed interfaces. With the default interface, you will have the maximum 8 interfaces. This step is required to avoid manual user intervention when adding terminals to future appliances based on this appliance.
If the appliance virtualization mode is vmware, add terminals to the appliance for a total of 9 interfaces. With the default interface, you have the maximum 10 interfaces.
To ensure that new volumes added to an appliance are properly recognized and brought online, create three raw 50 MB volumes as placeholder volumes.
Do not assign mount points for these volumes.
The Infrastructure Editor displays.
select disk # [specify the number] online disk # [skip this step if the disk is online] clean create partition primary assign letter=[specify a different letter for each disk, such as D, E, F]
Select the Install Anyway option. Do not reboot after the install.
app restart win8_install -debug
To restart the appliance, click the Restart icon.
Note: Perform one of the following sets of steps, depending on whether the app start has timed out:
app stop win8_install
diskpart list disk exit
This service is installed with the PV drivers and, if there is more than one virtual network interface associated to the appliance, fails to start. Disabling this service does not affect the performance of the PV drivers.
rm -f ~/.bash_history /cygdrive/c/TurboGate* /appliance/passwd.stamp
Not Installing TurboGate PV
If you are not installing the TurboGate PV drivers, perform the following steps to complete the appliance.
Follow these steps:
rm -rf /appliance/passwd.stamp ~/.bash_history
Enabling the Appliance to be Compliant using Sysprep
The Windows APK includes a script to prepare catalog appliance instances to be specialized during the initial start. This process uses the Microsoft sysprep utility. Sysprep checks for the license key and returns the appliance to the factory default.
If you used a Microsoft site license key in the preceding steps, you do not need to sysprep. The site license key allows the key to be used each time you branch your singleton.
If you do not have a site license key and need to license multiple appliances individually, you must sysprep each appliance.
Follow these steps:
mountvol /e
shutdown -r -t 0
This runs the Sysprep /generalize phase and takes less than 3 minutes to complete
The singleton is ready to be moved to the /system_ms catalog with Sysprep enabled to run upon instantiation.
Moving Appliance to Catalog
Follow these steps:
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|