Setting up shared storage – Symantec Veritas 5 User Manual

Page 46

Advertising
background image

4

When the command prompts, enter a passphrase and confirm it.

5

Change the permissions of the .ssh directory by typing:

#

chmod 755 ~/.ssh

6

The file ~/.ssh/id_dsa.pub contains a line that begins with ssh_dss and ends
with the name of the system on which it was created. Copy this line to the
/root/.ssh/authorized_keys2 file on all systems where you plan to install VCS.

If the local system is part of the cluster, make sure to edit the
authorized_keys2 file on that system.

7

Run the following commands on the system where you are installing:

#

exec /usr/bin/ssh-agent $SHELL

#

ssh-add

This step is shell-specific and is valid for the duration the shell is alive.

8

When the command prompts, enter your DSA passphrase.

You are ready to install VCS on several systems in one of the following ways:

Run the installvcs program on any one of the systems

Run the installvcs program on an independent system outside the cluster

To avoid running the ssh-agent on each shell, run the X-Window system and
configure it so that you are not prompted for the passphrase. Refer to the
Red Hat documentation for more information.

9

To verify that you can connect to the systems where you plan to install VCS,
type:

#

ssh -x -l root north ls

#

ssh -x -l root south ifconfig

#

ssh-copy-id -i ~/.ssh/id_dsa.pub

root@north

The commands should execute on the remote system without having to enter
a passphrase or password.

Setting up shared storage

For VCS I/O fencing, the data disks must support SCSI-3 persistent reservations.
You need to configure a coordinator disk group that supports SCSI-3 PR and verify
that it works.

See

“About setting up disk-based I/O fencing”

on page 89.

Preparing to install VCS
Performing preinstallation tasks

46

Advertising