USING SIGNED INSTALLABLE
Install VSP Probe using the below process:
-
Download the files listed below from LFR:
-
virsec.gpg.key from the directory: vsp
-
vsp-<SKU>-vm.sh.gpg from the directory: vsp > Operating System > Version > Signed
-
-
Execute the commands below:
-
Import the Virsec key using the command below:
-
gpg --import virsec.gpg.key
-
-
Verification: List the available keys using the command:
-
gpg --list-keys
-
-
Un-sign the downloaded gpg file using the command:
-
gpg --output vsp-<SKU>-vm.sh --decrypt vsp-<SKU>-vm.sh.gpg
-
-
The above command creates an un-signed output file vsp-<SKU>-vm.sh in the same directory
-
-
Execute the below commands:
-
sudo bash
-
The below command displays the help menu
./vsp_install_vm.sh -h
-
./vsp_install_vm.sh -c <CMS_IP> -i <Host_IP> -k <VSP_Kafka_Node_IP> -l <LFR_IP> -n <Hostname> -L <LFR_Port> -s <SKU> -g
-
(Optional) Parameter "-g" – To specify the utilization of the signed scripts for installation of the specified SKU
-
Parameter "-c" CMS_IP – IP Address of CMS
-
(Optional) Parameter "-C" <CMS DNS Name> – Custom DNS name for CMS
-
(Optional) Parameter "-e" – To indicate Remote vRule configuration. Do not provide this option for Remote vRule option
-
(Optional) Parameter "-H" – Entries are not added in the /etc/host file to resolve the LFR and CMS DNS names. If this parameter is used, ensure that the parameters -C and -K are provided
-
(Optional) Parameter "-i" Host_IP – IP Address of Application Instance (Host)
-
(Optional) Parameter "-k" VSP_Kafka_Node_IP – IP Address of Kafka
-
(Optional) Parameter "-K" <Kafka DNS Name> – Custom DNS name for Kafka
-
Parameter "-l" LFR_IP – IP Address of LFR
-
(Optional) Parameter "-L" LFR_Port – VSP LFR Port (Default port is 8443)
-
(Optional) Parameter "-n" Hostname – Hostname of the Application Instance. This is utilized during probe registration with CMS
-
(Optional) Parameter "-p" Host Profile Tag – Appropriate Host Profile Tag
-
(Optional) Parameter "-r" – To restart VSP services after installation. They are not restarted by default
-
Parameter "-s" SKU – Provide the required SKU. Allowed values are web, host, mem
-
(Optional) Parameter "-t" – List of comma-separated Application Service tags to enable a Probe to auto-associate with a CMS Application
-
(Optional) Parameter "-u" – To uninstall already existing Probe services and install the latest available version
-
(Optional) Parameter "-U" – To uninstall already existing Probe services
-
(Optional) Parameter "-v" – To print Verbose information. Allowed values are 0 (INFO level), 1 (DEBUG level) and 2 (TRACE level)
-
(Optional) Parameter "-X" – To set the password to stop/modify a service using VSP-CLI utility. When this parameter is used, the user is prompted to provide the password (this method is preferred due to security reasons). A valid password must be 16 (minimum) – 511 (maximum) characters in length and must have alphanumeric characters in both upper and lower cases
-
(Optional) Parameter "-x" – To set the password to stop/modify a service using VSP-CLI utility. When this parameter is used, the password must be provided along with the command. A valid password must be 16 (minimum) – 511 (maximum) characters in length and must have alphanumeric characters in both upper and lower cases
-
(Optional) Parameter "-o"* – To specify the Operating System. Allowed values are: rhel, ubuntu, debian_stretch, debian_buster, az_linux
-
(Optional) Parameter "-V"* – To specify the version of the Operating System
* For Oracle Linux 8, provide the value rhel for parameter "-o" and 8 for the parameter "-V"
-
-
-
Execute the commands below to install VSP Probe:
-
sudo bash
-
chmod +x vsp-<SKU>-vm.sh
-
The below command displays the help menu
-
./vsp-<SKU>-vm.sh -h
-
-
Execute the below command to install the probe
./vsp-<SKU>-vm.sh -c <CMS_IP> -i <Host_IP> -k <VSP_Kafka_Node_IP> -n <Hostname> -0 <Hostname> -o <Host_OS> -V <Host_OS_Version> -r
-
CMS_IP – IP Address of CMS
-
Host_IP - IP Address of Application Instance
-
VSP_Kafka_Node_IP – IP Address of Kafka
-
Hostname - Hostname of the Application Instance. This is utilized during probe registration with CMS
-
Host_OS - Operating System of the Application Instance
-
Host_OS_Version - Operating System Version of the Application Instance
-
Parameter “-r” - To start VSP services after Installation
-
(Optional) Parameter “-e” - To indicate Remote vRule configuration. Do not provide this option for Remote vRule option
-
(Optional) Parameter "-X" – To set the password to stop/modify a service using VSP-CLI utility. When this parameter is used, the user is prompted to provide the password (this method is preferred due to security reasons). A valid password must be 16 (minimum) – 511 (maximum) characters in length and must have alphanumeric characters in both upper and lower cases
-
(Optional) Parameter "-y" – To set the password to stop/modify a service using VSP-CLI utility. When this parameter is used, the password must be provided along with the command. A valid password must be 16 (minimum) – 511 (maximum) characters in length and must have alphanumeric characters in both upper and lower cases
-
(Optional) Parameter "-x" – To extract the tar file and exit
-
-
-
At the end of the installation, the installed probe instance automatically registers with VSP CMS and a restart of the Linux machine is NOT required if the parameter -r is provided during installation
-
If the parameter -r is not provided during installation, restart the services using the below command:
-
service vsp start
-
-
For container-based CMS instance, restart the VSP services in Ubuntu and RHEL Probe instances using the below command:
-
Method 1: Stop and start VSP services
-
service vsp stop
-
service vsp start
-
-
Method 2: Restart VSP services
-
service vsp restart
-
-
-
Verification
-
In CMS, navigate to Deploy > Probes
-
Verify that the Probe server is listed and in Connected state
-