SUSE Ceph 快速部署(2)

# zypper lr # | Alias | Name ---+----------------------------------------------------+---------------------------------------------------- 1 | SLE-Module-Basesystem-SLES15-SP1-Pool | SLE-Module-Basesystem-SLES15-SP1-Pool 2 | SLE-Module-Basesystem-SLES15-SP1-Upadates | SLE-Module-Basesystem-SLES15-SP1-Upadates 3 | SLE-Module-Legacy-SLES15-SP1-Pool | SLE-Module-Legacy-SLES15-SP1-Pool 4 | SLE-Module-Legacy-SLES15-SP1-Updates | SLE-Module-Legacy-SLES15-SP1-Updates 5 | SLE-Module-Server-Applications-SLES15-SP1-Pool | SLE-Module-Server-Applications-SLES15-SP1-Pool 6 | SLE-Module-Server-Applications-SLES15-SP1-Upadates | SLE-Module-Server-Applications-SLES15-SP1-Upadates 7 | SLE-Product-SLES15-SP1-Pool | SLE-Product-SLES15-SP1-Pool 8 | SLE-Product-SLES15-SP1-Updates | SLE-Product-SLES15-SP1-Updates 9 | SUSE-Enterprise-Storage-6-Pool | SUSE-Enterprise-Storage-6-Pool 10 | SUSE-Enterprise-Storage-6-Updates | SUSE-Enterprise-Storage-6-Updates

5、安装基本软件 (所有节点和admin)

zypper in -y -t pattern yast2_basis base zypper in -y net-tools vim man sudo tuned irqbalance zypper in -y ethtool rsyslog iputils less supportutils-plugin-ses zypper in -y net-tools-deprecated tree wget

6、关闭IPV6 (所有节点和admin)

# vim /etc/sysctl.conf net.ipv6.conf.all.disable_ipv6 = 1 # 关闭 IPV6 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 vm.min_free_kbytes = 2097152 # 128GB的RAM,系统预留2GB kernel.pid_max = 4194303 # 线程数设置最大

执行生效

# sysctl -p

7、调整网络优化参数 (所有节点和admin)

# tuned-adm profile throughput-performance # tuned-adm active # systemctl start tuned.service # systemctl enable tuned.service

8、编辑hosts文件 (所有节点和admin)

# vim /etc/hosts 192.168.2.39 admin.example.com admin 192.168.2.40 node001.example.com node001 192.168.2.41 node002.example.com node002 192.168.2.42 node003.example.com node003

9、执行更新操作系统,并重启 (所有节点和admin)

# zypper ref # zypper -n update # reboot  

三、安装Storage6集群

1、安装 salt(admin节点)

zypper -n in deepsea systemctl restart salt-master.service systemctl enable salt-master.service systemctl status salt-master.service

osd节点 和 admin节点

zypper -n in salt-minion sed -i '17i\master: 192.168.2.39' /etc/salt/minion systemctl restart salt-minion.service systemctl enable salt-minion.service systemctl status salt-minion.service

接受所有请求(admin节点)

salt-key salt-key --accept-all salt-key salt '*' test.ping

2、Admin节点,配置NTP服务
如果没有ntp服务器,默认以admin节点为ntp server
Admin节点:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/063e89eae526ab20f6a6b05e1fc68d0e.html