Skip to content

Safekit

No WAM access via Safekit VIP

Troubleshoot

Test TCP load balancing on a virtual IP address

A mosaic test is delivered with SafeKit and Set the following load balancing rule in userconfig.xml:

<rule port="9010" proto="tcp" filter="on_port"/>

  1. On an external workstation, connect a browser to the URL: http://virtual_ip:9010/safekit/mosaic.html

  2. Enter the module name and the URL with the virtual IP

    http://virtual_ip:9010/safekit/mosaic.html
    

Safekit TCP Load Balancing
Safekit Loadbalancing

Special command to check the load balancing bitmap for port 9010 on each node

safekit –r vip_if_ctrl –l

Solutions

  1. Check that you are on an external workstation and not on the nodes themselves

  2. On each node, check the connections on the virtual IP

    On Windows:
    netstat –an | findstr <virtual IP>
    
    On Linux:
    netstat –an | grep <virtual IP>
    

  3. Stop/start the module on each node to check which one is taking connections

Milestone Management and SQL Service are disabled.

Use Case

The Milestone Management and SQL are running on the same server and we’re experiencing that the SQL Server (MSSQLSERVER) services keep getting Disabled when one of the servers goes down rather than just Stopping.

Solutions

Yes it is disabled when the module is stopped (in stop_prim):

sc.exe config "MSSQLSERVER" start= disabled
And enabled when the module is started (in start_prim):

sc.exe config MSSQLSERVER start= demand

The MSSQLSERVER service avoid to starting automatically at boot. SafeKit must start the service only after replication mechanisms have been installed on the PRIM server.

In this case Milestone Management and SQL Service set to "startup type" in Manual rather than automatic start.

On Windows, on both servers, pass the EWAM-Directory service and WAM services (pxpadmin, pxpeua, pxpgtw_main, pxpspl and WAM-Tomcat) in manual mode.

What if you forget your safekit console admin password

  1. Open a PowerShell console as administrator
  2. Go to the root of the SafeKit installation directory (by default)
In Windows SAFE=C:\safekit if %SYSTEMDRIVE%=C:
In Linux SAFE=/opt/safekit
  1. Run on safekit cluster
.\private\bin\webservercfg -passwd pwd
./private/bin/webservercfg -passwd pwd
PS C:\safekit> .\private\bin\webservercfg.ps1 -passwd admin
Updating password for user admin
Adding password for user rcmdadmin
PS C:\safekit>

Where pwd will be your new password and login ID always be admin

Important

The password must be identical on all nodes that belong to the same SafeKit cluster. Otherwise, web console and distributed commands will fail with authentication errors.