This procedure describes how to copy an OS distribution to the management server from a set of ISO files by using the command line.
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.
Download the set of ISO files to a directory that the management server can access or network mount.
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.
Move any file systems off the /mnt mount point.
Log in to the N1 System Manager.
See To Access the N1 System Manager Command Line in Sun N1 System Manager 1.3 Discovery and Administration Guide for details.
Type the following command:
N1-ok> create os os-name file file[,file...] |
The file identifies the absolute full path name to the file.
See create os in Sun N1 System Manager 1.3 Command Line Reference Manual for details.
Verify that the OS distribution was copied.
N1-ok> show os all |
The OS distribution appears in the output.
The following example shows how to create an OS distribution for Solaris 10 from a single Solaris DVD ISO file.
N1-ok> create os solaris_ver10 file /tmp/solaris_10_dvd.iso Job "7" started. |
The following example shows how to create an OS distribution for Red Hat Linux from several ISO files. This command must be typed as a single line.
N1-ok> create os RHEL30 file /os/RHEL3/RHEL3AS-U3-re1215.RC1.0-i386-disc1.iso, /os/RHEL3/RHEL3AS-U3-re1215.RC1.0-i386-disc2.iso, /os/RHEL3/RHEL3AS-U3-re1215.RC1.0-i386-disc3.iso, /os/RHEL3/RHEL3AS-U3-re1215.RC1.0-i386-disc4.iso |
To find out how to load the OS distribution, see To Load an OS Profile on a Server or a Server Group.