02 2023 档案
摘要:rgw ingress自动生成的配置 keepalived的配置文件:/etc/keepalived/keepalived.conf # This file is generated by cephadm. vrrp_script check_backend { script "/usr/bin/c
阅读全文
摘要:红帽版 社区版 Red Hat Ceph Storage 2 Ceph Jewel(10.2.x) Red Hat Ceph Storage 3 Ceph Luminous(12.2.x) Red Hat Ceph Storage 4 Ceph Nautilus(14.2.x) Red Hat Ce
阅读全文
摘要:iSCSI 网关提供高可用性 (HA) iSCSI 目标,用于将 RADOS 块设备 (RBD) 镜像导出为 SCSI 磁盘。iSCSI 协议允许客户端(发起方)通过 TCP/IP 网络将 SCSI 命令发送到存储设备(目标),从而使没有本机 Ceph 客户机支持的客户机能够访问 Ceph 块存储。
阅读全文
摘要:1. 网络带宽测试 1.1 服务端 iperf3 -s -i 1 -p 8888 1.2 客户端 iperf3 -c 172.16.0.1 -i 1 -t 10 -p 8888 2. RADOS基准性能测试(rados bench) 2.1 语法 rados bench -p <pool_name>
阅读全文
摘要:1. 块存储服务测试 1.1 查看镜像列表 rbd list 1.2 映射镜像 格式:rbd device map {pool-name}/{image-name} --id {user-name}示例:rbd device map rbd/myimage --id admin 格式:rbd dev
阅读全文
摘要:1. 添加root bucket ceph osd crush add-bucket openstack rootceph osd crush add-bucket k8s rootceph osd crush add-bucket cephfs rootceph osd crush add-buc
阅读全文
摘要:1. 引导单节点Ceph集群(隔离环境) 1.1 部署本地容器仓库 部署脚本deploy_registry.sh的内容如下: #!/bin/bash#mkdir -p /var/lib/registrydocker run -d \ --restart=always \ -p 5000:5000 \
阅读全文
摘要:1. 操作系统 # cat /etc/sysctl.conf# sysctl settings are defined through files in# /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/.## Vendors settin
阅读全文
摘要:1. 设置root密码 sudo passwd 2. 配置网卡 配置文件所在目录:/etc/netplan/ 2.1 单网卡配置示例 network: version: 2 renderer: networkd ethernets: enp3s0: addresses: - 172.16.0.1/2
阅读全文
摘要:1. 安装镜像 Ubuntu: https://mirrors.tuna.tsinghua.edu.cn/ubuntu-releases/20.04/ubuntu-20.04.5-live-server-amd64.iso CentOS(备用): http://mirror.nsc.liu.se/c
阅读全文
摘要:1. 进入服务器RAID配置界面的方法 1.1 PCH(集成南桥)组RAID UEFI启动模式:在服务器启动过程中,根据提示按Delete/Esc,进入BIOS Setup界面。Legacy启动模式:在服务器启动过程中,根据提示按Delete/Esc,进入BIOS Setup界面。 1.2 独立RA
阅读全文