所有需要卸载MindIO服务的服务器(IP地址在host_ip_list文件中的服务器),需要相同的<MindIO-install-user>用户和密码,并且该用户需要具备执行systemctl命令权限。
cd 软件包上传路径/install
python3 hand_out_deploy.py uninstall install_path
install_path:指定卸载MindIO文件路径,如果不指定,默认卸载路径为“/opt”。
输入用户名和密码,回显如下:
input login user:<MindIO-install-user> input login password:密码 (1/3)----------check the configuration file. (2/3)----------uninstall in all nodes. (3/3)----------success.
pip3 uninstall torch_mindio
由于安装用户拥有较高权限,出于安全目的,建议卸载后取消安装用户SSH远程登录服务器的权限(请参见SSH加固),以提升系统安全性。