Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- OS sequence-based provisioning
- OS provisioning components
- Build customization scripts
- How the OS Build Agent locates the Build Manager
- Provisioning setup for OS sequences
- OS Provisioning setup task summary
- Setting up the Media Server
- Creating MRLs
- Media Resource Locator Administration
- Multipath SAN support for OS provisioning
- Configuring RAID on HPE ProLiant servers before OS provisioning
- Defining installation profiles and OS sequences
- OS installation profile requirements
- Oracle Solaris/Sun SPARC 10 installation profile requirements
- Red Hat Linux installation profile requirements
- VMware ESX installation profile requirements
- SUSE Linux installation profile requirements
- Microsoft Windows installation profile requirements
- Defining and managing OS installation profiles
- Modifying existing OS installation profiles
- Changing the properties of OS installation profiles
- Modifying OS installation profile packages
- Viewing the change history for an OS installation profile
- Deleting an OS installation profile
- Build customization scripts
- Solaris build customization scripts
- Linux build customization scripts
- Windows build customization scripts
- Defining custom attributes
- Creating OS sequences
- Manage Boot Clients
- Using the Manage Boot Clients option
- Running an MBC APX
- Booting a Red Hat Enterprise Linux server in a non-DHCP environment
- Booting a Red Hat Enterprise Linux Itanium 64-bit server in a non-DHCP environment using Elilo boot
- Booting a Windows Server in a non-DHCP environment
- DHCP Custom Attribute
Solaris build customization scripts
This section describes creating build customization scripts for Sun Solaris.
- Sun Solaris build process
- Requirements for Solaris build customization scripts
- Solaris provisioning from a boot server on a Red Hat/SLES 10 Linux server
- Creating a Solaris build customization script
- Sample Solaris build customization script
Sun Solaris build process
It is important to understand the Solaris build process before you include a build customization script for a Solaris installation profile. The following details the exact steps that occur when you provision an installation client with Solaris.
A user initiates the build process with Steps 1 and 5. The rest of the build process steps occur automatically in OS Provisioning.
Phase |
Build Process Steps |
---|---|
Pre-installation |
|
Phase One |
|
Phase Two |
|
See "Audit and compliance" in the SA 10.51
Requirements for Solaris build customization scripts
Build customization script for Solaris must meet the following requirements:
- You must create the script as a Bourne shell script and name it
run
. - You must include the
run
script in an archive file intar.Z
format and include the script at the top level of the archive. During OS Provisioning, thetar.Z
archive is unpacked on the installation client and the script is processed by/sbin/sh
. - You must be sure that the
run
script is unpacked in its own directory with the other files in the archive. This directory serves as the current working directory when therun
script is invoked. Based on this fact, correctly refer to the other files in the archive. For example, unpacking and invoking therun
script follows this general process:mkdir /var/tmp/inst_hook
cd /var/tmp/inst_hook
zcat hook.tar.Z | tar xf -
/sbin/sh run <stage>
- You must create a script that cannot cause the installation client to drop its network connection (for example, do not use the script to reboot the installation client or reconfigure the active network interface). If the installation client drops its network connection, the OS Provisioning process will fail.
- You must create the
run
script so that it exits normally. If the script exits with a non-zero value, the OS Provisioning process will end. However, the JumpStart process will continue when a pre-installation hook fails (exits with a non-zero value). When creating the run script, you should ensure that the JumpStart process does not continue when a pre-installation hook fails.The
run
script should not take an exceptionally long time to complete, otherwise the OS Provisioning process might time out.Solaris provisioning from a boot server on a Red Hat/SLES 10 Linux server
If you must provision a Solaris server and the Boot Server is hosted on a Red Hat Enterprise Linux or Suse Linux Enterprise 10 server, you must disable NFS v3 on the Boot Server. If the Boot Server is on a Solaris server, do not perform this action.
Disabling NFS v3 or NFS v4
To disable NFS v3, perform the following steps:
- On the Boot Server host, create the following file:
/etc/sysconfig/nfs
- In the newly created
nfs
file, add the following line:MOUNTD_NFS_V3=no
- Restart NFS:
/etc/init.d/nfs stop
/etc/init.d/nfs start
To disable NFS v4 on a Red Hat Linux Boot Server host, perform the following steps:
- On the Boot Server host, create the following file:
/etc/sysconfig/nfs
- In the newly created
nfs
file, add the following lines:MOUNTD_NFS_V3=no
MOUNTD_NFS_V2=yes
RPCNFSDARGS='--no-nfs-version 4
- Restart NFS:
/etc/init.d/nfs stop
/etc/init.d/nfs start
To disable NFS v4 on an SLES 10 Boot Server host:
- On the Boot Server host, create the following file:
/etc/sysconfig/nfs
- In the newly created
nfs
file, add the following line:NFS4_SUPPORT="no"
- Restart NFS:
/etc/init.d/nfsserver stop
/etc/init.d/nfsserver start
- On the Boot Server host, create the following file:
Creating a Solaris build customization script
You can customize a Solaris installation at multiple points using a build customization script. The following list shows these points:
- Pre-JumpStart: A pre-installation hook for the first stage.
During Phase One, the build customization script runs in the JumpStart environment. The script can use all the standard JumpStart environment variables, such as
SI_PROFILE
. All the environment variables associated with the standard JumpStart probe keywords and values are set (for example,SI_DISKLIST
,SI_HOSTADDRESS
, andSI_MEMSIZE
).When the
run
script is invoked at the Pre-JumpStart point, it can perform any actions that a JumpStartbegin
script would perform. For example, the script could modify the downloaded profile before the operating system installation begins. At this point, the Solaris profile is downloaded from OS Provisioning, but the profile has not been passed to the JumpStart server.For the complete list of the environment variables, see the Solaris 9 Installation Guide.
- Post-JumpStart: A post-installation hook for the first stage.
When the
run
script is invoked at the Post-JumpStart point, it can perform any actions that a JumpStartfinish
script would perform. One example would be to set customeeprom
settings. The installation client’s file systems are available for modification at this point and are mounted on the/a
partition for thefinish
script environment. - Pre-Agent: A pre-installation hook for the second stage.
- Post-Agent: A post-installation hook for the second stage.
During Phase Two, the
run
script is executed after the installation client has rebooted. This is the point when the system is up and running in multi-user mode with most services started.The last 4K of output produced by the build customization script (
stdout
andstderr
) appears in the SA Client output details of the run job window.
Sample Solaris build customization script
#!/sbin/sh
pre_jumpstart() {
#
# strip any partitioning information out of profile, and
# replace it with keywords to use default partitioning, but
# to size swap equal to the amount of physical RAM
#
cat $SI_PROFILE | grep -v partitioning | grep -v filesys > /tmp/profile.$$
echo "partitioning default" >> /tmp/profile.$$
echo "filesys any $SI_MEMSIZE swap" >> /tmp/profile.$$
cp /tmp/profile.$$ $SI_PROFILE
rm -f /tmp/profile.$$
}
post_jumpstart() {
#
# set local-mac-address eeprom setting
#
eeprom 'local-mac-address?=true'
}
pre_agent() {
: # do nothing
}
post_agent() {
: # do nothing
}
case "$1" in
Pre-JumpStart) pre_jumpstart ;;
Post-JumpStart) post_jumpstart ;;
Pre-Agent) pre_agent ;;
Post-Agent) post_agent ;;
esac
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to hpe_sa_docs@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: