Virtual TapeServer 8.2 Configuration Guide

Table Of Contents
Enabling and Configuring Role Swapping | 49
3. Test connectivity by pinging the network connections. At the prompt, enter ping
hostname. For example, to ping Server B, enter ping server_b. Output similar to the
following is displayed:
64 bytes from server_b (10.10.2.145): icmp_seq=0 ttl=64 time=0.053 ms
64 bytes from server_b (10.10.2.145): icmp_seq=1 ttl=64 time=0.053 ms
64 bytes from server_b (10.10.2.145): icmp_seq=2 ttl=64 time=0.053 ms
64 bytes from server_b (10.10.2.145): icmp_seq=3 ttl=64 time=0.053 ms
Press CTRL-C to stop the ping process.
If you receive a timeout error, check cabling or contact a network administrator for
assistance. If you receive an unknown host error, check the /etc/hosts file and make sure
everything is correct. Note that the hostnames in this file are case-sensitive.
4. Set up and authorize secure shell (SSH).
a. At the command prompt, become bill:
su - bill
b. Generate an authorization key for SSH for the secondary server, to authorize remote
access for the bill user:
ssh-keygen -t rsa
c. Press ENTER to save the file in the default location. This step creates the /home/bill/
.ssh/ directory.
d. Press ENTER to skip the pass phrase.
e. Press ENTER to verify skipping the pass phrase.
f. Copy the generated authorization key to the secondary server (Server B):
ssh-copy-id –i /home/bill/.ssh/id_rsa.pub bill@server_b
g. When prompted, enter yes.
h. Enter the password for the bill user at the secondary server.
Note If problems arise when using SSH with the secondary server, you can remove the
/home/bill/.ssh/known_hosts and /home/bill/.ssh/authorized_keys files from
the secondary and primary servers and repeat the steps above.
5. If you configured SSH and access to the bill account is restricted on the VTS servers, you
must grant SSH access to the bill user for each VTS server. To do this, become root (enter
su - root) and then edit /etc/ssh/sshd_config to add this line:
AllowUsers vtsa bill@source_svr
where source_svr is the IP address or hostname of the VTS server where the remote
export job is originating. To specify multiple servers, use wildcard characters in the
specified IP address or hostname, or specify a list of servers separated by spaces.
Also, if the following line is listed in the file, be sure to remove it:
DenyUsers bill
6. Check the SSH connection, if you configured SSH.
a. At the command prompt, log in.
b. Become bill:
su - bill