Manually Update SecureLink Gatekeeper on Linux
Overview
This article will show how to update the SecureLink Gatekeeper application on a Linux Server to the latest version.
Procedure
Important Note: For this procedure, be sure you are connecting to the server you are looking to update from another Linux server or via putty from a local workstation. The gatekeeper will be brought offline on the server to complete the update.
Step 1: Get connected to the server you are updating
- Connect to the Linux server, but be sure not to use the direct Linux gatekeeper associated with this server, as the note states above
Step 2: Check and note the Version of the Gatekeeper currently in use
- On the Gatekeeper within SecureLink, click on the gatekeeper name (5.7 WB1) or click "View" to open the gatekeeper.
- You will see the version right next to "Version"
Step 3: Prep the Linux Server for the update
- Log into the Linux server and change user to root
- Turn off the old gatekeeper using the following command. That Gatekeeper will go offline at this point.
- service slinksc stop
- Change user to rss
- Create a new directory within rss home to store the old files
- mkdir ~rss/slink_old
- Move the slink folder (/home/amcom/slink/) into the old directory
- mv ~rss/slink ~rss/slink_old/
- Also move any old gzip files into this directory. In this example, the following command was run to move old amcom zip file to the folder
- mv ~rss/amcom* ~rss/slink_old/
Step 4: Retrieve the latest version of the Gatekeeper application from SecureLink
- In this example, we are going to be updating the 5.7 WB1 Gatekeeper
- On the Gatekeeper within SecureLink, click on the gatekeeper name (5.7 WB1) or click "View" to open the gatekeeper.
- From the next screen, toward the bottom, click "Reset Registration Code". This is going to give you a new code and reveal the download link. Note the code for later use
- On the same page toward the top right you should now see a link named "Linux". Open that link to bring to the next page
- From the next page, you should see a section to download two SecureLink Components (spokclient.tar.gz and spokjava.tar.gz). Click on each to download them.
- Once downloaded, get the files on the server via SFTP or any other method as the rss user. Place these files in the rss home directory (/home/rss/)
Step 5: Extract and configure the new Gatekeeper application
- Get back to the Linux server and make sure you are the rss user
- Extract the new files using the following commands
- tar zxvf ~rss/spokclient.tar.gz
- tar zxvf ~rss/spokjava.tar.gz
- A new folder should be created in the rss home called "slink" (/home/rss/slink/).
- Copy the permkey.properties file from the old directory, to the new directory
- cp ~rss/slink_old/slink/bin/permkey.properties ~rss/slink/bin/
- Open the permkey.properties file and change the permkey to the once received in SecureLink earlier
- vim ~rss/slink/bin/permkey.properties
- Also be sure that the file looks similar to below, besides the permkey:
#Permanent Key Properties
#Fri Sep 21 10:37:55 CDT 2018
permkey=17cc8710af
scheduler.active=false
anytimeExpiry=0
Step 6: Start the Gatekeeper and Test in SecureLink
- On the Linux server, change user to root
- Start the SecureLink service
- service slinksc start
- Starting the service should look like the following
- Starting the service should look like the following
- service slinksc start
- Go back to SecureLink and view the Gatekeeper you were trying to update. If the connection is not yet online, wait a few seconds and then refresh the page. If the connect button is blue and the connection access is enabled, the gatekeeper is online.
- Test the connection to the server via SecureLink to be sure it works
Step 7: Check the new version of the Gatekeeper
- Go back and repeat Step 2, to check the version
Related Defects:
N/A
KB44859