July 4, 2012, 5:54 am
echo 'deb http://linux.dell.com/repo/community/deb/latest /' | sudo tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list
gpg --keyserver pool.sks-keyservers.net --recv-key 1285491434D8786F
gpg -a --export 1285491434D8786F | sudo apt-key add -
apt-get update
apt-get install srvadmin-base srvadmin-storageservices
#may not be required:
modprobe ipmi_msghandler
modprobe ipmi_si
modprobe ipmi_devintf
/etc/init.d/dataeng start
#reporting, system alerts:
/opt/dell/srvadmin/bin/omreport system alertlog
#reporting, e.g. fans:
/opt/dell/srvadmin/bin/omreport chassis fans
#reporting on controllers
/opt/dell/srvadmin/bin/omreport storage controller
#reporting on drives:
/opt/dell/srvadmin/bin/omreport storage pdisk controller=0
#virtual disks
/opt/dell/srvadmin/bin/omreport storage vdisk
June 21, 2012, 7:25 am
systemctl disable NetworkManager.service
sudo chkconfig --level 2345 NetworkManager off
chkconfig network on
Edit /etc/sysconfig/network-scripts/ifcfg-ethXXX where XXX is each interface you want to be active on boot. Make sure the following are set:
NM_CONTROLLED=no
ONBOOT=yes
June 18, 2012, 7:10 am
Isilon, Isilon, how do you work… no one really knows. However here are a few useful, seemly undocumented commands you can run when ssh’d into a node:
Finding large files
fstat is a bit like lsof in the Linux world, but exists on FreeBSD:
fstat | sort -k 8 -n -r | more
Finding serial number
isi config
quit
gathering and uploading info, usually required for a support call
isi_info_gather
Show status/alert info
isi status
isi alerts
Do something on all cluster nodes
isi_for_array 'df -h'
June 12, 2012, 1:42 am
A couple of ways for write multiply, without using multiply…
int multiply(int value,int mul) {
int ret=0;
int mulabs = mul;
if(mulabs < 0) mulabs = 0 – mulabs;
for(int n=0;n<mulabs;n++) {
ret += value;
}
if(mul < 0) ret = 0-ret;
return ret;
}
int multiply2(int value,int mul) {
int total=0;
for(int n=30;n>=0;n–) {
if((mul & (1 << n)) > 0) {
total += value << n;
}
}
return total;
}