redhat

All posts tagged redhat

To check what is the HBA (firmware) version. root@server:/root# for host in `ls /sys/class/scsi_host/`; do cat /sys/class/scsi_host/${host}/fw_version 2>/dev/null; done 5.06.03 (90d5) 5.06.03 (90d5) For  WWN. root@server:/root# for host in `ls /sys/class/scsi_host/`; do cat /sys/class/scsi_host/${host}/device/fc_host\:${host}/port_name 2>/dev/null; done 0x2100001b32898bbd 0x2100001b3289b3bf To rescan looking for new disks # for host in `ls /sys/class/scsi_host/`;do echo "- - -" Read more...
Steps to disable lmetad service in RedHat 7: · Change value to “use_lvmetad = 0” in /etc/lvm/lvm.conf · Stop services: lvm2-lvmetad.socket and lvm2-lvmetad.service   # systemctl stop lvm2-lvmetad.socket # systemctl stop lvm2-lvmetad.service · Rescan disks # pvscan –cache # vgscan # lvscan · Disable services: lvm2-lvmetad.socket and lvm2-lvmetad.service # systemctl disable lvm2-lvmetad.service Removed symlink /etc/systemd/system/sysinit.target.wants/lvm2-lvmetad.service. # Read more...
  First, go to Oracle and look for the rpm of java but, for x64 (good luck :)). Install it normally, like any other rpm. # rpm -ihv javaxxxxxx.rpm Now we must work manually.. Create a symbolic link to allow use use it in Mozilla. # ln -sf /usr/java/jre1.6.0_13/lib/amd64/libnpjp2.so /usr/lib64/mozilla/plugins/ And create your own link to it, like with: # mkdir /$HOME/.mozilla/plugins # ln -sf /usr/java/jre1.6.0_13/lib/amd64/libnpjp2.so /$HOME/.mozilla/plugins/ and launch firefox.   Read more...