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
Defining custom attributes
This section discusses the following topics:
- Custom attributes for Sun Solaris 10 and 11
- Custom attributes for Linux or VMware ESX
- Custom attributes for Microsoft Windows
- Adding Custom Attributes to OS Installation Profile
In addition to the customization provided by using build customization scripts, each build script uses custom attributes.
The SA Client provides a data management function by allowing users to set custom attributes for servers. These custom attributes include setting miscellaneous parameters and named data values. Users can write scripts that use these parameters and data values when performing a variety of functions, including network and server configuration, notifications, and CRON script configuration.
For OS Provisioning, SA uses custom attributes to pass specific information to each build script to configure the installation process.
You can edit an OS Installation Profile to override the default values used by the build process. You override these default values by setting custom attributes for the OS Installation Profile.
See Adding Custom Attributes to OS Installation Profile for specific steps required to set custom attributes for an OS Installation Profile.
Custom attributes for Sun Solaris 10 and 11
The build script for Solaris OS Provisioning uses a number of custom attributes. Several of these custom attributes correlate with an equivalent setting that would be defined normally by a Solaris sysidcfg
file.
You cannot modify the sysidcfg
file that OS Provisioning uses. However, you can override specific values specified in the default sysidcfg
file. You can set custom attributes for a Solaris OS Installation Profile in the SA Client.
The custom attributes correspond to the equivalent keywords in the sysidcfg
file. See the following table.
Keyword |
Description |
---|---|
|
NFS path to a Flash Archive ( Example Value: nfs://mediaserver.company.com |
|
Solaris kernel parameters. These can be found in Example Value: Values will vary, see your Solaris documentation. |
|
The command the OS Build Agent uses to issue a reboot during Solaris SPARC reprovisioning. The custom attribute value is not the entire command, rather it is the next boot command for the Open Boot PROM. The full command is Example Value: net2:dhcp - install |
|
Sets the encrypted value for the password on an installation client. One way to obtain an encrypted value is by using If a value is not set, the system will not have a root password. Example Value: Field 2 from the |
|
Sets the time zone for the configuration of the installation client (sets TZ in /etc/default/init). The directories and files in the directory /usr/share/lib/zoneinfo provide the valid time zone values. By default, the time zone value is UTC. For example, the time zone value for Pacific Standard Time in the United States is US/Pacific. You can also specify any valid Olson time zone. Example Value: Any value in the |
|
Sets the language for the configuration of the installation client (sets LANG in /etc/default/init). Valid locale values are installed in /usr/lib/locale. If you set this attribute, you should also use the locale keyword in the operating system profile so that the appropriate locale is installed. By default, the value for this keyword is Example Value: " See http://developers.sun.com/dev/gadc/faq/locale.html |
|
No longer supported. |
|
Sets the system’s default NFS version 4 domain name. This value is substituted into /etc/default/nfs next to "NFSMAPID_DOMAIN=. If this value is not set, OS Provisioning suppresses the prompt to confirm the NFS version 4 domain name when the server starts the first time. Example Value: company.com |
|
(Solaris 11) The MRL created by the |
|
(Solaris 11) Specify when you use HTTP repositories. |
|
(Solaris 11) Solaris 11 allows root to be defined as a role in the Presence of this custom attribute will trigger the user creation, even if 'no' value is set. |
|
Specifies the hostname of the machine. |
Custom attributes for Linux or VMware ESX
You can use custom attributes to specify additional arguments to the kernel where the installation is running.
Setting a custom attribute for the OS Installation Profile requires that you edit the OS Installation Profile and select the Custom Attributes tab. The custom attribute must have the name, kernel_arguments
.
The kernel arguments are separated by spaces (like they are when you type them after the boot prompt for the CD-ROM or DVD). For example:
name=value jones=barbi
To have the kernel arguments persist after the base operating system is installed, you must set them in the uploaded configuration file. Setting kernel arguments by using custom attributes only allows you to create a completely automated installation (as if you were installing the operating system from CD-ROM or DVD).
Although custom attributes are provided with a default value, you must ensure that the values are valid for your system before proceeding.
Keyword |
Description |
---|---|
|
Values: A raw device name without " |
|
Values: "rhel30", Note: This custom attribute is used only for reprovisioning. The value of this custom attribute specifies the type of kernel the server boots to during reprovisioning. |
hpsa_netconfig |
Created after using non-DHCP to boot the target server into the Unprovisioned Servers list. |
|
Values: " |
|
Values: MAC address of the NIC Note: This custom attribute is used in the Media Boot Client (MBC) to create a server record. The Server Browser of this device has the following custom attribute:
When powering on and PXE booting a device, you do not need to specify the kickstart device. |
|
Values: Default:
Use for all Linux PXE types (including |
|
Use For example:
For example, to contain a comma delimited set of values the same as the NFS values allowed in |
|
Values: the number of minutes to wait for Linux provisioning to complete before timing out. Default: 30 minutes If Linux provisioning fails because the job takes too long to complete, you can specify a longer timeout period. |
Using the boot_disk Custom Attribute to Specify the Boot Drive
For certain servers you may need to specify the correct boot disk using the boot_disk
custom attribute.
SA uses the values specified with the boot_disk
custom attribute to determine which disk to partition, format, and install the Assisted Installer image on.
Note The device you select must be configured as the first internal boot device in the BIOS.
If the value of the boot_disk
custom attribute is not found to exist on the hardware, SA logs a message and reverts to the original disk selection logic.
Sample ks.cfg File
The boot_disk
custom attribute requires certain modifications to your Kickstart file in order to function properly. The following is a sample ks.cfg
file for use with Red Hat Linux AS 4:
#Red Hat Kickstart Answer File
#Validated for use with Opsware
#This file supports a non-default boot_disk
#VERSION: 1.1 20080804
auth
bootloader --driveorder=@.boot_disk@
clearpart --drives=@.boot_disk@ --initlabel
part / --ondrive=@.boot_disk@ --asprimary --size=500 --grow
part swap --asprimary --size=250 --ondrive=@.boot_disk@
keyboard us
lang en_US.UTF-8
langsupport --default en_US.UTF-8 en_US.UTF-8
reboot #require by OPSW
rootpw password
text
timezone --utc UTC
#Required for opsware
firewall --disabled
%packages
@base
%pre
#OK, the purpose of this is to initialize all partition tables
#If anaconda finds a completely new raw disk or any disk with an #invalid partition table, it goes interactive. This makes sure
#anaconda continues unattended
for D in `sfdisk -l 2>/dev/null | grep "unrecognized partition" | cut -d : -f 1 | tr -d " "|xargs`
do
echo "Found an uninitialized partition table on ${D} according to sfdisk. Adding a new empty partition table"
printf ";\n;\n;\n;\ny\n" | sfdisk --DOS --force "${D}" > /dev/null 2>&1
done
Custom attributes for Microsoft Windows
For a Windows OS Installation Profile, you can set various Windows operating system custom attributes that allow you to replace or insert values inside the unattend.xml file during the operating system installation process. At install-time, the resolved value of the custom attribute is inserted into unattend.xml.
For example, if you do not have AdminPassword=Foo
in your unattend.xml file, but you do have it added as a custom attribute, OS Provisioning will automatically add AdminPassword=CustAtt
rValue
at install time.
For more information on how to add custom attributes, see Adding Custom Attributes to OS Installation Profile.
Refer to Microsoft documentation for syntax and valid values. Unless otherwise noted in the table, there are no default values for these attributes if they are not set.
Keyword |
Corresponding unattend.xml Attribute |
Description |
---|---|---|
|
[GuiUnattended]/AdminPassword |
This option sets the Administrator password for the Admin account. |
AGENT_INSTALL_DELAY |
|
Allows you to introduce a delay after provisioning a system that allows the build scripts to wait before starting to install the agent. Default: 30 seconds |
|
None |
String value that is used to compose the command line arguments for the Agent installer. |
|
|
Used by consoleless to indicate that instead of requiring interactive user confirmation before partitioning the disk, partition the disk automatically. |
|
[UserData]/ComputerName |
This value is not validated by SA. This custom attribute should only be set on the Server, but SA does not prevent you from setting the attribute anywhere. The default value is an SA-generated random string. |
hpsa_netconfig |
None |
Created after using non-DHCP to boot the target server into the Unprovisioned Servers list. |
|
None |
Command to apply legacy image-based provisioning image. This supports traditional imaging tools such as Symantec Ghost™. However, using the built in support for WIM images is strongly encouraged. |
|
None |
Path to a server image file. This supports traditional imaging tools such as Symantec Ghost™. However, using the built in support for WIM images is strongly encouraged. |
|
None |
Share with image file to install. This supports traditional imaging tools such as Symantec Ghost™. However, using the built in support for WIM images is strongly encouraged. |
|
[UserData]/ProductKey |
This value is not validated by SA. |
|
None |
An integer value in minutes that the Windows Setup will timeout. Default is 120 minutes. If Windows setup does not complete in the specified amount of time, the operating system installation fails with a timeout error. |
Adding Custom Attributes to OS Installation Profile
To add custom attributes to an OS Installation Profile in the SA Client, perform the following steps:
- Launch the SA Client using the following method: From Start > All Programs > HPE Server Automation, click HPE Server Automation Client.
- From inside the SA Client, from the Navigation pane, select Library >
OS Installation Profiles. Ensure that you have selected the By Type tab. - Browse to an OS Installation Profile and open it. The OS Installation Profile window is displayed.
- In the OS Installation Profile window, select Custom Attributes from the Views pane.
- In the Content pane, click Add to add a custom attribute.
- In the Name column, double-click a cell in the table and type a custom attribute name.
- In the Value column, double-click a cell in the table and type a custom attribute value.
If you have to enter a longer value, click to open a window and enter the longer value. - To delete a custom attribute, select it and click Delete.
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: