ironic驱动-IMPITool
概述
IMPITool驱动是通过ipmitool工具来管理部署节点的,目前主要有两个驱动:
- agent_ipmitool
- pxe_ipmitool
配置驱动
要修改ironic支持的驱动需要修改配置文件
/etc/ironic/ironic.conf
的ennabled_drivers字段。
如果没有配置,默认情况下,ironic使用的是pxe_ipmitool驱动。
[DEFAULT]
...
enabled_drivers = pxe_ipmitool,agent_ipmitool
修改完成之后需要重启conductor服务生效
systemctl restart openstack-ironic-conductor.service
node节点注册驱动
一个完整的ironic node信息如下表所示。从表中driver字段可以看出使用的是pxe_ipmitool驱动。
从driver_info字段可以看出impi的地址,用户名,密码等信息(这里密码使用*号代替了,具体可以配置)。
[root@ctrl templates(keystone_admin)]# ironic node-show 94c2fce1-acc4-4e28-b9f9-0761ebd8be31
+------------------------+-------------------------------------------------------------------------+
| Property | Value |
+------------------------+-------------------------------------------------------------------------+
| chassis_uuid | |
| clean_step | {} |
| console_enabled | False |
| created_at | 2016-11-30T09:00:26+00:00 |
| driver | pxe_ipmitool |
| driver_info | {u'ipmi_address': u'192.168.1.2', u'ipmi_username': u'user', |
| | u'ipmi_password': u'******'} |
| driver_internal_info | {u'agent_erase_devices_iterations': 1} |
| extra | {} |
| inspection_finished_at | None |
| inspection_started_at | None |
| instance_info | {u'deploy_key': u'BK26BQPYH3PC024H321294L200TXGIUJ'} |
| instance_uuid | None |
| last_error | None |
| maintenance | True |
| maintenance_reason | Failed to prepare node 94c2fce1-acc4-4e28-b9f9-0761ebd8be31 for |
| | cleaning: Cannot validate PXE bootloader. Some parameters were missing |
| | in node's driver_info. Missing are: ['deploy_ramdisk', 'deploy_kernel'] |
| name | None |
| power_state | power off |
| properties | {u'memory_mb': u'562144', u'cpu_arch': u'x86_64', u'local_gb': u'1114', |
| | u'cpus': u'40'} |
| provision_state | clean failed |
| provision_updated_at | 2016-12-01T03:37:20+00:00 |
| raid_config | |
| reservation | None |
| target_power_state | None |
| target_provision_state | available |
| target_raid_config | |
| updated_at | 2016-12-01T03:37:20+00:00 |
| uuid | 94c2fce1-acc4-4e28-b9f9-0761ebd8be31 |
+------------------------+-------------------------------------------------------------------------+
ironic是在创建node的时候指定驱动的,具体步骤如下:
ironic node-create -d pxe_ipmitool -i ipmi_address=<address>
-i ipmi_username=<username> -i ipmi_password=<password>
-d指定使用的驱动, -i指定驱动的信息。
一般需要driver_info需要指定如下信息:
- ipmi_address
- ipmi_username
- ipmi_password
- ipmi_port # 远程IPMI RMCP端口,默认使用623端口
目前如果使用agent_ipmitool驱动要求配置Swift Temp URLs。这个问题已经有人在社区反应了,具体链接如下:
https://bugs.launchpad.net/openstack-ansible/+bug/1634299
使用agent_ipmitool配置如下:
[DEFAULT]
enabled_drivers=agent_pyghmi,agent_ipmitool # we're using the agent
debug=true # we believe in logging all the things
rpc_thread_pool_size=4 # we've found this to work best with high load conductors
rpc_conn_pool_size=20 # we've found this to work best with high load conductors[conductor]
force_power_state_during_sync=false # we don't want any surprises :)[glance] # these settings are required for using swift temp URLs
swift_temp_url_key=<lol>
swift_scheme=https
swift_endpoint_url=<swift-host>
swift_path=/v1/<rackspace_tenant>
swift_backend_container=<rackspace_container>[agent]
dhcp_provider=external
heartbeat_timeout=30 # relied on for deploys, shorter timeout means shorter deploys. We'll be fixing this in code soon.
provisioning_network_uuid=<network_id>
转载于:https://www.cnblogs.com/baisu/p/6143936.html
ironic驱动-IMPITool相关推荐
- OpenStack-Pike版Ironic安装指导分析-(上)
基于OpenStack官网指导,结合实际中的应用,予以总结. 整体结构: Bare Metal service overview 裸金属服务概况 Install and configure the B ...
- 一般数据库服务器物理机配置,ironic部署物理机
原标题:ironic部署物理机 ironic是openstack的帐篷项目之一,主要用来部署和管理裸机,提供统一接口,方便nova同时管理裸机和虚机,ironic的概念架构图如图1所示.本文以tecs ...
- Ironic Key Technologies--IPMI
IPMI简介 1.什么是IPMI IPMI是智能型平台管理接口(Intelligent Platform Management Interface)的缩写,管理基于 Intel结构的企业系统中 ...
- OpenStack nova M Blueprints 分析
OpenStack nova M Blueprints 分析 OpenStack nova M Blueprints 分析 mitaka-1 mitaka-2 mitaka-3 mitaka-rc1 ...
- 【干货】裸金属服务Ironic项目介绍
在其字面意义上更强调了它是一种未安装操作系统或者刻意剥离操作系统的一种概念,更确切的表面他是CPU.RAM.local_gb的计算资源产品集合. 1.Ironic项目和组件介绍 Ironic是Open ...
- 基于OpenStack Ironic与DPU的网易数帆裸金属方案实践
背景 目前,所有号称性能损耗小的VM技术,实际上都会有5-15%甚至更高的损耗.作为替代方案,如Gartner在2015年发布的报告"Market Trends: The Rise of B ...
- Ironic console
ironic 支持两种 console 方式:shellinabox和 socat方式. shellinabox 可以将终端输出转换成 Ajax 实现的 http 服务,可以直接通过浏览器访问,呈现出 ...
- 理解裸机部署过程ironic
部署物理机跟部署虚拟机的概念在nova来看是一样,都是nova通过创建虚拟机的方式来触发,只是底层nova-scheduler和nova-compute的驱动不一样.虚拟机的底层驱动采用的libvir ...
- 【ironic】ironic介绍与原理
[ironic]ironic介绍与原理 零,配置文件 0.1 配置驱动 文件ironic.conf, ipmi硬件类型,默认值也是ipmi, pxe_ipmitool驱动也是默认值,配置驱动 [DEF ...
最新文章
- 张立贤:积跬步至千里,我与地学大数据的探索之旅 | 提升之路系列(五)
- PMP 学习之一:PMP五大过程组十大知识领域47个子过程
- 算法------长度最小的子数组
- 移动前端开发中添加一些webkit专属的HTML5头部标签,帮助浏览器更好解析html代码,更好地将移动web前端页面表现出来。本文整理一些常用的meta标签...
- 怎么将swagger API导出为HTML或者PDF
- C#操作Excel数据增删改查(转)
- element 日历组件-自定义内容
- linux原理 培训,Linux容器技术原理和使用
- request获取url的参数编码问题
- 《软件工程》总结——第一章
- 项目交接文档_项目管理反思
- BigDecimal参数8种舍入方式
- 【论文】AAAI 2020论文解读:关注实体以更好地理解文本
- 解决红蜘蛛教师端教师图标显示灰色导致无法广播的问题
- EasyNVR调16分屏播放ws-flv内存溢出导致浏览器崩溃问题的解决
- 大数据项目流程(必须会)
- 91卫图助手下载器永久免费啦!!
- 获取每周第一天和最后一天
- UI前端常用的15个超赞的配色网站
- c++控制台游戏-小镇物语正式版 V1.7.2 [可存档!!!]