Installation scripts

About

This chapter describes all scripts in YSoft SafeQ CRS installer.

images/s/-3eliqb/8502/404359a7d2ab19c9c7c58d12013124a386b28257/_/images/icons/emoticons/warning.svg  These scripts are available only for CRS installer.

All installation scripts are available in the installation package (InstallPackages folder).
images/download/attachments/21955394/installpackages.PNG

To see the list of supported parameters for each script, run the script with the parameter -help. For example, to get help for the backup script, issue the command:
InstallPackages\backup.bat -help

Install.bat

Script for installing YSoft SafeQ CRS Server. For more information see chapter Installing YSoft SafeQ CRS.

Update.bat

Script for updating of YSoft SafeQ CRS Server. For more information see chapter Updating YSoft SafeQ CRS.

Backup.bat

This script performs a backup of your currently installed YSoft SafeQ CRS server.

1)

Configure YSoft SafeQ CRS installer according to CRS configuration.

2)

Begin the backup by running the backup.bat program: InstallPackages\backup.bat. 
images/download/attachments/21955394/backup01.PNG

Enter environment name (Example: crs\TEST\node1)

Backup will perform following operations:
    dump_yBoxDB_201310220817.backup - YSoft SafeQ CRS database backup with timestamp
    dump_yBoxDBCDC_201310220817.backup - YSoft SafeQ CRS datawarehouse backup with timestamp
    SafeQCRSBackup.zip that contains:

  • bin\

  • build\

  • conf\

3)

SafeQ CML will be backed up into the folder according to installer settings:

# Backup directory (for storing CRS files backup and database dumps)
# Default: C:/SafeQCRS-Backups
backupDir=C:/SafeQCRS-Backups
 
 
# Max roll count of created backups of CRS files
# Default value: 3
backupFilesMaxRollFileCount = 3

4)

When the backup is finished, close the command prompt window.

To make it possible to schedule a regular unattended backup, some command-line parameters must be used to avoid the backup script pausing and waiting for user input. The minimum set of parameters needed to achieve this is:

  • -env <EnvironmentName>

  • -nopause

For example, the complete command line could be:

InstallPackages\backup.bat -nopause -env crs\TEST\node1

Uninstall.bat

Using this script you can uninstall existing YSoft SafeQ CRS server. For more information see chapter Uninstalling YSoft SafeQ CRS.

Status.bat

This script performs check of status of your currently installed YSoft SafeQ CRS server.

 

1)

Use the configured YSoft SafeQ CRS installer according to CRS configuration and run status.bat (InstallPackages\status.bat.)

2)

Enter environment name (Example: crs\TEST\node1)
  images/download/attachments/21955394/status.PNG

3)

Status.bat will check your current configuration and write it in to InstallPackages\logs\status.log.
Following properties will be checked:

  • Input parameters

  • System properties

  • SafeQ Services

  • Configuration

    • Free disk space

    • logs size