°Ô½Ã¹° 51°Ç
   
[RHEL7.6] KVM ¿¡¼­ Fence VBMC ¼³Á¤Çϱâ
±Û¾´ÀÌ : theko ³¯Â¥ : 2019-07-04 (¸ñ) 15:23 Á¶È¸ : 3066
### 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