레이블이 Documents인 게시물을 표시합니다. 모든 게시물 표시
레이블이 Documents인 게시물을 표시합니다. 모든 게시물 표시

2010년 12월 21일 화요일

[OMSA]OpenManage Server Administrator

 

 

Dell OpenManage Server Administrator(OMSA)에서는 BIOS 설정을 미리 변경할 수 있습니다.

 

하지만 곧바로 NVRAM에 적재되는 것이 아니라 다음 rebooting이 있을 때 적용이 됩니다.

 

또한 Storage 부분에 RAID 구성이나 변경이 가능하기에 reboot 후 RAID Controller에서 구성을 하지 않아도 되는 번거로움이 가실 겁니다..

 

그리고 SNMP 서버를 구성한다거나 Dell ITA를 설치하여 snmp로 alert 메시지를 받아 모니터링 및 장애처리 한다면 서버 관리하는데 용이할 것입니다.

[CentOS] Kernel 컴파일

<커널 컴파일 하기>

- Dell Server

- OS : CentOS 5.5 x64

- Kernel : 2.6.18 -> 2.6.36

 

[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:40 EST 2010 i686 i686 i386 GNU/Linux

 

1. 커널 컴파일 전에 gcc, ncurses-devel 설치 및 package update

[root@localhost ~]# yum install -y gcc ncurses-devel

[root@localhost ~]# yum update

2. 최신 커널 다운로드(http://www.kernel.org/pub/linux/kernel/v2.6/)

[root@localhost ~]# cd /usr/src

[root@localhost ~]# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.tar.gz

[root@localhost ~]# tar xvfz linux-2.6.36.tar.gz

[root@localhost ~]# ln -s linux-2.6.36 linux

 

3. 커널 컴파일 설정

현재 사용하고 있는 커널 설정으로 컴파일 하기 위해 .config 설정 파일을 복사해서 진행

[root@localhost ~]# cd /usr/src/linux

[root@localhost linux]# make mrproper
[root@localhost linux]# make clean
[root@localhost linux]# cp /boot/config-`uname -r` ./.config
[root@localhost linux]# make menuconfig

  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
  HOSTCC  scripts/kconfig/lxdialog/util.o
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  HOSTCC  scripts/kconfig/mconf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf arch/x86/Kconfig

 

Load and Alternaate Configuration File -> .config 입력 후 OK 버튼

 

 

General sertup 선택 -> enable deprecated sysfs features to support old userspace tools (NEW) 에서 "y" 키로 선택

                             -> Local Version 선택 후 커널 뒤에 붙을 release 이름 입력(-default를 붙혔다면 2.6.36-default로 생성 됨)

 

설정이 끝났으면 .config 저장 후 Exit 로 종료

 

 

4. 커널 빌드와 설치 진행

[root@localhost linux]# make all

  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  CC      kernel/bounds.s
  GEN     include/generated/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
  GEN     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  HOSTCC  scripts/genksyms/genksyms.o
  SHIPPED scripts/genksyms/lex.c
  SHIPPED scripts/genksyms/parse.h
  SHIPPED scripts/genksyms/keywords.c
/

/

/

CC [M]  drivers/parport/parport_pc.o
ld: final link failed: No space left on device
make[2]: *** [drivers/parport/parport_pc.o] Error 1
make[1]: *** [drivers/parport] Error 2
make: *** [drivers] Error 2

 

>>에러 발생하여 make menuconfig 실행하여 Device Drivers로 들어가 Parallel port support 에 "N"키로 <N> exclude 시키고 저장 후 빌드 시작

 

 

에러 다 복구 했으면...

 

[root@localhost linux]# make clean; make all

 

>> 커널 컴파일 및 설치 계속 진행

[root@localhost linux]# make modules_install

[root@localhost linux]# make install

sh /usr/src/linux-2.6.36/arch/x86/boot/install.sh 2.6.36-default arch/x86/boot/bzImage \
                System.map "/boot"

 

[root@localhost linux]#  cat /boot/grub/menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0

timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.36-default)
        root (hd0,0)
        kernel /vmlinuz-2.6.36-default ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.36-default.img
title CentOS (2.6.27.54-default)
        root (hd0,0)
        kernel /vmlinuz-2.6.27.54-default ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.27.54-default.img
title CentOS (2.6.18-194.26.1.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-194.26.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-194.26.1.el5.img
title CentOS (2.6.18-194.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-194.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-194.el5.img


새로운 커널을 사용하기 위해 reboot

 

새로운 커널로 부팅 후 커널 버전 확인

[root@localhost ~]# uname -a

Linux localhost.localdomain 2.6.36-default #1 SMP Tue Dec 28 01:27:12 EST 2010 x86_64 x86_64 x86_64 GNU/Linux

2010년 12월 17일 금요일

DSET(Dell Support E-Tool) 실행 가이드

Dell 서비스에 장비 A/S를 접수하면 DSET을 이용하여 Dump를 떠서 보내달라고 한다.

서비스 중에 돌리기도 힘들고 시간도 꽤 걸린다.(대략 난감 ㅡ.ㅡ;)

그래도 돌려서 주면 뭐 보다 적당한 해결책을 보내주겠지...ㅋㅋ

[Error] kernel: NETDEV WATCHDOG: eth0: transmit timed out

Dell R610 서버에서 발생한 Error(사용 OS : CentOS 5.5)

Dec 16 22:05:05 host kernel: NETDEV WATCHDOG: eth0: transmit timed out
Dec 16 22:05:05 host kernel: bnx2: eth0 NIC Copper Link is Down

해결책 1)
BIOS에서 Processor Setting 메뉴로 들어가 C States를 disable로 변경 후 저장


&

BIOS에 Power Management로 들어가
Power Management 값을 Maximum Performance 로 설정 후 reboot
 


해결책 2) bnx2 module에 MSI-X 기능 disable

# vi /etc/modprobe.conf
option bnx2 disable_msi = 1     <=== 추가 (MSI; Message Signaled Interrupts)

# reboot



해결책 3) boot parameter에 pci=nomsi 추가

# vi /boot/grub/grub.conf
......
......
kernel /boot/vmlinuz ~~~~~ pci=nomsi(or acpi=off) 추가 후 reboot
......
....


네떡아 제발 끊기지 좀 말아랏! :(


2010년 12월 15일 수요일

[Error] Memory failed


Dell R210 서버에서 발생한 Error 메시지입니다.

Memory write/read failure at 5ec66028, read a4a50000 expecting a5a5a5a5 PXE Boot

Decreasing available memory


보드를 교체해봤지만 증상이 같네요.

메모리가 문제였네요 ㅡ.ㅡ;



Asset Tag Utility

Asset Tag Utility

The Asset Tag utility allows you to enter an asset tag number for your computer and reenter, if necessary, the computer's service tag number. Both numbers are entered into NVRAM, from which they become viewable on the System Setup screens.
The procedure for installing the Asset Tag utility is the same as for all the system utilities. If the path statement in your autoexec.bat file does not contain the directory in which you installed the Asset Tag utility, modify the path statement to include that directory.
Using the Asset Tag Utility
After you install the Asset Tag utility, you can use it to enter or change an asset tag number that you or your company assign to the computer.
Use the asset command from the system prompt. To view existing asset and service tag numbers, type
asset
and press <ENTER>.
Assigning/Deleting an Asset Tag Number
An asset tag number can have up to 10 characters; any combination of characters excluding spaces is valid. To assign or change an asset tag number, type
asset
and then a space followed by the new number; then press <ENTER>. For example:
asset 1234567890 
<ENTER> When the system asks ...
Are you sure? [y,n],
type
y 
and press <ENTER>. The system then displays the new or modified asset tag number as well as the service tag number.
To delete the asset tag number without assigning a new one, type
asset /d
.
00000022.gif
Asset Tag Option       Description                                   
                                                                     
00000023.gif
/d                     Deletes tag                                   
                                                                     
/s                     Applies change to service tag                 
                                                                     
/?                     Displays the Asset Tag help screen            
                                                                     
Reentering a Service Tag Number

Before your system was shipped, the 5-digit number from the service tag on the back of your computer was entered into NVRAM. If you need to reenter the service tag number, type

asset /s
and then a space followed by the service tag number.

2010년 12월 1일 수요일

Dell R610 BIOS - CPU 설정 변경 결과값

Dell PowerEdge R610(2cpu Intel XEON 2.4 QuadCore / 32GB(16GB per 1cpu))
In case of 2 CPU
BIOS Logical Processor Enable Enable Enable Disable Disable Disable
Number of cores per Processor All(4) Dual Single All(4) Dual Single
Linux Processor 0 ~ 15 0 ~ 7 0 ~ 3 0 ~ 7 0 ~ 3 0 ~ 1
cpu cores 4 2 1 4 2 1
In case of 1 CPU
BIOS Logical Processor Enable Enable Enable Disable Disable Disable
Number of cores per Processor All(4) Dual Single All(4) Dual Single
Linux Processor 0 ~ 7 0 ~ 3 0 ~ 1 0 ~ 3 0 ~ 1 0
cpu cores 4 2 1 4 2 1

Dell R610 시스템 하드웨어 설명서

 

 

 

 

Dell PowerEdge R610 시스템 하드웨어 소유자 설명서