自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(22)
  • 收藏
  • 关注

原创 OpenStack Tips

1.配置计算节点重启后,虚拟机自动重启#配置vim /etc/nova/nova.conf[DEFAULT]...resume_guests_state_on_host_boot=true...#重启服务systemctl restart openstack-nova-compute做了上面配置以后,如果计算节点发生重启,重启之前running状态的虚拟机会自动start。2.异构cpu迁移配置#配置vim /etc/nova/nova.conf...[libvir

2022-04-12 08:57:58 205

原创 ingress-nginx的部署和使用

k8s版本:1.22.3ingress-nginx的部署#使用manifest部署# wget https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.0/deploy/static/provider/cloud/deploy.yaml#由于我的环境没有外部负载均衡,需要配置 hostNetwork: true,配置了以后会在运行ingress-controller的节点起80和443端口接受外

2022-01-04 11:20:35 502

原创 prometheus基本使用

# monitor prometheusWe use prometheus,alertmanager,grafana and other tools to monitoring our systems and services.## PrometheusPrometheus is an open-source systems monitoring and alerting toolkit- Prometheus pull data from exporters or from pushgatewa

2021-07-29 09:49:45 1117

原创 github基本使用

1.注册账号https://github.com/2.配置key在linux执行下面命令生成keyssh-keygen #一路回车将下面命令输出内容拷贝到githubcat ~/.ssh/id_rsa.pub3.在github创建项目4.从linux拉去项目git clone git clone https://github.com/***5.配置用户git config --global user.name "awsome0305"git config

2021-03-24 11:03:29 88

原创 ceph block device实验

1.创建存储池# ceph osd pool create volumes 128# ceph osd pool create images 128# ceph osd pool create vms 128# ceph osd pool create libvirt-pool 128# rbd pool init volumes# rbd pool init images# rbd pool init vms# rbd pool init libvirt-pool# ceph o

2020-12-25 11:43:01 216

原创 docker基础实验

1.docker部署(CentOS7)# yum install -y yum-utils# yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo# yum install docker-ce docker-ce-cli containerd.io2.启动并设置开机启动# systemctl start docker# systemctl e...

2020-12-24 15:06:01 149

原创 openstack虚拟机的热迁移和疏散

前提条件:openstack和ceph集成完成,保证虚拟机系统盘运行在ceph上配置步骤:1.在各个计算节点之间做root的ssh认证,可以相互免密登录2.配置libvirtd服务修改配置# vim /etc/libvirt/libvirtd.conflisten_tls = 0listen_tcp = 1unix_sock_group = "root"unix_sock_rw_perms = "0777"auth_unix_ro = "none"auth_unix_rw

2020-12-22 16:57:08 3175

原创 CentOS8.3 nfs-ganesha-proxy的使用

实验环境: 1台nfs-ganesha节点,使用vfs共享目录 1台proxy节点,进行nfs代理 1台客户端,进行nfs挂载使用1.nfs-ganesha节点部署https://mp.csdn.net/editor/html/1111803692.proxy节点部署dnf install centos-release-nfs-ganesha30.noarch -ydnf i...

2020-12-15 10:34:24 406

原创 Centos8.3 nfs-ganesha使用vfs共享目录

1.部署nfs-ganeshadnf install centos-release-nfs-ganesha30.noarch -ydnf install nfs-ganesha nfs-ganesha-vfs -y2.配置nfs-ganeshacat /etc/ganesha/ganesha.confEXPORT { Export_ID = 1; FSAL { Name = VFS; } mode = 0755; Squash="N

2020-12-14 17:29:53 1064

原创 Centos8.3 nfs-ganesha使用GlusterFS后端

在任意一台GlusterFS节点部署nfs-ganesha相关包dnf install centos-release-nfs-ganesha30 -ydnf install nfs-ganesha-gluster -y配置ganeshacat /etc/ganesha/ganesha.confEXPORT{ Export_Id = 1 ; # Export ID unique to each export Path = "/gv0"; # Path of the v

2020-12-11 10:20:51 554

原创 CentOS8.3部署GlusterFS

1.配置ip主机名对应关系cat /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain localhost6 localhost6.localdomain6${server01_ip} glusterfs01${server02_ip} glusterfs02${serve...

2020-12-11 10:06:01 657

原创 Centos8.3 nfs-ganesha使用ceph后端

在部署完成cephFS的ceph节点部署nfs-ganeshadnf install centos-release-nfs-ganesha30.noarch -ydnf install nfs-ganesha-ceph -y修改配置并启动ganeshavim /etc/ganesha/ganesha.conf# create newNFS_CORE_PARAM { # disable NLM Enable_NLM = false; # disable RQU

2020-12-09 16:12:53 456

原创 CentOS8.3 N版cephFS配置

cephFS的配置部署好ceph后,配置ceph MDSsu - ceph -s /bin/bashid=$(hostname)mkdir -p /var/lib/ceph/mds/ceph-${id}exitid=$(hostname)ceph auth get-or-create mds.${id} mon 'profile mds' mgr 'profile mds' mds 'allow *' osd 'allow *' > /var/lib/ceph/mds/ceph-

2020-12-09 14:44:44 324

原创 h3c s5048交换机基本配置

新的交换机使用admin/admin登录进去,然后开始配置基础配置<H3C>system-viewSystem View: return to User View with Ctrl+Z.[H3C]]sysname openstack-sw01[openstack-sw01]user-interface aux 0[openstack-sw01-line-aux0]authentication-mode password[openstack-sw01-line-aux0]s

2020-10-23 11:46:17 3954

原创 使用kubeadm部署kubernetes

1.config corecat <<EOF | sudo tee /etc/sysctl.d/k8s.confnet.bridge.bridge-nf-call-ip6tables = 1net.bridge.bridge-nf-call-iptables = 1EOFsudo sysctl --system2.deploy dockeryum install -y yum-utils device-mapper-persistent-data lvm2yum-

2020-09-04 11:11:14 199

原创 CentOS7手动部署ceph(luminous)

目录实验环境:实验步骤:实验环境:主机名 ip 配置 mon01(mon+osd) 192.168.226.200 2C4G20G+2*20G mon02(mon+osd) 192.168.226.201 2C4G20G+2*20G mon03(mon+osd) 192.168.226.202 2C4G20G+2*20G 实验步骤:1.配置yum源cat /etc/yum.repos.d/ceph.repo[Cep

2020-06-09 16:40:55 479

原创 centos7部署ceph(mimic)

实验环境:主机名 ip 配置 ceph01(deploy节点) 192.168.122.41 2c4g20G+20G*2 ceph02 192.168.122.42 2c4g20G+20G*2 ceph03 192.168.122.43 2c4g20G+20G*2 实验步骤:1.基础配置配置主机名,/etc/hosts文件,关iptables,关selinux,ntp时间同步等不表2.配置yum源yum install -

2020-06-04 14:17:09 481

原创 centos7下openstack(rocky)和ceph(mimic)集成

1.ceph中操作创建pool(ceph mon节点操作)ceph osd pool create volumesceph osd pool create imagesceph osd pool create vmsrbd pool init volumesrbd pool init imagesrbd pool init vmsssh {your-openstack-server} sudo tee /etc/ceph/ceph.conf </etc/ceph/ceph.con

2020-06-03 11:52:09 503

原创 haproxy+keepalived快速实践

实验环境:角色 ip 配置 master 192.168.226.31 1C1G20G backup01 192.168.226.32 1C1G20G backup02 192.168.226.33 1C1G20G 1.安装haproxy1.1装包yum install haproxy -y1.2配置haproxy(所有节点一致)cat /etc/haproxy/haproxy.cfg#---------------------

2020-05-18 14:14:28 279

原创 超级简单版centos7部署galera集群

实验环境:主机名 ip 配置 controller01 192.168.226.31 1C1G20G controller02 192.168.226.32 1C1G20G controller03 192.168.226.33 1C1G20G 部署流程:1.yum 源配置#curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | bash

2020-05-15 11:28:10 422

原创 rabbitmq集群网络分区模拟与恢复

网络分区原因网络分区出现的原因是集群节点之间通信出现异常,导致各节点之间数据不同步,节点之间通信异常恢复后集群会分裂成多个网络分区(小集群)各自为政。网络分区模拟配置文件包含中cluster_partition_handling的配置为ignore一个正常运行的3节点集群,集群状态如下[root@test-192-168-1-41 ~]# rabbitmqctl clus...

2018-07-22 09:06:17 1182

原创 rabbitmq的部署和HA集群搭建

安装安装环境:系统:CentOS7.3yum源:这里使用openstack queens的源# yum install centos-release-openstack-queens安装rabbitmq# yum install rabbitmq-server -y启动服务# systemctl enable rabbitmq-server.service...

2018-07-22 08:31:59 710

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除