The Solaris boot and install server is a JET server. To set up the JET server, you perform the following tasks.
How to Enable TFTP on a Solaris 10 JET Server
If your JET server is running the Solaris 8 or Solaris 9 OS, JET automatically enables the FTP service. If your JET server is running the Solaris 10 OS, you must manually enable the FTP service.
How to Enable NFS Services on a Solaris 10 JET Server
If your JET server is running the Solaris 8 or Solaris 9 OS, JET automatically enables the NFS service. If your JET server is running the Solaris 10 OS, you must manually enable the NFS service.
For JET servers that are running the Solaris 8 or 9 releases, JET automatically enables the TFTP service for your deployments. If your Solaris JET server is running the Solaris 10 OS, you must manually enable TFTP service on your JET server. Follow these steps.
Log in to the Solaris 10 JET server as root.
Type the command svcadm -v enable network/ftp.
The TFTP service is enabled, and starts when the management server is rebooted. After the system is rebooted, you can verify whether the TFTP service has start using the inetadm command:
# inetadm enabled online svc:/network/telnet:default enabled online svc:/network/nfs/server:default disabled disabled svc:/network/echo:dgram disabled disabled svc:/network/time:stream enabled online svc:/network/ftp:default |
Verify that the /etc/hosts file has entries for loopback and the JET server.
Make certain that either of the following loopback entries is in the /etc/hosts file.
127.0.0.1 localhost |
or
127.0.0.1 localhost.localdomain localhost |
Make certain that an entry exists for the JET server and its IP address. For example:
111.11.111.11 jet.domain jet.domain |
where 111.11.111.11 is the IP address of the Solaris 10 JET server, jet is the name of the JET server, and domain is your company domain name.
Your /etc/hosts file should be similar to the following example:
127.0.0.1 localhost.localdomain localhost 10.5.157.123 biss-jet.company.com |
Save and close /etc/hosts.
Reboot the JET server.
For JET servers that are running the Solaris 8 or 9 releases, JET automatically enables the NFS service for your deployments. If your Solaris JET server is running the Solaris 10 OS, you must manually enable NFS service on your JET server. Follow these steps.
Log in to the Solaris 10 JET server as root.
Type the command svcadm -v enable network/nfs/server.
The NFS service is enabled, and starts when the management server is rebooted. After the system is rebooted, you can verify whether the NFS service has start using the svcs command:
# svcs | grep nfs online Apr_08 svc:/network/nfs/cbd:default online Apr_08 svc:/network/nfs/client:default online 14:03:18 svc:/network/nfs/status:default online 14:03:18 svc:/network/nfs/nlockmgr:default online 14:03:18 svc:/network/nfs/server:default online 14:03:18 svc:/network/nfs/mapid:default online 14:03:18 svc:/network/nfs/rquota:default |
Add entries to the /etc/dfs/dfstab file for each file system to be shared.
Add one entry to the file for every file system that you want to be automatically shared. Each entry must be on a line by itself in the file and use this syntax:
share [-F nfs] [-o specific-options] [-d description] pathname |
See the dfstab(4) man page for a description of /etc/dfs/dfstab and the share_nfs(1M) man page for a complete list of options.
Share the file system.
After the entry is in /etc/dfs/dfstab, you can share the file system by either rebooting the system or by using the shareall command.
# shareall |
Verify that the information is correct.
Run the share command to check that the correct options are listed:
# share - /export/share/man ro "" - /usr/src rw=eng "" - /export/ftp ro,public "" |
You can create a JET image server from the N1 SPS browser interface or command-line interface. To create the server from the command line, type a command similar to the following example:
# cr_cli -cmd pe.p.run -u admin -p admin -PID NM:/com/sun/n1osp/untyped/Jet-create \ -tar H:NM:biss1 -comp - -vs solaris8 + -pto 30 -nto 10 |
Substitute the appropriate release value for the solaris8 argument.
To create the server from the browser interface, follow these steps.
Log into the system that is to be the Solaris boot and install server.
If you currently use the JumpStart enterprise toolkit, remove those files.
In the Common Tasks section of the N1 SPS browser interface, select OS Provisioning.
On the OS Provisioning Common Tasks page, click Create in the JET Solaris Image Servers 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 JET component row of the Plan Parameters table.
To create a new variables set, click Select from List in the JET component row of the Plan Parameters table.
Click Create Set.
Type a name for the variables set.
Verify variables and change them, if needed.
The image server component has only a few variables, most of which you are unlikely to change. See Solaris Image Server Component Variables for a list of those variables and their default values.
Save the variables set.
Select the variables set that you just saved from the drop-down menu in the JET component row of the Plan Parameters table.
If you want to use another component's variable settings, click Import Set From Component.
The Import Variable Settings window displays.
If necessary, navigate to the Folder that contains the component with the variable settings you want to import.
Select the component version.
Variable settings can vary between component versions. Ensure that the current components and the component from which you want to import variable settings share common variables. If the component from which you want to import variable settings does not share common variables with the component you want to use in your plan, the variable settings are not imported.
Click Import Variable Settings.
The variables settings are imported, and are displayed in the table.
On the Plan Details Run page, select the variable settings that you imported from the Variable Settings drop-down list, then click Select.
If you want to use component variable settings that are stored in a file, follow these steps.
In the Import Sets from File text field, enter the path to the variable settings file that you want to use.
To browse through the file system to find the appropriate file, click the Browse button.
Click Import.
The variables settings are imported, and are displayed in the table.
If the file from which you want to import variable settings does not share common variables with the component you want to use in your plan, the variable set is not imported.
On the Plan Details Run page, select the variable settings that you imported from the Variable Settings drop-down list, then click Select.
Select the host on which to create the JET image server.
Click Run Plan (includes preflight).
To verify that the JET image server is created successfully, click the Hosts link in the left side of the provisioning server window.
You should see the name of the virtual host appended with -jet. For example, if you installed on host masterserver, the virtual host is masterserver-jet.
If your OS provisioning server is located on the same physical host as the boot and install server, you must configure the interfaces on the system before you provision any target hosts. The OS provisioning server does not automatically configure the interfaces of the boot and install server.
The following variables apply to the image server component.
Table 5–1 Solaris Image Server Component Variables
Variable Name |
Description |
Default Value |
---|---|---|
installPath |
Location to install JET package. |
/opt/SUNWjet |
sps_cli |
Location of N1 SPS command-line interface. |
/opt/SUNWn1sps/N1_Service_Provisioning_System_5.2/cli/bin/cr_cli |
jetHost |
Name to use for the virtual host name. By default, the virtual JET host name is set to the host name of the target host with -jet appended. |
:[target]-jet |
jetFolder |
Folder where you want to store JET-specific information. By default, the JET folder is located in /com/sun/n1osp/autogen-:[jetHost], where :[jetHost] is the virtual JET host name defined in the previous step. |
/com/sun/n1osp/autogen-:[jetHost] |
templatePrefix |
Value to use to identify the OS provisioning JET templates. |
OSP_TEMPLATE_ |
If you have acquired Solaris patches, and the JET Solaris image server can access those patches through NFS, you can import those patches to the JET Solaris image server. You can then add these patches to your provisioning plans.
In the Common Tasks section of the N1 SPS browser interface, select OS Provisioning.
On the OS Provisioning Common Tasks page, click Manage in the JET Solaris Image Servers section.
On the Component Details page, select the checkbox for import_product_patches in the Component Procedures table.
In the import_product_patches row, click Run in the Actions column.
On the Plan Details Run page, select the boot and install server to which you want to import the patches from the Current Installations list.
Click Run Selected Installations.
On the Plan Details Run page, specify the variables to use with this plan.
Specify the architecture of the patches.
In the Media Path field, specify the path to the patches.
Click Run (includes preflight).