<< PREVIOUS      NEXT >>

 

LOCAL FILE REPOSITORY (LFR)


 

This section describes LFR upgrade in detail.

  1. Log in to the Artifactory site using the Virsec-provided credentials from the local machine

  2. Navigate to the directory vsp > releases > public > <Release_Number>

  3. Right-click on the file vsp_lfr.tar.gz, listed on the page and download it to the local system

  4. Create and sync the LFR  service with the Artifactory by executing the below steps:

    1. Log in to the Management Node

    2. Copy the downloaded file vsp_lfr.tar.gz

  5. Execute the below command to unzip the file vsp_lfr.tar.gz

    1. tar -xvzf vsp_lfr.tar.gz

       

       

    2. cd lfr

       

       

  6. The below files are present in the directory lfr

  7. 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

     

  8. Execute the below command to deploy LFR service and sync with the necessary files from Artifactory. Provide Artifactory user credentials when prompted

     
    1. To view the help menu, execute the command:

      ./vsp_deploy_lfr.sh -h

       

       

      image 4

    2. 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.

      1. -C: Update all the CMS files. Once the script execution is complete, ensure that the script setup.sh is also executed

      2. -O: Specify the required Operating System (comma separated without spaces)

      3. -V: Provide the version numbers for the specified Operating System (comma separated without spaces)

      4. -S: Provide the required SKU. Allowed values are web, host, mem. By default, files related to all SKUs are downloaded

      5. -r: VSP Release Version. Example: 2.7.0

    3. 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

       

       

      image 6

 

VERIFICATION

  1. Execute the below command to procure the URL and IP address

    1. kubectl get service -n virsec

       

       

       

        NOTE:  

      Only IP address will be displayed in an on-premise setup without the URL information

       

  2. Access the above LFR IP address using any browser. Navigate to the directory vsp to view the refreshed list of files

 

<< PREVIOUS      NEXT >>