PAAS Multi server support








In this chapter we are going to check options for PAAS multi server support.
PAAS can run Automation tasks on any accessible server. It accepts a list of servers to access and process tasks on each server.
Table of contents
1. Implementation for processing automation server using API (for PAW)
2. Implementation for scheduling automation server using API
1. Implementation for processing automation server using API (for PAW)
This type of multi-server support is implemented for PAW clients, and requires tRA_MasterComSite table in database set as Master in PAAS.ini configuration file.
Config for multi-server to work it needs:
PAAS.ini:
[PAAS]
Master=MasterDatabase
…
Table MasterDatabase.dbo. tRA_MasterComSite must exist, with string fields:
domain_name |
string name of domain referenced in API calls |
server_name |
SQL server instance name, in HOSTNAME\INSTANCE format |
databse_name |
name of Pantheon database |
user_name |
SQL Server username |
user_password |
SQL Server password |
Country |
Pantheon localization (‘RS’, ‘HR’, …) |
 |
Warning
PAW installation always contains tRA_MasterComSite table in PAW master database. The name of PAW master database could be PAW_Master, PantheonRA_Master, etc. For PAW integration, only setting required is the name of Master database PAAS.ini config.
|
 |
Warning
For custom API clients, database and table can be created with those fields, and set in PAAS.ini
|
PAAS processing API calls are always in format:
<paas_hostname>/api/v1/<domain>/process/<command>?param1=v1¶m2=v2…
Authorization is Basic, with Pantheon username and password.
When <domain> refers to domain_name from Master database, PAAS service will start Pantheon connecting to server and database referred in Master database, and track jobs directly from that SQL server.
If the country matches subfolder from PAAS installation, Pantheon from that subfolder will be started. That way PAAS supports multi-localization on single PAAS instance.
2. Implementation for scheduling automation server using API
Autorun requires one PAAS service per one SQL server instance.
Scheduling PAAS service connects to all Pantheon databases on SQL Server instance, and checks tasks required for autorun. This limits autorun PAAS service to that one SQL server instance.
PAAS installation reads settings from PAAS.ini, where windows service name and description, port, SQL server instance can be specified. That way installation of different PAAS services can be installed on single server.
Related topics:
Meaning and operation of PAAS
PAAS installation and testing
Description of REST methods for processing tasks
Default values and options for PAAS.exe
Upgrading PAAS
PANTHEON Automation Server