We have noticed that the VS shuts down after 3 consecutive errors. How can we change this behavior?
We would like to have the Virtual service restart automatically. Is there a way to do this?
All supported DevTest releases and plaforms.
By default, a Virtual Service will go offline after 3 consecutive errors
By default, the VSE will shut down after 3 consecutive errors are seen. There's a property, which can be added to the local.properties file, to change this behavior.
The 'lisa.vse.max.hard.errors' property allows you to configure the number of consecutive errors allowed before the VSE service shuts itself down.
To modify the default behavior, open the local.properties file on the VSE server, and add the property:
lisa.vse.max.hard.errors=<number>
Where <number> represents the number of allowed consecutive errors. The value can be 0 or greater.
For example: lisa.vse.max.hard.errors=100
After adding this property to your local.properties file on the VSE server, you will need to restart your server.
NOTE:
When setting lisa.vse.max.hard.errors to 100 or more you will also need to set the following:
lisa.coord.failure.list.size=10
If the above is not set you can run into Java heap Memory issues and the VS will through 1000s of errors...
Use the monitor feature to enable Auto restart: Refer to documentation section "Monitor Virtual Services" of the release you are running for more information.