This is an old revision of the document!


Linux

udev rules (for ASM) :

ENV{DM_VG_NAME}=="oradisksASM" ENV{DM_LV_NAME}=="DISK*" OWNER="oracle" GROUP="dba"

LVM :

lvdisplay --noheadings --units m -C -o Size /dev/db2vg/lv_RAW01

OpenSSL file encryption :

openssl aes-256-cbc -a -salt -in secrets.txt -out secrets.txt.enc

OpenSSL file decryption :

openssl aes-256-cbc -d -a -in secrets.txt.enc -out secrets.txt.new

Install components [ALL NODES] :

yum -y install pcs pacemaker fence-agents-all

Set password of user hacluster [ALL NODES] :

passwd hacluster

Enable services [ALL NODES] :

systemctl start pcsd.service
systemctl enable pcsd.service

Create authentication tokens [FROM PRIM. NODE] :

pcs cluster auth dbp04allx.unixguest.eu dbp26allx.unixguest.eu dbp05allx.unixguest.eu

Create cluster [FROM PRIM. NODE] :

pcs cluster setup --start --name HADR_ISM dbp04allx.unixguest.eu dbp26allx.unixguest.eu dbp05allx.unixguest.eu

Enable cluster services on boot [FROM PRIM. NODE] :

pcs cluster enable --all

  • linux_basic_admin.1571429096.txt.gz
  • Last modified: 2019/10/18 20:04
  • by 127.0.0.1