Administrator's Guide HP Session Allocation Manager (SAM) v.2.1

Table Of Contents
Create the HP SAM Registration Service Configuration File
The HP SAM registration service configuration file is an INI text file named hpevent.cfg. The HP SAM
registration service tries to locate the configuration file in the order of locations listed below. Once the
service locates the file, the service stops the search and extracts the contents.
In the same directory in which the service resides (usually C:\Program Files\Hewlett-Packard\HP
PC Session Allocation Manager Registration Service\)
In %SystemRoot% (usually c:\windows\)
In %SystemDrive% (usually c:\)
Refer to the following sample template. You must update the [WebServerList] section. The [RolesList]
section is optional. If the [RolesList] section is not populated, it is shown in the HP SAM administrator
console as unassigned.
[hpEventCfg]
Gateway=WebServerList
Role=RolesList
;ServicePort=47777
[WebServerList]
server1.yourdomain
server2.yourdomain
[RolesList]
sample-role-1
sample-role-2
[WebServerList]
The [WebServerList] section lists one or more HP SAM Web servers. Each HP SAM Web server (primary
and failover) is listed, one per line. The service uses this list in the order provided. The first HP SAM
Web server in the list is the one tried first; if it fails, the service proceeds to try the remaining HP SAM
Web servers in order. If a successful connection is established, the remaining HP SAM Web servers
are not used.
To modify the server line, change just the server1.yourdomain string to the appropriate server name
(use Web server DNS name or static IP address). For example:
HPSAMservername
10.1.2.3
[RolesList]
NOTE: Beginning in HP SAM 2.0, assigning roles in the CFG file is optional.
The [RolesList] section lists zero or more roles to which the computing resource can belong. A role is a
functional collection of computing resources (such as blade PCs). The first role in the list is the computing
resource’s primary role. All other roles, if any, are considered non-primary.
Install and Validate the HP SAM Registration Service Software 15