|
- We assume a setup with four machines (replace the hostnames with your own addresses or hostnames):
- dir.xtreemfs.org running the directory service (DIR)
- mrc.xtreemfs.org running the metadata server (MRC)
- osd1.xtreemfs.org running a storage server (OSD)
- client.xtreemfs.org to mount the volume
- Install the xtreemfs-server packages on the server machines. Install the xtreemfs-client and xtreemfs-tools packages on the client machine. For details see the single machine install & setup.
- Set the correct DIR service address in the server configuration files (as root!):
- on mrc.xtreemfs.org edit /etc/xos/xtreemfs/mrcconfig.properties and change the line dir_service.host = localhost to dir_service.host = dir.xtreemfs.org
- on osd1.xtreemfs.org edit /etc/xos/xtreemfs/osdconfig.properties and change the line dir_service.host = localhost to dir_service.host = dir.xtreemfs.org
- Start the servers as root:
- on dir.xtreemfs.org execute
/etc/init.d/xtreemfs-dir start
- on mrc.xtreemfs.org execute
/etc/init.d/xtreemfs-mrc start
- on osd1.xtreemfs.org execute
/etc/init.d/xtreemfs-osd start
- We can now create and mount the volume on the client machine client.xtreemfs.org:
- create the volume:
mkfs.xtreemfs mrc.xtreemfs.org/myVolume
- create a mount point:
mkdir ~/xtreemfs
- and mount the volume:
mount.xtreemfs dir.xtreemfs.org/myVolume ~/xtreemfs
- to unmount the volume call
umount.xtreemfs ~/xtreemfs
|