Skip to content

Instantly share code, notes, and snippets.

View marciodf's full-sized avatar
🤓
learning

Marcio Dala Corte Fernandes marciodf

🤓
learning
View GitHub Profile
@marciodf
marciodf / hosts
Last active February 11, 2019 18:51
inventario lab: 1 master e 2 app nodes
[OSEv3:children]
masters
nodes
etcd
glusterfs
glusterfs_registry
[OSEv3:vars]
ansible_ssh_user=root
@marciodf
marciodf / openshift-pre-req.md
Created April 11, 2019 21:27 — forked from luszczynski/openshift-pre-req.md
Openshift Prerequisites

Openshift prerequisites

Servers

1 Servidor (Master)

  • RHEL 7.6 minimal puro (sem customização);
  • 4 vCPUs;
  • 16 GB de memória;
  • Partição LVM separada para o /var com no mínimo 40GB;
@marciodf
marciodf / hosts
Last active March 25, 2020 21:40
Laboratorio OCP 3.11 backup - 1 master, 1 infra e 2 app nodes
[OSEv3:children]
masters
nodes
etcd
glusterfs
[etcd]
master1.contoso.int openshift_public_hostname=master1.contoso.int
[masters]
@marciodf
marciodf / comandos.txt
Last active April 5, 2020 14:49
backup dos comandos linux
38 2018-08-14 09:27:23 yum info
39 2018-08-14 16:12:02 rpm -qa
40 2018-08-14 16:12:18 rpm -qa | grep spider
41 2018-08-14 16:12:27 rpm -qa | grep oak
42 2018-08-14 16:14:02 rpm -qa | grep semaphor
43 2018-08-14 16:14:10 rpm -qa | grep sem
44 2018-08-14 16:14:44 rpm -qa | grep Spi
45 2018-08-14 16:15:04 yum remove SpiderOakGroups
46 2018-08-14 16:15:58 systemctl --list-units
47 2018-08-14 16:16:03 systemctl list-units
#/* ****************Master.sh **************** */
#/* bash Master.sh | tee ~/master.out
#!/bin/bash -x
## Abril 2020
echo "Ubuntu 18.04"
sleep 3
echo
echo "Disable swap until next reboot"
echo
sudo swapoff -a