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

GlusterFS (File System) Installation and configuration on RHEL/CentOS and Fedora (REPLICA Environment)

May 29, 2015

0

Creating GLUSTER was never too easy like I mentioned below. Follow my article Environment Centos 6.3 Nodes = 2 selinux = disabled Add host file entries on both nodes # yum install glusterfs-server # service glusterd start # service glusterd status # Create directories with same names on all servers # mkdir -p /data/brick1/gv0 # […]

Posted in: Tech News

MOBILE BANKING ADDICTION

March 16, 2015

0

The constant transformation of communication is changing in today’s world that how people interact with others. Today everyone seems connected digitally. When it comes to pay the ground breaking change was noticed since the Plastic card was introduced. The quick adoption of plastic card was convenience to use. In this century convenience is the only […]

Posted in: Tech News

Adding or removing LLT links without restarting LLT / Howto replace Heartbeat NIC(s) of VERITAS Cluster

February 2, 2015

1

Environment SFHA version = 5.1 OS = 5.9 Solaris SPARC Please freeze the cluster before doing this activity Agenda Suppose you need to replace the bge2 Ethernet with ce0   (ONLINE without restarting gab, llt and  hastop -all -force) # lltconfig -t ce0 -d /dev/ce:0 # lltconfig -u bge2 First command will add the new Ethernet […]

Posted in: Tech News