A provisioning profile identifies the OS files to use and includes additional information about how those files are to be deployed.
Make sure the Windows image server exists and that the Windows OS software is available to that server. For more information about creating the Windows image server, see Setting Up the Windows Server.
In the Common Tasks section of the provisioning software page, select OS Provisioning.
On the OS Provisioning Common Tasks page, click Create Profile in the Windows Images section.
On the Plans Details page, click Run.
Choose variables to use for this plan.
To use an existing variables set, select a name from the drop-down menu in the WindowsImage component row of the Plan Parameters table.
To create a new variables set, click Select from List in the WindowsImage component row of the Plan Parameters table.
Click Create Set.
Type a name for the variables set.
Verify variables and change them, if needed.
If you need more information than is provided in the prompts in the component variables table, see the detailed list of components, along with default values and examples, in Windows Provisioning Profile Variables.
Save the variables set.
Select the variables set that you just saved from the drop-down menu in the WindowsImage component row of the Plan Parameters table.
On the Plan Details Run page, select the Windows image server on which to attach the image.
The host name of the Windows image server ends in -windows.
Click Run Plan (includes preflight).
To verify that the Windows image is attached to the Windows image server, click Components in the left pane of the N1 Grid SPS browser interface.
You should see a component of type com.sun.n1osp#Provision that has a description similar to Windows provisioning profile.
To create a variable set for the WindowsProfile component, type a command similar to the following example:
# cr_cli -cmd cdb.vs.add -comp NM:/com/sun/n1osp/untyped/LinuxImage \ -name "redhat3" -u admin -p admin -vars "osp_server=masterserver-osp;version=RedHat3.0; \ architecture=x86;installPath=Linux:[version]_:[architecture];description=testlinux; \ min_disk_size=10GB;monitor_install=FALSE;boot_server_name=bikickstart; \ boot_server_subnet_address=10.42.42.0; \ boot_server_subnet_ip_address=10.42.42.3;kickstart_file=/export/el30.cfg; \ pxe_boot_file=linux-install/pxelinux.0;pxe_configuration_file=el30-console" |
For more information about the variables, see Windows Provisioning Profile Variables.
To run the plan, type a command similar to the following example:
# cr_cli -cmd pe.p.run -u admin -p admin -PID NM:/com/sun/n1osp/untyped/LinuxImage-attach \ -tar H:NM:bikickstart-linux -comp + -vs redhat3 -pto 30 -nto 10 |
The following table lists all component variables for the Windows provisioning profile. For those variables that have default values, the default is listed. For those variables that do not have default values, an example value is shown for illustration.
Table 7–2 Component Variables for Windows Provisioning Profile
Variable Name |
Description |
Default or Sample Value |
---|---|---|
osp_server |
Virtual server that represents the OS provisioning service |
masterserver-osp (Example) |
version |
Windows version |
2003 (Default) |
architecture |
|
x86 (Default) |
installPath |
Name of Windows image |
Windows:[version]_:[architecture] (Default) |
description |
Description | |
min_disk_size |
Minimum disk size for this profile to be deployed |
10GB (Default) |
monitor_install |
If installation has to be monitored |
False (Default) |
boot_server_name |
Name of Windows boot server |
|
boot_server_subnet_address |
Subnet served by boot server |
|
boot_server_subnet_ip_address |
IP address of boot server on this subnet |
|
boot_srv_active_directory_domain |
Windows active directory domain for this subnet |
winprov.n1lab.sun.com (Example) |
windows_product_directory |
Windows product directory name on boot server |
D:\RemoteInstall\Setup\English\Images\Win2003 (Example) |
sif_file |
Location of software information file (SIF) |
D:\RemoteInstall\Setup\English\Images\Win2003\i386\templates\ristndrd.sif (Example) |
windows_component_folder |
Location of auto-generated Windows Provision component folder |
/com/sun/n1osp/autogen-:[target(..):sys.hostName]-windows (Default) |