Hello Vadim9,
I did generate a candidate list (candidates.csv) with this command in advance mode: ./CentralDeploymentTool -generate -candidates=candidates.csv -deploymentplan=DepPlan.xml -filter=filter.csv
As you said, it was faster that the normal process, and I got only the firewalls I needed (the ones in "filter.csv file).
But when I did execute a deployment plan with the command: ./CentralDeploymentTool -execute -candidates=candidates.csv -deploymentplan=DepPlan.xml -filter=filter.csv
I had an this message error:
Thu Nov 21 06:19:05 2019 *N* [xxxfwc0001]: Executing stage - Import Package Check_Point_R80.20_T101_Fresh_Install_and_Upgrade_Security_Gateway.tgz
Thu Nov 21 06:22:03 2019 *E* [xxxfwc0001]:
************************************************
An error has occurred in stage Import Package Check_Point_R80.20_T101_Fresh_Install_and_Upgrade_Security_Gateway.tgz of machine xxxfwa0001:
Error code 39 - Package importation failed on the remote machine. Manually import the package to the CPUSE and try again.
Additional Information:
-----------------------
************************************************
DAClient import completed with errors.
Error code 41 - Error executing a CPUSE operation on a remote machine.
************************************************
************************************************
the CPUSE build number is 1818 on both the SMS and the remote firewall.
This is my DepPlan.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!--
This is an example of a Check Point Central Deployment Tool Deployment Plan file.
Refer to the CDT SK for additional information about configuring and using CDT:
<a href="https://supportcenter.us.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk111158" target="_blank">https://supportcenter.us.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk111158</a>
-->
<CDT_Deployment_Plan>
<!--
The plan_settings element contains the name and the description of the deployment plan
and additional configuration.
-->
<plan_settings>
<name value="Example deployment plan" />
<description value="Example deployment plan provided with CDT" />
<update_cpuse value="true" />
<connectivityupgrade value="true" />
</plan_settings>
<!-- Execute script -->
<execute_script path="/home/admin/cdt/preScript.sh" iscritical="false" />
<!-- Remove custom jumbo -->
<uninstall_cpuse_package filename="R75.46_JUMBO_HF.tgz" />
<!-- Major R77.30 upgrade -->
<import_package path="/home/admin/Check_Point_R80.20_T101_Fresh_Install_and_Upgrade_Security_Gateway.tgz" />
<install_package path="/home/admin/Check_Point_R80.20_T101_Fresh_Install_and_Upgrade_Security_Gateway.tgz" />
<!-- Notifications during execution -->
<log level="NORMAL" value="Finished installing major upgrade." />
<send_email to="cdt.admin@checkpoint.com" subject="Major upgrade completed" body="Finished installation of R77.30 major upgrade, preparing to install R77.30 HF2." />
<!-- Install HF for R77.30 -->
<import_package path="/home/admin/Check_Point_R80.20_T101_Fresh_Install_and_Upgrade_Security_Gateway.tgz" />
<install_package path="/home/admin/Check_Point_R80.20_T101_Fresh_Install_and_Upgrade_Security_Gateway.tgz" />
<!-- Get a file from the gateway to /home/admin/ -->
<pull_file remote_path="/home/admin/file_to_pull.txt" local_dir="/home/admin/" />
</CDT_Deployment_Plan>
Recall that I would like to upgrade the firewall from R77.30 to R80.20.
Please what am I missing?