Prepare Satellite server
Preparation:
Reference URL:
https://access.redhat.com/articles/1585273
Vocabulary:
Organization – Organizations divide hosts into logical groups
based on ownership, purpose, content, security level, or other
divisions.
Library – In general it is an environment that contains all the
original content.
Life Cycle Environments – Application life cycles are divided
into life cycle environments, which represent each stage of the
application life cycle. You can promote content along the
environment path to the next life cycle environment when
required.
Activation Key – activation keys is the way to manage what
content available to what environment and used to subscribe nodes
to Satellite.
Architecture
System Requirements
Red Hat 7
64-bit architecture
CPU: 2 cores+
RAM: 16GB
/ 50GB (min)
/var 300 GB (min) – cannot be in nfs (if using automation tool
make sure its on separate LVM or you can create a new LVM and
move /var) **
# telinit 1
Use up all the remaining space from the existing volume group
lvcreate -l 100%FREE -n <vol.grp.name.new>
#lvcreate -l 100%FREE -n RootVolVar RootVolGroup00
#mkfs.xfs /dev/RootVolGroup00/RootVolVar
# mkdir /mnt/var1
# mount -t xfs /dev/RootVolGroup00/RootVolVar /mnt/var1
# cp -pR /var/* /mnt/var1
# mv /var /var.old
# umount /mnt/var1
# rmdir /mnt/var1
# mkdir /var
# mount /dev/RootVolGroup00/RootVolVar /var
# vi /etc/fstab .....
>>add the new mountpoint entry for /var
/dev/mapper/RootVolGroup00-RootVolVar /var
xfs defaults 11
#vgchange -ay
to activate all volumes
# telinit 2
verify
IPTABLES
-A INPUT -m state --state NEW,ESTABLISHED -p udp --dport
53 -j ACCEPT -A INPUT -m state --state NEW,ESTABLISHED -
p tcp --dport 53 -j ACCEPT -A INPUT -m state --state
NEW,ESTABLISHED -p udp --dport 67 -j ACCEPT -A INPUT -m
state --state NEW,ESTABLISHED -p udp --dport 69 -j ACCEPT
-A INPUT -m state --state NEW,ESTABLISHED -p tcp --dport 80
-j ACCEPT -A INPUT -m state --state NEW,ESTABLISHED -p
tcp --dport 443 -j ACCEPT -A INPUT -m state --state
NEW,ESTABLISHED -p tcp --dport 5647 -j ACCEPT -A INPUT -
m state --state NEW,ESTABLISHED -p tcp --dport 8140 -j
ACCEPT -A INPUT -m state --state NEW,ESTABLISHED -p tcp
--dport 9090 -j ACCEPT
Optional:
Advertisement
Privacy Settings
Remove any previous RHN classic information (if exists)
rm -rf /etc/sysconfig/rhn/systemid
sed -i 's/enabled\ =\ 1/enabled\ =\ 0'/g
/etc/yum/pluginconf.d/rhnplugin.conf; grep enabled
/etc/yum/pluginconf.d/rhnplugin.conf
yum clean all;rm -rf /var/cache/yum/*
If puppet was used to deploy the satellite VM (remove all information)
Remove all puppet ssl configuration
puppet cert clean --all; rm -rf /var/lib/puppet/ssl/*
Verify ntpd is running and enabled at startup