节点分类及服务
节点
1.控制节点
- keystone /etc/keystone
- horizon
- swift
openstack-swift-account-auditor.service enabled
openstack-swift-account-auditor@.service disabled
openstack-swift-account-reaper.service enabled
openstack-swift-account-reaper@.service disabled
openstack-swift-account-replicator.service enabled
openstack-swift-account-replicator@.service disabled
openstack-swift-account.service enabled
openstack-swift-account@.service disabled
openstack-swift-container-auditor.service enabled
openstack-swift-container-auditor@.service disabled
openstack-swift-container-reconciler.service disabled
openstack-swift-container-replicator.service enabled
openstack-swift-container-replicator@.service disabled
openstack-swift-container-sharder.service disabled
openstack-swift-container-sync.service enabled
openstack-swift-container-sync@.service disabled
openstack-swift-container-updater.service enabled
openstack-swift-container-updater@.service disabled
openstack-swift-container.service enabled
openstack-swift-container@.service disabled
openstack-swift-object-auditor.service enabled
openstack-swift-object-auditor@.service disabled
openstack-swift-object-expirer.service enabled
openstack-swift-object-reconstructor.service enabled
openstack-swift-object-reconstructor@.service disabled
openstack-swift-object-replicator.service enabled
openstack-swift-object-replicator@.service disabled
openstack-swift-object-updater.service enabled
openstack-swift-object-updater@.service disabled
openstack-swift-object.service enabled
openstack-swift-object@.service disabled
openstack-swift-proxy.service enabled
- glance
openstack-glance-api.service enabled
openstack-glance-registry.service enabled
openstack-glance-scrubber.service disabled
- cinder 调用存储节点cinder-volume
openstack-cinder-api.service enabled
openstack-cinder-scheduler.service enabled
- neutron
neutron-server.service enabled
- nova
openstack-nova-api.service enabled
openstack-nova-conductor.service enabled
openstack-nova-console.service disabled
openstack-nova-consoleauth.service enabled
openstack-nova-metadata-api.service disabled
openstack-nova-novncproxy.service enabled
openstack-nova-os-compute-api.service disabled
openstack-nova-scheduler.service enabled
openstack-nova-xvpvncproxy.service disabled
2.网络节点
- neutron
neutron-dhcp-agent.service enabled #下发地址
neutron-l3-agent.service enabled #提供路由能力
neutron-openvswitch-agent.service enabled #调用底层openvswitch
- openvswitch
3.计算节点
- neutron
neutron-openvswitch-agent.service enabled #调用底层openvswitch
- nova
openstack-nova-compute.service enabled
4.存储节点
- cinder cinder-volume作为接口调用后端存储,支持多种存储类型
openstack-cinder-volume.service enabled
5.msyql/mariadb
用于存储集群组件信息
6.rabbitmq
不通节点和组件之间通过AMQP高级消息队列协议进行交互
[root@vms71 ~]# grep ^tran /etc/nova/nova.conf
transport_url=rabbit://guest:guest@192.168.26.71:5672/
[root@vms71 ~]# rabbitmqctl list_user_permissions guest
Listing permissions for user "guest"
/ .* .* .*
#/对应配置项为vhost,三个.*对应的权限配置项分别为配置、写、读
开启rabbitmq web管理
rabbitmq-plugins enable rabbitmq_management
systemctl restart rebbitmq-server
iptables -I INPUT 1 -p tcp --dport 15672 -j ACCEPT
#放行端口访问
#iptables -D INPUT 1
组件
horizon
提供可视化界面操作openstack
配置文件:/etc/openstack-dashboard/local_settings
keystone
提供认证和授权
使用endpoint标记其他模块,每个endpoint由3个url组成
nova
Admin:http://192.168.26.71:8774/v2.1/00d1a0f6a9d24984a0a6d826644669c3
Internal:http://192.168.26.71:8774/v2.1/00d1a0f6a9d24984a0a6d826644669c3
Public:http://192.168.26.71:8774/v2.1/00d1a0f6a9d24984a0a6d826644669c3
swift
对象存储
glance
镜像管理
nova
计算资源、虚机管理
cinder
卷组管理,云硬盘管理
neutron
网络管理