Patch Management for Closed Network
If the Desktop Central Server is installed in a closed network, like Demilitarized Zone (DMZ), where the Server has no internet connection, the patch synchronization and automatic update is not possible. The following steps will help you to manually download all the missing patches and update them to the required computers.
- Configure Proxy Settings
- Download and setup the Tool
- Update the Patch Database
- Download the Required Patches
Configure Proxy Settings
- Click Admin Tab and select Proxy Settings, under Patch Settings
- Choose No connection to Internet
- Click OK to save changes.
- Download this zip and extract it on to a computer with an internet connection.
Note: If the computer does not have direct internet connection, open the downloadMgr.prop file available within the extracted location and provide the details of the proxy server, port and authentication details.
You have successfully configured the tool and it is ready to be used. Configuring Proxy and setting up the tool are one time operations, whereas Updating the Patch Database and Downloading the required patches need to be done every time you wanted to deploy the latest missing patches.
Update the Patch Database
- Go to the machine where you have extracted the downloadMgr.prop, open a command prompt and navigate to the extracted directory.
- i) To download details of Windows and Mac patches alone, execute the command: patchsync.bat -c updatedb
ii) To download details of Linux, Windows and Mac patches, execute the command: patchsync.bat -c updatedb -i linux
- This will update the latest patch information available at Zohocorp website to the local computer. The update will take some time and after completion, the necessary information will be updated in the updatedb directory.
- Copy the updatedb directory to the Desktop Central Server to <Install Directory>/conf/CRSData directory.
- From the Desktop Central Web Console, click the Patch Mgmt tab and click Update Now button. This will copy the necessary information from the updatedbdirectory to the database. Now, the local database will have the latest patch information.
- Now, scan the computers in the network to identify the missing patches.
Note: You will not be able to view all the missing patches, unless scanning is completed for all the computers. Ensure that all the computers are scanned, before manually downloading the missing patches.
The next step is to download the missing patches from the computer with internet connection and copy it back to this computer.
Download the Required Patches
- To download the patches, you would first require the details of the missing patches. To get this, go to the Missing Patches view and click Export Missing Patches button. This will export the details of the missing patches that has not been downloaded and the dependent patches which should be downloaded as downloadUrlJson.txt
- Copy this file to the directory in the computer where you had extracted the zip.ss
- Open a command prompt and execute the command: patchsync.bat -c dwnpatch -f downloadUrlJson.txt
- This will download all the missing patches to the store directory. Once all the files are downloaded, copy the contents of the store directory and copy it to the Desktop Central Server to <Install_Dir>/webapps/DesktopCentral/Store directory (this is the default location; if this has been changed copy it to the appropriate location)
- You should then update this information to the database so that all these patches are shown in the Downloaded Patches view. To do this, open the Downloaded Patches view and click Update Downloaded Patches button.
- All the manually downloaded patches will appear in the view from where you can deploy them to the required computers.
You have successfully configured the patch management process in a closed network.