Katello is a free tool available on REDHAT and CENT OS to implement and deploy (using Kickstart method)/
It is similar like openstack provided by Redhat. Important links shared by katello are below we can follow up and install and configure.
Detail :- Katello brings the full power of content management alongside the provisioning and configuration capabilities of Foreman. katello provided below features:-
Local Yum and Puppet Repositories.
Snapshot Content and Configuration for Reproducible Builds.
Issue Package and Errata Updates
and much more features...
http://www.katello.org/
http://www.katello.org/docs/installation/index.html
Deployment steps. please provide your feedback and share errors if you find any while performing the implementation.
[root@katello-02 ~]# history
1 date
2 chkconfig firewalld off
3 vi /etc/selinux/config
4 setenforce 0
5 hostnamectl set-hostname lhr1-katello-02
6 vi /etc/hosts
7 vi /etc/sysconfig/network
8 init 6
9 /etc/init.d/network restart
10 ifconfig
11 vi /etc/sysconfig/network-scripts/ifcfg-ens192
12 /etc/init.d/network restart
13 ping 10.80.20.1
14 hostname
15 hostname --fqdn
16 ping google.com
17 yum -y localinstall http://fedorapeople.org/groups/katello/releases/yum/nightly/katello/RHEL/7Server/x86_64/katello-repos-latest.rpm
18 yum -y localinstall http://yum.theforeman.org/nightly/el7/x86_64/foreman-release.rpm
19 yum -y localinstall http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
20 yum -y localinstall http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
21 yum -y install foreman-release-scl
22 yum -y install katello
23 yum install ruby rubygems ruby-devel gcc
24 rpm -ivh vagrant_1.7.4_x86_64.rpm
25 git clone https://github.com/Katello/katello-deploy.git
26 cd katello-deploy/
27 ls
28 ls -ltr
29 yum install @virtualization libvirt-devel
30 vagrant plugin install vagrant-libvirt
31 export VAGRANT_DEFAULT_PROVIDER=libvirt
32 katello-installer --capsule-tftp=true
33 katello-installer --capsule-dns=true --capsule-dns-interface="ens192" --capsule-dns-zone="prd.rmsonecloud.net" --capsule-dns-forwarders="10.80.20.214" --capsule-dns-reverse="20.80.10.in-addr.arpa"
34 katello-installer --capsule-dhcp-range="10.80.112.11 10.80.112.199" --capsule-dhcp-gateway="10.80.112.1" --capsule-dhcp-nameservers="10.80.20.81"
35 exit
36 cd katello-deploy/
37 vagrant up
38 katello-installer
39 hostname
40 pwd
41 ls
42 ls -ltr
43 cd katello-deploy/
44 ls
45 ls -ltr
46 cd test/
47 lds
48 ls
49 ls -ltr
50 date
51 cd /var/lo
52 cd /var/log/
53 ls
54 ls -ltr
55 date
56 more messages
57
58 tail -f messages
59 ls -ltr
60 cd /var/lib/tftpboot/
61 ls -ltr
62 cd pxelinux.cfg
63 ls -ltr
64 pwd
65 ifconfig
66 yum install subscription-manager
67 yum clean all
68 yum install subscription-manager
69 yum install python-rhsm-1.8.0-2.pulp.el7.x86_64
70 yum update python-rhsm
71 yum upgrade python-rhsm
72 rpm -Uvh python-rhsm
73 rpm -qa |grep -i python-rhsm
74 rpm -Uvh
75 pwd
76 ls
77 ls -ltr
78 rpm -Uvh python-rhsm-1.13.10-1.el7.x86_64.rpm
79 yum install subscription-manager
80 subscription-manager
81 subscription-manager version
82 rpm -Uvh http://$KATELLO_HOSTNAME/pub/katello-ca-consumer-latest.noarch.rpm
83 rpm -Uvh http://$10.80.20.81/pub/katello-ca-consumer-latest.noarch.rpm
84 rpm -Uvh http://10.80.20.81/pub/katello-ca-consumer-latest.noarch.rpm
85 subscription-manager register --org=Default_Organization --environment=Library
86 subscription-manager register --org=Default_Organization --environment=Devel/MyView
87 pwd
88 ls
89 ls -ltr
90 cd katello-deploy/
91 ls
92 ls -ltr
93 cd test/
94 ls
95 cd ../config/
96 ls
97 ls -ltr
98 cd ../lib/
99 ls
100 ls -ltr
101 cd katello_deploy/
102 ls
103 ls -ltr
104 cd processors/
105 ls
106 ls -ltr
107 pwd
108 cd ..
109 ls
110 ls-ltr
111 cd ..
112 pwd
113 cd /var/log
114 ls
115 ls -ltr
116 date
117 tail -f messages
118 subscription-manager list --available
119 subscription-manager list
120 subscription-manager list --available
121 history |grep katello
122 capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar "~/$CAPSULE-certs.tar"
123 cd ~/katello-deploy/
124 capsule-certs-generate --capsule-fqdn "$CAPSULE" --certs-tar "~/$CAPSULE-certs.tar"
125 katello-installer --capsule-dhcp-range="10.80.112.11 10.80.112.199" --capsule-dhcp-gateway="10.80.112.1" --capsule-dhcp-nameservers="10.80.20.81"
126 wget http://mirror.aarnet.edu.au/pub/centos/6.5/
127 ls
128 ls -ltr
129 cat index.html
130 l
131 ls -ltr
132 rm index.html
133 hostname
134 df -h
135 pwd
136 cat /etc/dhcp/dhcpd.conf
137 cat /etc/dhcp/dhclient.d/chrony.sh
138 ps -ef |grep -i dhcp
139 yum install dhcp
140 pwd
141 yum clean all
142 yum list all
143 pwd
144 ls
145 cd /etc/yum.repos.d/
146 ls
147 ls -ltr
148 pwd
149 date
150 vi /etc/dhcp/dhcpd.conf
151 systemctl status dhcp
152 systemctl status dhcpd
153 systemctl start dhcpd
154 systemctl status dhcpd.service
155 /usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid
156 systemctl status dhcpd.service
157 cat /etc/dhcp/dhcpd.hosts
158 touch /etc/dhcp/dhcpd.hosts
159 cat /etc/dhcp/dhcpd.hosts
160 vi /etc/dhcp/dhcpd.hosts
161 ls -ltr /etc/dhcp/dhcpd.hosts
162 systemctl start dhcpd
163 systemctl status dhcpd.service
164 ps -ef |grep dhcp
165 history
[root@katello-02 ~]#
some steps are performed to perform some troubleshooting, you can avoid them.
Thanks
Amit Chopra
No comments:
Post a Comment