Post

2 followers Follow
0

How to - Move AIP console deploy and other folders from the default C: installation drive to a custom drive

The following steps were needed to move AIP Console deploy and other folders from a default C: installation drive to a custom D: drive location:

1. The starting point was that all applications had been 'logically' removed from the Console using the Console CLI with the following syntax (see here for more on the CLI documentation: https://doc.castsoftware.com/display/AIPCONSOLE/Delete+an+Application+via+CLI ):

deleteApplication.bat -apiHost "http://host:<port>" -appName "<application>" -keepData -token "<token>"

2. Updated aip-node-app.properties file to point to D (see here for related documentation: https://doc.castsoftware.com/display/AIPCONSOLE/Configure+AIP+Node+storage+folder+locations+-+optional)
# =============================
# Storage folders location
# -----------------------------
delivery.folder.location=D:/CAST_ANALYSIS/delivery
deployment.folder.location=D:/CAST_ANALYSIS/deploy
fileupload.folder.location=D:/CAST_ANALYSIS/upload
backup.file.location=D:/CAST/AipNode/data/backup
sherlock.file.location=D:/CAST/AipNode/data/sherlock

3. Updated castGlobalSettings.ini (see here for related documentation: https://doc.castsoftware.com/display/DOC83/Appendix+-+Modifying+default+CAST+data+storage+locations)
; Set the default deploy folder location
; CAST_DEFAULT_DEPLOY_DIR=%SystemDrive%\CASTMS\Deploy
CAST_DEFAULT_DEPLOY_DIR=D:\CAST_ANALYSIS\Deploy

4. Bring up each application in CMS and Verify that the Platform Settings (in Windows->settings) look good and all point to Drive D

5. In CMS, start DMT and verify if the DMT packages (upload folder) point to C Drive. If they do, then do the following (see the following for related documentation: https://doc.castsoftware.com/display/DOC83/Validate+and+Accept+the+Delivery):
- Rejected package and updated to D
- Set as 'Current Version' and updated the Deploy paths to Drive D

6. In PGAdmin: Update the 'deploypath' in the table CMS_PortF_application on the management schema
set search_path= xxx_mngt;
Update CMS_PortF_application set deploypath='D:\CAST_ANALYSIS\deploy/<application>';

7. Import Application into AIP console using the CLI below (see here for related documentation: https://doc.castsoftware.com/display/AIPCONSOLE/Import+an+Application+managed+with+CAST+Management+Studio+into+AIP+Console)
importApplication.bat -apiHost "http://<host>:<port>" -appName "<application>" -mngtSchemaName "xxx_mngt" -token "<token>"

8. In Console: make sure that all analysis units are present and all point to drive D. Make sure that all configuration files are located on drive D such as Dynamic Link filter files.

Please sign in to leave a comment.

1 comment

0
Avatar

Hi John,

good to know.

Is there a way of not using CMS / pgadmin / importApplication.bat for this process ?

Also in Console 1.16 we have the new Admin Center ReSync feaure. Isn't replacing importApplication.bat ?

0 votes
Comment actions Permalink