LFR AND CMS INSTALLATION
Install VSP CMS using the below process:
CMS INSTALLATION
NOTE:
Ensure that the CMS VM is in sync with the NTP server
-
Execute the below steps to add the required environmental variables
-
sudo bash
-
vi /etc/environment
-
Add the below variables
COMPOSE_HTTP_TIMEOUT=400
DOCKER_CLIENT_TIMEOUT=400
-
service docker restart
-
-
Download the tar file vsp-cms-lfr.tar.gz from the Artifactory directory: vsp > releases > public > <Release_Number> > tar_package > cms_lfr
-
Alternatively, use the wget command as described below:
-
Log in to the Artifactory and navigate to the directory: vsp > releases > public > <Release_Number> > tar_package > cms_lfr. Click on the tar file and click URL to File
-
Execute the below command to download the tar file
-
mkdir /var/cms
-
cd /var/cms
-
wget <Copied_URL> --user=<Artifactory Username> --ask-password
NOTE:
Since the tar file size is ~27GB, it takes a minimum of 45 minutes to download. The time may vary based on the internet bandwidth
-
-
-
Extract the downloaded tar file using the below command. This command may take approximately 10 minutes
-
tar -xvzf vsp-cms-lfr.tar.gz
-
-
The below files are extracted
-
Execute the below commands to install and configure CMS. This command may take approximately 20 minutes
-
./vsp_cms_installer.sh
-
Execute the below command to view the help menu:
./setup.sh -h
-
./setup.sh [Optional Arguments] <IP_ADDRESS> <SSL_VERIFY>
-
IP_ADDRESS – IP Address of the VM where CMS package is installed
-
(Optional) SSL_VERIFY – Provide 0 to disable SSL hostname verification between CMS and Probe. This is useful when a customized domain name is desired for CMS (Default Domain Name: int.cms.virsec.com). Ensure that the option is disabled for ECS Fargate. Provide 1 to enable SSL hostname verification. The option is enabled by default
-
(Optional) -f : Defines the CMS Deployment type. Allowed Values:
small: Only the core CMS services are installed. Recommended for POVs only.
NOTE:
-
jreports-service – Reports are scheduled and generated in this service
-
licenseserver – This service is the on-prem license server
-
organization-service – Provides communication with the VSP MSSP instance
-
report-service – Provides CMS Reporting functionality
-
ticket-zendesk-service – Provides the ability to configure the ticketing service Zendesk
-
virsec-api-snap-service – Provides the capability to access CMS information through SNAP API
-
vsp-log-manager-service – Responsible for the logging functionality
large: The Core and optional CMS services are installed. If not specified, the default option is large
-
-
(Optional) -x : Custom advertised listener for Kafka
-
(Optional) -k : Ensure that CMS is not running during usage. Allowed Kafka options:
0: For Unsecure Kafka connection. By default, the value is set to 0 if not specified
1: For One-way SSL where the Client verifies the server
2: For Two-way SSL where both the Client and Server verify each other
NOTE:
If there is a Custom DNS for Kafka listener, then use the options 0 or 1 for Kafka. Do not use the option 2
Restart the probe after CMS and/or probe upgrade or when the Kafka mode is modified
-
(Optional) -P : Provide this parameter to select the optional services that need to be started in case of CMS Deployment Type - large. If this option is not provided, all the optional services are started by default. A snippet of the log with the option -P is provided below. When prompted, provide y/n for optional services [Ticketing Service (Zendesk), Centralized Logging System, MSSP, VSP APIs, Reporting Feature, On-premise License Server]
NOTE:
If a proxy server is configured for internet access, ensure that the root certificate information is added to the property file, as described in the Deploy Custom SSL Certificates topic of the Maintenance Section
-
-
-
In cases where RAM settings for small and large CMS deployment types need modifications, follow the steps before CMS deployment:
NOTE:
The file contains VSP-recommended RAM values for the available CMS deployment types. Any change in these values may affect CMS functioning
-
sudo bash
-
cd /var/cms/form-factors
-
vi ff-ram-size.csv
-
Modify the values as required. The specified value is in GBs. Save the file
-
VERIFICATION
-
LFR:
-
To verify whether LFR is up and running, execute the below command:
docker ps | grep lfr
-
After a couple of minutes, access the URL: http://<VM_IP_Address> to view the refreshed LFR
-
-
CMS: Execute the below commands to check the status of the cms-client service
-
cd docker-compose-files
-
watch ./status.sh
-
Once the status of the cms-client service moves to healthy, CMS UI can be accessed
-