운영체제/Linux

[Linux] Dell OMSA(OpenManage Server Administrator) 설치

louky 2020. 7. 28. 19:33
반응형

Dell Hardware를 운영할때  H/W시스템의 상태를 확인하고자 할 경우 OMSA를 설치해야 한다. 

 

OMSA => OpenManage Server Administrator 이며, 흔히들 옴사(?)라고 불리운다. 

 

이전에는 설치 방법이 제법까다로웠다고 한다. 

하지만 필자가 설치한 환경에서는 설치가 아주 쉬웠다. 

 

설치 환경
-  H/W  Model : Dell PowerEdge R730 & PowerEdge R430 & PowerEdge R620
- OS : Centos 7.7

 

설치 방법은 2가지이다. 

YUM으로 설치 하는 방법과 PKG파일로 설치하는 방법이다. 

 

여기서는 YUM으로 설치 하는 방법으로 설치한다. 

 

STEP 1. OMSA설치를 위한 Dell Repository 추가 

[root@DELL_R430 .Setup_tools]# wget -q -O - http://linux.dell.com/repo/hardware/dsu/bootstrap.cgi | bash
Checking for Dell GPG keys...
Incorrect option. Continuing without importing keys
Write repository configuration
Done!
[root@NKI-RCS-RS-02 ~]#

 

 

STEP 2. OMSA설치 

# yum -y install srvadmin-all

 

OMSA  WEB page에 접근하고자 한다면 아래와 같이 daemon를 실행해 준다. 

cd /opt/dell/srvadmin/sbin/
./srvadmin-services.sh enable
./srvadmin-services.sh start
또는 
./srvadmin-services.sh restart

상기와 같이 실행하면 1311port Listen상태가 되는지 확인한다. 

# netstat -naptl  | grep 1311

OMSA를 실행하면 WEB 페이지로도 접근이 가능한데 이때 포트는  1311 port를 사용한다. 

 

웹 URL =>  https://서버 주소:1311

 

/opt/dell/srvadmin/bin/omreport 명령어를 통해  iDrac 상태를 확인 할 수 있다. 

# ./omreport --help

omreport         Reports component properties.

The available command(s) are:

Command          Description
about            Product and version properties.
licenses         Displays the digital licenses of the installed hardware devices.
preferences      Report system preferences.
system           System component properties.
chassis          Chassis component properties.
storage          Display storage component properties.

Usage: omreport <command...> [name=value...] ... [option...]

Valid command line options are:

-?               Print available command(s) or command help.
-fmt <lst|tbl|ssv|cdv|xml> Format for output results, default is lst.
                           Where: lst  List format.
                                  tbl  Table format.
                                  ssv  Semicolon separated format.
                                  cdv  Custom delimiter separated format.
                                  xml  Raw XML format.
-outc <file>     Redirect output to file, delete old if exists.
  OR
-outa <file>     Redirect output to file, append to old if exists.
  OR
Output may also be redirected using Operating System facilities (e.g. |more).

 

필요시 환경변수에 OMSA PATH를 추가 한다. 

 

PATH=/opt/dell/srvadmin/bin:$PATH

 

Error Case 1.  "Error! No Hardware or Feature detected. Make sure Server Administrator services are running." 발생시 

 ./omreport system
Error! No Hardware or Feature detected. Make sure Server Administrator services are running.

조치 => /opt/dell/srvadmin/sbin/srvadmin-services.sh  실행한다.

 

 

omsa명령어는 필자의 다른 페이지를 참조한다.

2020/11/05 - [운영체제/Linux] - [Linux] dell omsa command (옴사 명령어) - omreport

 

[Linux] dell omsa command (옴사 명령어) - omreport

DELL 시스템에  Centos나 REdhat이며,OMSA사 설치 되어 있다면 OMSA명령어를 통해 DELL  H/W를 모니터링 할 수 있다. HP시스템으로 치면 hplog -v 또는 hpsscli(또는 hpacucli)와 같은 명령어이다. 2020/07/28 -..

louky0714.tistory.com

 

반응형