HP BladeSystem bc2800 Administrator's Guide HP Session Allocation Manager (HP - Page 39

Create the HP SAM Registration Service Configuration File, [WebServerList]

Page 39 highlights

Create the HP SAM Registration Service Configuration File The HP SAM registration service configuration file is a simple text file named hpevent.cfg. The HP SAM registration service tries to locate the configuration file in the order of locations listed below. ● In the same directory in which the service resides (usually C:\Program Files\Hewlett-Packard\HP SAM Registration Service) ● In %SystemRoot% (usually c:\windows\) ● In %SystemDrive% (usually c:\) ● Linux-In /opt/hpsamd/ Once the service locates the file, the service stops the search and extracts the contents. 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 with no role. Roles can be assigned using the Web Administrator console. [hpEventCfg] Gateway=WebServerList Role=RolesList AssetGroup=AssetGroupList ;ServicePort=47777 ;DnsDomain=ExampleDomain.com [WebServerList] server1.yourdomain server2.yourdomain [RolesList] sample-role-1 sample-role-2 [AssetGroupList] sample-asset-group-1 sample-asset-group-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. ENWW Install and Validate the HP SAM Registration Service Software 31

  • 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
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104

Create the HP SAM Registration Service Configuration File
The HP SAM registration service configuration file is a simple text file named hpevent.cfg. The HP SAM
registration service tries to locate the configuration file in the order of locations listed below.
In the same directory in which the service resides (usually
C:\Program Files\Hewlett-Packard\HP
SAM Registration Service
)
In
%SystemRoot%
(usually c:\windows\)
In
%SystemDrive%
(usually c:\)
Linux—In /opt/hpsamd/
Once the service locates the file, the service stops the search and extracts the contents.
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 with no role. Roles can be assigned using the Web Administrator console.
[hpEventCfg]
Gateway=WebServerList
Role=RolesList
AssetGroup=AssetGroupList
;ServicePort=47777
;DnsDomain=ExampleDomain.com
[WebServerList]
server1.yourdomain
server2.yourdomain
[RolesList]
sample-role-1
sample-role-2
[AssetGroupList]
sample-asset-group-1
sample-asset-group-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.
ENWW
Install and Validate the HP SAM Registration Service Software
31