NetBackup™ WebSocket Service (NBWSS) Reference Guide
- Using the NetBackup WebSocket Service (NBWSS) for communication with a cloud application
- Configuring WebSocket endpoints for NBWSS
- Troubleshooting NBWSS
- NBWSS issues
Configuring the properties of the NetBackup WebSocket Service (NBWSS)
Table: Configurable properties of NBWSS describes the configurable NBWSS properties and their defaults. The properties are in the nbwss.properties
text file on the NetBackup primary server. (For the location of this file, see the procedure in this topic.)
Each property appears on a single line in the following form:
key=value
An example .properties
file is included after the table. To change the properties, use the procedure at the end of this topic.
Table: Configurable properties of NBWSS
Keys | Description |
---|---|
| Boolean Determines whether or not NBWSS ignores a decoder exception. A decoder exception usually occurs when NBWSS is unable to understand a message it receives. The default is false: NBWSS closes the connection when a decoder exception occurs. |
| Integer Determines how long (in milliseconds) NBWSS waits to communicate with an endpoint (to send or receive a notification). By default, a notification task waits for 2 seconds before the task terminates. The notification task tries again after the time limit that the The default is 2000 milliseconds (2 seconds). Veritas recommends the default. |
| Integer Determines how often (in seconds) NetBackup queries for new notifications. This value also determines how long NetBackup waits to receive an acknowledgement for a notification before it resends the notification. The default is 5 seconds. |
| Integer Determines the delay (in seconds) NetBackup should add to the interval when it queries for new notifications. The notifications sent by NBWSS will be delayed by this value. The default is 30 seconds. In most cases, Veritas recommends the default. |
| Integer Determines how often (in seconds) NBWSS sends a ping to each endpoint as part of its keep alive functionality. If NetBackup receives a pong in response to each ping, the endpoint connection is still valid. The default is 30 seconds. |
| Integer Determines how many pongs (responses to pings) can be missed for an endpoint connection. When NBWSS sends a ping to an endpoint and a pong is not received, that is considered a missed pong. When the maximum is reached, NBWSS closes the connection to the endpoint. The default is 10 missed pongs. |
| Integer Determines the number of seconds between each NBWSS connection update. Each update determines the endpoints that are currently configured in NetBackup, and connects to new endpoints or disconnects from the endpoints that no longer exist. Note: After you add an endpoint, it can take up to the configured time to connect to that endpoint. The default is 60 seconds. |
| Integer Determines how many threads NetBackup uses to maintain the endpoint connection and to handle notifications. The default is 1 thread. It may be helpful to increase this value if the number of scheduled tasks increases. |
The | These properties are for the use of Veritas Support. |
Here is the nbwss.properties
file with its default settings (see the following procedure for the location of this file):
#Properties file for NetBackup WebSocket Service exception.ignoreDecoder=false notification.sendTimeout=2000 notification.scheduledRate=5 keepAlive.scheduledRate=30 keepAlive.maxPongMissAllowed=10 connectionInfo.period=60 scheduledExecutor.threadPoolSize=1 #Hibernate properties hibernate.format_sql=true hibernate.show_sql=false hibernate.hbm2ddl.auto=update hibernate.dialect=org.hibernate.dialect.SybaseDialect
To configure the properties of the NetBackup WebSocket Service (NBWSS)
- Use a text editor to open the
nbwss.properties
file.The file is in the following location on the NetBackup primary server:
On Windows:
install_path\NetBackup\wmc\webserver\webapps_api\ nbwss\WEB-INF\classes\nbwss.properties
On Linux:
/usr/openv/wmc/webserver/webapps_api/nbwss/WEB-INF/classes/ nbwss.properties
- Edit the value of the property that you want to change, and save the file.
Table: Configurable properties of NBWSS describes the NBWSS properties and their defaults.
- For the changes to take effect, it may be necessary to restart the NetBackup Web Management Console service on the NetBackup primary server.