게시물 45건
   
[RHEL7.6] KVM 에서 Fence VBMC 설정하기
글쓴이 : theko 날짜 : 2019-07-04 (목) 15:23 조회 : 94
### KVM에서 Fencing 설정하기#####

# subscription-manager register     

Registering to: subscription.rhsm.redhat.com:443/subscription
Username: RedhatID@redhat.com
Password:
The system has been registered with ID: f5b20060-ff03-40d6-b001-51defa52687f
The registered system name is: theko-RHEL

// Redhat 유료 ID가 있어야합니다. 

# subscription-manager list --available --all --matches="Red Hat OpenStack"
........
.......
SKU:                 SER0504
Contract:            11714220
Pool ID:             8a85f98c6494ecb80164a7d29a6f59b5
Provides Management: No
Available:           72
Suggested:           1
Service Level:       Self-Support
.........
.....

# subscription-manager attach  --pool=8a85f98c6494ecb80164a7d29a6f59b5

# subscription-manager repos --disable=*

# subscription-manager repos --enable=rhel-7-server-rpms --enable=rhel-7-server-extras-rpms --enable=rhel-7-server-rh-common-rpms --enable=rhel-ha-for-rhel-7-server-rpms --enable=rhel-7-server-openstack-13-rpms

# yum clean all; sudo yum repolist

# yum install python2-virtualbmc

#yum install openssh-askpass

# virsh list
 Id    Name                           State
----------------------------------------------------
 14    rhel76-ISCSI                   running
 15    RHCS7-02                       running
 16    RHCS7-01                       running


# vbmc add RHCS7-01 --port 7000 --username admin --password rplinux
# vbmc add RHCS7-02 --port 7001 --username admin --password rplinux
[root@theko-RHEL ~]# vbmc list
+-------------+--------+---------+------+
| Domain name | Status | Address | Port |
+-------------+--------+---------+------+
|   RHCS7-01  |  down  |    ::   | 7000 |
|   RHCS7-02  |  down  |    ::   | 7001 |
+-------------+--------+---------+------+

##Exception TypeError: "'NoneType' object is not callable" in <function _removeHandlerRef at 0x7ffa843510c8> ignored  //무시해도됨


# vbmc start RHCS7-01
2019-07-04 15:10:11,980.980 18678 INFO VirtualBMC [-] Virtual BMC for domain RHCS7-01 started


# vbmc start RHCS7-02
# 2019-07-04 15:10:17,837.837 19114 INFO VirtualBMC [-] Virtual BMC for domain RHCS7-02 started


- Fence 테스트
# ipmitool -I lanplus -p 7000 -U admin -P rplinux -H 10.65.10.100 power status
Chassis Power is on

==============================================================================


이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com