随笔分类 -  OpenStack

摘要:openstack compute service list openstack network agent list #控制节点 启动服务 systemctl restart openstack-nova-api.service \ openstack-nova-consoleauth.servi 阅读全文
posted @ 2021-03-16 11:43 小⑦
摘要:OpenStack Web访问页面报以下错误: The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the serve 阅读全文
posted @ 2019-10-15 16:26 小⑦
摘要:背景:最近把openstack上的所有机器的磁盘逐一重新分区,之前是两块磁盘用RAID1,但是ceph已经配置了3份副本,这样相当于存6份副本了,目前磁盘资源不太够。机器用的是HP P440ar的阵列卡,支持建立不同模式的逻辑卷,所以把磁盘分区修改为RAID1系统盘+RAID0数据盘,磁盘容量和数据 阅读全文
posted @ 2019-10-14 15:51 小⑦
摘要:### 一开始还是可以创建的,突然出现这个问题 ###在控制节点查询nova 的服务状态是不可用的,提示 openstack nova disabled Auto-disabled due to 10 build failures [root@controller11 ~]# nova servic 阅读全文
posted @ 2018-11-22 16:38 小⑦
摘要:Swift 不是文件系统或者实时的数据存储系统,而是对象存储,用于长期存储永久类型的静态数据。这些数据可以检索、调整和必要时进行更新。Swift最适合虚拟机镜像、图片、邮件和存档备份这类数据的存储。 Swift没有采用RAID,也没有中心单元和主控点,而是通过在软件层面采用一致性HASH和数据冗余性 阅读全文
posted @ 2018-05-09 15:38 小⑦
摘要:OpenStack Pike 版本 + Ceph luminous 版本 高可用均衡负载 mariadb cluster 配置 vxlan + flat 网络 阅读全文
posted @ 2018-04-03 17:22 小⑦
摘要:##在controller1节点执行source ./admin-openstack.sh echo ' 创建秘钥' nova keypair-add --pub-key ~/.ssh/id_rsa.pub mykey echo ' 创建云主机类型' #openstack flavor create 阅读全文
posted @ 2018-04-03 14:50 小⑦
摘要:echo ' # [DEFAULT] instances_path='$VHD' enabled_apis = osapi_compute,metadata transport_url = rabbit://openstack:openstack@controller:5673 my_ip = '$ 阅读全文
posted @ 2018-04-03 13:37 小⑦
摘要:[DEFAULT] osapi_volume_listen = controller1 osapi_volume_listen_port = 8776 auth_strategy = keystone log_dir = /var/log/cinder state_path = /var/lib/c 阅读全文
posted @ 2018-04-03 13:24 小⑦
摘要:[client.cinder] key = AQAtZKdamLXNBhAANusabLORDaZquBplFkiyYg== #nova compute Node=compute1 scp /etc/ceph/ceph.client.cinder.keyring $Node:/etc/ceph/ s 阅读全文
posted @ 2018-04-03 13:17 小⑦
摘要:##Dashboard UI 高可用配置 #####在controller1安装配置 #安装 所有controller节点安装 yum install openstack-dashboard -y #配置 cp /etc/openstack-dashboard/local_settings{,.bak} #egrep -v '#|^$' /etc/openstack-dashboard/l... 阅读全文
posted @ 2018-04-03 11:50 小⑦
摘要:echo '关闭selinux、防火墙' systemctl stop firewalld.service systemctl disable firewalld.service firewall-cmd --state sed -i '/^SELINUX=.*/c SELINUX=disabled 阅读全文
posted @ 2018-03-22 10:04 小⑦
摘要:# [ml2] tenant_network_types = vxlan type_drivers = flat,vlan,vxlan mechanism_drivers = linuxbridge,l2population extension_drivers = port_security [ml 阅读全文
posted @ 2018-03-21 16:01 小⑦
摘要:# [DEFAULT] my_ip = controller1 use_neutron = True osapi_compute_listen = controller1 osapi_compute_listen_port = 8774 metadata_listen = controller1 m 阅读全文
posted @ 2018-03-21 15:43 小⑦
摘要:# [DEFAULT] debug = False verbose = True bind_host = controller1 bind_port = 9292 auth_region = RegionOne registry_client_protocol = http [database] c 阅读全文
posted @ 2018-03-21 15:16 小⑦
摘要:##Keystone验证服务集群 ################################################ ##以下在所有controller执行 #Keystone安装 yum install -y openstack-keystone httpd mod_wsgi mem 阅读全文
posted @ 2018-03-21 15:06 小⑦
摘要:################################ #RabbitMQ Cluster群集安装配置 #rabbitmqctl手工配置集群,Disk node,镜像模式 #centos7 #RabbitMQ Cluster 安装群集 所有controller节点 yum install rabbitmq-server erlang socat -y systemctl st... 阅读全文
posted @ 2018-03-21 15:03 小⑦
摘要:#Mariadb Galera Cluster群集 #Server version: 10.1.20-MariaDB MariaDB Server #MariaDB Galera 安装 以下在所有 controller节点执行###### yum install mariadb mariadb-server mariadb-galera-server -y yum install expec... 阅读全文
posted @ 2018-03-21 15:00 小⑦
摘要:#3、关闭 除vip所在节点的其它节点的mgr服务 让 vip所在节点的 mgr服务为 active就可以访问了 #vip 所在节点 mgr服务变为 active后,再启动其它节点的 mgr服务 变为 standbys状态 #关闭 mgr服务命令:systemctl stop ceph-mgr@co 阅读全文
posted @ 2018-03-21 14:42 小⑦
摘要:Ceph luminous 安装配置 #环境centos7.4 #Ceph version 12.2.4 luminous (stable) ########################### 以下在所有节点操作 #使用阿里源 mkdir -p /etc/yum.repos.d/remark && mv /etc/yum.repos.d/*.repo /etc/yum.r... 阅读全文
posted @ 2018-03-21 14:35 小⑦