Summary: This step describes the process of splitting the Delivery folder when upgrading Console/Node packages to v. ≥ 1.13 from an older release. |
If you are already using Console/Node v. ≥ 1.13, then please skip this step. |
In Console 1.13 the format of the Delivery folder assigned to each Node was changed so that each Application now has its own dedicated Delivery folder within the parent Delivery folder (previously, the parent Delivery folder was global to all Applications).
The designated Delivery folder location will become the "parent" of all the "application delivery folders":
Before the split is actioned | Post split - each folder corresponds to an Application |
---|---|
Inside each Application specific subfolder, you will find the exact same folder structure as used previously: |
The process of "splitting" the Delivery folder is actioned automatically during an upgrade of the Console and Node packages to ≥ 1.13 as follows:
Click to enlarge
You will need to manually execute the split tool before upgrading the Node package in the following situations:
The Delivery folder split process requires a dedicated tool - Delivery Folder Migration Tool - 1.0. This tool can be found on CAST Extend. It can be run on any server which has access to the Delivery folder and the associated CAST Storage Service/PostgreSQL instances.
Before you start, ensure that Console and all Nodes are not running by stopping the relevant services.
Locate config.json
provided in the downloadable extension. This file will be provided out-of-the-box as follows:
[ { "delivery_folder_location": "C:\\CASTMS\\Delivery", "destination_delivery_folder_location": "", "log_file_location": "", "css_servers": [ { "dbname": "postgres", "host": "localhost", "port": "2282", "username": "operator", "password": "CRYPTED2:90B1A6EC1618661401B724DB5AC34595" } ], "applications": [] } ] |
Edit this file with a text editor and enter the information as described below:
delivery_folder_location | Enter the location of the Delivery folder defined in the CAST Management Studio for the Application (s) you want to transform. See note below about the required path syntax for the config.json file. | ||
---|---|---|---|
destination_delivery_folder_location | Leave this path empty. This ensures that the split is actioned in | ||
log_file_location | Enter a full path to a folder that will be used to store a log file called delivery.folder.migration.tool.logrecord that will contain log for the transformation process, for example:
See note below about the required path syntax for the config.json file. | ||
css_servers | Check that the
| ||
applications | Leave this field blank. This ensures that all Applications in your Delivery folder are included in the split process. |
All paths specified in config.json must:
Paths can refer to network shares or local paths. |
For example, to split the Delivery folder located at Z:\delivery, with two CAST Storage Service/PostgreSQL instances associated to the Applications in that Delivery folder, use the following configuration:
[ { "delivery_folder_location": "Z:\\delivery", "css_servers": [ { "dbname": "postgres", "host": "localhost", "port": "2282", "username": "operator", "password": "CastAIP" }, { "dbname": "postgres", "host": "other_host", "port": "2282", "username": "operator", "password": "CastAIP" } ], "applications": [] } ] |
Run migration.bat
provided in the downloadable extension. This will split the existing Delivery folder into the format required by Console ≥ 1.13.x. In addition, a backup of the existing Delivery folder will be created along side the current Delivery folder for roll back purposes.
You can check the log_file_location
to ensure the transformation and move process functioned correctly.
Do not restart the Console and Node packages. Now move on to the next step in the upgrade process: Console upgrade.