Nehra Classes
7.79K subscribers
818 photos
32 videos
507 files
1.33K links
Download Telegram
Hi #NehraClasses Family,
Everything is ready for the Foreman Katello Server session. Only one thing remaining that is to be done from your end, which is likes target of 150 likes. Already did a lot of research, fixed all the issues, broke down complex concepts into simple topics, tested everything practically & created the document as well. Session has been already scheduled for tomorrow 09:30 PM IST. Kindly complete the likes target of 125 likes so that we can conduct the session on time without any hiccups.

https://youtu.be/BeYE_jHZ8Ss

Foreman is a complete lifecycle management tool for physical and virtual servers. We give system administrators the power to easily automate repetitive tasks, quickly deploy applications, and proactively manage servers, on-premise or in the cloud.

Minimum 20 GB RAM & 4vCPUs are needed in order to install foreman katello.
๐Ÿ‘7
[root@foreman ~]# history
1 free -g
2 localectl set-locale LC_CTYPE=en_US.utf8
3 localectl status
4 hostnamectl set-hostname foreman.nehraclasses.local
5 hostnamectl status
6 vim /etc/hosts
7 echo 192.168.0.113 foreman.nehraclasses.local foreman localhost >> /etc/hosts
8 vim /etc/hosts
9 dnsdomainname -f
10 yum install chrony -y
11 systemctl enable chronyd --now
12 chronyc sources
13 timedatectl set-ntp true
14 timedatectl status
15 firewall-cmd --add-port={53,80,443,5647,9090}/tcp --permanent
16 firewall-cmd --add-port={67-69,53}/udp --permanent
17 firewall-cmd --reload
18 firewall-cmd --list-all
19 lsblk
20 pvcreate /dev/sdb
21 vgcreate vg_pulp /dev/sdb
22 lvcreate -l 100%FREE -n lv_pulp vg_pulp
23 mkfs.xfs /dev/mapper/vg_pulp-lv_pulp
24 mkdir /var/lib/pulp
25 mount /dev/mapper/vg_pulp-lv_pulp /var/lib/pulp/
26 echo "/dev/mapper/vg_pulp-lv_pulp /var/lib/pulp/ xfs defaults 0 0" >> /etc/fstab
27 tail -n1 /etc/fstab
28 restorecon -Rv /var/lib/pulp/
29 df -hP /var/lib/pulp/
30 yum update -y
31 yum -y localinstall https://yum.theforeman.org/releases/1.24/el7/x86_64/foreman-release.rpm
32 yum -y localinstall https://fedorapeople.org/groups/katello/releases/yum/3.14/katello/el7/x86_64/katello-repos-latest.rpm
33 yum -y localinstall https://yum.puppet.com/puppet6-release-el-7.noarch.rpm
34 yum -y localinstall https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
35 yum install foreman-release-scl -y
36 yum install katello -y
37 foreman-installer --scenario katello --foreman-initial-admin-username admin --foreman-initial-admin-password 'redhat'
38 vim /etc/foreman-installer/scenarios.d/katello.yaml
39 vim /etc/foreman-installer/scenarios.d/katello-answers.yaml
40 foreman-installer --scenario katello --foreman-initial-admin-username admin --foreman-initial-admin-password 'redhat'
41 tail -f /var/log/foreman-installer/katello.log
42 katello-service status | grep -i "Active"
43 hammer user list
44 hammer organization list
45 hammer product create --organization-id 1 --name "CentOS 7 Linux x86_64" --description "Repository for CentOS 7 Linux"
46 mkdir -p /etc/pki/rpm-gpg/import
47 wget -P /etc/pki/rpm-gpg/import/ http://mirror.centos.org/centos-7/7/os/x86_64/RPM-GPG-KEY-CentOS-7
48 hammer gpg create --organization-id 1 --key "RPM-GPG-KEY-CentOS-7" --name "RPM-GPG-KEY-CentOS-7"
49 hammer repository create --organization-id 1 --product "CentOS 7 Linux x86_64" --name "CentOS 7 OS x86_64" --label "CentOS_7_OS_x86_64" --content-type "yum" --download-policy "on_demand" --gpg-key "RPM-GPG-KEY-CentOS-7" --url "http://mirror.centos.org/centos-7/7/os/x86_64/" --mirror-on-sync "no"
50 hammer repository create --organization-id 1 --product "CentOS 7 Linux x86_64" --name "CentOS 7 Extra x86_64" --label "CentOS_7_Extra_x86_64" --content-type "yum" --download-policy "on_demand" --gpg-key "RPM-GPG-KEY-CentOS-7" --url "http://mirror.centos.org/centos-7/7/extras/x86_64/" --mirror-on-sync "no"
51 hammer repository create --organization-id 1 --product "CentOS 7 Linux x86_64" --name "CentOS 7 Updates x86_64" --label "CentOS_7_Updates_x86_64" --content-type "yum" --download-policy "on_demand" --gpg-key "RPM-GPG-KEY-CentOS-7" --url "http://mirror.centos.org/centos-7/7/updates/x86_64/" --mirror-on-sync "no"
52 hammer repository create --organization-id 1 --product "CentOS 7 Linux x86_64" --name "Ansible x86_64" --label "Ansible_x86_64" --content-type "yum" --download-policy "on_demand" --gpg-key "RPM-GPG-KEY-CentOS-7" --url "http://mirror.centos.org/centos-7/7/configmanagement/x86_64/ansible29/" --mirror-on-sync "no"
๐Ÿ‘8๐Ÿ”ฅ1
53 hammer repository create --organization-id 1 --product "CentOS 7 Linux x86_64" --name "Storage x86_64" --label "Storage_x86_64" --content-type "yum" --download-policy "on_demand" --gpg-key "RPM-GPG-KEY-CentOS-7" --url "http://mirror.centos.org/centos-7/7/storage/x86_64/ceph-nautilus/" --mirror-on-sync "no"
54 hammer repository list --organization-id 1 --product "CentOS 7 Linux x86_64"
55 hammer product list --name "CentOS 7 Linux x86_64" --organization-id 1
56 hammer organization list
57 hammer lifecycle-environment list
58 hammer content-view list
59 hammer activation-key create --organization-id 1 --name "CentOS7_Dev" --description "CentOS 7 Activation Key for Development/Test Servers" --lifecycle-environment "Development" --purpose-role "Red Hat Enterprise Linux Server" --purpose-usage "Development/Test" --content-view "CentOS 7" --unlimited-hosts
60 hammer activation-key create --organization-id 1 --name "CentOS7_Tst" --description "CentOS 7 Activation Key for Development/Test Servers" --lifecycle-environment "Testing" --purpose-role "Red Hat Enterprise Linux Server" --purpose-usage "Development/Test" --content-view "CentOS 7" --unlimited-hosts
61 hammer activation-key create --organization-id 1 --name "CentOS7_Prod" --description "CentOS 7 Activation Key for Production Servers" --lifecycle-environment "Production" --purpose-role "Red Hat Enterprise Linux Server" --purpose-usage "Production" --content-view "CentOS 7" --unlimited-hosts
62 hammer activation-key list --organization-id 1
63 hammer subscription list --organization-id 1
64 hammer activation-key add-subscription --organization-id 1 --name "CentOS7_Dev" --quantity "1" --subscription-id "1"
65 hammer activation-key add-subscription --organization-id 1 --name "CentOS7_Dev" --quantity "1" --subscription-id 1
66 hammer activation-key add-subscription --organization-id 1 --name "CentOS7_Dev" --quantity "1" --subscription-id "1"
๐Ÿ‘15
Hi #NehraClasses Family,
Everything is ready for the Redhat Satellite Server session. Only one thing remaining that is to be done from your end, which is likes target of 250 likes. Already did a lot of research, fixed all the issues, broke down complex concepts into simple topics, tested everything practically & created the document as well. Session has been already scheduled for tomorrow 09:30 PM IST. Kindly complete the likes target of 250 likes so that we can conduct the session on time without any hiccups.

https://youtu.be/Ms1E5FXwzw8

Red Hat Satellite is system management software that makes Red Hat infrastructure easier to deploy, scale, and manage across any environment.

Please Note: Minimum 20 GB RAM & 4vCPUs are needed in order to install it.
๐Ÿ‘15๐Ÿ”ฅ4
I have scheduled a session for tomorrow, where i will show you the foreman clients configuration and their patching again.
๐Ÿ”ฅ5๐Ÿ‘2
Nehra Classes
Foreman Katello, gpg keys, product, life cycle environments, activation keys, repositories management, client registration & patching will be covered in this part -2 session. https://youtu.be/X5sdORQt9yA
I will show how to add the products there in foreman, how to add gpg keys, how to create repositories, how to manage life cycle environments, how to generate activation keys for hosts, how to add repos to activation keys, how to register client machines in foreman Katello server, how to manage subscriptions of client machines, how to patch the client machine manually as well as from foreman server.
๐Ÿ‘5
Hi Guys,
Look at this, tell me how to deal with such people?
King size ๐Ÿ˜‚
Hi #NehraClasses Family,
Upcoming session details:
1. Redhat Satellite Server - 25/01/23
2. CUPS Print Server & Clients - 27/01/23
3. Apache Tomcat Server & Clients - 30/01/23
4. OpenVPN Server & Clients - 01/02/23
5. Ansible Server & Clients - 03/02/23
6. Multipathing in Linux - 06/02/23
7. Linux OS Patching - 08/02/23
8. How To Define Units Under Systemd - 10/02/23
9. GPT Disk Management (gdisk command) - 13/02/23
10. Complete Ansible Training (RHCE on RHEL 9) - 15/02/23
๐Ÿ‘14
Course Code
foremankatello

Duration
28 hours (usually 4 days including breaks)

Requirements
Knowledge of Linux operating system
Experience with systems management
Audience

System operators
System administrators
Overview
Foreman and Katello are open source infrastructure management solutions that simplify the lifecycle management of servers. Foreman provides provisioning, configuration, and monitoring of servers, supported by Katello's content management capabilities.

This instructor-led, live training (online or onsite) is aimed at system operators and administrators who wish to use Foreman and Katello to manage and monitor their servers and infrastructures.

By the end of this training, participants will be able to:

Set up Foreman to automate provisioning and configuration of systems.
Install Katello and implement its content management features to create, organize, and manage repositories.
Track infrastructure changes using Foreman's reporting and monitoring features.
Format of the Course

Interactive lecture and discussion.
Lots of exercises and practice.
Hands-on implementation in a live-lab environment.
Course Customization Options

To request a customized training for this course, please contact us to arrange.
Course Outline
Introduction

Overview of Foreman/Katello Features and Architecture

Component versions
Foreman/Katello versus Red Hat Satellite
Deployment planning and considerations
Getting Started with Foreman/Katello

Foreman installation
Katello agent
Hammer configuration
Performing Content Management with Katello

Activation keys
Subscription management
Content views
Registering Existing Hosts

Manual and automated registrations
Existing system registration
Host control
Integrating with Puppet

Puppet basics
User management
Creating modules
Integrating an Identity Management System

Identity management system setup
External authentication
Provisioning New Systems

Host groups and parameters
Bare metal, cloud, and private virtualization provisioning
Provisioning new host from discovered host
Integrating with Kernel-Based Virtual Machines (KVM)

System virtualization and configuration
Provisioning a virtual machine
Monitoring Servers with Foreman

Dashboard configuration
Logging and reports
Troubleshooting

Summary and Conclusion
๐Ÿ‘17
Nehra Classes
Photo
60% of these topics have been covered by us in live sessions, free of cost.