Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Installing and Uninstalling Red Hat Package Manager for Connectivity Services Director

    Red Hat Package Manager (RPM) for Connectivity Services Director can be installed or uninstalled by running install scripts. With RPM, you can install, upgrade, and uninstall software and also keep track of existing RPM agents on your device. To install a package or to upgrade to a new package, you must uninstall existing RPM agents on your device.

    The topics given below provide step by step instructions to install and uninstall Red Hat Package Manager for Connectivity Services Director.

    Installing Red Hat Package Manager for Connectivity Services Director

    To install Red Hat Package Manager for Connectivity Services 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/Connectivity-Services-Director.1.0R2.6/Connectivity-Services-Director.1.0R2.6.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 the Connectivity Services Director Red Hat Package Manager that you previously uninstalled from the Connectivity Services Director software image.

      The Red Hat Package Manager is extracted to the /home/admin/Connectivity-Services-Director.1.0R2.6 directory.

    3. Run the rpm -ivh --force jmp-csd-1.0-367423.x86_64.rpm command to install the Connectivity Services Director Red Hat Package Manager. A sample output follows.
      [root@host ~]# rpm -ivh --force jmp-csd-1.0-367423.x86_64.rpm
            Preparing...                ########################################### [100%]
              1:jmp-csd                ########################################### [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. Exit the shell and log out of the Junos Space VIP node.

    Uninstalling Red Hat Package Manager for Connectivity Services Director

    To uninstall the Red Hat Package Manager for Connectivity Services 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.
    3. Type the password for the admin user when prompted, and press Enter.

      You are taken to the shell.

    4. Run the rpm -qa|grep jmp-csd command to determine Connectivity Services Director Red Hat Package Manager to uninstall. A sample output is as follows:
      [root@host ~]# rpm -qa|grep jmp-csd
          jmp-csd-1.0-367423
    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-csd command to confirm that the Red Hat Package Manager was uninstalled successfully. The command produces no output if the Red Hat Package Manager was uninstalled successfully.
    7. Exit the shell and log out of the Junos Space VIP node.

    Modified: 2018-03-21