Previous page

Next page

Locate page in Contents

Print this page

vzrhnproxy

The vzrhnproxy utility is used to set up a Red Hat Network (RHN) Proxy Server meant for handling the packages included in the RHEL 4 and 5 OS EZ templates. It has the following syntax:

vzrhnproxy register OS_arch OS_name server_hostname

server1_IP_Address [ server2_IP_Address ...]

vzrhnproxy list

vzrhnproxy update [ profile_name ...]

vzrhnproxy help

The vzrhnproxy utility can be installed with the rpm -i command on any 'RHEL 4'-based server (e.g. RHEL 4 and RHEL 5, Fedora 7 and 8, or CentOS 4 and 5). To start using vzrhnproxy for creating an RHN Proxy Server, you should specify valid credentials in the /etc/vz/rhnproxy/rhn.conf file to log in to RHN and run the vzrhnproxy register command on the server where you wish to create the RHN Proxy Server. This command will:

  1. Connect to Red Hat Network with the credentials specified in the previous step.
  2. Register in RHN and create a system profile for the server with:
    • the hostname of HN_hostname
    • the OS name of OS_name . In the current version of Parallels Server Bare Metal, this name can be set to one of the following:

      * 4AS for Red Hat Enterprise Linux 4 Advanced Server

      * 4ES for Red Hat Enterprise Linux 4 Edge Server

      * 4WS for Red Hat Enterprise Linux 4 Workstation

      * 4Desktop for Red Hat Enterprise Linux 4 Desktop

      * 5Server for Red Hat Enterprise Linux 5 Server

      * 5Client for Red Hat Enterprise Linux 5 Desktop

    • the system architecture of OS_arch which can be one of the following: i386 for 32-bit versions of RHEL 4 and 5, x86_64 for x86-64-bit versions of RHEL 4 and 5, or ia64 for IA64-bit versions of RHEL 4 and 5
  3. Download the headers of the packages comprising the corresponding RHEL distribution to the RHN Proxy Server.
  4. Create a pseudo-repository containing the repodata generated on the basis of the downloaded headers.
  5. Grant the server with the IP address of server1_IP_Address access to the RHN Proxy Server. You can specify several IP addresses to allow several servers to use this Proxy Server.

The vzrhnproxy list command displays a list of all system profiles you have registered with Red Hat Network.

The vzrhnproxy update command updates the repodata in the pseudo-repository on the Proxy Server for the specified system profile ( profile_name ); you can specify more than one system profile whose repodata are to be updated.