HP System Management Homepage 7.0 Installation Guide

NOTE: When HP SMH is installed, the user hpsmh and group hpsmh is automatically added to
the /etc/passwd file. If you are using LDAP or any other network service to manage user and
group accounts, there might be a possibility that the user ID (UID) and the group ID (GID) is already
in use by the LDAP users, which can be confusing. The problem occurs in HP-UX 11i v3 on Integrity
systems.
To overcome this, add a local hpsmh user and group using a unique UID and GID (IDs not in use
by LDAP or the other network services) manually before installing the HP SMH.
1. Determine the available reserved IDs for the group (for example, 130) and the user (for
example, 125).
2. Add the group using the command /usr/sbin/groupadd -g 130 hpsmh.
3. Add the user using the command /usr/sbin/useradd -u 125 -g hpsmh
-d/var/opt/hpsmh \ -c "System Management Homepage" hpsmh.
4. Add the group using the command /usr/sbin/groupadd -g 130 hpsmh.
5. Add the user using the command /usr/sbin/useradd -u 125 -g hpsmh -d
/var/opt/hpsmh \ -c "System Management Homepage" hpsmh.
Configuring HP SMH
The HP SMH configuration is based on environment variables and tags that are set by the following
files:
/opt/hpsmh/lbin/envvars
/opt/hpsmh/conf.common/smhpd.xml
/opt/hpsmh/conf/timeout.conf
CLI smhconfig tool located at /opt/hpsmh/bin
To change the default configuration, you can modify the files to set the value of the variables and
tags described in Table 2 (page 14) table.
Table 2 Variables and tags
ScriptDescriptionVariable
/opt/hpsmh/lbin/envvarsThis variable points to the /opt/
hpsmh/lbin/envvars directory
where JDK is installed.
JAVA_HOME
/opt/hpsmh/conf.common/
smhpd.xml
The <session-timeout> tag defines the
HP SMH session timeout in minutes. If
it is defined, then the HP SMH session
<session-timeout>15</session-timeout>
stops after the time period has elapsed
without any user activity. If it is not
defined, then the default for the HP
SMH session timeout is 15 minutes.
You can define the <session-timeout>
tag using any value between 6 and
120 minutes.
/opt/hpsmh/conf/timeout.confThe TIMEOUT_SMH environment
variable defines the HP SMH server
TIMEOUT_SMH
timeout in minutes. If it is defined and
lower than the HP SMH session
timeout, the HP SMH server stops 3
minutes after the HP SMH session
timeout. If it is defined and greater
than the HP SMH session timeout, then
the HP SMH server stops after the time
period has elapsed without any user
activity. If it is not defined or equal to
zero, then HP SMH starts without
14 Installing HP SMH on an HP-UX operating system