LOCAL FILE REPOSITORY (LFR)
This section describes LFR upgrade in detail.
-
Log in to the Artifactory site using the Virsec-provided credentials from the local machine
-
Navigate to the directory vsp > releases > public > 2 > 2.8 > <Patch_Version>
-
Right-click on the file vsp_lfr.tar.gz, listed on the page and download it to the local system
-
Create and sync the LFR service with the Artifactory by executing the below steps:
-
Log in to the Management Node
-
Copy the downloaded file vsp_lfr.tar.gz
-
-
Execute the below command to unzip the file vsp_lfr.tar.gz
-
tar -xvzf vsp_lfr.tar.gz
-
cd lfr
-
-
The below files are present in the directory lfr
-
Execute the below command to remove the previous LFR instance
./vsp_deploy_lfr.sh -s
NOTE:
Ensure that the executed script is from the installed VSP version directory
-
Execute the below command to deploy LFR service and sync with the necessary files from Artifactory. Provide Artifactory user credentials when prompted
-
To view the help menu, execute the command:
./vsp_deploy_lfr.sh -h
-
Instead of a complete LFR refresh, only the required LFR files can be downloaded in an incremental refresh
Example: ./vsp_deploy_lfr.sh -O "rpm" -V "7,8" -S "host"
When prompted, provide the Artifactory username and password.
-
-C: Update all the CMS files. Once the script execution is complete, ensure that the script setup.sh is also executed
-
-O: Specify the required Operating System (comma separated without spaces)
-
-V: Provide the version numbers for the specified Operating System (comma separated without spaces)
-
-S: Provide the required SKU. Allowed values are web, host, mem. By default, files related to all SKUs are downloaded
-
-r: VSP Release Version. Example: 2.8.0
-
-
For a complete LFR refresh, execute the below command. The URL and IP Address to access LFR service are provided at the end of script execution
NOTE:
It takes approximately 10-15 minutes for LFR deployment and sync (over the internet)
Ensure that the executed script is from the new VSP version directory./vsp_deploy_lfr.sh
-
VERIFICATION
-
Execute the below command to procure the URL and IP address
-
kubectl get service -n virsec
NOTE:
Only IP address will be displayed in an on-premise setup without the URL information
-
-
Access the above LFR IP address using any browser. Navigate to the directory vsp to view the refreshed list of files