Previous Topic

Next Topic

Scripted installation

You can perform a scripted installation with the LDU using the --inputfile parameter. The syntax for this command is:

./install???.sh --inputfile test.in

In this example, the test.in file is the input file used to drive the scripted installation.

The format of the input file is:

parm=value

The following table lists the parameters supported by the input file.

Parameter

Description

LSPOPTIONS

This parameter enables you to pass normal command line options (such as --silent, --nui,--reboot, and so on) as input to the LDU.

LOGFILENAME

This parameter enables you to set the name of the log file generated by the LDU to something other than the default of /var/log/hppldu.log. The path must already exist or the log file will remain the default file name.

HPHTTPSERVEROVERWRITE

(Obsolete—Not used in Linux PSP 7.20 or later)

This parameter sets the HTTP server passwords. Accepted values are:

  • Yes—Replaces existing HTTP server passwords with the newly supplied passwords
  • No—Retains the existing passwords

HPHTTPSERVERADMINPASSWD

(Obsolete—Not used in Linux PSP 7.20 or later)

This parameter enables you to specify a password for the default System Management Administrator. There is no default value for this parameter. If the password is not already configured, the web agent does not allow access through a web browser.

HPHTTPSERVEROPERATORPASSWD

(Obsolete—Not used in Linux PSP 7.20 or later)

This parameter enables you to specify a password for the System Management Operator. There is no default value for this parameter. If the password is not already configured, the web agent does not allow access through a web browser.

HPHTTPSERVERUSERPASSWD

(Obsolete—Not used in Linux PSP 7.20 or later)

This parameter enables you to specify a password for the System Management User. There is no default value for this parameter. If the password is not already configured, the web agent does not allow access through a web browser.

CMALOCALHOSTRWCOMMSTR

This parameter enables you to specify an SNMP read/write community string for local host access.

CMALOCALHOSTROCOMMSTR

This parameter enables you to specify an SNMP read-only community string for local host access.

CMAMGMTSTATIONRWIPORDNS

This parameter enables you to specify the IP address or DNS host name of a system with read/write access to serve as a management station. You can specify multiple locations separated by a space.

CMAMGMTSTATIONRWCOMMSTR

This parameter enables you to specify an SNMP read/write community string for a system with read/write access that serves as a management station. You can specify multiple strings separated by a space.

CMAMGMTSTATIONROIPORDNS

This parameter enables you to specify the IP address or DNS host name of a system with read-only access to serve as a management station. You can specify multiple locations separated by a space.

CMAMGMTSTATIONROCOMMSTR

This parameter enables you to specify an SNMP read/write community string for a system with read-only access that serves as a management station. You can specify multiple strings separated by a space.

CMADEFTRAPCOMMSTR

This parameter enables you to set a default SNMP community string for traps.

CMATRAPDESTINATIONCOMMSTR

This parameter enables you to specify the SNMP destination trap community string.

CMATRAPDESTINATIONIPORDNS

This parameter enables you to specify the IP address or DNS host name of a server as a destination for SNMP traps, such as Systems Insight Manager.

CMASYSCONTACT

This parameter enables you to specify a person or phone number for administration of this system.

CMASYSLOCATION

This parameter enables you to designate the location of this system.

CMASTARTWEBAGENT

This parameter determines whether the HP Insight Systems Manager web agent is started when the health application loads. Accepted values are:

  • Yes—Start the web agent
  • No—Do not start the web agent

CMASTARTSTORAGEAGENT

This parameter determines whether the HP Insight Systems Manager storage agent is started when the health application loads. Accepted values are:

  • Yes—Start the storage agent
  • No—Do not start the storage agent

CMANOTAINTEDKERNEL

This parameter determines whether the HP Lights-Out management driver is started when the health application loads. Accepted values are:

  • Yes—Start the HP Lights-Out management driver
  • No—Do not start the HP Lights-Out management driver

HPVCAVCRMSERVER

This parameter informs the VCA of the name of the VCRM to use as a software distribution repository.

HPVCAVCRMLOGINID

This parameter is the login ID that the VCA uses to communicate with the VCRM.

HPVCAVCRMLOGINPASSWD

This parameter is the password for the login ID specified in the HPVCAVCRMLOGINID parameter.

ADMIN-GROUP

This parameter is used by the HP Systems Management Homepage (hpsmh) to set up security for the web server. The parameter is a list of up to five Linux groups, separated by spaces or semicolons, to enable administrative access to the web server.

USER-GROUP

This parameter is used by the HP Systems Management Homepage to set up security for the web server. The parameter is a list of up to five Linux groups, separated by spaces or semicolons, to enable user-level access to the web services.

OPERATOR-GROUP

This parameter is used by the HP Systems Management Homepage to set up security for the web server. The parameter is a list of up to five Linux groups, separated by spaces or semicolons, to enable operator-level access to the web services.

ANONYMOUS-ACCESS

This parameter determines whether an anonymous user can access the HP Systems Management Homepage. Accepted values are "yes" and "no." The default value is "no."

IP-BINDING

This parameter is used by the HP Systems Management Homepage to determine whether hpsmh can use all available NICs and detected subnets for its web services. Accepted values are "yes" and "no." The default value is "no."

IP-BINDING-LIST

This parameter is used by the HP Systems Management Homepage to restrict the NICs and subnets to use for its web services. The IP-BINDING parameter must be set to "yes" for this parameter to be used during installation. The list format is a list of IP address/NetMask pairs separated by semicolons (for example, 10.1.1.1/255.255.255.0; 10.2.2.2/255.255.255.0).

IP-RESTRICTED-LOGINS

This parameter is used by the HP Systems Management Homepage to restrict login access. The accepted values are "yes" and "no." The default value is "no." To enable restrictions on who can log in to the web server, this parameter must be set to "yes," and values must be provided to the IP-RESTRICTED-EXCLUDE or IP-RESTRICTED-INCLUDE parameters.

IP-RESTRICTED-EXCLUDE

This parameter is used by the HP Systems Management Homepage to exclude specific IP address/NetMask pairs from logging into the web services. The format of this parameter is a list of IP address ranges separated by semicolons (for example, 10.1.1.1-10.1.1.10; 10.2.2.2-10.2.2.10). This parameter is ignored unless the IP-RESTRICTED-LOGINS parameter is set to "yes."

IP-RESTRICTED-INCLUDE

This parameter is used by the HP Systems Management Homepage to enable login only from the IP address/NetMask pairs specified. The format of this parameter is a list of IP address ranges separated by semicolons (for example, 10.1.1.1-10.1.1.10; 10.2.2.2-10.2.2.10). This parameter is ignored unless the IP-RESTRICTED-LOGINS parameter is set to "yes."

LOCALACCESS-ENABLED

This parameter is used by the HP Systems Management Homepage to determine whether to enable local anonymous access to the web services. Accepted values are "yes" and "no." The default value is "yes" to enable anonymous access.

LOCALACCESS-TYPE

This parameter is used by the HP Systems Management Homepage to determine the type of access granted to local users. Accepted values are "Anonymous" and "Administrator." The default value is "Anonymous."

CAUTION: Selecting local access with administrator privileges as the login provides full access to any user with access to the local console, without prompting for a user name or password.

TRUSTMODE

This parameter is used by the HP Systems Management Homepage to set up the trust relationship mode. Accepted values are

  • TrustByCert—If this value is used, the CERTLIST parameter must be defined to enable access to the server.
  • TrustByName—If this value is used, the XENAMELIST parameter must be defined.
  • TrustByAll—HP does not recommend using this value because of possible negative security consequences.

    The accepted values are case-sensitive and must be capitalized as shown. Failure to do so prevents the trust relationship from being set up properly during installation and might affect access to the web server.

CERTLIST

This parameter enables a user to provide a list of certificate files or servers where certificates can be obtained for trust relationships for the HP Systems Management Homepage. This parameter is only valid if the TRUSTMODE parameter is set to TrustByCert.

XENAMELIST

This parameter enables a user to provide a list of servers, separated by semicolons, for trust relationships for the HP Systems Management Homepage. This parameter is only valid if the TRUSTMODE parameter is set to TrustByName.

HPQLA2X00FO

This parameter is used by the hp_qla2x00 Qlogic Fibre Channel Driver to determine the failover mode to use. Accepted values are "SinglePath," "SecurePath," and "QLogicFailover." There is no default value.

HPQLA2X00FORCE

This parameter is used by the hp_qla2x00 QLogic Fibre Channel Driver to determine whether to skip detection of third-party storage. Accepted values are "Y" or "N." The default value is "N."

The following is an example of an input file.

#ProLiant Linux Deployment Utility options

LOGFILENAME=/var/log/temp.log

LSPOPTIONS=-v -f -r -t 5 -m "This system will reboot in 5 minutes"

#If configuring the SNMP component for the HPASM driver,

#the following parameters depict a sample entry.

HPHTTPSERVEROVERWRITE=no

CMALOCALHOSTRWCOMMSTR=private

CMALOCALHOSTROCOMMSTR=public

CMAMGMTSTATIONRWIPORDNS="192.133.17.4 dopey.domain.net"

CMAMGMTSTATIONRWCOMMSTR="first second"

CMASYSCONTACT="John Doe - Ext 1234"

CMASYSLOCATION="Bldg 5-Room 104C"

CMANOTAINTEDKERNEL=YES

CMASTARTSTORAGEAGENT=yes

CMASTARTWEBAGENT=yes

#These parameters are used by the HP Version Control

#Agent so that a connection can be made to the HP

#Version Control Repository Manager (VCRM).

HPVCAVCRMSERVER=test.hp.com

HPVCAVCRMLOGINID=myuserid

HPVCAVCRMLOGINPASSWD=myuseridpassword

#These parameters are used by the HP Systems Management

#Homepage to setup security and configuration for the

#web server used by most HP agents and value-add

#software

#Allow the hpsmh Linux group access to administrator

#services

ADMIN-GROUP="hpsmh"

#Allow the hpsmh Linux group access to operator

#services

OPERATOR-GROUP="hpsmh"

#Allow the hpsmh and the TapeBackupGroup Linux groups

#access to user services

USER-GROUP="hpsmh";"TapeBackupGroup"

ANONYMOUS-ACCESS="NO"

#Allow all adapters to be used by the web server

IP-BINDING="YES"

IP-BINDING-LIST=""

#Allow restrictions on who can login to the web server

#by setting IP-RESTRICTED-LOGINS to NO

IP-RESTRICTED-LOGINS="NO"

#We don't want 10.1.1.1 to have access to this server

IP-RESTRICTED-EXCLUDE="10.1.1.1"

#We want 10.1.1.2 through 10.1.1.10 to have access to

#this server

IP-RESTRICTED-INCLUDE=10.1.1.2-10.1.1.10

#We don't want anonymous local access to the web server

LOCALACCESS-ENABLED=NO

#We want people to login locally to get access to the

#web services

LOCALACCESS-TYPE="Anonymous"

#TRUSTMODE set to TrustByName, so we provide a list of

#servers. If we had set TrustByCert, we would have

#filled in the CERTLIST parameter. If we selected

#TrustByAll, we do not have to place values in either

#the XENAMELIST or CERTLIST parameters.

TRUSTMODE="TrustByName"

CERTLIST=""

XENAMELIST="SERVER1";"SERVER2";"SERVER101"

#The following parameters are used to configure the

#hp_qla2x00 HP QLogic Fibre Channel QL2xxx Adapter.

HPQLA2X00FO=SinglePath

HPQLA2X00FORCE=N