3.7.2 How to Set Up Metering

MSS provides metering capabilities to monitor host sessions. See Metering.

The Management and Security Server provides metering capabilities to monitor host sessions.

Before you configure metering for Host Access for the Cloud, verify that you have metering enabled for MSS. There are complete instructions in the Installation Guide.

In Host Access for the Cloud, metering is set globally for all emulation sessions created by the session server. Settings are configured in the sessionserver/conf/container.properties file.

Table 3-1 Metering options

Property

Description

metering.enabled

Turns metering on or off, with a value of "true" or "false". Any value other than "true" turns metering off.

metering.host.required

Determines whether the session can connect to the host even if the metering server cannot be contacted. "True" means that session connections will fail if the metering host is unavailable. "False" means that session connections will still work even if the metering host is unavailable.

metering.server.url

Specifies the name or address of the metering server, the port, the protocol, and the webapp context. The syntax is "host:port|protocol|context". This syntax is the same as that used by the MSS server in the MssData/serverconfig.props file to register metering servers. The host:port section of the URL must escape the “:” character. For example, test990.attachmate.com\:8080.

#Example additions to sessionserver/conf/container.properties
metering.enabled=true
metering.host.required=false
metering.server.url=10.10.11.55\:80|http|meter

NOTE:In the event that all licenses are in use and you attempt to make a connection, the session will be disconnected. To determine whether the host has disconnected or the metering service has stopped the connection, see the <install_dir>/sessionserver/logs/sessionserver.log file.