Synchronizing Multiple CTPView Servers (CTPView)
When you have more than one CTPView server in your network, you can synchronize some or all of the servers to the same configuration. You must designate one server as the primary server and the others as secondary servers. When you add a secondary server, the primary server sets up SSH authorization keys with the secondary server so it can communicate without requiring the login password again. The server configuration settings apply only to the server you are logged in to. These settings do not affect the other CTPView servers in the network.
The primary server has a 15-second period to establish contact with a remote CTP platform. If the period times out, the primary server skips to the next remote CTP platform and continues executing the program. This information is displayed in the screen output and logs. When you add a new remote CTP platform to a primary server, the new platform’s SSH RSA keys are also exchanged with each secondary server. You can disable this feature in the Administrative Functions pane when you add the new remote platform.
The following definitions are restricted in scope to the server that you are logged in to. Each server maintains its own file of server designations that it refers to when performing a server synchronization. You do not need to configure settings on a remote secondary server for that server to be updated by the primary server that is performing the synchronization.
Primary server—You can designate any server running the correct CTPView software version as a primary server. The primary server runs the synchronization program and distributes data to the secondary servers. Regardless of how any other server is configured, the data on a primary server cannot be overwritten by any other server running the server synchronization program.
Secondary server—On the primary server, you can designate any server running the correct CTPView software version as a secondary server. Synchronization updates the data files on the secondary server to match the files on the primary server.
Data files—Synchronization applies to statistical history archived from the CTP platforms and the information needed to communicate with the platforms: IP addresses, hostnames, host menus, and SSH authorization keys.
Server synchronization is supported only on CTPView 1.4.2 or higher releases.
Configuring a CTPView Server Synchronization Network (CTPView)
You must identify a primary server and one or more secondary servers as members of a synchronization network.
To configure your synchronization network:
- Log in to the CTPView server selected to be the primary server.
- In the side pane, select Server > Administration.
The Administrative Functions pane is displayed.
- Click Server Synchronization.
The Server Synchronization pane is displayed.
- In the Add Network Server section, type the information
required for the primary server: IP address, name, admin login name,
and login password, and click Add New Server.
The primary server information is displayed in the Current Server Synchronization Settings table. The server name is used for display purposes only and does not need to be the server's UNIX hostname.
- Add the same information to the table for each of the additional CTPView servers in your network that you want to synchronize with the primary server.
- In the Current Server Synchronization Settings table,
select a server type for each server: Primary Server for the primary CTPView server, and Secondary Server for each of the secondary servers.
The primary server must be the server you are currently logged in to.
- (Optional) Set the server type to Not Selected when you want to temporarily remove a server from the synchronization
To add this server back to the synchronization network, select Secondary Server for the server type.
- (Optional) Click the Remove box to remove a server from the synchronization network.
The server is deleted from the table. If you later want this server to be part of the synchronization network, you must add it back to the table.
- Click Commit Changes to save
If you want to restore the original settings in the table, click Reset instead of Commit Changes.
Synchronizing the CTPView Server Network Automatically (CTPView)
To automatically synchronize your network:
- In the Server Synchronization pane, click Set Automatic Functions.
The CTPView Automatic Functions pane is displayed.
- Select Synchronize Secondary Servers and
Remote Hosts or Synchronize Secondary Servers.
When the secondary servers and the CTP platforms are synchronized, the CTPView software copies the necessary SSH keys to each secondary server so that it can communicate with the CTP platforms without requiring the login password to be entered. When only the secondary servers are synchronized, only server-specific information Is synchronized.
- Select when you want the operation to take place.
The optimal configuration runs the synchronization shortly after the statistical data is obtained from the CTP platforms. The numbers you select represent a specific time, not an interval of time. For example, the default setting of [0,1,ANY,ANY,ANY] means that synchronization occurs at the 0 minute (on the hour) of the first hour (1 AM) every day (any day of any month, landing on any day of the week). A setting of [30,16,8,ANY,ANY] causes the synchronization to occur at 4:30 PM on the 8th of every month.
- Click Add New Entry; the operation
appears in the summary table.
If you decide not to add the entry, click Reset.
To have the same function performed at different times, add a new entry for that operation for each time.
Synchronizing the CTPView Server Network Manually (CTPView)
To manually synchronize your network:
- In the Server Synchronization pane, click Manually Synchronize Network.
The Synchronize Secondary Servers window is displayed.
- (Optional) Click the name of the CTP platform on which
you want to check the SSH RSA keys during synchronization.
You can select more than one platform by holding down the Ctrl key when you click the platform names. Alternatively, you can click Select All Hosts to select all the listed CTP platforms.
- Click Synchronize Servers.