Home | Hardware | Internet News |Web Hosting |IT Management |Network Storage
LinuxPlanet
Search 
  Power Search | Tips 

 Front Door
 Discussion
 LinuxEngine
 Opinions
 Reports
 Reviews
 Tutorials
 News
 Technology Jobs

 Browse by subject.
Free Newsletter

Linux Planet
Linux Today
More Free Newsletters

Be a Commerce Partner


















internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Print this article
Email this article

   LinuxPlanet / Reports



Using the InterMezzo Distributed Filesystem
Starting InterMezzo and Exporting a Filesystem on the Server

Bill von Hagen
Monday, August 12, 2002 11:53:57 AM

First, you must create or identify the journaling filesystem that will hold the InterMezzo data that you plan to export from the server. This section uses an ext3 filesystem as an example, though you can also use any journaling filesystem or even an ext2 filesystem in a pinch. Using an ext2 filesystem is not as robust as using a journaling filesystem because it increases the possibility that InterMezzo synchronization data and log information may be lost if you system crashes.

If you have a free ext3 partition that you want to use for InterMezzo, skip to the next paragraph. If not, create an ext3 filesystem on an unused partition by executing the command mke2fs -t ext3 partition-name, where partition-name is the name of your partition.

Next, create the mount point for the InterMezzo filesystem using the command mkdir -p /exports/server. This can be anywhere, but /exports/server is the most commonly-used location. After creating the mount point, mount the InterMezzo filesystem using the command mount -t intermezzo partition-name /exports/server. For the purposes of this article, change the mode of the root of the filesystem to 777 (making it publicly writable) by using the command chmod 4777 /exports/server. You would not want to do this in most production environments.

If you are going to be experimenting with InterMezzo for a while, you should add an appropriate entry for this filesystem to the end of your systems /etc/fstab file so that your system automatically mounts this filesystem each time it boots.

Next, start the InterSync synchronization server using the command intersync /exports/server&. You should then copy some sample file(s) and/or directories into this filesystem, so that you can verify that things are working once you start your client system, as described in the next section.

If you installed InterSync on a Red Hat system from the RPM described earlier in this article, a startup file for InterSync was installed in your system's startup directory. On InterMezzo server systems, you can automatically start InterSync (and load the InterMezzo loadable kernel module) each time you boot your system by creating a symbolic link to the file /etc/rc.d/init.d/intersync in the startup directory for your system's default run level (which is listed in the file /etc/inittab). This file was created automatically if you installed InterSync from the RPM package described earlier in this article. For example, on a Red Hat Linux system that starts run level 5 by default, you could do this by creating a symbolic link named /etc/rc.d/rc5.d/S99intersync that points to this file.

Before attempting to automatically start InterMezzo on server systems, you must edit the file /etc/rc.d/init.d/intersync and supply a correct values for the CACHE environment variable. Though something of a misnomer, on server systems the CACHE variable should contain the InterMezzo directory that your server is exporting, which would be /exports/server if you followed the suggestions given in this section.

Next: Mounting a Remote InterMezzo Filesystem on the Client »

Skip Ahead

1 Getting Connected in a Disconnected World
2 History of InterMezzo
3 Components of InterMezzo
4 Requirements for InterMezzo
5 Kernel Configuration
6 Installing or Building Other Software
7 Starting InterMezzo and Exporting a Filesystem on the Server
8 Mounting a Remote InterMezzo Filesystem on the Client
9 Troubleshooting
10 Wrapping Up





Linux is a trademark of Linus Torvalds.


internet.com home | search | help! | about us

Jupiter Online Media

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers