HP Integrity rx5670 HP System Management Homepage Installation Guide - Page 37

Configuring HP SMH

Page 37 highlights

If perform an initial installation of HP SMH 3.x, the /preserve command preserves the pre-3.x settings. If an HP SMH 2.x installation is present, you must enter setup.exe /s /reinst /preserve /f1-full_path_to_setup.iss . If you do not include /preserve, the setup.iss is applied. Configuring HP SMH The HP SMH configuration is based on environment variables and tags that are set by SystemDrive\hp\hpsmh\smhpd.xml file. To change the default configuration, you can modify the XML file to properly set the value of the tags. There are three ways to modify the XML file: • Editing the XML file with a text editor application • Using the CLI smhconfig.exe tool located at SystemDrive\hp\hsmh\bin • Using HP SMH interface through a browser NOTE: Not all configurations can be accomplished using a browser. Table 5-1 Environment variables and tags Variable 15 20 N path value Description Script The tag defines the HP SMH session timeout in minutes. If it is defined, then the HP SMH session 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 tag using any value between 1 and 60 minutes. SystemDrive:\hp\hpsmh\conf\smhpd.xml The tag defines the HP SMH GUI timeout in seconds. If it is defined, then HP SMH limits the loading time of the webapps. If it is not defined, then the default for the HP SMH GUI timeout is 20 seconds. You can define the tag using any value between 10 and 3600 seconds. SystemDrive:\hp\hpsmh\conf\smhpd.xml The tag defines the HP SMH Rotate Logs file size. To change the Rotate Logs file size, edit the configuration file smhpd.xml. You can define the tag using any value between 1 and 9, which represents the log size in megabytes. SystemDrive:\hp\hpsmh\conf\smhpd.xml The log-base-dir tag defines the path for Error_log and Access_log. By default, Error_log and Access_log are located in SystemDrive:\hp\hpsmh\logs (/var/spool/opt/hp/hpsmh/logs in Linux) folder. You can change the path by giving the required path in the tag and creating the logs folder under that path. SystemDrive:\hp\hpsmh\conf\smhpd.xml (/opt/hp/hpsmh/conf/smhpd.xml in Linux). The max-threads tag configures the number of threads used by Apache using the smhpd.xml file. • Default value - Windows: 250 • Max value - Windows: 512 • Min value - Windows: 64 Note: Max-thread is applicable only in the Windows environment. Configuring HP SMH 37

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69

If perform an initial installation of HP SMH 3.x, the
/preserve
command preserves the pre-3.x settings.
If an HP SMH 2.x installation is present, you must enter
setup.exe /s /reinst /preserve
/f1-
full_path_to_setup.iss
. If you do not include
/preserve
, the
setup.iss
is applied.
Configuring HP SMH
The HP SMH configuration is based on environment variables and tags that are set by
SystemDrive
\hp\hpsmh\smhpd.xml
file. To change the default configuration, you can modify the XML
file to properly set the value of the tags. There are three ways to modify the XML file:
Editing the XML file with a text editor application
Using the CLI smhconfig.exe tool located at
SystemDrive
\hp\hsmh\bin
Using HP SMH interface through a browser
NOTE:
Not all configurations can be accomplished using a browser.
Table 5-1 Environment variables and tags
Script
Description
Variable
SystemDrive
:\hp\hpsmh\conf\smhpd.xml
The <session-timeout> tag defines the HP
SMH session timeout in minutes. If it is
defined, then the HP SMH session 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 1 and 60 minutes.
<session-timeout>15</session-timeout>
SystemDrive
:\hp\hpsmh\conf\smhpd.xml
The <ui-timeout> tag defines the HP SMH
GUI timeout in seconds. If it is defined, then
HP SMH limits the loading time of the
webapps. If it is not defined, then the
default for the HP SMH GUI timeout is 20
seconds. You can define the <ui-timeout>
tag using any value between 10 and 3600
seconds.
<ui-timeout>20</ui-timeout>
SystemDrive
:\hp\hpsmh\conf\smhpd.xml
The <rotate-logs-size> tag defines the HP
SMH Rotate Logs file size. To change the
Rotate Logs file size, edit the configuration
file smhpd.xml. You can define the
<rotate-logs-size> tag using any value
between 1 and 9, which represents the log
size in megabytes.
<rotate-logs-size>N</rotate-logs-size>
SystemDrive
:\hp\hpsmh\conf\smhpd.xml
(/opt/hp/hpsmh/conf/smhpd.xml
in
Linux).
The log-base-dir tag defines the path for
Error_log and Access_log. By default,
Error_log and Access_log are located in
SystemDrive
:\hp\hpsmh\logs
(/var/spool/opt/hp/hpsmh/logs
in Linux)
folder. You can change the
path by giving the required path in the tag
and creating the logs folder under that
path.
<log-base-dir>path</log-base-dir>
The max-threads tag configures the number
of threads used by Apache using the
smhpd.xml file.
Default value - Windows: 250
Max value - Windows: 512
Min value - Windows: 64
Note:
Max-thread is applicable only in the
Windows environment.
<max-threads>value</max-threads>
Configuring HP SMH
37