Openstack 宿主机电源管理

本文介绍了如何使用Novaclient在Openstack环境中进行宿主机的电源管理,虽然当前服务未配置,但可通过命令行利用IPMITOOL进行相关操作。参考链接包括相关BUG修复和代码提交。
摘要由CSDN通过智能技术生成

novaclient 有相关宿主机的管理接口,


hosts=nova.hosts.list()
for i in hosts:
    print(i._info)

输出:
{u'service': u'consoleauth', u'host_name': u'control-4811', u'zone': u'internal'}
{u'service': u'scheduler', u'host_name': u'control-4811', u'zone': u'internal'}
{u'service': u'conductor', u'host_name': u'control-4811', u'zone': u'internal'}
{u'service': u'cert', u'host_name': u'control-4811', u'zone': u'internal'}
{u'service': u'compute', u'host_name': u'compute-4812', u'zone': u'nova'}


print(nova.hosts.host_action("compute-4812","reboot"))

输出:Traceback (most recent call last):
  File "nova_client.py", line 34, in <module>
  
Trust the best selling Official Cert Guide series from Cisco Press to help you learn, prepare, and practice for exam success. They are built with the objective of providing assessment, review, and practice to help ensure you are fully prepared for your certification exam. CCNA Cloud CLDFND 210-451 Official Cert Guide presents you with an organized test preparation routine through the use of proven series elements and techniques. “Do I Know This Already?” quizzes open each chapter and enable you to decide how much time you need to spend on each section. Exam topic lists make referencing easy. Chapter-ending Exam Preparation Tasks help you drill on key concepts you must know thoroughly. Master Cisco CCNA CLDFND 210-451exam topics Assess your knowledge with chapter-opening quizzes Review key concepts with exam preparation tasks Practice with realistic exam questions from the Companion Website CCNA Cloud CLDFND 210-451 Official Cert Guide, focuses specifically on the objectives for the Cisco CCNA CLDFND exam. Leading data center network architect Gustavo A.A. Santana shares preparation hints and test-taking tips, helping you identify areas of weakness and improve both your conceptual knowledge and hands-on skills. Material is presented in a concise manner, focusing on increasing your understanding and retention of exam topics. The Companion Website contains a powerful Pearson IT Certification Practice Test engine that enables you to focus on individual topic areas or take a complete, timed exam. The assessment engine also tracks your performance and provides feedback on a module-by-module basis, laying out a complete assessment of your knowledge to help you focus your study where it is needed most. Well-regarded for its level of detail, assessment features, comprehensive design scenarios, and challenging review questions and exercises, this official study guide helps you master the concepts and techniques that will enable you to succeed on the exam the first time.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值