HOWTO INSTALL KONG API GATEWAY & ITS DATABASE i.e., POSTGRES ON VERITAS HA | ON INFOSCALE AVAILABILITY

July 18, 2018

0

ENVIRONMENT Postgres = 9.6 Kong API Gateway = 0.11.2 OS = RHEL 7.3 InfoScale Availability | VCS version = 7.3.1 InfoScale Availability Nodes| VCS Nodes = 2   First use below link to install and configure KONG API Gateway & Postgres HOWTO INSTALL KONG API GATEWAY & ITS DATABASE i.e., POSTGRES https://zahidhaseeb.wordpress.com/2018/07/18/howto-install-kong-api-gateway-its-database-i-e-postgres/ Install ACC library, Agent […]

Posted in: Linux

HOWTO INSTALL KONG API GATEWAY & ITS DATABASE i.e., POSTGRES

July 18, 2018

0

ENVIRONMENT Postgres = 9.6 Kong API Gateway = 0.11.2 OS = RHEL 7.3   INSTALL POSTGRES Configure YUM repositories to install Postgres cd /etc/yum.repos.d yum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-redhat96-9.6-3.noarch.rpm Install Postgres database yum search postgres|grep server yum install -y postgresql96-server.x86_64 (reference below link for installation) https://www.postgresql.org/download/linux/redhat/ Configure Postgres su – postgres $ /usr/pgsql-9.6/bin/pg_ctl initdb       #Create data and […]

Posted in: Linux

HOW TO HA A REDIS APPLICATION [Master/Slave] THRU PACEMAKER

January 4, 2018

0

ENVIRONMENT OS = RHEL 7.4 Total HA nodes = 2 ENVIRONMENT DETAILS In this environment pacemaker is installed on both machines. Redis is installed on both machines. A Master/Slave resource group is created. 2 HA heartbeats are configured thru corosync. SUPPOSED ENVIRONMENT ACTIVITY vi /etc/redis.conf bind 0.0.0.0              # This will make sure that redis will […]

Posted in: Tech News

ISCSI TARGET (TARGETCLI) CONFIGURATION FOR RHEL/CENTOS 7x

March 6, 2017

0

ENVIRONMENT OS = Centos 7.2 VG  name = centos_iscsi-target LVM partitions = 1GB LVM partition name 1G-ISCSI-VOL Target package = targetcli      (yum install targetcli) yum install epel-release(optional) iscsid = started on hosts iscsid = on at startup   STEPS targetcli clearconfig confirm=true [root@ISCSI-TARGET ~]# targetcli targetcli shell version 2.1.fb41 Copyright 2011-2013 by Datera, Inc and […]

Posted in: Linux

How to grep commands output in windows | grep command for windows

January 12, 2017

0

How to grep commands output in windows   If you want to grep specific output, use find command. Find below examples for reference.   netstat –n –a TCP   192.168.32.241:56847   40.77.226.192:443                 ESTABLISHED TCP   192.168.32.241:56870   40.77.229.39:443                    ESTABLISHED TCP   192.168.32.241:56873   40.77.229.64:443                  ESTABLISHED TCP   192.168.32.241:56925   108.160.172.204:443            TIME_WAIT TCP   192.168.169.1:139         0.0.0.0:0                                    LISTENING TCP   192.168.234.1:139     […]

Posted in: Tech News

Quickly Enable Linux Audit

October 27, 2016

0

We are going to log all commands. All events will be logged under /var/log/audit/audit.log. COMMANDS # chkconfig auditd on # service auditd start # auditctl -a exit,always -F arch=b32 -S execve # auditctl -a exit,always -F arch=b64 -S execve HELPFUL COMMANDS aureport -x --summary ausearch -i    (Human Readable) HELPFUL LINK For more details visit official […]

Posted in: Linux

Find out CPU, Sockets & Cores

August 18, 2016

0

Environment OS = Redhat Enterprise Linux Version = 5.9 Find out total CPUs & Sockets dmidecode |grep -i cpu Example output: dmidecode |grep -i cpu Version: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz Version: Intel(R) Xeon(R) CPU E5530 @ 2.40GHz Description Above command output shows total sockets i.e., 2 and total CPU/processors installed i.e., 2 OR […]

Posted in: Tech News