Chapter 7. Add a Content Delivery Server
The Red Hat Update Infrastructure Management Tool provides several options for configuring a content delivery server (CDS) within the Red Hat Update Infrastructure (RHUI). Adding a CDS differs in Red Hat Update Infrastructure 3.0 from Red Hat Update Infrastructure 2.1.3. Rather than adding a preconfigured CDS as done in Red Hat Update Infrastructure 2.1.3, the Add step in the Red Hat Update Appliance (RHUA) also installs CDS services.
- Make sure sshd is running on the CDS node and that ports 443 and 5000 are open.
Navigate to the Red Hat Update Infrastructure Management Tool home screen.
[root@rhua ~]# rhui-manager
Press
cto select manage content delivery servers (CDS).-= Red Hat Update Infrastructure Management Tool =- -= Home =- r manage repositories c manage content delivery servers (CDS) l manage HAProxy load-balancer instances s synchronization status and scheduling e create entitlement certificates and client configuration RPMs n manage Red Hat entitlement certificates sm manage Red Hat subscriptions u manage RHUI users Connected: rhua.example.comType
ato select register (add) a new Content Delivery Server instance.------------------------------------------------------------------------------ = Red Hat Update Infrastructure Management Tool = = Content Delivery Server (CDS) Management = l list all known CDS instances managed by the RHUI a register (add) a new CDS instance r reinstall and reapply configuration to an existing CDS instance d unregister (delete) a CDS instance from the RHUI Connected: rhua.example.com ------------------------------------------------------------------------------ rhui (cds) => aEnter the host name of the CDS to add.
Hostname of the CDS instance to register: cds1.example.com
Enter the user name that will have SSH access to the CDS and have sudo privileges.
Username with SSH access to <cds1.example.com> and sudo privileges: root
Enter the absolute path to the SSH private key for logging in to the CDS and press
Enter.Absolute path to an SSH private key to log into <cds1.example.com> as root: /root/.ssh/id_rsa ......................................................................... The following CDS has been successfully added: Hostname: <cds1.example.com> SSH Username: root SSH Private Key: /root/.ssh/id_rsa The CDS will now be configured: ………………………………………………………….. The CDS was successfully configured.
- If adding the content delivery server fails, check that the CDS daemon pulp-cds is running and that the firewall rules permit access between the RHUA and the CDS.
Run the
mountcommand to see if Gluster Storage is mounted as read-write.[root@rhua ~]# mount | grep cds1.example.com cds1.example.com:rhui_content_0 on /var/lib/rhui/remote_share type fuse.glusterfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072)
After successful configuration, repeat these steps for any remaining CDSs. You can also add a CDS using the command-line interface.
[root@rhua ~]# rhui cds add cds1.example.com root /root/.ssh/id_rsa -u

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.