2012年11月2日 星期五

sol setup on Dell poweredge servers

from BIOS: redirect serial to com2

on ipmi-enabled Linux machine
enable console redirect on kernel
--> modify grub.conf
-->  serial --unit=0 --speed=115200
-->  terminal --timeout=10 serial console
add kernel option --> console=tty0 console=ttyS1,115200n8 

add "ttyS1" to /etc/securetty

and below line to /etc/inittab
co:2345:respawn:/sbin/agetty -h -L 19200 ttyS1 vt100

connect to the Linux server via ipmitool
ipmitool -I lanplus -H IPMI_HOST -U IPMI_ACCOUNT -P IPMI_ACCOUNT_PASSWD sol activate


please note, since I redirect the serial to com2, I have to set kernel option to ttyS1.
If I redirect serial to com1, kernel option for console is supposed to be ttyS0

--init=0 is used to define the initial index for serial port.
when set to 0, ttyS0 is com1. 

2012年9月18日 星期二

intel vPro

install Manageability Developer Tool Kit to configure ME under windows environment

KVM password length must be 8.
Use VNC viewer to connect to the KVM

2012年8月27日 星期一

find command tips

find . -type d ! -perm -o=x -perm -mode --> ambiguous compare
-perm mode --> exactly compare

2012年8月17日 星期五

backup exec tips

-o84  --> find robotic library device id
-o85 --> find robotic library device name
-o103 --> run inventory
-o104 * -a"robotic library device name" --> lock library door
-o105 * -a"robotic library device name" --> unlock library door
-o69 --> get media set id
-o70 --> get media set name and id mapping
-o132 --> list medias which is put in the media set
-o130 --> move media

2012年8月9日 星期四

noise from analog port

boot option for analog port fix
noapic pci=noacpi,usepirqmask

2012年8月6日 星期一

GLIBCXX_3.4.9 cannot be found

1:manually download prerequisites
required package info can be found at contrib/download_prerequisites
2:compile prerequisites with static library (enable static and disable shared )
GMP, MPFR, MPC
3:compile gcc with shared library (please refer options to gcc -v command)
4:use LD_PRELOAD to load proper libstdc++ to start program

debug: strings libstdc++ |grep GLIBC

2012年6月17日 星期日

asterisk channel information

channel information will be truncated by core show channels command
use concise option to retrieve full channel information
core  show channels concise

add user defined variable for agi
Set: variable=xxxx