Sun N1 System Manager 1.3 Operating System Provisioning Guide

ProcedureTo Copy an OS Distribution From CDs or a DVD

This procedure describes how to copy an OS distribution to the management server from CDs or a DVD by using the command line.


Note –

The N1 System Manager does not support the copying of Solaris OS CDs and CD ISO files. You must copy a Solaris DVD or DVD ISO file.


When copying an OS distribution from multiple installation CDs, you must run the create os command multiple times. For example, if you are copying an OS distribution that is provided on two CDs, you must insert the first CD, run the create os command, and wait for the job to complete. Once the first job completes, you must insert the second CD, run the create os command again, and wait for the job to complete. The OS distribution is successfully copied when the second job completes.

When copying a SUSE Linux Enterprise Server 9 Service Pack distribution, you must run the create os command multiple times. First, copy the SLES 9 base distribution. When that job finishes, you can then copy the SLES 9 Service Pack distribution. A default OS profile is automatically created for each newly created OS distribution, with the same name as the OS distribution.

The default profile is provided as an example. Most of the time, you will have to update the default profile to match your hardware or it may be easier to just create a new profile. Use the show osprofile osprofile-name command to see the configuration of an OS profile. The same OS profile name should be used when adding the Service Pack distribution.


Note –

After a distribution is copied, an OS profile of the same name is created by default. This profile appears in the OS Profiles list in the Task Shortcuts pane of the browser interface or by typing show osprofile all at the N1–ok> prompt.


Before You Begin

Move any file systems off the /mnt mount point.

Steps
  1. Insert Disk 1 and type the following command:


    N1-ok> create os os-name cdrom cdrom
    

    A Create OS Distribution job is started. Note the job ID. When the job completes, insert the next disk. See create os in Sun N1 System Manager 1.3 Command Line Reference Manual for details.


    Note –

    You are not prompted to insert the next disk, so you must track the Create OS Distribution job completion and the disk number for your OS. When the job completes, an event is generated.


  2. Insert Disk 2 and type the following command:


    N1-ok> create os os-name cdrom cdrom
    
  3. Continue with additional disks if needed.

  4. When the final Create OS Distribution job completes, type the following command:


    N1-ok> show os os-name
    

    The new OS distribution appears in the output.

Troubleshooting

OS Distribution Creation Fails with a Copying Files Error in Sun N1 System Manager 1.3 Troubleshooting Guide

Next Steps

To find out how to load the OS distribution by using an profile, see To Load an OS Profile on a Server or a Server Group.