After you customize the configuration file (required—see Create the HP SAM Registration Service Configuration File on page 30), rename (or Save As) the sample file to hpevent.cfg.

Start the HP SAM registration service by going to Control Panel > Administrative Tools > Services, and start the service under the name HP SAM Registration Service. For Linux, enter the following command in the terminal: /etc/init.d/daesvc start.

If the computing resource has a firewall, enable the ports below.

Incoming:

-From web server (UDP/47777) to blade (UDP/47777)

-From web server (TCP/ANY) to blade (TCP/139)

-From access devices (TCP/ANY) to blade (TCP/3389)—RDP

-From access devices (TCP/ANY) to blade (TCP/42966)—RGS

NOTE: The default RGS port is TCP/42966; however, RGS 5.3 and later allows this to be changed. Please see the RGS documentation for details. Non-default RGS ports are supported in HP SAM 3.0 and later.

Outgoing:

-From blade (TCP/ANY) to web server (TCP/80—HTTP)

-From blade (UDP/47777) to web server (UDP/47777)

NOTE: Another way to enable the port is to enable the software service itself. Follow the firewall instructions to enable the HP SAM Registration Service software.

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 administrative console with no role. Roles can be assigned using the HP SAM administrative console.

[hpEventCfg]

Gateway=WebServerList

Role=RolesList

AssetGroup=AssetGroupList

;ServicePort=47777

30 Chapter 3 Installation