通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

06-01 1191阅读

本实验演示如何通过Web 工具部署FusionCompute 8.7.0虚拟化平台,本文为安装VRM及问题处理。

前文请见:通过Web 工具部署FusionCompute 8.7.0虚拟化平台(一、部署Web安装工具和批量安装CNA)

 一、安装VRM

1、继续前文下一步
通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)
 2、上传VRM相关软件包

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

 3、同时校对CNA主机IP

此时可以手动修改主机IP为规划的固定IP (本来磁盘自动配置如果勾选了,自动安装程序配置的IP就是依序分配的62\63并固定设置的,本次因磁盘自动配置未勾选导致初次自动安装失败,返回后自动分配的65\64,和规划不一致了),需手动改回:

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

 通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

改回后重启网卡服务 

 4、完成安装包上传和校验通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)
5、配置安装模式 

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

 6、设置VRM集群IP
通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理) 7、设置VRM相关密码通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)
 8、遇到问题1

此时发现可选择的主机为CNA主机初次安装失败后的第二次安装动态分配的IP,即64/65,选不到规划的IP,:-( 通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

9、返回修改CNA主机IP 

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

继续下一步,发现系统中注册的CNA主机IP还是第二次DHCP分配的IP,无法继续,退出安装程序 。

二、重新部署web安装工具,现次进行安装

1、重新部署web安装工具

退出Web安装工具页面,重新部署web安装工具

linux-apAlwB:/home/GalaX8800/FusionCompute-LinuxInstaller-8.7.0.SPC1-X86_64 # sh bin/webInstaller.sh uninstall
Progress:[##################################################] 100% 
uninstall FusionCompute-Linux-Installer successfully.
linux-apAlwB:/home/GalaX8800/FusionCompute-LinuxInstaller-8.7.0.SPC1-X86_64 # sh bin/webInstaller.sh install
Progress:[##################################################] 100% 
Portal: https://192.168.199.61:8080
install FusionCompute-Linux-Installer successfully.
linux-apAlwB:/home/GalaX8800/FusionCompute-LinuxInstaller-8.7.0.SPC1-X86_64 # 
 2、进入web安培装工具,本次仅选VRM

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

3、继续下一步

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

 4、重新上传安装包

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

 5、选择安装模式

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

6、配置VRM集群IP

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

 7、设置VRM相关密码

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

8、遇到问题2

此时主机01报加密模式不匹配,安装失败

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

 9、查看报错日志

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

 日志显示如下关键字

installer.framework.error.ProcessError: 主机X.X.X.X加密模式不匹配,请检查后重试

[61116][2025-02-14 17:45:05,308][ERROR] - execute failed 

 10、检查手工部署的CNA主机的加密模式

登录主机,用“cat /etc/vna-api/vna-api.conf |grep cipher_mode”命令检查加密模式

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

结果显示确实为空 

11、初始化该主机的加密模式
linux-apAlwB:/ # cat /etc/vna-api/vna-api.conf |grep cipher_mode
[cipher_mode]
cipher_mode =
linux-apAlwB:/ # cnaInit
-----------------------------------
Start configuring the cipher mode!
Please input cipher mode: (0 for general, 1 for sm): 0
Cipher mode set succeed.
-----------------------------------
gandalf password set start!
The group GalaX8800 already exists
useradd: warning: the home directory /home/GalaX8800 already exists.
useradd: Not copying any file from skel directory into it.
Changing password for user gandalf.
New password: 
Retype new password: 
passwd: all authentication tokens updated successfully.
The gandalf user is set successfully.
The gandalf user's expiry date is set successfully.
-----------------------------------
Redis password set start!
Please input new password: 
Please input new password again: 
Redirecting to /bin/systemctl restart vna-redis.service
Redirecting to /bin/systemctl restart vna-system-volume.service
Redirecting to /bin/systemctl restart vna-scheduler.service
Redirecting to /bin/systemctl restart vna-worker.service
Redirecting to /bin/systemctl restart vna-backend.service
Redirecting to /bin/systemctl restart vna-beat.service
Redirecting to /bin/systemctl restart vna-api.service
Redirecting to /bin/systemctl restart vna-worker-monitor.service
Redirecting to /bin/systemctl restart vna-worker-scheduler.service
Redirecting to /bin/systemctl restart monitord.service
Redis password set succeed
-----------------------------------
add Multipath configuration items start!
adding configuration item [check_type              1]
adding configuration item [check_path_num_per_splice       2]
adding configuration item [marginal_path_double_failed_time     600]
adding configuration item [marginal_path_err_sample_time        600]
adding configuration item [marginal_path_err_rate_threshold     10]
adding configuration item [marginal_path_err_recheck_gap_time   600]
Redirecting to /bin/systemctl restart multipathd.service
Multipath configuration items added successfully
linux-apAlwB:/ # 

 点“开始安装VRM”继续 安装。

12、遇到问题3

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

 显示主备CNA相差时间超5min,安装中止。

13、配置时间同步

主机1启用同外部的时间同步

linux-apAlwB:/ # cat /etc/ntp.conf|grep server
# Permit association with pool servers.
# Use public servers from the pool.ntp.org project.
# Reduce the maximum number of servers used from the pool.
server 192.168.17.33
server 192.168.17.34
server 192.168.17.35
linux-apAlwB:/ # systemctl restart ntpd        
linux-apAlwB:/ # systemctl status ntpd        
● ntpd.service - Network Time Service
     Loaded: loaded (/usr/lib/systemd/system/ntpd.service; disabled; vendor preset: disabled)
     Active: active (running) since Mon 2025-02-17 09:58:29 CST; 2s ago
    Process: 2120758 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS (code=exited, status=0/SUCCESS)
   Main PID: 2120761 (ntpd)
      Tasks: 2 (limit: 1226555)
     Memory: 776.0K
     CGroup: /system.slice/system-hostos.slice/ntpd.service
             └─ 2120761 /usr/sbin/ntpd -u ntp:ntp -g
Feb 17 09:58:29 linux-apAlwB ntpd[2120761]: gps base set to 2024-12-01 (week 2343)
Feb 17 09:58:29 linux-apAlwB ntpd[2120761]: restrict 0.0.0.0: KOD does nothing without LIMITED.
Feb 17 09:58:29 linux-apAlwB ntpd[2120761]: restrict ::: KOD does nothing without LIMITED.
Feb 17 09:58:29 linux-apAlwB ntpd[2120761]: Listen normally on 0 lo 127.0.0.1:123
Feb 17 09:58:29 linux-apAlwB ntpd[2120761]: Listen normally on 1 eth2 192.168.18.61:123
Feb 17 09:58:29 linux-apAlwB ntpd[2120761]: Listen normally on 2 lo [::1]:123
Feb 17 09:58:29 linux-apAlwB ntpd[2120761]: Listening on routing socket on fd #19 for interface updates
Feb 17 09:58:29 linux-apAlwB ntpd[2120761]: kernel reports TIME_ERROR: 0x2041: Clock Unsynchronized
Feb 17 09:58:29 linux-apAlwB ntpd[2120761]: kernel reports TIME_ERROR: 0x2041: Clock Unsynchronized
Feb 17 09:58:29 linux-apAlwB systemd[1]: Started Network Time Service.
linux-apAlwB:/ # 

主机2同时和主机1、外部时间服务器进行同步

CNA-ZTE-02:~ # cat /etc/ntp.conf|grep server
# Permit association with pool servers.
# Use public servers from the pool.ntp.org project.
# Reduce the maximum number of servers used from the pool.
server 192.168.18.61
server 192.168.17.33
CNA-ZTE-02:~ # systemctl restart ntpd
CNA-ZTE-02:~ # systemctl restart ntpd
 14、待服务器时间同步后,再次开始安装VRM

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

15、安装完成

为避免密码丢失,建议本步按提示导出安装信息

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)

 在结束页面下方显示了VRM管理平台的登录页面链接,点“完成”会对安装工具的信息进行清理。

三、验证登录

 通过VRM管理平台的登录页面链接进行访问

通过Web 工具部署FusionCompute 8.7.0虚拟化平台(二、安装VRM及问题处理)可以看到FusionCompute 8.7.0虚拟化平台运行正常,此时可以进行添加主机,配置业务网等后续操作。

免责声明:我们致力于保护作者版权,注重分享,被刊用文章因无法核实真实出处,未能及时与作者取得联系,或有版权异议的,请联系管理员,我们会立即处理! 部分文章是来自自研大数据AI进行生成,内容摘自(百度百科,百度知道,头条百科,中国民法典,刑法,牛津词典,新华词典,汉语词典,国家院校,科普平台)等数据,内容仅供学习参考,不准确地方联系删除处理! 图片声明:本站部分配图来自人工智能系统AI生成,觅知网授权图片,PxHere摄影无版权图库和百度,360,搜狗等多加搜索引擎自动关键词搜索配图,如有侵权的图片,请第一时间联系我们。

相关阅读

目录[+]

取消
微信二维码
微信二维码
支付宝二维码