rsyslogdのrate-limitingを解除

 

/var/log/message中にこんなメッセージが出る。

Feb 22 21:30:37 rsyslogd-2177: imuxsock begins to drop messages from pid 8598 due to rate-limiting
Feb 22 21:30:38 xxxxx rsyslogd-2177: imuxsock lost 15 messages from pid 8598 due to rate-limiting
Feb 22 22:04:01 xxxxx rsyslogd-2177: imuxsock begins to drop messages from pid 8598 due to rate-limiting
Feb 22 22:04:03 xxxxx rsyslogd-2177: imuxsock lost 105 messages from pid 8598 due to rate-limiting

 

rsyslogのrate-limiting機能で
デフォルトでは200行まで出力するとその後が捨てられるみたいです。

rate-limiting機能を解除するには

/etc/rsyslog.confに

$SystemLogRateLimitInterval 0 

を追記すればいい。

 

 

 

debianへDell OMSAのインストール

libssl0.9.8が必要

wget http://snapshot.debian.org/archive/debian/20110406T213352Z/pool/main/o/openssl098/libssl0.9.8_0.9.8o-7_amd64.deb

dpkg -i  libssl0.9.8_0.9.8o-7_amd64.deb

 

1. (Optional for Upgrade) Create a new file ending in ‘sources.list’ in the ‘/etc/apt/sources.list.d’ directory. Cut and paste the command below. (If typing by hand, note carefully the spacing.)

echo ‘deb http://linux.dell.com/repo/community/deb/latest /’ | tee -a /etc/apt/sources.list.d/linux.dell.com.sources.list

2. To verify OMSA packages, add the repository key to apt. Note that you must re-do this step if upgrading from OMSA 6.5 because a new key is being used.

gpg –keyserver pool.sks-keyservers.net –recv-key 1285491434D8786F

gpg -a –export 1285491434D8786F | apt-key add –

If you are behind a firewall that only allows outbound traffic over port 80, you may need to use this instead:

gpg –keyserver hkp://pool.sks-keyservers.net:80 –recv-key 1285491434D8786F (possibly needing to add “–keyserver-options http-proxy=http://<user>:<password>@<proxy>:<port>”)

gpg -a –export 1285491434D8786F | sudo apt-key add –

3. Make apt aware of the new software repository by issuing the following command:

apt-get update

apt-get install srvadmin-all

service dsm_om_connsvc start

update-rc.d dsm_om_connsvc defaults

 

ln -s /opt/dell/srvadmin/bin/omreport /usr/bin/omreport

◆ サーバの正常性確認
# omreport system esmlog

# omreport system alertlog

# omreport chassis

# omreport storage controller controller=X

# omreport storage controller
Controllers
ID : 0

 

[KVM]KVMゲストOSへのコンソール接続設定

ゲストOSがDebian GNU/Linux 6.0の場合

# vi /etc/inittab
T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100  

# vi /etc/default/grub
GRUB_CMDLINE_LINUX="console=tty0"  

# update-grub

ゲストOSがubuntu の場合

  • # vi /etc/init/ttyS0.conf 
    start on stopped rc RUNLEVEL=[2345]
    stop on runlevel [!2345]
    
    respawn
    exec /sbin/getty -L 115200 ttyS0 vt102
    
  • # start ttyS0
    
  • # vi /etc/default/grub
    GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8" 
    GRUB_TERMINAL=serial  
    GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1" 

    Sの場合