'dset'에 해당하는 글 1건

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
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,