'2014/01'에 해당하는 글 3건

출처 : http://linux.dell.com/wiki/index.php/Repository/OMSA


Yum setup

These instructions work for RHEL5, RHEL6, CentOS, Scientific Linux.

You can install yum as an addon for SLES9/10, and these instructions will work as well.

NOTE 1: The version of yum distributed on CentOS 3 by default is too old (yum 2.0.8). You will need to upgrade to a yum 2.4.x version in order to use these repositories. The older version of yum does not support plugins or mirrorlists, which are required for these repos to work.

NOTE 2: If you use yum with CentOS, or Scientific Linux, you must enable plugins in order for the repositories to function correctly. The system connects to a system-specific repository using a yum plugin, which, if not enabled, will not work properly and you will not be able to install packages from the OMSA repository. Add the line, 'plugins=1' to your yum.conf if it is not already there.

  1. Set up the Dell OpenManage Repository at http://linux.dell.com/repo/hardware, like this:
    wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash
  2. Optional Install OpenManage Server Administrator:
    yum install srvadmin-all

    NOTE: You can install OMSA on all Linux systems even if the server is not supported. However, complete functionality is not guaranteed.



WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,




출처 : http://blog.devicenull.org/2012/11/10/fixing-could-not-open-device-at-dev-ipmi0.html


Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0:
No such file or directory
Get Device ID command failed

It turns out that CentOS 6 doesn’t seem to load any of the IPMI kernel modules by default, so this device does not exist. Just load the modules with the following and everything should work properly:

modprobe ipmi_msghandler
modprobe ipmi_devintf
modprobe ipmi_si



WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,

dell-dset

카테고리 없음 2014. 1. 28. 17:04


[rootfriend@r815 ~]$ mkdir Dell_log


[rootfriend@r815 ~]$ wget ftp://ftp.us.dell.com/FOLDER00481758M/1/dell-dset-3.2.0.141_x64_A01.bin


[rootfriend@r815 ~]$ sudo ./dell-dset-3.2.0.141_x64_A01.bin 

[sudo] password for rootfriend: 

Unsupported OS type, please check the OS support matrix

=> Dell dset 은 CentOS 6.x 에서 안돌아감.





awk '/^__ARCHIVE_BELOW__/ {print NR + 1; exit 0; }' ./dell-dset-3.2.0.141_x64_A01.bin

==> 20



[rootfriend@r815 ~]$  tail -n+20 dell-dset-3.2.0.141_x64_A01.bin | tar -xzv -C Dell_log/

./License.txt

./Readme.txt

./dset_upgrade

./install.sh

./omsa_version

./rpms/

./rpms/RHEL/

./rpms/RHEL/sblim-sfcb-1.3.11-49.x86_64.rpm

./rpms/RHEL/sblim-cmpi-base-1.6.1-49.x86_64.rpm

./rpms/SLES/

./rpms/SLES/sblim-cmpi-base-1.6.1-0.5.25.x86_64.rpm

./rpms/SLES/sblim-sfcb-1.3.11-0.7.14.x86_64.rpm

./rpms/SLES/cim-schema-2.19.1-2.7.noarch.rpm

./rpms/SLES/sblim-indication_helper-0.4.2-129.17.x86_64.rpm

./rpms/srvadmin-hapi-7.0.0-4.19.1.sles10.x86_64.rpm

./rpms/srvadmin-storelib-sysfs-7.0.0-4.1.1.sles10.x86_64.rpm

./rpms/dell-dset-provider-3.2.0.141-1.x86_64.rpm

./rpms/dell-dset-collector-3.2.0.141-1.x86_64.rpm

./rpms/dell-dset-common-3.2.0.141-1.x86_64.rpm

./support_hw_list

./support_os_list



./install.sh 를 살펴보면 아래와 같은 코드가 있음

 65 #################### OS CHECK ###################################

 66 OS_NAME1=`cat /etc/issue | grep ESX`

 67 OS_NAME2=`cat /etc/issue | grep SUSE`

 68 OS_NAME3=`cat /etc/issue | grep Red`


 65 #################### OS CHECK ###################################

 66 OS_NAME1=`cat /etc/issue | grep ESX`

 67 OS_NAME2=`cat /etc/issue | grep SUSE`

 68 OS_NAME3=`cat /etc/issue | grep Red`

 96 elif [ "$OS_NAME3" != "" ]; then

 97   OS_VERSION3=`echo $OS_NAME3 | awk '{print$1,$2,$3,$4,$5,$6,$7}'`

 98   OPSYS_TYPE1=$OS_VERSION3" "$OS_TYPE

 99   CERT_OS_TYPE=`grep "$OPSYS_TYPE1" ./support_os_list -iwr`

100   if [ "$CERT_OS_TYPE" == "" ]; then

101     ALTERNATE_OS_VERSION3=`echo $OS_NAME3 | cut '-c1-41'`

102     OPSYS_TYPE2=$ALTERNATE_OS_VERSION3" "$OS_TYPE

103     SUPP_OS_TYPE=`grep "$OPSYS_TYPE2" ./support_os_list -iwr`

104     if [ "$SUPP_OS_TYPE" == "" ]; then

105         DisplayGenericMessage "Unsupported OS type, please check the OS support matrix\n"

106         CleanUP 3

107     fi

108   fi



위를 통해서 /etc/issue 와 support_os_list 가 관련있는것을 추측할수 있음.


[rootfriend@r815 Dell_log]$ cat support_os_list 

=================

Certified OS list

=================

SUSE Linux Enterprise Server 10 SP4 x86_64

SUSE Linux Enterprise Server 11 SP1 x86_64

Red Hat Enterprise Linux Server release 5.7 x86_64

Red Hat Enterprise Linux Server release 6.1 x86_64

=================

Supported OS list

=================

SUSE Linux Enterprise Server 10 x86_64

SUSE Linux Enterprise Server 11 x86_64

Red Hat Enterprise Linux Server release 5 x86_64

Red Hat Enterprise Linux Server release 6 x86_64

==> 여기에 나온 목록중 하나를 /etc/issue 에다가 붙여넣기


[rootfriend@r815 Dell_log]$ cat /etc/issue

Red Hat Enterprise Linux Server release 6 x86_64

CentOS release 6.2 (Final)

Kernel \r on an \m

==> 내 경우는 Red Hat Enterprise Linux Server release 6 x86_64 를 선택함.

마지막으로 ./install.sh 실행하면 잘돌아감.










WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,