Showing posts with label redhat. Show all posts
Showing posts with label redhat. Show all posts

20130913

redhat disable ipv6

* /etc/sysconfig/network - add "NETWORKING_IPV6=no"
* /etc/sysctl.conf - add "net.ipv6.conf.all.disable_ipv6 = 1"

20120917

Get WWN Redhat 6

# systool -v -c fc_host | grep port_name

requires sysfsutils pkg


update:
# /lib/udev/scsi_id --page=0x83 --whitelisted --device=/dev/sdw


modprobe: FATAL: Error inserting bonding



modprobe: FATAL: Error inserting bonding  (/lib/modules/2.6.18-194.17.1.el5/kernel/drivers/net/bonding/bonding.ko):  Unknown symbol in module, or unknown parameter 
Resolution
Within the modprobe configuration file : /etc/modprobe.conf
Change the line:
install ipv6 /bin/false
to
options ipv6 disable=1
to load the bonding module with success.

20120914

CleanUp Multipath, Remove Failed Faulty Device

# for i in /sys/class/scsi_host/host*/scan
> do echo "- - -" > $i
> done
# DEV=`multipath -ll | grep failed | awk '{print $3}'`
# for i in $DEV
> do echo 1 > /sys/block/${i}/device/delete
done

20120912

Rebuild Yum Database


# rm -f /var/lib/rpm/__db*
# rpm --rebuilddb
# yum clean all
# yum update

20120815

Redhat enable multipath

# yum install sysfsutils
# yum install device-mapper-multipath
# mpathconf --enable --with_multipathd y