##1 Nova计算节点

###openstack-ocata 单节点安装 部署 目录汇总

一 安装nova服务

yum install openstack-nova-compute -y

--------------------------------------------------------------------------------

二 配置nova文件
cp /etc/nova/nova.conf /etc/nova/nova.conf.bak
> /etc/nova/nova.conf

##注意修改my_ip

echo ‘
[DEFAULT]
# ...
enabled_apis = osapi_compute,metadata
transport_url = rabbit://openstack:[email protected]
my_ip = MANAGEMENT_INTERFACE_IP_ADDRESS
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver

[api]
# ...
auth_strategy = keystone

[keystone_authtoken]
# ...
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = nova

[vnc]
# ...
enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = $my_ip
novncproxy_base_url = http://controller:6080/vnc_auto.html

[glance]
# ...
api_servers = http://controller:9292

[oslo_concurrency]
# ...
lock_path = /var/lib/nova/tmp

[placement]
# ...
os_region_name = RegionOne
project_domain_name = Default
project_name = service
auth_type = password
user_domain_name = Default
auth_url = http://controller:35357/v3
username = placement
password = placement

[libvirt]
# ...
virt_type = qemu

‘>/etc/nova/nova.conf

--------------------------------------------------------------------------------

三 验证计算节点是否支持虚拟化

egrep -c ‘(vmx|svm)‘ /proc/cpuinfo 
返回为0则不支持,返回>0则支持

--------------------------------------------------------------------------------
四 启动nova服务

systemctl enable libvirtd.service openstack-nova-compute.service
systemctl start libvirtd.service openstack-nova-compute.service
systemctl status libvirtd.service openstack-nova-compute.service

--------------------------------------------------------------------------------

五 控制节点执行验证操作

. adminrc

openstack hypervisor list
+----+---------------------+-----------------+-----------+-------+
| ID | Hypervisor Hostname | Hypervisor Type | Host IP | State |
+----+---------------------+-----------------+-----------+-------+
| 1 | compute1 | QEMU | 10.0.0.31 | up |
+----+---------------------+-----------------+-----------+-------+

su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova

openstack compute service list

nova-status upgrade check

原文地址:https://www.cnblogs.com/yypr/p/10042406.html

时间: 2024-11-09 03:12:41

##1 Nova计算节点的相关文章

##5.2 Nova计算节点--openstack

##5.2 Nova计算节点 ##5.2 Nova计算节点 # compute 安装 #5.2.Nova-compute.sh #基本配置: #关闭selinux.防火墙 #更换阿里源.升级.重启.时间同步 #hostname设置 #安装OpenStack库 #安装配置Nova yum install -y openstack-nova-compute yum install -y python-openstackclient openstack-selinux #设置Nova实例路径(磁盘镜像

openstack云计算(二):Openstack rocky 部署三 nova计算节点部署

Openstack 云计算(二): Openstack Rocky部署三 nova 部署与验证 (计算节点) 标签(空格分隔): openstack系列 一:nova计算节点初始化 二:nova 计算节点配置 一: nova计算节点初始化 1.1 配置主机名 login: 10.0.0.31 cat /etc/hosts --- 10.0.0.11 controller 10.0.0.31 computer1 10.0.0.41 block1 10.0.0.51 object1 10.0.0.5

CentOS 7部署OpenStack(5)—部署Nova计算节点

安装基础环境 [[email protected] ~]# yum install -y http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm [[email protected] ~]# yum install -y centos-release-openstack-liberty [[email protected] ~]# yum install -y python-openstackclie

OpenStack-liberty版Nova计算节点部署服务部署(四)

Nova Compute:nova-compute 一般运行在计算节点上,通过Message Queue接收并管理VM的生命周期.Nova-compute通过Libvirt管理KVM,通过XenAPI管理Xen等. node2:修改主机名:注意:修改主机名,以后不能更改.[[email protected] ~]# hostname linux-node2.smoke.com [[email protected] ~]# vim /etc/hostname hostname linux-node

七、OpenStack服务-Nova(计算节点)

本章目录 1.概述 2.安装配置计算节点 一.概述 计算节点上:https://docs.openstack.org/nova/rocky/install/compute-install.html nova-compute调用libvirtd来创建虚拟机 nova-compute的功能可以分为两类: 定时向OpenStack报告计算节点的状态 实现instance声明周期的管理 1.安装nova-compute [[email protected] ~]# yum install opensta

openstack安装nova计算节点报错

Error: Package: 1:openstack-nova-compute-17.0.5-1.el7.noarch (centos-openstack-queens)Requires: qemu-kvm-rhev >= 2.9.0 [[email protected] yum.repos.d]# cat CentOS-QEMU-EV.repo[centos-qemu-ev]name=CentOS-$releasever - QEMU EVbaseurl=https://mirrors.al

Oenstak(M版)计算节点安装

#############修改hosts文件 10.0.0.11 controller10.0.0.31 compute110.0.0.32 compute210.0.0.41 block110.0.0.51 object110.0.0.52 object2 #############关闭selinux及防火墙############# systemctl stop firewalldsystemctl disable firewalld #############下载openstack软件包#

Openstack 网络服务 Neutron计算节点部署(十)

Neutron计算节点部署 安装组件,安装的服务器是192.168.137.12 1.安装软件包 yum install -y openstack-neutron-linuxbridge ebtables ipset 2.配置文件neutron.conf 因为neutron控制节点跟计算节点配置几乎一样,直接复制控制节点的文件到计算节点,将不同的部分进行修改. scp /etc/neutron/neutron.conf [email protected]:/etc/neutron 在neutro

7-nova计算节点

7.1 nova计算节点 7.2 nova计算节点的安装 yum install openstack-nova-compute 7.3 修改nova的配置文件 [[email protected] ~]# grep -E "^[a-Z]"  /etc/nova/nova.conf  auth_strategy=keystone  #开启keystone认证 [DEFAULT]模块 my_ip=192.168.56.11  #计算节点上的管理网络接口的IP[DEFAULT]模块 use_