2.2. On an Existing Server

The PVFS2 Roll can be installed on running frontend.

The following procedure will install the roll on the frontend. After the frontend reboots, the roll will be fully configured.

For i386, as root, execute:

# roll-install http://www.rocksclusters.org/ftp-site/pub/rocks/rocks-4.2.1/pvfs2-4.2.1-1.i386.disk1.iso

For x86_64, execute:

# roll-install http://www.rocksclusters.org/ftp-site/pub/rocks/rocks-4.2.1/pvfs2-4.2.1-1.x86_64.disk1.iso

If your frontend doesn't have access to the outside internet, download the roll-install package and PVFS2 Roll ISO image and execute:

# roll-install pvfs2-4.2.1-1.<arch>.disk1.iso

Substitute i386 or x86_64 for <arch> based on the version of Rocks you installed.

The PVFS2 requires more manual steps after the above completes. This step is necessary as it adds a table to database and that procedure requires the root password. To complete the installation, as root execute:

# mysql -u root -p cluster < /tmp/pvfs2.sql

Now you need to install the PVFS2 again:

# roll-install pvfs2-4.2.1-1.<arch>.disk1.iso

Substitute i386 or x86_64 for <arch> based on the version of Rocks you installed.

Then reboot:

# init 6