Install Redhat satelitte capsule server

1) From satellite server generate certficates for capsule server.

capsule-certs-generate –capsule-fqdn  –certs-tar  ~/-certs.tar

[root@satserver ~]# capsule-certs-generate –capsule-fqdn  capsule01.xyz.com –certs-tar  ~/capsule01.xyz.com-certs.tar
Installing             Done                                               [100%] […………………………………………………]
Success!

To finish the installation, follow these steps:

1. Ensure that the capsule-installer package is installed on the system.
2. Copy /root/capsule01.xyz.com-certs.tar to the system capsule01.xyz.com
3. Run the following commands on the capsule (possibly with the customized
parameters, see capsule-installer –help and
documentation for more info on setting up additional services):

rpm -Uvh http://staserver.xyz.com/pub/katello-ca-consumer-latest.noarch.rpm
subscription-manager register –org “Default_Organization”
capsule-installer –parent-fqdn          “satserver.xyz.com”\
–register-in-foreman  “true”\
–foreman-oauth-key    “meN959SEtUnFWm2cwDCPhudaUbePW2TJ”\
–foreman-oauth-secret “5tdmdELFfnzA4tDt6oNm9usVKezCmpyS”\
–pulp-oauth-secret    “6a87Bp5YyH4YTp5WLxUnkRoXLSerpkbm”\
–certs-tar            “/root/capsule01.xyz.com-certs.tar”\
–puppet               “true”\
–puppetca             “true”\
–pulp                 “true”
The full log is at /var/log/katello-installer/capsule-certs-generate.log

2)  Follow above steps to complete Capsule server installation.

3) Once install done, capsule server will be listed under capsules as shown below.

[root@satserver ~]# hammer capsule list
[Foreman] Username: admin
[Foreman] Password for admin:
—|——————————————–|——————————————————–
ID | NAME                                       | URL
—|——————————————–|——————————————————–
1  | satserver.xyz.com | https://satserver.xyz.com:9090
2  | capsule01.xyz.com    | https://capsule01.xyz.com:9090

As shown above, every satellite server will have one default capsule server with id: 1

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s