June 2014
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Categories

June 2014
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Detect failing storage LUN on Linux – multipath

f you login to server and after running dmesg – show kernel log command you get tons of messages like:

June 13th, 2014 | Category: Linux | Leave a comment

Mount point suddenly turned into READ ONLY

Mount point suddenly turned into READ ONLY

A RAC system, the GRID mount point on eighth node suddenly turned into read-only mode:

[oracle@node8 ~]$ cd /prod/grid [oracle@node8 grid]$ touch 1 touch: cannot touch `1′: Read-only file system

Instance is down due to that. We can see below error in OS log:

Sep 5 03:26:13 node8 […]

e2label, fdisk, /etc/fstab, mount, linux rescue, rescue disk, CentOS

Tutorial: e2label, fdisk, /etc/fstab, mount, linux rescue, rescue disk, CentOS Let’s run through an example of a fresh disk, that needs to be configured, going through partitioning with fdisk, make filesystem, filesystem labelled using e2label, /etc/fstab edited, and mounted using mount. This is relevent for CentOS 3.x, 4.x 5.x; YMMV for other flavours.

First, […]

windump

windows environment.

Its exactly the same as tcpdump for linux.

http://www.winpcap.org/windump/

However to get this working you will need WinPcap

http://www.winpcap.org/default.htm

Once installed this is a great tool to watch network traffic.

You can specify IP addresses, subnets, ports, interfaces and combinations of. I provide a few examples, but the documentation is great. And as […]

Convert from CRT to PFX with openssl

In Windows cases you need to merge these files into a PFX file.

Now before I tell you the secret I wish to explain what the difference is between the different files so you know how the certificate works.

•A .csr file is a certificate signing request which initiates your certificate request with a certificate […]

Centos and Rhel 6.5 Hadoop 2.4 3 Node Server Cluster

Centos and Rhel 6.5 Hadoop 2.4 3 Node Server

hadoop word has been popular for many years, the mention of big data will think hadoop, hadoop then what role is it? Official definition: hadoop is a developing and running large-scale data processing software platform. Core Words is a platform, which means we have a […]

Add Proxy Server on Linux and Unix Server

When you need to have proxy connection available to whole system, so dont bother with settings for firefox, yum proxy and similar, its simple as just plain file 😉

just copy & paste following code to terminal window. if you need other shell , like csh , just add another file with csh extension. This […]

How-To disable IPv6 on RHEL6 / CentOS 6

in /etc/sysctl.conf : net.ipv6.conf.all.disable_ipv6 = 1

in /etc/sysconfig/network : NETWORKING_IPV6=no

in /etc/sysconfig/network-scripts/ifcfg-eth0 : IPV6INIT=”no”

disable iptables6 – chkconfig –level 345 ip6tables off

reboot

In /etc/grub.conf edit the kernel lines to include:

1 ipv6.disable=1 The “trick” here, as described by TrevorH1 in #linux, is that programs can still load the module as they wish. You can […]

Aix commands

Commands

CUT:

lspv | cut -c 6-7 lists the hdisks numbers (cuts the 6th and 7tn character (disk nubers)) dlnkmgr view -drv | grep -w 00000 | awk ‘{print $4}’ | cut -d . -f 3

——————————————————————————–

EXPR: integer arithmetic

\* multiplication (\ is needed to tell * is not a special character) / division […]

ulimit

Resource limits is the concept where you regulate several resources consumed by a process on an UNIX operating systems. Although the resource limits are set on a per user basis, they are applied per process basis. Therefore, if a user is executing hundreds of processes, the user may consume huge amount of resources, even if […]