1
(시스템/네트워크)
관리자가 바로 쓸 수 있는 파이썬
5 Day
조 훈(Hoon Jo)
2
1
2
<생략>
3
 UCS Manager SDK 활용
 실제 패브릭 인터커넥트(UCS 매니저) 투어
 UCS 블레이드 서버에 vKVM으로 접속 하기
 UCS 블레이드 시스템의 로그 수집하기
 IMC SDK 활용
 실제 랙 서버 매니저 투어
 UCS 랙 서버에 vKVM으로 접속 하기
 UCS 랙 서버에 로그 수집하기
 주말에 실습 해 볼 수 있는 가상 환경 소개 !!
Cisco Confidential© 2011 Cisco and/or its affiliates. All rights reserved. 4
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
UCS 매니저가 포함되어 있음
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
ImcSdk ucsmsdk
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
패브릭 인터커넥트 (UCS 매니저) 투어
 접속 정보 : wiki_user / wiki1234
 접속 주소 : 10.82.2.100
 접속 방법 : P483를 참고하여 접속 UCS 매니저 에뮬레이터의 그래픽 모드에 접속하기
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9
KVM Console 버튼 확인
 Equipment – Chassis – Server 에 항목
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
Log 수집 위치 확인
 Admin에 TechSupport Files으로 이동 후 오른쪽 마우스 클릭
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
ucsmsdk 설치
 인터넷 망에 연결
 pip install ucsmsdk==0.9.1
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
P517 [코드 6-7] ucsm_vkvm_launcher.py
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
사전 준비 : RHEL73 0x3에 ucsmsdk 설치
 scp wiki_user@10.82.4.20:/home/wiki_shared/ucsmsdk-
0.9.1.0_offline_package.tgz .
 yum install –y python-setuptools
 rpm -ivh python-pip-8.1.2-1.el7.noarch.rpm
 pip install ucsmsdk-0.9.1.0.tar.gz --no-index --find-links ./ucsmsdk-
0.9.1.0_from_pip/
Readme와 다른 부분
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
P519 [코드 6-8] ucsm_techsupport.py
 RHEL73 #0x3 에서 코드를 입력 하고 실행합니다.
<생략>
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
실행 후 로그 파일은 현재 디렉터리 아래 techsupport에 저장 됩니다.
Cisco Confidential 17© 2011 Cisco and/or its affiliates. All rights reserved.
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
ImcSdk ucsmsdk
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19
‘웹브라우저에서 10.82.2.xx를 입력합니다.
 wiki_admin / wiki1234
 개개인의 IP는 수업시간에 제공합니다.
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20
KVM Console 버튼 확인
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 21
Log 수집 위치 확인
 Admin에 Utilities에 있으나, 현재 권한이 없어 보이지 않음
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 22
0.7.2_icmSDK에서 제공하지 않아 우회적인 방법을 사용
 웹브라우저에서 10.82.2.100/kvm.zip을 실행 후 내려받기
 C:pykvm 디렉토리에 내려받은 압축 파일을 해제
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23
P530 [코드 6-10] general_vkvm_launcher.py
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 25
Imcsdk 설치
 인터넷 망에 연결
 pip install imcsdk==0.7.2
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 26
P533 [코드 6-11] imc_techsupport.py
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 27
윈도우 환경에서 실행
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 28
리눅스 환경에서 실행 (옵션)
Cisco Confidential 29© 2011 Cisco and/or its affiliates. All rights reserved.
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 30
배포용 7z을 압축 해제하면 총 6개의 파일이 생성됩니다.
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 31
1. P66을 참조하여 VirtualBox를 설치합니다.
2. 그리고 ova 파일들을 '가상시스템 가져오기'를 통해서 임포트 합니다.
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 32
1. 사용할 가상 머신의 전원을 킵니다.
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 33
호스트 피씨(노트북) 또는 Python-server1(가상 머신)에서 모두 UCS 매니저
에뮬레이터를 사용할 수 있습니다.
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 34
웹브라우저에서 ‘192.168.56.240’과 ‘192.168.56.250’에 대한 연결을 확인합니다.
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 35
실습할 준비가 완료되었습니다.
추천 실습 내용
1) P486 [코드 6-2] ucsm_gui_launcher.py
2) P504 [코드 6-5] ucsm_lable.py
3) P490 [코드 6-3] ucsm_backup_n_import.py
4) <장비주소>/visore.html 접속 확인
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 36
1) UCS 매니저 설정 정보를 메일로 보내기
 P490 [코드 6-3] ucsm_backup_n_import.py를 활용해서 진행
2) 시스템 종류 자동 인식
Wiki academy sysadmin 5_day

More Related Content

PDF
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
PDF
[오픈소스컨설팅]Nginx 1.2.7 설치가이드__v1
PDF
가상머신 환경에서 리눅스 및 큐브리드 설치 가이드 20150714
PDF
CentOS 5.3에 Cubrid 설치 방법
PDF
Hyperledger fabric practice(pdf)
PDF
[오픈소스컨설팅]Nginx jboss 연동가이드__v1
PDF
[오픈소스컨설팅]레드햇계열리눅스7 운영자가이드 - 기초편
PDF
[오픈소스컨설팅] Red Hat ReaR (relax and-recover) Quick Guide
왜 쿠버네티스는 systemd로 cgroup을 관리하려고 할까요
[오픈소스컨설팅]Nginx 1.2.7 설치가이드__v1
가상머신 환경에서 리눅스 및 큐브리드 설치 가이드 20150714
CentOS 5.3에 Cubrid 설치 방법
Hyperledger fabric practice(pdf)
[오픈소스컨설팅]Nginx jboss 연동가이드__v1
[오픈소스컨설팅]레드햇계열리눅스7 운영자가이드 - 기초편
[오픈소스컨설팅] Red Hat ReaR (relax and-recover) Quick Guide

What's hot (20)

PDF
[오픈소스컨설팅 뉴스레터] 2016년 1분기
PDF
Rhel7 beta information
PDF
[오픈소스컨설팅] Docker를 활용한 Gitlab CI/CD 구성 테스트
PDF
텔레그램을 이용한 양방향 모니터링 시스템 구축
PDF
Hyperledger Fabric practice (v2.0)
PDF
Enterprise Linux 7 new feature_systemd_booting
PDF
[오픈소스컨설팅]Zabbix Installation and Configuration Guide
PPTX
[세미나] Vagrant 이지원
PPTX
Welcome to keystone the open stack identity service_v1.0.0-20141208-1212
PPTX
Zookeeper 활용 nifi clustering
PPTX
Vagrant를 이용한 개발환경 구축과 NetBeans를 이용한 C/C++개발과 리모트 디버깅
PDF
김성윤 - 우분투로 슈퍼컴 만들기 (2011Y03M26D)
PDF
[H3 2012] 내컴에선 잘되던데? - vagrant로 서버와 동일한 개발환경 꾸미기
PDF
Gluster fs guide(v1.0)
PPTX
하둡 고가용성(HA) 설정
PDF
[오픈소스컨설팅]Docker on Cloud(Digital Ocean)
PPTX
Cubietruck 리눅스 이미지 설치
PPTX
리눅스를 이용한 Nas만들기
PPTX
(참고) Elk stack 설치 및 kafka
PDF
하이퍼레저 패브릭 실습자료
[오픈소스컨설팅 뉴스레터] 2016년 1분기
Rhel7 beta information
[오픈소스컨설팅] Docker를 활용한 Gitlab CI/CD 구성 테스트
텔레그램을 이용한 양방향 모니터링 시스템 구축
Hyperledger Fabric practice (v2.0)
Enterprise Linux 7 new feature_systemd_booting
[오픈소스컨설팅]Zabbix Installation and Configuration Guide
[세미나] Vagrant 이지원
Welcome to keystone the open stack identity service_v1.0.0-20141208-1212
Zookeeper 활용 nifi clustering
Vagrant를 이용한 개발환경 구축과 NetBeans를 이용한 C/C++개발과 리모트 디버깅
김성윤 - 우분투로 슈퍼컴 만들기 (2011Y03M26D)
[H3 2012] 내컴에선 잘되던데? - vagrant로 서버와 동일한 개발환경 꾸미기
Gluster fs guide(v1.0)
하둡 고가용성(HA) 설정
[오픈소스컨설팅]Docker on Cloud(Digital Ocean)
Cubietruck 리눅스 이미지 설치
리눅스를 이용한 Nas만들기
(참고) Elk stack 설치 및 kafka
하이퍼레저 패브릭 실습자료
Ad

Similar to Wiki academy sysadmin 5_day (20)

PPTX
Wiki academy sysadmin 6_day
PPTX
시스템/네트워크 관리자가 바로 쓸 수 있는 파이썬
PPTX
Wiki academy sysadmin 4_day
PPTX
Wiki academy sysadmin 1_day
PPTX
Wiki academy sysadmin 7_day
PPTX
Wiki academy sysadmin 9_day
PDF
[OpenStack Day in Korea 2015] Track 2-1 - Cisco Defined OpenStack
PPTX
Wiki academy sysadmin 3_day
PPTX
Wiki academy sysadmin 8_day
PDF
Sourcefire_Technical_Bootcamp_20140609.pdf
PPTX
Wiki academy sysadmin 2_day
PDF
네트워크 부트의 활용, 원격관리
PDF
시스코 wIPS 소개자료
PDF
삐약삐약 네트워크 엔지니어 이야기
PDF
Cisco Cat.4500Series License Installation Guide.pdf
DOCX
F5 container ingress_service_in_kuernetes_with_calico_cni_by_duck_in_korea
PPTX
Cisco network analytics 솔루션
PPTX
Mininet
PDF
All_Things_ASA_v3_1_20140609.pdf
PPTX
리눅스 드라이버 실습 #1
Wiki academy sysadmin 6_day
시스템/네트워크 관리자가 바로 쓸 수 있는 파이썬
Wiki academy sysadmin 4_day
Wiki academy sysadmin 1_day
Wiki academy sysadmin 7_day
Wiki academy sysadmin 9_day
[OpenStack Day in Korea 2015] Track 2-1 - Cisco Defined OpenStack
Wiki academy sysadmin 3_day
Wiki academy sysadmin 8_day
Sourcefire_Technical_Bootcamp_20140609.pdf
Wiki academy sysadmin 2_day
네트워크 부트의 활용, 원격관리
시스코 wIPS 소개자료
삐약삐약 네트워크 엔지니어 이야기
Cisco Cat.4500Series License Installation Guide.pdf
F5 container ingress_service_in_kuernetes_with_calico_cni_by_duck_in_korea
Cisco network analytics 솔루션
Mininet
All_Things_ASA_v3_1_20140609.pdf
리눅스 드라이버 실습 #1
Ad

More from Jo Hoon (17)

PDF
이스티오 (Istio) 자습서 v0.5.0
PDF
[GitOps] Argo CD on GKE (v0.9.2).pdf
PDF
Prometheus on EKS
PDF
Prometheus on NKS
PDF
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
PDF
[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요
PDF
CDN on GKE with Ingress
PDF
The myths of deprecating docker in kubernetes
PDF
온프레미스 쿠버네티스에서도 로드밸런서를 (w MetalLB)
PDF
[네전따 27회] 네트워크 자동화 어렵지 않아요
PDF
[Cook book] ansible 4_dell emc networking
PPTX
Wiki academy sysadmin 10_day
PDF
[Ansible] open network automation
PDF
[Fs8600] nas session validation test_by_hoon_jo
PDF
Ansible part for_po_c(w dellos9 dellos10)_ext_v1.0
PDF
[Python] Quick book for dell switch_os10
PDF
Ucs correctable ecc policy change tac forum (28.apr.2016 - hoon jo - tac)
이스티오 (Istio) 자습서 v0.5.0
[GitOps] Argo CD on GKE (v0.9.2).pdf
Prometheus on EKS
Prometheus on NKS
[GuideDoc] Deploy EKS thru eksctl - v1.22_v0.105.0.pdf
[네전따] 네트워크 엔지니어에게 쿠버네티스는 어떤 의미일까요
CDN on GKE with Ingress
The myths of deprecating docker in kubernetes
온프레미스 쿠버네티스에서도 로드밸런서를 (w MetalLB)
[네전따 27회] 네트워크 자동화 어렵지 않아요
[Cook book] ansible 4_dell emc networking
Wiki academy sysadmin 10_day
[Ansible] open network automation
[Fs8600] nas session validation test_by_hoon_jo
Ansible part for_po_c(w dellos9 dellos10)_ext_v1.0
[Python] Quick book for dell switch_os10
Ucs correctable ecc policy change tac forum (28.apr.2016 - hoon jo - tac)

Wiki academy sysadmin 5_day

  • 1. 1 (시스템/네트워크) 관리자가 바로 쓸 수 있는 파이썬 5 Day 조 훈(Hoon Jo)
  • 3. 3  UCS Manager SDK 활용  실제 패브릭 인터커넥트(UCS 매니저) 투어  UCS 블레이드 서버에 vKVM으로 접속 하기  UCS 블레이드 시스템의 로그 수집하기  IMC SDK 활용  실제 랙 서버 매니저 투어  UCS 랙 서버에 vKVM으로 접속 하기  UCS 랙 서버에 로그 수집하기  주말에 실습 해 볼 수 있는 가상 환경 소개 !!
  • 4. Cisco Confidential© 2011 Cisco and/or its affiliates. All rights reserved. 4
  • 5. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
  • 6. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6 UCS 매니저가 포함되어 있음
  • 7. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7 ImcSdk ucsmsdk
  • 8. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8 패브릭 인터커넥트 (UCS 매니저) 투어  접속 정보 : wiki_user / wiki1234  접속 주소 : 10.82.2.100  접속 방법 : P483를 참고하여 접속 UCS 매니저 에뮬레이터의 그래픽 모드에 접속하기
  • 9. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9 KVM Console 버튼 확인  Equipment – Chassis – Server 에 항목
  • 10. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10 Log 수집 위치 확인  Admin에 TechSupport Files으로 이동 후 오른쪽 마우스 클릭
  • 11. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11 ucsmsdk 설치  인터넷 망에 연결  pip install ucsmsdk==0.9.1
  • 12. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12 P517 [코드 6-7] ucsm_vkvm_launcher.py
  • 13. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
  • 14. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14 사전 준비 : RHEL73 0x3에 ucsmsdk 설치  scp wiki_user@10.82.4.20:/home/wiki_shared/ucsmsdk- 0.9.1.0_offline_package.tgz .  yum install –y python-setuptools  rpm -ivh python-pip-8.1.2-1.el7.noarch.rpm  pip install ucsmsdk-0.9.1.0.tar.gz --no-index --find-links ./ucsmsdk- 0.9.1.0_from_pip/ Readme와 다른 부분
  • 15. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15 P519 [코드 6-8] ucsm_techsupport.py  RHEL73 #0x3 에서 코드를 입력 하고 실행합니다. <생략>
  • 16. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16 실행 후 로그 파일은 현재 디렉터리 아래 techsupport에 저장 됩니다.
  • 17. Cisco Confidential 17© 2011 Cisco and/or its affiliates. All rights reserved.
  • 18. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18 ImcSdk ucsmsdk
  • 19. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19 ‘웹브라우저에서 10.82.2.xx를 입력합니다.  wiki_admin / wiki1234  개개인의 IP는 수업시간에 제공합니다.
  • 20. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20 KVM Console 버튼 확인
  • 21. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 21 Log 수집 위치 확인  Admin에 Utilities에 있으나, 현재 권한이 없어 보이지 않음
  • 22. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 22 0.7.2_icmSDK에서 제공하지 않아 우회적인 방법을 사용  웹브라우저에서 10.82.2.100/kvm.zip을 실행 후 내려받기  C:pykvm 디렉토리에 내려받은 압축 파일을 해제
  • 23. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23 P530 [코드 6-10] general_vkvm_launcher.py
  • 24. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24
  • 25. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 25 Imcsdk 설치  인터넷 망에 연결  pip install imcsdk==0.7.2
  • 26. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 26 P533 [코드 6-11] imc_techsupport.py
  • 27. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 27 윈도우 환경에서 실행
  • 28. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 28 리눅스 환경에서 실행 (옵션)
  • 29. Cisco Confidential 29© 2011 Cisco and/or its affiliates. All rights reserved.
  • 30. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 30 배포용 7z을 압축 해제하면 총 6개의 파일이 생성됩니다.
  • 31. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 31 1. P66을 참조하여 VirtualBox를 설치합니다. 2. 그리고 ova 파일들을 '가상시스템 가져오기'를 통해서 임포트 합니다.
  • 32. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 32 1. 사용할 가상 머신의 전원을 킵니다.
  • 33. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 33 호스트 피씨(노트북) 또는 Python-server1(가상 머신)에서 모두 UCS 매니저 에뮬레이터를 사용할 수 있습니다.
  • 34. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 34 웹브라우저에서 ‘192.168.56.240’과 ‘192.168.56.250’에 대한 연결을 확인합니다.
  • 35. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 35 실습할 준비가 완료되었습니다. 추천 실습 내용 1) P486 [코드 6-2] ucsm_gui_launcher.py 2) P504 [코드 6-5] ucsm_lable.py 3) P490 [코드 6-3] ucsm_backup_n_import.py 4) <장비주소>/visore.html 접속 확인
  • 36. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 36 1) UCS 매니저 설정 정보를 메일로 보내기  P490 [코드 6-3] ucsm_backup_n_import.py를 활용해서 진행 2) 시스템 종류 자동 인식

Editor's Notes

  • #4: Agenda and module outline of topics covered.
  • #26: 이건 M3이상만 됨….허허허;;;;