MySQL Red hat linux

Setting up Galera Arbitrator

Galera Arbitrator <http://galeracluster.com/documentation-webpages/arbitrator.html> is a member of Percona XtraDB Cluster that is used for voting in case you have a small number of servers (usually two) and don’t want to add any more resources. Galera Arbitrator does not need a dedicated server. It can be installed on a machine running some other application. Just make sure it has […]

nagios Red hat linux

Standard Macros in Nagios

Standard macros that are available in Nagios are listed here. On-demand macros and macros for custom variables are described here. Macro Validity Although macros can be used in all commands you define, not all macros may be “valid” in a particular type of command. For example, some macros may only be valid during service notification commands, […]

Red hat linux

Firewalld Cheat Sheet

Notes and Tips To list all services firewalld is aware in an easy to read format use command firewall-cmd –get-services | tr ” ” “\n” Default firewalld service .xml files can be found under /usr/lib/firewalld/services For all commands that support the –zone= option if no zone is provided it will use the default zone. To make changes persistent add […]

Red hat linux

Pacemaker Cheat Sheet

File and Directory Locations LOCATION DESCRIPTION /var/lib/pacemaker/cib/cib.xml Primary cluster configuration file /var/log/cluster/corosync.log Primary cluster log file /usr/lib/ocf/resource.d/heartbeat/ Directory where resource scripts are located Check Cluster Status COMMAND DESCRIPTION pcs cluster status Display status of cluster nodes pcs status –full (double dashes) Display detailed cluster status of nodes and resources pcs resource Display status of all […]

35-basic-linux-commands-in-sinhala
Red hat linux

35 Basic Linux Commands in Sinhala

1) pwd command ඔබ සිටින වත්මන් වැඩ කරන ඩිරෙක්ටරියේ (ෆෝල්ඩරයේ) මාර්ගය සොයා ගැනීමට pwd විධානය භාවිතා කරන්න . [prabath@mail ~]$ pwd /home/prabath 2) cal command වත්මන් මාසයේ දින දර්ශනය පෙන්වයි. [prabath@mail ~]$ cal November 2020 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 […]