The serverconfig.xml file

The serverconfig.xml file is located in the same directory as the Totalview3Server executable and contains the start-up settings for the Totalview server.

The file contains the location of the database and a list of hard coded users.

 

Change the location of the database

The connection string contains information about the SQL server and Totalview database in use. The location can be changed by setting the Catalog and Data source parameters.

The Password and User ID must also be changed to a user with access to the SQL server.

If you want to start the Totalview3Server service  with a specific windows user instead of Local System account, you must replace “Password=xxxx;User ID=sa” in the serverconfig.xml with “Integrated Security=SSPI” and run the Totalview3Server service using the specific user.

Remember to assign the windows user necessary rights to the Totalview database.

Change the hard coded user

The settings of the hard coded user can be changed by changing the user name and password parameters.

The hard coded user can be disabled by setting the parameter enabled=”no”.

IPv6

Set the ipv6 attribute to true to enable IPv6 support on the TotalviewServer service.

When set, the TotalviewServer service supports both IPv4 and IPv6 at the same time.

 

Notify
If you don’t want to be notified if a mail sent from the Switchboard fails you can set the tag

<SMTP RequestFailureNotify=”no” />

In the Serverconfig.xml under the TotalviewServerConfiguration

 

Example of serverconfig.xml:

<?xml version="1.0" encoding="UTF-8"?>
<TotalViewServerConfiguration>
<SMTP RequestFailureNotify=”no” />
<listener port="3333" ipv6="False"/>
<dbTotalView connectionstring="Provider=SQLOLEDB.1;Integrated Security=SSPI;Initial Catalog=Totalview3Test;Data Source=SQLSERVER"/>
<logging severity="4" location="logs"/>
<HardcodedUsers>
<user name="tvadmin" password="1234" enabled="yes"/>
</HardcodedUsers>
<AllowAdmins>
<client address="TV3TEST" enabled="yes"/>
</AllowAdmins>
</TotalViewServerConfiguration>
Last edited on June 28th, 2017