huyvl3-fptcloud
Flight Engineer
Flight Engineer
  • 1,393 Views

How to register ipmi node on openstack?

I see the command in cl210-16.1-student-guide.pdf, but how can I register that node ipmi on openstack to performce? I meant that how can I provide ipmi account/password/address? Where?

$ openstack baremetal node power on compute0

 

 

Labels (1)
5 Replies
Chetan_Tiwary_
Moderator
Moderator
  • 1,329 Views

Hello @huyvl3-fptcloud !

See if this helps : https://docs.openstack.org/ironic/latest/admin/drivers/ipmitool.html 

Please let me know the chapter and section where you are refering to in the CL210 course.

0 Kudos
huyvl3-fptcloud
Flight Engineer
Flight Engineer
  • 1,328 Views

Thank for your reply @Chetan_Tiwary_ , but im using kvm qemu. How can I implemen?

0 Kudos
  • 1,319 Views

Hi @huyvl3-fptcloud 

Usually i install vbmc tool on undercloud node and once it's running i added overcloud nodes by this way being at this case 10.20.0.1 GW IP from external network on host. You should reach directly from undercloud by ssh 

```
vbmc add controller0_rhosp17 --port 6235 --username admin --password password --libvirt-uri qemu+ssh://root@10.20.0.1/system
```
Then you can list all nodes
```
[root@director ~]# vbmc list
+----------------------+---------+---------+------+
| Domain name | Status | Address | Port |
+----------------------+---------+---------+------+
| compute0_rhosp170 | running | :: | 6238 |
| compute1_rhosp170 | running | :: | 6239 |
| controller0_rhosp170 | running | :: | 6235 |
| controller1_rhosp170 | running | :: | 6236 |
| controller2_rhosp170 | running | :: | 6237 |
+----------------------+---------+---------+------+

```

Even test if ipmi driver is properly working

```
[root@director ~]# ipmitool -I lanplus -U admin -P password -H 127.0.0.1 -p 6238 power status
Chassis Power is on
```
I hope it can help you

huyvl3-fptcloud
Flight Engineer
Flight Engineer
  • 1,251 Views

I will tried and verify in this week. Thank you for your solution.

huyvl3-fptcloud
Flight Engineer
Flight Engineer
  • 566 Views

Hi @Chetan_Tiwary_ , is the solution as shown in the link bound to the hypervisor? I mean between kvm, ironic, ... Is it only triggered by ironic and not kvm?

0 Kudos
Join the discussion
You must log in to join this conversation.