virtualbmc_vbmc_설정하기

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
virtualbmc_vbmc_설정하기 [2021/02/05 05:16] koovvirtualbmc_vbmc_설정하기 [2022/01/26 08:11] (현재) koov
줄 1: 줄 1:
 ====== VirtualBMC (vbmc) 설정하기 ====== ====== VirtualBMC (vbmc) 설정하기 ======
 + --- //[[koovis@gmail.com|이강우]] 2021/02/05 14:44//
  
 +아래 내용은 CentOS 7 환경에서 테스트 되었습니다.
 ===== 오픈스택 레포지토리 이용 ===== ===== 오픈스택 레포지토리 이용 =====
 +
 +<WRAP prewrap>
 +<code bash>
 +yum -y install centos-release-openstack-train
 +yum -y install python2-virtualbmc
 +
 +# vbmc 등록/시작
 +vbmc add ik-metal0 --username admin --password secret@1337 --port 6230
 +vbmc start ik-metal0
 +
 +# ipmi 동작 확인
 +ipmitool -I lanplus -U admin -P secret@1337 -H 10.80.80.1 -p 6230 power status
 +</code>
 +</WRAP>
 +
 +==== RHEL 7 의 경우 ====
 +
 +RHEL의 경우 오픈스택''11'', ''12'', ''13'' 레포지토리를 등록하면 사용할 수 있다.
 +__''14'' 이후 버전에는 포함되어있지 않다__.
 +
 +<WRAP prewrap>
 +<code bash>
 +$ sudo subscription-manager repos --enable=rhel-7-server-openstack-13-rpms
 +$ sudo yum install -y python-virtualbmc
 +</code>
 +</WRAP>
  
  
줄 40: 줄 68:
 ====== 활용사례 ====== ====== 활용사례 ======
   * [[VBMC를 통한 TripleO 및 IPMI]]   * [[VBMC를 통한 TripleO 및 IPMI]]
 +
 +  * https://docs.openstack.org/virtualbmc/latest/user/index.html
   * https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/environments/virtualbmc.html   * https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/environments/virtualbmc.html
   * https://access.redhat.com/documentation/ko-kr/red_hat_openstack_platform/11/html/director_installation_and_usage/appe-power_management_drivers   * https://access.redhat.com/documentation/ko-kr/red_hat_openstack_platform/11/html/director_installation_and_usage/appe-power_management_drivers
 +
 +====== systemd 등록 ======
 +
 +''/etc/systemd/system/vbmcd.service'' 파일을 아래와 같이 등록하여 사용한다.
 +
 +<WRAP prewrap>
 +<code vim>
 +[Install]
 +WantedBy = multi-user.target
 +
 +[Service]
 +BlockIOAccounting = True
 +CPUAccounting = True
 +ExecReload = /bin/kill -HUP $MAINPID
 +ExecStart = /usr/local/bin/vbmcd --foreground
 +Group = root
 +MemoryAccounting = True
 +PrivateDevices = False
 +PrivateNetwork = False
 +PrivateTmp = False
 +PrivateUsers = False
 +Restart = on-failure
 +RestartSec = 2
 +Slice = vbmc.slice
 +TasksAccounting = True
 +TimeoutSec = 120
 +Type = simple
 +User = root
 +
 +[Unit]
 +After = libvirtd.service
 +After = syslog.target
 +After = network.target
 +Description = vbmc service
 +</code>
 +</WRAP>
 +
 +
 +====== 참조링크 ======
 +  * https://www.informaticar.net/how-to-install-virtualbmc-on-red-hat/
  
  • virtualbmc_vbmc_설정하기.1612502175.txt.gz
  • 마지막으로 수정됨: 2021/02/05 05:16
  • 저자 koov