请输入搜索词进行查询
搜索 <book_title>...
Veritas Access 安装指南
Last Published:
2018-05-28
Product(s):
Access (7.4)
Platform: Linux
- Veritas Access 简介
- Veritas Access 授权许可
- 系统要求
- 准备安装 Veritas Access
- 在 VMware ESXi 中部署用于安装 Veritas Access 的虚拟机
- 安装和配置群集
- 使用响应文件自动运行 Veritas Access 安装和配置
- 显示和添加群集节点
- 升级 Veritas Access和操作系统
- 使用滚动升级来升级 Veritas Access
- 卸载 Veritas Access
- 附录 A. 安装参考
- 附录 B. 配置安全 Shell 进行通信
- 附录 C. 手动部署 Veritas Access
在 Veritas Access 中启用内部 sudo 用户通信
默认情况下,Veritas Access 为 root 用户提供的节点间通信方式是 SSH 通信。如果您希望使用基于 sudo 用户的通信,可在成功安装 Veritas Access 后设置内部通信以使用 sudo 用户通信。
您可以按照以下步骤设置 sudo 用户通信。
第 1 阶段:在 Veritas Access 群集的每个节点上创建 access_user
- 创建 access_user 并设置密码。
例如:
[root@access1_01 ~]# useradd access_user [root@access1_01 ~]# passwd access_user Changing password for user access_user. New password: Retype new password: passwd: all authentication tokens updated successfully.
- 将 access_user 添加到
sudoers
文件中。例如:
[root@access1_01 ~]# echo "access_user ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
在群集的所有节点上完成第 1 阶段。
第 2 阶段:在每个节点上,在 root 用户与 access_user 之间设置无密码通信
- 为 root 用户生成
rsa
密钥(如果不存在)。例如:
[root@access1_01 ~]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Created directory '/root/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: SHA256:hRIBljcpsmGMCtfUUjyVGOfe957OXyiXcRyiYBprmZk root@access1_01 The key's randomart image is: +---[RSA 2048]----+ | o o+*=*o. | |o *.= O+.. | |oo + +.+oo. . . | |. . oXo. . ...| | ES ... . o| | . . . = | | . = .| | = ..| | .=..| +----[SHA256]-----+
- 对于群集中的每个节点,将 root 用户的
rsakey.pub
复制到 access_user。例如:
[root@access1_01 ~]# ssh-copy-id access_user@access1_01 /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub" /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s),to filter out any that are already installed /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys access_user@access1_01's password: Number of key(s) added: 1
第 3 阶段:选择通信类型 SUDO_SSH
- 创建
/opt/VRTSnas/conf/communication.conf
文件。[root@access1_01 ~]# cat /opt/VRTSnas/conf/communication.conf { "WorkingVersion": "1", "Version": "1", "CommunicationType": "SUDO_SSH" }