Skip to content

Set Up Metering

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

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

Before configuring 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.

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.