Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
XtreemFS Configuration | ||||||||
Line: 7 to 7 | ||||||||
| ||||||||
Changed: | ||||||||
< < | (Note: dir service is similar to 'mon' service in Ceph) | |||||||
> > | (Note: dir service is similar to 'mon' service in Ceph) | |||||||
Debian Package Setup | ||||||||
Line: 130 to 130 | ||||||||
./generate_uuid osdconfig.properties\ No newline at end of file | ||||||||
Added: | ||||||||
> > |
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
XtreemFS ConfigurationThere are three core parts of XtreemFS system: |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Deleted: | ||||||||
< < | ||||||||
XtreemFS ConfigurationThere are three core parts of XtreemFS system: |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Added: | ||||||||
> > | ||||||||
XtreemFS ConfigurationThere are three core parts of XtreemFS system: |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
XtreemFS Configuration | ||||||||
Line: 26 to 26 | ||||||||
Install the packages
$ dpkg -i xtreemfs-client-1.2.3.deb xtreemfs-server-1.2.3.deb xtreemfs-backend-1.2.3.deb | ||||||||
Changed: | ||||||||
< < | on all the machines (Note. You can only install xtreemfs-server on server machines and xtreemfs-client on client machines, but all machines need xtreemfs-backend and probably xtreemfs-tools). | |||||||
> > | on all the machines (Note. You can only install xtreemfs-server on server machines and xtreemfs-client on client machines, but all machines need xtreemfs-backend and probably xtreemfs-tools). | |||||||
For details see the single machine install & setup. external https://www.xtreemfs.org/quickstart.php?t=d![]() | ||||||||
Line: 35 to 34 | ||||||||
General note: very important to follow step by step; | ||||||||
Changed: | ||||||||
< < | Create a directory for OSDs /var/lib/xtreemfs/objs/. | |||||||
> > | Create a directory for OSDs at
/var/lib/xtreemfs/objs/ | |||||||
4 Nodes
| ||||||||
Line: 43 to 43 | ||||||||
| ||||||||
Changed: | ||||||||
< < | plus one additional node for client (in this case, we will use s4). All OSD, MRC and DIR should have the configuration file /etc/xos/xtreemfs/*.properties - dirconfig.properties (dir service) - mrcconfig.properties (mrc service) - osdproperties (osd service).
Since the setup is configued using *.properties, except for the dir service (s4), both osd and mrc must have their respective property file changed to point to the location (IP or hostname) of dir,
| |||||||
> > | plus one additional node for client (in this case, we will use s4). All OSD, MRC and DIR should have the configuration file /etc/xos/xtreemfs/*.properties
| |||||||
Also, you need to make sure you are mounting the OSDs in the correct location
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Added: | ||||||||
> > |
Note that XtreemFS does not output any errors, so make sure to check the log messages tail /var/log/xtreemfs/ | |||||||
Changed: | ||||||||
< < | make sure to watch out for any errors. | |||||||
> > | Also use ps -Af | grep xtreemfsto check that the services are running. | |||||||
See external https://www.xtreemfs.org/quickstart.php![]() XtreemFS Client | ||||||||
Changed: | ||||||||
< < | This is the where you mount and use XtreemFS: | |||||||
> > | This part involves two steps:
Example (Basic FS)
$ sudo mkfs.xtreemfs s3/test
$ sudo mount.xtreemfs s4/test /media/test Example (RAID-0 for osds on s1 and s2)$ sudo mkfs.xtreemfs -p RAID0 -w 2 s3/raid
$ sudo mount.xtreemfs -o allow_other s4/raid /media/raid $ sudo mount.xtreemfs --cache-data --metadata-cache -o direct_io -o allow_other s4/raid /media/raid
Check the current OSD configurationIndividual files can have its own file striping methods, e.g.,$ sudo xtfs_sp --get /media/test file: /media/test policy: STRIPING_POLICY_RAID0 stripe-size (kB): 128 width: 1 Changing UUIDEach OSD/MRC/DIR must be uniquely identifiable by others. For OSDs (in our case s1 and s2), each OSDs must have UUID../generate_uuid osdconfig.properties |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
XtreemFS ConfigurationThere are three core parts of XtreemFS system:
Debian Package SetupIt is recommended to have the Linux kernel 2.6.36 RC 7 (this is the October 2010 kernel).Download and InstallWe are using Ubuntu and the build process is described in detail at external: https://www.xtreemfs.org/quickstart.php![]() ![]() $ dpkg -i xtreemfs-client-1.2.3.deb xtreemfs-server-1.2.3.deb xtreemfs-backend-1.2.3.debon all the machines (Note. You can only install xtreemfs-server on server machines and xtreemfs-client on client machines, but all machines need xtreemfs-backend and probably xtreemfs-tools). For details see the single machine install & setup. external https://www.xtreemfs.org/quickstart.php?t=d ![]() XtreemFS ServerGeneral note: very important to follow step by step; Create a directory for OSDs/var/lib/xtreemfs/objs/. 4 Nodes
![]() XtreemFS ClientThis is the where you mount and use XtreemFS: |