From 9e04b0a64cca35bb9ec553b9e79f74625140dd0a Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Wed, 18 May 2022 15:07:04 +0200 Subject: [PATCH] improve markdown --- infrastructure-guide/satint02.md | 136 +++++++++++++++---------------- 1 file changed, 68 insertions(+), 68 deletions(-) diff --git a/infrastructure-guide/satint02.md b/infrastructure-guide/satint02.md index 9c262110..fda1253a 100644 --- a/infrastructure-guide/satint02.md +++ b/infrastructure-guide/satint02.md @@ -5,95 +5,95 @@ For detailed documentation please refer to https://access.redhat.com/documentati Below are the PSI specific settings and documentation. -Manually installed with RHEL7, registered directly with redhat.com true ETH Zürich +Manually installed with RHEL7, registered directly with redhat.com through ETH Zürich. -The Satellite Server is setup with the latest vewrsion of rhel7. The VM is conectet to netap. +The Satellite Server is setup with the latest version of RHEL7. The VM is connected to Netapp. SELinux is enabled and not supported. -The Satellite Server is connected to our Active Directory +The Satellite Server is connected to our Active Directory. Satellite Server has an integrated Capsule and any host that is directly connected to Satellite Server is a Client of Satellite. Red Hat Content Delivery network is protected by x.509 cert authentication to ensure that only valid users can access it. -Directory and Structure of CDN +Directory and Structure of CDN: +``` [root@satint02 ~]# tree -d -L 11 . ├── satellite_cert └── ssl-build ├── localhost └── satint02.psi.ch - - - +``` After installing Satellite with the satellite-installer command, all Satellite services are started and enabled automatically. View the list of these services by executing: - +``` # satellite-maintain service list - +``` To see the status of running services, execute: - +``` # satellite-maintain service status - +``` To stop the satellite-maintain services, execute: - +``` # satellite-maintain service stop - +``` To start the satellite-maintain services, execute: - +``` # satellite-maintain service start - +``` To restart the satellite-maintain services, execute: -To create a user, complete the following steps: +## Create a User Ensure that you are logged on to the Satellite web UI as a user with administrator privileges for Satellite. - Navigate to Administer > Users. - Click Create User. - In the Login field, enter a username for the user. - In the Firstname and Lastname fields, enter the real first name and last name of the user. - In the Mail field, enter the user’s email address. - In the Description field, add a description of the new user. +- Navigate to Administer > Users. +- Click Create User. +- In the Login field, enter a username for the user. +- In the Firstname and Lastname fields, enter the real first name and last name of the user. +- In the Mail field, enter the user’s email address. +- In the Description field, add a description of the new user. For CLI - +``` # hammer user create \ --login user_name \ --password user_password \ --mail user_mail \ --auth-source-id 1 \ --organization-ids org_ID1,org_ID2... +``` - -Assigning Roles to a User +## Assigning Roles to a User Ensure that you are logged on to the Satellite web UI as a user with administrator privileges for Satellite. - Navigate to Administer > Users. - Click the username of the user to be assigned one or more roles. - Click the Organizations tab, and check that an organization is assigned. - Click the Roles tab to display the list of available roles. - Select the roles to assign from the Roles list. - To grant all the available permissions, select the Admin check box. - Click Submit. +- Navigate to Administer > Users. +- Click the username of the user to be assigned one or more roles. +- Click the Organizations tab, and check that an organization is assigned. +- Click the Roles tab to display the list of available roles. +- Select the roles to assign from the Roles list. +- To grant all the available permissions, select the Admin check box. +- Click Submit. For CLI - +``` # hammer user add-role --id user_id --role role_name +``` - -Managing SSH Keys for a User +## Managing SSH Keys for a User Navigate to Administer > Users. From the Username column, click on the username of the required user. Click on the SSH Keys tab. Add SSH key For CLI +``` # hammer user ssh-keys add \ --user-id user_id \ --name key_name \ --key-file ~/.ssh/id_rsa.pub +``` - -Monitoring +## Monitoring The Red Hat Satellite content dashboard contains various widgets which provide an overview of the host configuration, Content Views, compliance reports, subscriptions and hosts currently registered, promotions and synchronization, and a list of the latest notifications. @@ -108,25 +108,25 @@ Under Monitor > Audits there you will find a report on changes made by a specifi Under Monitor > Reports > Report Templates are there to schedule reports, you can configure a cron job or use the Satellite web UI. - In the Satellite web UI, navigate to Monitor > Report Templates. - To the right of the report template that you want to use, click Generate. +- In the Satellite web UI, navigate to Monitor > Report Templates. +- To the right of the report template that you want to use, click Generate. CLI procedure - To generate a report, complete the following steps: - - List all available report templates: - - # hammer report-template list - - Generate a report: - - # hammer report-template generate --id template ID +To generate a report, complete the following steps: +List all available report templates: +``` +# hammer report-template list +``` +Generate a report: +``` +# hammer report-template generate --id template ID +``` If you go to Monitor > Satellite Task > Task you find a overview of all tasks. -Content +## Content Under Content > Subscriptions you find an overview of all subscriptions and the Manifest. Satellite requires a Subscription Manifest to find, access, and download content from the corresponding repositories. @@ -144,14 +144,14 @@ Under Content > Sync Status here you can see a detailed overview of all rpms. Yo Importing a Subscription Manifest into Satellite Server Procedure - In the Satellite web UI, ensure the context is set to the organization you want to use. - Navigate to Content > Subscriptions and click Manage Manifest. - In the Manage Manifest window, click Browse. - Navigate to the location that contains the Subscription Manifest file, then click Open. If the Manage Manifest window does not close automatically, click Close to return to the Subscriptions window. +- In the Satellite web UI, ensure the context is set to the organization you want to use. +- Navigate to Content > Subscriptions and click Manage Manifest. +- In the Manage Manifest window, click Browse. +- Navigate to the location that contains the Subscription Manifest file, then click Open. If the Manage Manifest window does not close automatically, click Close to return to the Subscriptions window. Lifecycle: this functionality is covered by repo01. -Hosts +## Hosts Under Hosts > Host you find a list of all hosts who are connected to Satellite server @@ -160,18 +160,19 @@ Under Hosts > Discovered Hosts Satellite can detect hosts on a network that are Under Hosts > Create Hosts a host on the Satellite server To create a host in Satellite + Procedure - In the Satellite web UI, click Hosts > Create Host. - On the Host tab, enter the required details. - e.g. MAC address > Enter the MAC address. - DNS name > Enter the DNS name that is known to the DNS server $FQDN - Domain > Select the domain name of the provisioning network. This automatically updates the Subnet list with a selection of suitable subnets. +- In the Satellite web UI, click Hosts > Create Host. +- On the Host tab, enter the required details. +- e.g. MAC address > Enter the MAC address. +- DNS name > Enter the DNS name that is known to the DNS server $FQDN +- Domain > Select the domain name of the provisioning network. This automatically updates the Subnet list with a selection of suitable subnets. CLI procedure To create a host associated to a host group, enter the following command: - +``` # hammer host create \ --name "host_name" \ --hostgroup "hostgroup_name" \ @@ -182,7 +183,7 @@ CLI procedure --organization "Your_Organization" \ --location "Your_Location" \ --ask-root-password yes - +``` Under Hosts > Content Hosts you find a overview of hosts and there corrent status of installable updates @@ -191,11 +192,10 @@ Under Hosts > Register Hosts you can register a host to Satellite server To Register a Host to Satellite server Procedure - - Navigate to Hosts > Register Host. - Optional: Select a different Organization. - Optional: Select a different Location. - Optional: From the Host Group list, select the host group to associate the hosts with. Fields that inherit value from Host group: Operating system, Activation Keys and Lifecycle environment. +- Navigate to Hosts > Register Host. +- Optional: Select a different Organization. +- Optional: Select a different Location. +- Optional: From the Host Group list, select the host group to associate the hosts with. Fields that inherit value from Host group: Operating system, Activation Keys and Lifecycle environment. @@ -203,11 +203,11 @@ Under Hosts > Provisioning Setup you find all information from Satellite server -Configure +## Configure Under Configure you can make the configuration for hosts group, Puppet and Ansible. No configuration has been made there right now. -Infrastructure +## Infrastructure Under Infrastructure > Capsules you find information about the Capsul server who provide content federation and run localized services to discover, provision, control, and configure hosts.