Project

General

Profile

Solaris Unattended installation » History » Version 3

Oliver Weinmann, 12/28/2011 04:23 AM

1 1 Romain Vrignaud
h1. Solaris Unattended installation
2
3
h2. Media notes
4
5
A Solaris distribution should be declared in the same form as a Linux distribution. There should be an http based access URL, (the path variable,) so that the smart-proxy can
6 3 Oliver Weinmann
download the required components for the build. Currently this step has to be done manually. Simply copy the inetboot files to your tftp directory.
7
8
Example:
9
10
<pre>
11
cp Solaris_5.10_sparc_hw0811/Solaris_10/Tools/Boot/platform/sun4u/inetboot /var/lib/tftpboot/Solaris-5.10-hw0811-SUN4U-inetboot
12
</pre>
13
14
As the Solaris jumpstart process is performed via NFS rather than TFTP the distribution media must also be made available for
15 1 Romain Vrignaud
ReadOnly mounting on the clients. The fields describing this alternative access naming scheme are revealed on the Media page when a Solaris operating system is selected. The
16
Solaris build can proceed via a conventional package build, where the packages selected are the SUWNCreq minimal install, or a flash build. The flash archives are located under 
17
the distribution directory by default but can be located anywhere that can be accessed via NFS.
18
19 2 Oliver Weinmann
Example:
20
21
<pre>
22
Name: Solaris Install Media
23
24
Path: http://server/Solaris/install/Solaris_$major.$minor_$arch_$release
25
Media Path: server:/Solaris/install/Solaris_$major.$minor_$arch_$release
26
Config Path: server:Solaris/jumpstart
27
Image Path: server:/Solaris/images
28
</pre>
29
30 1 Romain Vrignaud
h2. jumpstart files
31
32
The Solaris jumpstart process is occurs in two phases; a diskless client is first booted and then in phase two, the host mounts its build media and configuration files from an NFS location and proceeds with the build. Foreman provides a skeleton configuration directory structure suitable for NFS mounting on the host. In this structure are files that are customised to forward configuration requests to the Foreman instance. This directory tree, located at .../foreman/extra/jumpstart, should be NFS shared to the subnet that contains any potential Solaris clients. Some customization of this directory tree may be required. See [[Solaris_jumpstart_directory]]
33
34
h2. Model consolidation
35
36
When Foreman imports a host that has not been configured and built by Foremen it will attempt to determine the model of that machine by analyzing the facts that are associated with the host. This can often result in many badly named models all referring to what should be a single manufacturers model. A rake task has been provided that attempts to consolidate all these duplicate malformed names into a single sensible model together with the appropriate Solaris vendor class and Solaris hardware model. See [[models_consolidate|rake models::consolidate]]