June 2018
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

June 2018
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

ANSIBLE Practice

ANSIBLE Practice Ansible-palybooks

root@controller:~$ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/root/.ssh/id_rsa. Your public key has been saved in /home/root/.ssh/id_rsa.pub. The key fingerprint is: 33:b8:4d:8f:95:bc:ed:1a:12:f3:6c:09:9f:52:23:d0 root@controller The key’s randomart image is: […]

kubernetes centos7.3

Last login: Thu Mar 1 00:45:37 2018 from 192.168.1.248 [root@clusterserver1 ~]# uname -a Linux clusterserver1.rmohan.com 3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25 20:13:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux [root@clusterserver1 ~]#

Master : 192.168.1.20 Worker1 : 192.168.1.21 Worker2 : 192.168.1.23 worker3 : 192.168.1.24

hostnamectl set-hostname ‘clusterserver1.rmohan.com’ exec bash setenforce 0 sed -i –follow-symlinks ‘s/SELINUX=enforcing/SELINUX=disabled/g’ /etc/sysconfig/selinux

[root@clusterserver1 […]