Centos5安裝Dell OpenManage Server Administrator

原文出處:http://qingwang.blog.51cto.com/505009/116730

客戶新購買了兩臺DELL R200 服務器。兩塊160G的硬盤。使用DELL 的sas 6/ir 配置raid1. 安裝的系統是:centos5.2
系統安裝成功後。配置Dell OpenManage Server Administrator。
1.使用root登陸服務器。
[root@localhost ~]# mount /dev/cdrom /mnt
把光驅掛在/mnt 下。
2.進入/mnt目錄下
[root@localhost ~]# cd /mnt/SYSMGMT/srvadmin/
[root@localhost  srvadmin]# cp -R linux/ /home/admin/     
把linxu目錄拷貝到/home/admin/下。
3.進入/home/admin/linux
[root@localhost ~]#cd /home/admin/linux
設置 support.s目錄755的權限。
[root@localhost linux]# chmod -R 755 support.s/*
4.編輯srvadmin-install.sh文件。
[root@localhost support.s]# vi srvadmin-install.sh
 # Check if operating system is RHEL3.
    if [ -f /etc/redhat-release ] && [ `grep -c "Taroon" /etc/redhat-release` -gt 0 ]; then
        GBL_OS_TYPE=${GBL_OS_TYPE_RHEL3}
        GBL_OS_TYPE_STRING="RHEL3"

    # Else check if operating system is RHEL4.
    elif [ -f /etc/redhat-release ] && [ `grep -c "Nahant" /etc/redhat-release` -gt 0 ]; then
        GBL_OS_TYPE=${GBL_OS_TYPE_RHEL4}
        GBL_OS_TYPE_STRING="RHEL4"

    # Else check if operating system is RHEL5.
    elif [ -f /etc/redhat-release ] && [ `grep -c "Tikanga" /etc/redhat-release` -gt 0 ]; then
        GBL_OS_TYPE=${GBL_OS_TYPE_RHEL5}
        GBL_OS_TYPE_STRING="RHEL5"
 修改grep -c "Tikanga" /etc/redhat-release` -gt 0 爲grep -c "CentOS release 5.2 (Final)" /etc/redhat-release` -gt 0。
系統的版本可以從/etc/redhat-releasec查到。修改後保存文件。
服務器的版本。
[root@localhost support.s]# cat /etc/redhat-release
CentOS release 5.2 (Final)
5.開始安裝:
[root@localhost support.s]# ./srvadmin-install.sh
##############################################
  Server Administrator Custom Install Utility
##############################################
  Components for Server Administrator Managed Node Software:
    [ ] 1. Server Administrator CLI
    [ ] 2. Server Administrator Web Server
    [ ] 3. Storage Management
    [ ] 4. All
  Enter the number to select a component from the above list.
  Enter q to quit.
  Enter : 4 我選擇全部安裝
##############################################
  Server Administrator Custom Install Utility
##############################################
  Selected Options
   - All
  Dependencies
   - Server Administrator CLI
   - Server Administrator Web Server
   - Storage Management
  Components for Server Administrator Managed Node Software:
    [x] 1. Server Administrator CLI
    [x] 2. Server Administrator Web Server
    [x] 3. Storage Management
    [x] 4. All
  Enter the number to select a component from the above list.
  Enter c to copy selected components to destination folder.
  Enter i to install the selected components.
  Enter r to reset selection and start over.
  Enter q to quit.
  Enter : i
  Default install location is: /opt/dell/srvadmin
  Do you want to change it?
  Press ('y' for yes | 'Enter' for default): Enter'
Installing the selected packages.
warning: srvadmin-cm-5.5.0-364.i386.rpm: Header V3 DSA signature: NOKEY, key ID 23b66a9d
Preparing...                ########################################### [100%]
   1:srvadmin-omilcore      ########################################### [  8%]
     To start all installed services without a reboot,
     enter the following command:  srvadmin-services.sh  start
   2:srvadmin-syscheck      ########################################### [ 15%]
   3:srvadmin-deng          ########################################### [ 23%]
   4:srvadmin-omauth        ########################################### [ 31%]
   5:srvadmin-omacore       ########################################### [ 38%]
   6:srvadmin-jre           ########################################### [ 46%]
   7:srvadmin-ipmi          ########################################### [ 54%]
   8:srvadmin-hapi          ########################################### [ 62%]
   9:srvadmin-isvc          ########################################### [ 69%]
  10:srvadmin-cm            ########################################### [ 77%]
  11:srvadmin-iws           ########################################### [ 85%]
  12:srvadmin-omhip         ########################################### [ 92%]
  13:srvadmin-storage       ########################################### [100%]
   Do you want the Server Administrator services started?
   Press ('y' for yes | 'Enter' to exit): y
Starting mptctl:
Waiting for mptctl driver registration to complete:
                                                           [  OK  ]
Starting Systems Management Device Drivers:
Starting dell_rbu:                                         [  OK  ]
Starting ipmi driver:                                      [  OK  ]
Starting Systems Management Data Engine:
Starting dsm_sa_datamgr32d:                                [  OK  ]
Starting dsm_sa_eventmgr32d:                               [  OK  ]
Starting DSM SA Shared Services:                           [  OK  ]
Starting DSM SA Connection Service:                        [  OK  ]
6.訪問
https://服務器名或ip地址:1311
出現成功界面。使用用戶名及密碼登陸吧。
如果安裝出現錯誤。請安裝相應的軟件包
如:
warning: srvadmin-cm-5.5.0-364.i386.rpm: Header V3 DSA signature: NOKEY, key ID 23b66a9d
error: Failed dependencies:
        libstdc++.so.5 is needed by srvadmin-iws-5.5.0-364.i386
        libstdc++.so.5(GLIBCPP_3.2) is needed by srvadmin-iws-5.5.0-364.i386
        libstdc++.so.5 is needed by srvadmin-omacore-5.5.0-364.i386
        libstdc++.so.5(GLIBCPP_3.2) is needed by srvadmin-omacore-5.5.0-364.i386
        libstdc++.so.5(GLIBCPP_3.2.2) is needed by srvadmin-omacore-5.5.0-364.i386
 -   Installation of some of the packages have failed.
 -   Please refer to 'readme_ins.txt' file for more details.
 -   The readme_ins.txt can be found in srvadmin/docs/readme folder
安裝
[root@localhost opt]# yum -y install compat-libstdc++-33
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package compat-libstdc++-33.i386 0:3.2.3-61 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 compat-libstdc++-33     i386       3.2.3-61         base              232 k
Transaction Summary
=============================================================================
Install      1 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        
Total download size: 232 k
Downloading Packages:
(1/1): compat-libstdc++-3 100% |=========================| 232 kB    00:01    
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
Importing GPG key 0xE8562897 "CentOS-5 Key (CentOS 5 Official Signing Key) <[email protected]>" from http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: compat-libstdc++-33          ######################### [1/1]
Installed: compat-libstdc++-33.i386 0:3.2.3-61
Complete!
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章