Email: inbox [at] sysadmin.lk
LinkedIn: https://www.linkedin.com/in/prabatht
Facebook: https://www.facebook.com/prabath.hinoize
Related Articles
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 […]
Creating the SOAP server with NuSOAP
Creating the SOAP server Create a file called food.php and copy the and paste the below code into it. <?php require_once “lib/nusoap.php”; class food { public function getFood($type) { switch ($type) { case ‘starter’: return ‘Soup’; break; case ‘Main’: return ‘Curry’; break; case ‘Desert’: return ‘Ice Cream’; break; default: break; } } } $server = […]
Setting up the Basic High-Availability Cluster on Centos/RHEL 7
Networking: We have two nodes that are reachable by below Networks: 10.1.1.0/24 : Cluster heartbeat vlan. 172.16.1.0/24 : LAN with access to the Internal LAN network and Internet. We have set the following hostnames: [master ~]# hostnamectl set-hostname master.sysadmin.lk [client ~]# hostnamectl set-hostname client.sysadmin.lk We defined the Hostname and IP Address in “/etc/hosts” file(On both […]