Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

시스템/네트워크 관리자가 바로 쓸 수 있는 파이썬

1,042 views

Published on

[저자직강] 시스템/네트워크 관리자가 바로 쓸 수 있는 파이썬
http://wikiacademy.co.kr/shop/시스템-네트워크-관리자-파이썬

[도서] 시스템/네트워크 관리자를 위한 : 파이썬 실무 프로그래밍
http://wikibook.co.kr/python-for-sysadmin/

Published in: Internet
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD TH1S BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK Here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB EBOOK Here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK Here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB EBOOK Here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc EBOOK Here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ..................................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookeBOOK Crime, eeBOOK Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

시스템/네트워크 관리자가 바로 쓸 수 있는 파이썬

  1. 1. 1 조 훈(Hoon Jo) 시스템/네트워크 관리자가 바로 쓸 수 있는 파이썬
  2. 2. 2 1 Day 사전 설명 및 간단한 실습
  3. 3. 3  교육 및 구성 소개  시스템/네트워크 관리자에게 필요한 파이썬 기초  Platform 모듈을 이용한 아주 기본적인 실습  개별 실습 장비를 쉽게 접근 할 수 있는 프로그램 개발하기
  4. 4. Cisco Confidential© 2011 Cisco and/or its affiliates. All rights reserved. 4
  5. 5. 5
  6. 6. 6
  7. 7. 7
  8. 8. 8
  9. 9. 9
  10. 10. 10 • 카탈리스트 스위치 - 블레이드 제품군, 랙 제품군 그리고 수강생 간의 통신제공 • 800 시리즈 라우터 with AP(Access Point) - 수강생이 직접 접속하는 AP이며, 여기서 IP를 할당 받음 - 그리고 라우팅을 함께 제공해서 카탈리스트 1G 스위치로 넘겨줌
  11. 11. 11 • 패브릭 인터커넥트 (Fabric Interconnect) - 내장되어 있는 UCS Manager를 통해 블레이드 서버를 관리 - 외부에서 ucsmsdk 모듈을 통해 다양한 작업이 가능 • 블레이드 샤시 - 블레이드 서버들이 패브릭 익스텐더와 통신하도록 접점을 제공 - 블레이드 서버들에 파워 팬등 자원들을 제공 • 블레이드 서버 - 컴퓨팅 파워를 제공함 • 패브릭 익스텐더(Fabric Extenders) - 블레이드 서버와 패브릭 인터커넥트와 연결해줌
  12. 12. 12 • 랙 서버 - 컴퓨팅 파워를 제공 - 외부에서 imcSDK 모듈을 통해 랙 관리 모듈(cimc)과 통신하여 다양한 작업 가능
  13. 13. 13
  14. 14. 14
  15. 15. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15 형식 1 2 3 4
  16. 16. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16 1 2 3 좀 더 자세한 예제 예 예 예
  17. 17. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17 greeting 코드
  18. 18. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18 import 모듈 이름 모듈 이름.함수() 1 import 모듈 이름 함수() 2 from 모듈 이름 import 함수 함수() 3 from 모듈 이름 import * 함수() 4
  19. 19. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19 형식 1 2 예 예
  20. 20. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20 형식
  21. 21. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 21
  22. 22. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 22
  23. 23. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23
  24. 24. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24 형식 예제 1 2 3
  25. 25. 25
  26. 26. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 26 Download Python 2.7.13을 선택해서 내려받기
  27. 27. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 27 내려받은 파일을 실행해서 설치하기
  28. 28. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 28 IDLE (Python GUI) 실행
  29. 29. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 29 문구를 입력하세요. print “위키아카데미 – 파이썬"
  30. 30. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 30 P124 [코드 3-1] info.py
  31. 31. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 31 SSID : WIKI-Python 암호 : wiki1234 (모든 실습 망의 암호)
  32. 32. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 32
  33. 33. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 33 P137 [코드 3-3] info.py
  34. 34. 34
  35. 35. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 35 P143 [코드 3-5] connection.py 참조
  36. 36. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 36
  37. 37. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 37 <중략> 실행 결과
  38. 38. © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 38 1) vmstat(가상메모리 통계) 결과를 엑셀 파일로 받기 2) 사용자 입력 값 최소화 하기
  39. 39. 39 2 Day 결괏값 엑셀로 출력하기, 사용자 입력값 최소화하기
  40. 40. 1 2
  41. 41. © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 41  vmstat(가상 메모리 통계) data를 엑셀로 출력  OID(객체 식별자) 수집 환경 구성 실습
  42. 42. 42
  43. 43. [실행결과] vmstat 3 5 [실행결과] vmstat 1 <생략>
  44. 44. <생략>
  45. 45. 외부 모듈을 내려 받기  scp wiki_user@10.82.4.20:/home/wiki_shared/XlsxWriter-0.8.4.tar.gz . P152-153 내려 받은 외부 모듈 설치하기  python setup.py build  python setup.py install
  46. 46. P161 [코드 3-8] xlsx_vmstat_header.py
  47. 47. 1) 생성한 파이썬 파일을 실행합니다. 2) 같은 디렉터리에 vmstat_merge_header.xlsx 파일을 노트북으로 옮깁니다. 3) vmstat_merge_header.xlsx 파일을 열어서 내용을 확인합니다.
  48. 48. 48
  49. 49. OID : .1.3.6.1.4.1.9.9.719.1.9.2.1.6  1.3.6.1.4.1 : enterprises MIB Management Information Base  9.9.719.1.9.2.1.6 : 서비스 프로파일 이름 cucsComputeBladeAssignedToDn
  50. 50. <생략> P292 [코드 4-11] oid_easyrun.py
  51. 51. 1) 생성한 파이썬 파일을 실행합니다. 2) IP 10.82.2.100 / OID 1.3.6.1.4.1.9.9.719.1.9.2.1 를 입력합니다. <생략> <생략>
  52. 52. 1) CDP로 얻은 정보를 인터페이스의 설명에 작성하기 2) 스케줄러를 통해 인터페이스 설명을 자동으로 갱신하기
  53. 53. 53 3 Day 인터페이스 설명(Description) 자동화하기
  54. 54. 1 2 <생략>
  55. 55. © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 55  CDP로 얻은 정보를 인터페이스의 설명에 작성하기  스케줄러를 통해 인터페이스 설명을 자동으로 갱신하기
  56. 56. 56
  57. 57. C3750G에서 ‘show cdp neighbors’ 실행 vNXOS #1에서 ‘show cdp neighbors’ 실행
  58. 58. Interface ethernet 1/1에 cdp 활성화 하기  conf t configure terminal  int e1/1 interface ethernet 1/1  cdp enable  cdp timer 5 vNXOS #1에서 ‘show cdp neighbors’ 다시 실행
  59. 59. <생략> P328 [코드 4-17] auto_add_description_cdp.py
  60. 60. <중략> <중략> 작성한 코드를 실행하고 인터페이스 설명의 업데이트를 확인
  61. 61. 61
  62. 62. 네트워크 장비에서 주기적으로 실행하고 싶은 명령을 설정
  63. 63. P397 [코드 5-3] intStDesc.py <생략> P398 [코드 5-4] cdp_scheduler.py 참조
  64. 64. 인자 값 0 0 1 을 넣어서 실행
  65. 65. 최대 1분 후에 ‘sh run int e1/1’를 실행 <중략> 다시 설명(description)을 지우고 1분 후에 확인 <중략>
  66. 66. 구성 파일 확인  sh run | last 12
  67. 67. 1) IPMI를 이용해 FAN 히스토리 데이터 작성하기

×