<< PREVIOUS      NEXT >>

 

LOCAL FILE REPOSITORY (LFR) SERVICE INSTALLATION


 

Local File Repository (LFR) service installation is the first step. This section describes the setup process in detail.

 

LFR SERVICE INSTALLATION AND SYNCPicture 2

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

  2. Navigate to the directory vsp > releases > public > 2 > 2.10 > <Patch_Version>

  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 

    image5

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

     

    NOTE:  

    It takes approximately 10-15 minutes for LFR deployment and sync (over the internet)

    The downloaded files are stored on a persistent volume

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

      ./vsp_deploy_lfr.sh -h

       

       

      image24

       

      NOTE:  

      By default, LFR does a resync check with the Artifactory after restart (of LFR container/ Worker Node). If a resync is required, the LFR files are refreshed from the Artifactory. If this feature is not required, turn it off by utilizing the parameter -R with the value "0"

       

    2. The URL and IP Address to access LFR service are provided at the end of script execution

      ./vsp_deploy_lfr.sh

       

       

      image6

 

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