Windows Server 2008 基础服务器类
对于 Windows 组件和应用,以下说明将帮助您创建 Windows Server 2008 基类。
该示例安装基于 Windows Server 2008 Standard Edition(无 Hyper-V)SP2 32 位的 DVD 安装。 这些说明已经在以下 Windows Server 版本中进行了测试:
|
操作系统 |
类名称 |
安装大小 |
|
Windows Server 2008 DataCenter Edition(无 Hyper-V)SP2 32 位 |
WIN08DC |
12 GB |
|
Windows Server 2008 Enterprise Edition(无 Hyper-V)SP2 32 位 |
WIN08E |
12 GB |
|
Windows Server 2008 Standard Edition(无 Hyper-V)SP2 32 位 |
WIN08S |
12 GB |
|
Windows Server 2008 Web Edition SP2 32 位 |
WIN08W |
12 GB |
|
Windows Server 2008 DataCenter Edition R2 64 位 |
WIN0864DC |
12 GB |
|
Windows Server 2008 Enterprise Edition R2 64 位 |
WIN0864E |
12 GB |
|
Windows Server 2008 Standard Edition R2 64 位 |
WIN0864S |
12 GB |
|
Windows Server 2008 Web Edition R2 64 位 |
WIN0864W |
12 GB |
在此示例中,从 Microsoft 的 MSDN 站点下载了用于安装的 ISO 映像,并将该映像作为 en_windows_server_2008_datacenter_enerprise_standard_without_hyper-v_sp2_x86_dvd_342334.iso 复制到网格的 impex 卷中。 有关为安装指定 ISO 映像的其他方式,请参阅 iso2class 参考。
注意:Server Windows exe 包含 APK。 在安装 APK 之前,APK 先执行自动化 Prep 脚本。 如果已准备计算机,则可以禁用自动化 Prep 脚本。 在安装期间,选择“自定义”并禁用 Prep 脚本。 然后可以手工执行 APK Prep 脚本。 要查看手工步骤,请参阅“手工执行 APK Prep 脚本”。
安装和配置组件
完成以下步骤:
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
该命令创建和启动 win08_install 应用,并从指定的 ISO 映像启动单例 iso2class。
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 scsi=1
在 CA AppLogic® 中,Windows Server 2008 组件的启动卷格式化为 ntfs08。 您只能增加 Windows Server 2008 组件的 ntfs08 启动卷的大小。
执行以下操作:
配置单例的外部接口以访问万维网:
单击“使用以下 IP 地址”,并输入网格的可用值(如 IP 地址、网络掩码、网关和 DNS 服务器)。
netsh interface ip set address name="Local Area Connection" static [ip-address] [netmask] [gateway] 1 netsh interface ip set dns name="Local Area Connection" static [dns-ip]
在 64 位版本上:访问“控制面板”、“系统和安全”、“系统”、“更改产品密钥”。
shutdown –s –t 0
第二个卷将对单例可用。
注意:如果图形控制台在“系统恢复选项”对话框中启动,请执行以下步骤:
作为先决条件,需安装 Windows APK。
以下示例显示 Windows 启动卷上的交接点。
注意:卷的名称可以不同。
可以使用命令提示符搜索交接点。 以下命令的输出结果会报告所有交接点的路径:
dir/S /A:L
copy E:\TurboGate-Tools-Setup-V3.0.1.exe C:\
注意:必须等到基本操作系统安装完成之后,才能执行 TurboGate 安装程序。
shutdown –s –t 0
iso2class 会停止应用,将单例边界更改为通用服务器组件的边界,然后重新启动应用。
创建目录组件类
将结果单例更改为目录组件类。 以下资源表包含有关正确版本的资源设置的信息。
完成以下步骤:
此时将显示“修改边界”窗口。
Windows Server 组件-基于 Windows Server 2008 Standard Edition(无 Hyper-V)SP2 32 位
注意:使用正确的版本名称。
|
类名称 |
CPU 最小值 |
CPU 最大值 |
CPU 默认值 |
Mem 最小值 |
Mem 最大值 |
Mem 默认值 |
BW 最小值 |
BW 最大值 |
BW 默认值 |
|
WIN08DC |
0.25 |
32 |
1 |
512M |
64G |
2G |
1M |
2 GB |
1M |
|
WIN08E |
0.25 |
8 |
1 |
512M |
64G |
2G |
1M |
2 GB |
1M |
|
WIN08S |
0.25 |
4 |
1 |
512M |
4G |
2G |
1M |
2 GB |
1M |
|
WIN08W |
0.25 |
4 |
1 |
512M |
4G |
2G |
1M |
2 GB |
1M |
|
WIN0864DC |
0.25 |
32 |
1 |
768M |
64G |
2G |
1M |
2 GB |
1M |
|
WIN0864E |
0.25 |
8 |
1 |
768M |
64G |
2G |
1M |
2 GB |
1M |
|
WIN0864S |
0.25 |
4 |
1 |
768M |
32G |
2G |
1M |
2 GB |
1M |
|
WIN0864W |
0.25 |
4 |
1 |
768M |
32G |
2G |
1M |
2 GB |
1M |
http://doc.3tera.com/AppLogicxx/index.htm?toc.htm?CatGenericWindows.html
其中,xx 表示 AppLogic 的当前版本
完成组件
如果配置 TurboGate PV 驱动程序,完成该组件将包括进行更改。
注意:如果要安装 TurboGate PV 驱动程序,请执行此过程中的步骤。 否则,请参阅此过程结尾的注释。
完成以下步骤:
如果组件的虚拟模式为 vmware,请将终端添加到组件中,直至总共列出 9 个接口。 加上默认接口,您将最多有 10 个接口。
注意:必须更改管理员密码,因为 Server Windows EXE 会在初始启动时设置新的随机密码,您必须知道管理员密码才能安装 TurboGate PV 驱动程序。
select disk # [指定数字] online disk # [如果磁盘处于联机状态,则跳过此步骤] clean create partition primary assign letter=[为每个磁盘指定一个不同的盘符,如 D、E、F]
根据需要选择“仍要安装”。 安装后不要重新启动。
app restart win08_install –debug
要重新启动组件,请单击“重新启动”图标。
注意:请执行以下各组步骤之一,具体取决于应用启动是否超时:
app stop win08_install
app stop win08_install
diskpart list disk exit
该服务随 PV 驱动程序一起安装,如果存在与组件关联的多个虚拟网络接口,将无法启动。 禁用该服务不会影响 PV 驱动程序的性能。
rm –f ~/.bash_history /cygdrive/c/TurboGate* /appliance/passwd.stamp
WIN08y 组件现在可以使用。
未安装 TurboGate PV
如果未安装 TurboGate PV 驱动程序,请执行以下步骤完成组件:
rm –rf /appliance/passwd.stamp ~/.bash_history
使用 Sysprep 使组件能够兼容
Windows APK 包含将目录组件实例准备为“专业化”的脚本,当实例首次启动时,通过使用 Microsoft sysprep 实用工具来实现这种准备。 如果希望使用 sysprep 来准备组件,应在将其移至 /system_ms 目录之前执行此操作。
完成以下步骤:
mountvol /e
shutdown –r –t 0
此时单例已准备好移至 /system_ms 目录,并启用了 Sysprep 以便在安装时运行。
将组件移至目录
完成以下步骤:
|
版权所有 © 2013 CA。
保留所有权利。
|
|