CDT Primary Configuration File
The $CDTDIR/CentralDeploymentTool.xml
file is the CDT's primary configuration file.
|
Important:
|
The Central Deployment Tool installs a sample configuration file.
Elements of the CDT Primary Configuration File
In the CDT Advanced Mode (see Advanced Mode), the packages to install are configured in the Deployment Plan File (see Deployment Plan File). If you configure the element "<PackageToInstall>
" in the CDT primary configuration file, the CDT tries to run in Basic Mode.
The "<PackageToInstall>
" element contains these attributes:
Attribute |
Default value |
Description |
---|---|---|
|
None |
Holds the absolute path (with the file name) on the Management Server to the CPUSE Offline package you wish to deploy. |
|
|
Specifies whether to keep the current connections when you upgrade a cluster. Accepted values:
|
The "<Logging>
" element controls the CDT messages its writes to the CDT log file (/var/log/CPcdt/<execution time>/<log file name>
).
-
Messages that the CDT shows on the screen.
-
Messages that the CDT sends to the Syslog server.
The "<Logging>
" element contains these Attributes:
Attribute |
Default value |
Description |
---|---|---|
|
|
Holds the value of the desired priority to filter the CDT log entries that are saved in the CDT log file (order below is from highest to lowest priority):
For example, if For example, if |
|
|
Holds the value of the desired priority to filter the CDT log entries that are displayed on the screen (order below is from highest to lowest priority):
For example, if For example, if |
|
|
Holds the value of the desired priority to filter the CDT log entries that are sent to a Syslog server. All CDT messages are sent to the local 0 facility with the prefix
For example, if For example, if Mapping between the CDT Log Level priority in the
|
|
|
Configures if the CDT shows log messages on the screen in color. Accepted values:
|
The "<CPUSE>
" element contains this attribute:
Attribute |
Default value |
Description |
---|---|---|
|
|
Holds the absolute path (with the file name) on the Management Server to the CPUSE Agent's RPM package:
|
The "<Batch>
" element contains these attributes:
Attribute |
Default value |
Description |
---|---|---|
|
|
Configures the maximal integer number of Security Gateways to put in one batch, when generating the Installation Candidates List File. |
|
|
The latest date, on which a new batch is permitted to start. Format is: |
|
|
The latest time, on which a new batch is permitted to start. Format is: |
The "<PreInstallationScript>
" element contains these attributes:
Attribute |
Default value |
Description |
---|---|---|
|
|
Holds the absolute path (with the script name) on the Management Server to the user Pre-Installation shell script. |
|
|
Configures if the CDT stops or continues the package installation, if the user Pre-Installation script returns an error during its execution. Accepted values:
|
The "<PostInstallationScript>
" element contains these attributes:
Attribute |
Default value |
Description |
---|---|---|
|
|
Holds the absolute path (with the script name) on the Management Server to the user Post-Installation shell script. |
|
|
Configures if the CDT stop or continues the package installation, if the user Post-Installation script returns an error during its execution. Accepted values:
|
Duplicate the <PreInstallationScript>
and <PostInstallationScript>
elements based on the number of user shell scripts that the CDT needs to run on the Security Gateway.
The CDT runs these shell scripts in the order they are configured in the CDT primary configuration file.
|
Important - This step applies only if you configured a valid mail server on the Security Management Server or Multi-Domain Security Management Server. Otherwise, delete this element. |
The "<MailNotification>
" element contains this attribute:
Attribute |
Default value |
Description |
---|---|---|
|
|
Holds one valid e-mail address. |
|
Notes:
|
You must first configure a mail notification server on the Gaia OS of the Management Server (see the Gaia Administration Guide for your version):
Where |
Instructions |
|||||
---|---|---|---|---|---|---|
In Gaia Portal |
Perform these steps:
|
|||||
In Gaia Clish |
Perform these steps:
|
The Gaia OS sends an email notification in these events:
-
Batch installation is completed.
The e-mail message is the installation results for each Security Gateway and Cluster selected for the installation batch.
-
Installation error.
An installation error for a Security Gateway and Cluster generates an e-mail notification with the error details and applicable error logs.
The "<Repository>
" element contains this attribute:
Attribute |
Default value |
Description |
---|---|---|
|
|
Holds the location of package files on the Management Server for the RMA Mode (see RMA Mode). |
Example CDT Configuration File
These are basic examples of the primary configuration file $CDTDIR/CentralDeploymentTool.xml
:
<?xml version="1.0" encoding="UTF-8" ?>
<CentralDeploymentTool>
<PackageToInstall Path="/home/admin/toInstall.tgz" ConnectivityUpgrade="true"/>
<Logging FileLevel="DEBUG" ScreenLevel="NORMAL" SyslogLevel="DEBUG" Colors="false"/>
<CPUSE RPMPath="/sysimg/CPwrapper/linux/CPda/CPda-00-00.i386.rpm" />
<Batch MaxMachinesCount="UNLIMITED" />
<PreInstallationScript Path="/home/admin/PreScript.sh" IsBlocking="true"/>
<PostInstallationScript Path="/home/admin/PostScript.sh" IsBlocking="true"/>
<MailNotification SendTo="abc@example.com"/>
<MailNotification SendTo="xyz@example.com"/>
</CentralDeploymentTool>
<?xml version="1.0" encoding="UTF-8" ?>
<CentralDeploymentTool>
<Logging FileLevel="DEBUG" ScreenLevel="NORMAL" SyslogLevel="NONE" Colors="false"/>
<CPUSE RPMPath="/sysimg/CPwrapper/linux/CPda/CPda-00-00.i386.rpm"/>
<Batch MaxMachinesCount="UNLIMITED" LatestAllowedDate="31/12/2099" LatestAllowedTime="23:59"/>
<MailNotification SendTo="abc@example.com"/>
<MailNotification SendTo="xyz@example.com"/>
</CentralDeploymentTool>
<?xml version="1.0" encoding="UTF-8" ?>
<CentralDeploymentTool>
<Logging FileLevel="DEBUG" ScreenLevel="NORMAL" SyslogLevel="NONE" Colors="false"/>
<CPUSE RPMPath="/sysimg/CPwrapper/linux/CPda/CPda-00-00.i386.rpm"/>
<MailNotification SendTo="abc@example.com"/>
<MailNotification SendTo="xyz@example.com"/>
<Repository path="/home/admin/"/>
</CentralDeploymentTool>