IBM TSM For VE 6.2 安装配置指南安装配置指南 1 TSM For Virtual Environment v6.2 部署规划 . 3 1.1 硬件配置要求 . 3 1.2 软件配置要求 . 3 2 TSM For Virtual Environment v6.2 安装步骤 . 3 2.1 BA Client v6.2.3 安装 . 3 2.2 TSM for VE V6.2 安装 . 9 3 TSM For Virtual Environment v6.2 配置过程 . 14 3.1 配置 BAClient V6.2.3 . 14 3.2 配置 VM 备份: 20 3.3 配置 instant restore/iscsi mount/virtual mount . 21 3.3.1 Windows 平台 . 21 3.3.2 Linux 平台 25 3.4 配置对 Linux 虚拟机的支持: . 26 3.4.1 安装 Cygwin . 27 3.4.2 配置 Cygwin . 31 4 TSM For Virtual Environment v6.2 使用简介 . 37 4.1 使用 TSM for VE 来备份虚拟机: . 37 4.1.1 全备份 . 37 4.1.2 增量备份 . 41 4.2 使用 Instant Restore 43 4.2.1 Windows 平台 . 43 4.2.2 Linux 平台 50 4.3 使用 Iscsi mount . 53 4.4 使用 virtual volume mount: 56 4.4.1 Windows 平台 . 56 4.4.2 Linux 平台 59 1 TSM For Virtual Environment v6.2 部署规划部署规划 1.1 硬件配置要求 参见如下 link: ml 1.2 软件配置要求 参见如下 link: html 2 TSM For Virtual Environment v6.2 安装步骤安装步骤 2.1 BA Client v6.2.3 安装 BA Client 安装包有 Windows X32,X64 位两种,安装前根据 proxy Server 的操作系统选择合 适的 BA Client 安装包。
解压 TSM Client 安装包: 选择安装语言: 开始安装: 选择安装目录: 自定义安装: 典型安装不包含 VE 备份功能! 至少要选择 VMware Backup Tools. 开始安装: 正在安装: 安装完成: 2.2 TSM for VE V6.2 安装 需要安装 TSM for VE 来启用备份 Vmware 的高级功能如:incremental backup, instant restore,iscsi mount,volume mount 选择合适的安装包,本例采用 WIN X64 安装包: IBM Tivoli Storage Manager for Virtual Environments 6.2.0 选择安装语言: 接受协议: 选择自定义安装: 选择安装所有的组件: 开始安装: 安装 device software: 安装完成: 重启机器: 3 TSM For Virtual Environment v6.2 配置过程配置过程 3.1 配置 BAClient V6.2.3 选择配置向导: 新建配置文件(dsm.opt): 配置节点名字,nodename 需要在 TSM server 上配置: 选择与 TSM server 的通讯方式: 填入 TSM server 地址与端口: 选择 include/exclude 文件列表: 完成配置: 3.2 配置 VM 备份: 启动 TSM backup GUI,选择 Edit- Client Preferences: 按照下图进行 vmware 的配置: 3.3 配置 instant restore/iscsi mount/virtual mount 3.3.13.3.1 WindowsWindows 平台平台 新建 TSM server,地址同 baclient 配置 输入 nodename,password,同 baclient 配置 配置 virtual volume write cache. 3.3.23.3.2 LinuxLinux 平台平台 将 TDPVMware shell 配置成一台 windows 机器,该机器需安装 TSM for VE 3.4 配置对 Linux 虚拟机的支持: 如果要对 Linux 的虚拟机进行备份需要安装 Cygwin 1.5.25 或者更高版本。
安装配置 请参考如下文档: 3.4.13.4.1 安装安装 CygwinCygwin 参照该网页: click the little View button for “Full“ view , find the package “openssh“, click on the word “skip“ so that an appears in Column B, see this illustration. (optional) find the package “tcp_wrappers“, click on the word “skip“ so that an appears in Column B, if you add “tcp_wrapper“, you will most likely get “ssh-exchange-identification: Connectiion closed by remote host“ error. If you get that error, edit the file /etc/hosts.allow and add these two lines ALL: 127.0.0.1/32 : allow ALL: [::1]/128: allow before the PARANOID line. (optional) find the package “diffutils“, click on the word “skip“ so that an appears in Column B, find the package “zlib“, click on the word “skip“ (it should be already selected) so that an appears in Column B. 依次安装如下包: openssh,tcp_wrappers,diffutils,zlib 安装完毕。
3.4.23.4.2 配置配置 CygwinCygwin 修改 Windows 环境变量: a. variable name: CYGWIN b. variable value: ntsec tty edit Windows system variable PATH and append ;c:\cygwin\bin open cygwin shell and run the following commands: chmod +r /etc/passwd chmod u+w /etc/passwd chmod +r /etc/group chmod u+w /etc/group chmod 755 /var chmod 664 /var/log/sshd.log run ssh-host-config (manuall answer Yes to questions except) When the script stops and asks you for Enter the value of CYGWIN for the daemon: your answer is ntsec tty If the script says “This script plans to use cyg_server, Do you want to use a different name? Answer no. run cyglsa-config and reboot afterwards. After reboot open cygwin shell and run net start sshd check the connection between the Linux client machine to the Windows server machine. From the Linux machine run ssh Administrator@windows_machine A connection is made for the first time, we need to confirm it and insert the password use local administrator password 1. After a valid ssh connection is made between the machines, it is time to configure the authentication keys files. The authentication between the ssh client and server is done by 2 files: c. Private, public key files – in the client d. Public key file – in the server 2. From the Linux client run ssh-keygen -t dsa and press Enter to all questions. Use blank password when required to insert password. 3. From the Linux client run cd .ssh scp id_dsa.pub Administrator@windows_machine:/home/Administrator 4. From the Windows server cygwin shell run mkdir .ssh chmod 700 .ssh cd .ssh touch authorized_keys cat /id_dsa.pub authorized_keys rm /id_dsa.pub 5. In addition, the ssh server needs to be configured to use the authentication files (via the ssh server configuration file). The ssh service configuration file is locatd in c:\cygwin\etc\sshd_config. Make sure you have privileges to edit the file. Edit c:\cygwin\etc\sshd_config and unmark the following lines: Pro。