-
Notifications
You must be signed in to change notification settings - Fork 3
Populate VMs from ready templates
Khodayar Doustar edited this page Apr 26, 2020
·
5 revisions
Now we can populate VMs from the template we have created in previous step. You can use DNS setting file to find out VM hostname
s and ip address
es, you just need to change these two setting after populating vms.
Here's the list again:
**hostname** **ip** **tmp type**
mst01.okd.lcl 10.1.1.21 basic
mst02.okd.lcl 10.1.1.22 basic
mst03.okd.lcl 10.1.1.23 basic
wrk01.okd.lcl 10.1.1.41 basic
wrk02.okd.lcl 10.1.1.42 basic
wrk03.okd.lcl 10.1.1.43 basic
inf01.okd.lcl 10.1.1.51 basic
inf02.okd.lcl 10.1.1.52 basic
inf03.okd.lcl 10.1.1.53 basic
glf01.okd.lcl 10.1.1.61 storage
glf02.okd.lcl 10.1.1.62 storage
glf03.okd.lcl 10.1.1.63 storage
glr01.okd.lcl 10.1.1.71 storage
glr02.okd.lcl 10.1.1.72 storage
glr03.okd.lcl 10.1.1.73 storage
nlb01.okd.lcl 10.1.1.31 basic
And here are the commands to easily change ip
and hostname
:
nmcli connection modify ens### ipv4.addresses 10.1.1.##/24
hostnamectl set-hostname $$$##.okd.lcl
We will just populate these 16 VM for now and wait for these other 3 VMs until implementation is complete.
openshift-ansible
installer will install and configure haproxy
on nlb01
and them we will clone 3 other instances from it, I'll explain it later.