Description

This article will help you with steps to install hotpatch on DR enabled JunosSpace setup. 

Solution

To install a hotpatch on a disaster recovery Junos Space setup, download the hotpatch from the Juniper Networks support website . Make sure to download the latest available hot-patch version, which is the cumulative patch and follow below steps. 


Note: Script will automatically detects whether the deployment is a standalone or a cluster deployment and installs the patch accordingly. In case if it is DR enabled setup, script also gives you warning message to stop and reset DR before installing the hotpatch.

Example: 

[root@space-005056a9d5ac Space-X-Hotpatch-VX]# sh patchme.sh 
WARNING:DR has been enabled and it is up and running.
Please stop and reset the DR before applying the hot-patch.


If DR feature is enabled on your setup make sure to stop and reset the DR on both the active and standby sites by following below steps. 

   a. Stop DR on primary site it will stop it on standby DR sites as well

   #  jmp-dr stop 

   b. Verify DR is stopped on both sites by running below command and make sure DR is stopped on both site

   # jmp-dr health

   c. reset the DR configuration on both sites 

   # jmp-dr reset 

   d. Once DR reset completed verify with below command. 

   # jmp-dr health

   e. Then install hotpatch on both DR sites VIP Node by following below steps.
 

      1. Copy the Space-X-Hotpatch-vX.tgz file to the /home/admin location of the VIP node.
 

      2. Verify the checksum of the hot patch for data integrity using the following command:

     # md5sum Space-X-Hotpatch-vX.tgz
 

      3. Extract the Spaced-Hotpatch-vX.tgz file using the following command:

     # tar -zxvf Space-X-hotpatch-vX.tgz
 

       4. Change the directory to Space-21.3R1-Hotpatch-vX:

     # cd Space-21.3R1-Hotpatch-vX
 

       5. Execute the patchme.sh script from the Space-21.3R1-Hotpatch-vX folder:

     # sh patchme.sh

      6. A marker file will get created under /etc/.Space-XR1-Hotpatch-vX and its a hidden file, to verify run below command 

     # ls -al /etc | grep -i hotpatch

      7. Once hotpatch is installed on both sites then reconfigure DR by following Disaster recovery configuration guide again. 
   
Note : If you face any issues, please contact JUNIPER JTAC Support for assistance.

Modification History

Article Create- 6 Sept 24