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

2011년 9월 1일 목요일

How to set up Dell OMSA with CLI commands


How to set up Dell OMSA with CLI commands


for ITA

** System -> Alert Management -> Platform Events -> Enable Platform Event Filter alerts 설정

# omconfig system platformevents alertsenable=true
Platform events configured successfully.



** System -> Alert Management -> Platform Events -> Destination Configuration Settings -> 
Community String 설정

# omconfig system pedestinations communitystr=wizcns
Platform event destinations configured successfully.




for iDRAC

** Network Setting

# omconfig chassis remoteaccess config=nic nicselection=shared privilegelevel=administrator ipsource=static ipaddress=192.168.0.12 subnet=255.255.255.0 gateway=192.168.0.1 


** Additional Setting

# omconfig chassis remoteaccess config=additional ipv4=enabled ipv6=disabled

** User Setting

# omconfig chassis remoteaccess config=user id=2 newpw=root1234 confirmnewpw=root1234



for Storage(RAID Card)

** Storage Setting
[Write Back / Write Through / Force WB]

omconfig storage vdisk action=changepolicy controller=id vdisk=id [readpolicy=<ra | nra | ara | rc | nrc> | writepolicy=<wb | wt | wc | nwc | fwb> | cachepolicy=<d | c>]

ex) Force Write-Back w/ no battery
# omconfig storage vdisk action=changepolicy controller=0 vdisk=0 writepolicy=fwb

2011년 7월 22일 금요일

How-TO Enable SNMP + Dell OpenManage on CentOS

yum install net-snmp

yum install net-snmp-utils

chkconfig --level 35 snmpd on

/etc/init.d/dataeng enablesnmp    <= Systems Management Data Engine

/opt/dell/srvadmin/sbin/srvadmin-services.sh restart

/etc/init.d/snmpd restart

2011년 2월 15일 화요일

Dell OpenManage IT Assistant 설정하기

Dell OpenManage IT Assistant
델 제품군만을 지원하는 중앙집중식 관리 툴

[테스트 환경]
- 관리서버 : windows 7 (IT Assistant 설치)
- 클라이언트 서버(CentOS 5.5 x86) : Dell R210 (OpenManage Server Administrator 설치)


<관리서버 셋팅>

1. windows 7에 snmp 기능 추가

2. snmp 보안 및 트랩 설정
    - 보안탭 : 받아들일 커뮤니티 등록
    - 트랩탭 : 커뮤니티 이름 / 트랩대상(IT Assistant 관리 서버 ip)



** snmp 서비스 재시작


3. 관리서버에 Dell 서버와 같이 포함되어 있는 "Systems Management Tools and Documentation" DVD에서 BMC, DRAC을 우선 설치하고 ITAssistant를 설치합니다.
DVD 안의 위치는 e:\SYSMGMT\ManagementStation\windows 입니다.

    BMC와 DRAC을 설치하지 않고 ITAssistant를 설치하면 Install, Modify, Repair~~ 부분이 비활성화 되고 Description 부분에 설명과 링크를 클릭하여 선수 조건을 만족 시켜주면 됩니다.



4. IT Assistant 실행


5. SMTP 설정
    오른쪽 상단에 Preferences 로 들어갑니다.

    Web Server 탭을 클릭하면 SMTP 설정하는 부분이 나옵니다.
    SMTP 서버와 DNS Suffix(보내는 사람 이름) 설정하고 Apply 합니다.


6. Discovery and Monitoring 설정
    -> Discovery Configuration

    -> Inventory Configuration : 1 hour / fast
    -> Status Polling Configuration : 1 hour / fast
    -> Ranges
         여기에선 192.168.0.1~200까지 설정하였습니다.


7. IT Assistant로 긁어 온 Printers 및 Servers 그리고 Unknown 장비들입니다.

   Server에 제대로 올라온 image 서버의 정보가 보이네요.


8. Alerts -> Actions 설정
    warning, critical 만 설정하여 alert 발생 시 메일로 전송되게 설정하였습니다.


9. Manage -> Performance and Power Monitoring Tasks 설정
    CPU, Memory, Network, Disks 등 ssh로 클라이언트 서버에 접근하여 자원 모니터링 가능(기간 설정 가능)







<클라이언트 서버 셋팅>

1. Dell OpenManage Server Administrator 설치
참고> http://wizcns.blogspot.com/2010/11/centos%EC%97%90-dell-omsa-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0.html

2. yum 으로 net-snmp 설치
# yum install net-snmp net-snmp-utils

3. snmpd.conf 설정


4. 부팅 시 snmpd 자동 실행
# chkconfig --level 35 snmpd on

5. Dell dataeng(Systems Management Data Engine) 설정
# /etc/init.d/dataeng enablesnmp

6. Dell OMSA 및 snmpd 재실행
# /opt/dell/srvadmin/sbin/srvadmin-services.sh restart
# /etc/init.d/snmpd restart

7. 웹브라우저에서 OMSA 설정(예전에 비해 깔끔해졌네요^^)
    일단 로그인부터 합시다! (https://클라이언트서버 ip:1311)


  Platform Events : 체크

  커뮤니티 설정(default : public)

  IPMI로 ITA에서 접근 가능하도록 설정 및 root(administrator) 암호 설정
  Dell 메뉴얼에는 초기 암호가 calvin 이라는데 맞는지 모르겠음^^;