Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 
  
[+] Expand All
[-] Collapse All

Installing and Uninstalling Red Hat Package Manager for Services Activation Director

These topics provide step by step instructions to uninstall and install Red Hat Package Manager for Services Activation Director.

Uninstalling Red Hat Package Manager for Services Activation Director

To uninstall the Red Hat Package Manager for Services Activation Director:

Note: If your Junos Space setup contains more than one node, you must perform these steps for all nodes in the fabric.

  1. Connect to the Junos Space VIP node (by using SSH) and log in (as the admin user) to access the Junos Space CLI.

    The Junos Space Settings Menu appears.

  2. Type 6 (if the node is a hardware appliance) or 7 (if the node is a virtual appliance) to open a debug (command) prompt.

    You are prompted to enter your password.

  3. Type the password for the admin user and press Enter.

    You are taken to the shell.

  4. Run the rpm –qa | grep jmp-provisioning command to determine which Network Activate Red Hat Package Manager to uninstall. A sample output is as follows:
    [root@host ~]# rpm –qa | grep jmp-provisioning
        jmp-provisioning-14.3-167423
    
  5. Run the rpm -e -nodeps rpm-name command to uninstall the Red Hat Package Manager, where rpm-name is the name of the Red Hat Package Manager obtained in the preceding step.
  6. Run the rpm -qa | grep jmp-provisioning command to confirm that the Network Activate Red Hat Package Manager was uninstalled successfully. The command produces no output if the Red Hat Package Manager was uninstalled successfully.
  7. Run the rpm –qa | grep jmp-timing command to determine which Sync Design Red Hat Package Manager to uninstall. A sample output is as follows:
    [root@host ~]# rpm –qa | grep jmp-timing
        jmp-timing-14.3-167423
    
  8. Run the rpm -e -nodeps rpm-name command to uninstall the Red Hat Package Manager, where rpm-name is the name of the Red Hat Package Manager obtained in the preceding step.
  9. Run the rpm -qa | grep jmp-timing command to confirm that the Sync Design Red Hat Package Manager was uninstalled successfully. The command produces no output if the Red Hat Package Manager was uninstalled successfully.
  10. Run the rpm –qa | grep jmp-oam command to determine which OAM Insight Red Hat Package Manager to uninstall. A sample output is as follows:
    [root@host ~]# rpm –qa | grep jmp-oam
        jmp-oam-14.3-167423
    
  11. Run the rpm -e -nodeps rpm-name command to uninstall the Red Hat Package Manager, where rpm-name is the name of the Red Hat Package Manager obtained in the preceding step.
  12. Run the rpm -qa | grep jmp-oam command to confirm that the OAM Insight Red Hat Package Manager was uninstalled successfully. The command produces no output if the Red Hat Package Manager was uninstalled successfully.
  13. Exit the shell and log out of the Junos Space VIP node.

Installing Red Hat Package Manager for Services Activation Director

To install Red Hat Package Manager for Services Activation Director:

Note: If your Junos Space setup contains more than one node, you must perform these steps for all nodes in the fabric.

  1. Log in to the Junos Space CLI on the VIP node and access the shell.
  2. Run the /usr/bin/extract_image.sh -i /var/cache/jboss/jmp/Network-Activate.$appVersion/Network-Activate.$appVersion.img -s /etc/pki/jmp-softwareManager/certs/JunosSpaceSoftwareCA_v1.pem -t /etc/pki/jmp-softwareManager/certs/JunosSpaceTrusted_CAs.pem -d /home/admin/ command to extract Network Activate Red Hat Package Manager that you previously uninstalled from the Network Activate software image.

    The Red Hat Package Manager is extracted to the /home/admin/Network-Activate.$appVersion directory.

    Note: Before you execute the command, you must specify the release version for $appVersion, for example, Network-Activate.14.3R3.1.img.

  3. In the /home/admin/Network-Activate.$appVersion directory, run the rpm -ivh -force jmp-provisioning* command to install the Network Activate Red Hat Package Manager. A sample output follows.
    [root@host ~]# rpm -ivh -force jmp-provisioning*
            Preparing...                ########################################### [100%]
            1:jmp-provisioning  ########################################### [100%]
            File exists so just check for the strings     modprobe ip_conntrack_ftp present
         modprobe ip_conntrack_tftp present
         File exists so just check for the strings
         string present - so just replace the value
    
  4. Run the /usr/bin/extract_image.sh -i /var/cache/jboss/jmp/OAMInsight.$appVersion/OAMInsight.$appVersion.img -s /etc/pki/jmp-softwareManager/certs/JunosSpaceSoftwareCA_v1.pem -t /etc/pki/jmp-softwareManager/certs/JunosSpaceTrusted_CAs.pem -d /home/admin/ command to extract OAM Insight Red Hat Package Manager that you previously uninstalled from OAM Insight software image.

    The Red Hat Package Manager is extracted to the /home/admin/OAMInsight.$appVersion directory.

    Note: Before you execute the command, you must specify the release version for $appVersion, for example, OAMInsight.14.3R3.1.img.

  5. Run the rpm -ivh -force jmp-oam* command to install the OAM Insight Red Hat Package Manager. A sample output follows.
    [root@host ~]# rpm -ivh -force jmp-oam*
            Preparing...                ########################################### [100%]
            1:jmp-oam              ########################################### [100%]
            File exists so just check for the strings     modprobe ip_conntrack_ftp present
         modprobe ip_conntrack_tftp present
         File exists so just check for the strings
         string present - so just replace the value
    
  6. Run the /usr/bin/extract_image.sh -i /var/cache/jboss/jmp/SyncDesign.$appVersion/SyncDesign.$appVersion.img -s /etc/pki/jmp-softwareManager/certs/JunosSpaceSoftwareCA_v1.pem -t /etc/pki/jmp-softwareManager/certs/JunosSpaceTrusted_CAs.pem -d /home/admin/ command to extract Sync Design Red Hat Package Manager that you previously uninstalled from Sync Design software image.

    The Red Hat Package Manager is extracted to the /home/admin/SyncDesign.$appVersion directory.

    Note: Before you execute the command, you must specify the release version for $appVersion, for example, SyncDesign.14.3R3.1.img.

  7. Run the rpm -ivh -force jmp-timing* command to install the Sync Design Red Hat Package Manager. A sample output follows.
    [root@host ~]# rpm -ivh -force jmp-timing*
           Preparing...                ########################################### [100%]
           1:jmp-timing           ########################################### [100%]
           File exists so just check for the strings     modprobe ip_conntrack_ftp present
         modprobe ip_conntrack_tftp present
         File exists so just check for the strings
         string present - so just replace the value
    
  8. Exit the shell and log out of the Junos Space VIP node.

Modified: 2017-08-04