Sun N1 System Manager 1.3 Operating System Provisioning Guide

ProcedureTo Load a Windows OS Profile

The following procedure describes how to load an OS profile from the command line interface. To load an OS profile from the System Dashboard in the browser interface, drag an OS profile name from the Task Shortcuts pane onto a server name in the All Servers table, or select a server and choose the Load OS Profile action.


Caution – Caution –

You cannot uninstall an OS profile. However, you may reprovision a server by loading an OS profile on a server that has already been provisioned. Installation options that are set in the wizard are not maintained by the N1 System Manager.


Before You Begin
Steps
  1. To load a Windows OS profile onto a managed server, use the load server command.


    load server server[,server...] osprofile osprofile networktype networktype [ip ip] 
    [windows-installation-attributes]

    Use the following attributes for a Windows installation:

    • gateway gateway A gateway assigned to the installed server.

    • manualnetboot manualnetboot Specify whether to enable manual netboot. Enabling manual netboot allows you to control the netboot process, which is required as part of the bootstrapping process to provision an OS on a server. A manual netboot is required for OS-based or manually discovered servers, because the N1 System Manager is not able to automatically netboot these systems. Valid values are true and false (default).

    • netmask netmask A netmask assigned to the installed server.

    • productkey productkey Use this product key value instead of the value specified in the OS profile.


    Tip –

    To load the OS profile onto a group of managed servers, use the load group command.


  2. (Optional) If you enabled manual netboot when you loaded the OS profile, boot the managed server manually.

    After the Load OS job completes, the server is available for login.


Example 3–4 Loading a Windows OS Profile on a Server Using DHCP

The following example loads an OS profile that contains a Windows 2003 Enterprise Edition distribution onto a managed server.


N1-ok> load server 10.5.130.32 osprofile win2003EE bootip=192.168.0.20 \
networktype=dhcp productkey=?

The following example shows the status of the job:


N1-ok> show job 11
Job ID:   11
Date:     2006-03-16T13:29:30-0800
Type:     Load OS
Status:   Completed (2006-03-16T14:07:27-0800)
Command:  load server 10.5.130.32 osprofile win2003EE bootip=192.168.0.20 networktype=dhcp productkey=?
Owner:    root
Errors:   0
Warnings: 0

Steps
ID     Type             Start                      Completion                 Result         
1      Acquire Host     2006-03-16T13:29:31-0800   2006-03-16T13:29:31-0800   Completed      
2      Execute Java     2006-03-16T13:29:31-0800   2006-03-16T13:29:31-0800   Completed      
3      Acquire Host     2006-03-16T13:29:33-0800   2006-03-16T13:29:33-0800   Completed      
4      Execute Java     2006-03-16T13:29:33-0800   2006-03-16T14:07:26-0800   Completed      

Results
Result 1: 
Server:   10.5.130.32
Status:   0
Message:  OS deployment using OS Profile win2003EE was successful.


Example 3–5 Loading a Windows OS Profile on a Server Using a Static IP Address

The following example shows a command to load the Windows 2003 Enterprise Edition onto a single server with a static IP address.


N1-ok> load server 10.5.130.32 osprofile win2003EE bootip=192.168.0.70 networktype=static ip=192.168.0.70
Job "27" started.

The following example shows the output of the job started above. The message at the end of the job indicates that the job was successful and that a static IP address was assigned as requested.


N1-ok> show job 27
Job ID:   27
Date:     2006-03-21T13:50:20-0800
Type:     Load OS
Status:   Completed (2006-03-21T14:28:20-0800)
Command:  load server 10.5.130.32 osprofile win2003EE bootip=192.168.0.70 networktype=static ip=192.168.0.70
Owner:    root
Errors:   0
Warnings: 0

Steps
ID     Type             Start                      Completion                 Result         
1      Acquire Host     2006-03-21T13:50:22-0800   2006-03-21T13:50:22-0800   Completed      
2      Execute Java     2006-03-21T13:50:22-0800   2006-03-21T13:50:22-0800   Completed      
3      Acquire Host     2006-03-21T13:50:24-0800   2006-03-21T13:50:24-0800   Completed      
4      Execute Java     2006-03-21T13:50:24-0800   2006-03-21T14:28:19-0800   Completed      

Results
Result 1: 
Server:   10.5.130.32
Status:   0
Message:  OS deployment using OS Profile win2003EE was successful.  IP address 192.168.0.70 was assigned.
N1-ok>