此内容没有您所选择的语言版本。

Chapter 6. Registering Clients


You can register a client running a Red Hat Enterprise Linux version 6, 7 or 8 operating system to Capsule Servers that you configure for load balancing. For more information about registering clients and configuring them to use Puppet, see Registering Hosts in the Managing Hosts guide.

To register clients, proceed to one of the following procedures:

6.1. Registering Clients Using the Bootstrap Script

To register clients, enter the following command on the client. You must complete the registration procedure for each client.

Prerequisite

Ensure that you install the bootstrap script on the client and change the script’s file permissions to executable. For more information, see Registering Hosts to Red Hat Satellite Using The Bootstrap Script in the Managing Hosts guide.

  • On Red Hat Enterprise Linux 8, enter the following command:

    # /usr/libexec/platform-python bootstrap.py \
    --login=admin \
    --server loadbalancer.example.com \
    --organization="Your_Organization" \
    --location="Your_Location" \
    --hostgroup="Your_Hostgroup" \
    --activationkey=your_activation_key \
    --enablerepos=rhel-7-server-satellite-tools-6.8-rpms \
    --puppet-ca-port 8141 \    1
    --force                    2
    1
    Include the --puppet-ca-port 8141 option if you use Puppet.
    2
    Include the --force option to register the client that has been previously registered to a standalone Capsule.
  • On Red Hat Enterprise Linux 7, 6, or 5, enter the following command:

    # python bootstrap.py --login=admin \
    --server loadbalancer.example.com \
    --organization="Your_Organization" \
    --location="Your_Location" \
    --hostgroup="Your_Hostgroup" \
    --activationkey=your_activation_key \
    --enablerepos=rhel-7-server-satellite-tools-6.8-rpms \
    --puppet-ca-port 8141 \    1
    --force                    2
    1
    Include the --puppet-ca-port 8141 option if you use Puppet.
    2
    Include the --force option to register the client that has been previously registered to a standalone Capsule.

The script prompts for the password corresponding to the Satellite user name you entered with the --login option.

6.2. Registering Clients Manually

To register clients manually, complete the following procedure on each client that you register.

Procedure

  1. Remove the katello-ca-consumer package if it is installed:

    # yum remove 'katello-ca-consumer*'
  2. Install the katello-ca-consumer package from the load balancer:

    # rpm -Uvh \
    http://loadbalancer.example.com/pub/katello-ca-consumer-latest.noarch.rpm
  3. Register the client and include the --serverurl and --baseurl options:

    # subscription-manager register --org=Your_Organization \
    --activationkey=Your_Activation_Key \
    --serverurl=https://loadbalancer.example.com:8443/rhsm \
    --baseurl=https://loadbalancer.example.com/pulp/repos
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.