CMS Snapshot Analysis - Compute Snapshot - Information - How to compute snapshot by skipping analysis

Applicable in CAST Version
Release
Yes/No
8.3.x(tick)
Applicable RDBMS
RDBMS
Yes/No
CSS(tick) 
Action plan

Compute a full snapshot by skipping Analysis

Perform the following steps to generate snapshot by skipping analysis.

  1. In order to proceed with the below steps, get the Relevant input
  2. Always use a CAST AIP setup installation. For reproducing issues, flat installation is not recommended because the analysis/snapshot may fail. This can be due to files that are missing in the flat installation.
  3. Import the databases
  4. Synchronise the databases - Databases to be synchronized MNGT, CB and KB
  5. Create a new file in the CAST AIP installation folder with name CAST-MS.l4j.ini and modify the file by adding the below line 
    -Dsourceserver.offline=true
  6. Perform the below steps -

    1. Open CAST-MS

    2. Check if you have a Database analysis unit. If yes then place a dummy .uaxdirectory in the same path as shown in the below screenshot. 

      In the above screenshot you can see that there is a package for Database. In this case you need to place a dummy DatabaseExtraction.uaxdirectory (which you have at your end, but should be of the same CAST version on which you are running the snapshot ) in the path - "C:\CASTMS\Deploy_3897\Application_3897\DataBase-Oracle"
      Use the attached DatabaseExtraction.uaxdirectory

  7. Generate Snapshot by skipping Analysis using CMS GUI or if you are using CLI then use the command given in the page - Automating CAST Management Studio tasks - Generate Snapshot with the option -skipAnalysisJob

  8. Remove CAST-MS.l4j.ini from CAST installation folder

    Warnning

    Make sure to remove the file CAST-MS.l4j from CAST installation folder. If the file remains in the install folder, then you will get the bellow Fatal Error if you try to add a new version. For more information refer to the following page - CMS Application - Delivery - Add version

    Source Server : This feature is not available in offline mode               

Compute DssRun command line

Compute DssRun command line with the argument LOCAL_IFPUG_GRAPH 

  1. Run the following command line

    <Path to Cast install folder>\DssRun.exe - command line arguments: -CONNECT_LOCAL('RDBMS',''@//host:port/dbname'',''username'',''password'',''local schema name'') -LOCAL_IFPUG_GRAPH  

    The query returns all the history of executing the command line.

    • <Path to Cast install folder>: is the path to the CAST install folder

    • RDBMS: is the used RDBMS, if you are using CASTStorageService then replace RDBMS by CASTStorageService, else if you are using Oracle then replace RDBMS by Oracle, else if you are using SQL Server then replace RDBMS by SQLServer

    • host: is the host name of your database server

    • port: is the port number for accessing your database

    • dbname: If you are using CASTStorageService then the Service name for accessing your database, if you are using oracle then the SID or Service name for accessing your database, else if you are using SQL Server then the instance name for accessing your database server.
    • user name: is the user login that has sufficient privileges to access the database
    • password: is the password that corresponds to your User login
    • local schema name: is the name of the local schema
    • Output.txt: is the output of the conmmand line, it will be located at the same location as the batch file.


Compute DssRun command line with the argument SMART_RANKING

  1. Run the following command line

    <Path to Cast install folder>\DssRun.exe - command line arguments: -CONNECT_LOCAL('RDBMS',''@//host:port/dbname'',''username'',''password'',''local schema name'') -SMART_RANKING

    The query returns

    • <Path to Cast install folder>: is the path to the CAST install folder

    • RDBMS: is the used RDBMS, if you are using CASTStorageService then replace RDBMS by CASTStorageService, else if you are using Oracle then replace RDBMS by Oracle, else if you are using SQL Server then replace RDBMS by SQLServer

    • host: is the host name of your database server

    • port: is the port number for accessing your database

    • dbname: If you are using CASTStorageService then the Service name for accessing your database, if you are using oracle then the SID or Service name for accessing your database, else if you are using SQL Server then the instance name for accessing your database server.
    • user name: is the user login that has sufficient privileges to access the database
    • password: is the password that corresponds to your User login
    • local schema name: is the name of the local schema
    • Output.txt: is the output of the command line, it will be located at the same location as the batch file.

Relevant input

  1. Sherlock export with the options Export CAST Database , Export Configuration files , Export Logs checked
Notes / Comments


Related Pages