[Csync2] installing on Fedora Core 4
Clifford Wolf
clifford at clifford.at
Fri Nov 4 12:22:04 CET 2005
Hi,
On Thu, Nov 03, 2005 at 11:34:14AM -0600, Stephan Guilford wrote:
> I got it figured out on the error it was the ld.so.conf not loading
> those libraries. I also need to know is there a default config file it
> uses and is there a way to make it run as a service on radhat. I'm
> sorry for all the questions but this is the first time I`ve been
> dealing with creating a linux cluster.
you said in your first mail that you are using a csync2 binary package.
Since I do not provide such packages you must have got them from somewhere
else..
The csync2 source does not contain a default config. You can find an
example config file in the documentation:
http://oss.linbit.com/csync2/paper.pdf
The csync2 source contains an example xinetd service description file for
csync2 (afaik Fedora Core is using xinetd):
http://svn.clifford.at/csync2/trunk/csync2.xinetd
(If you refer to the listener daemon as 'service'.)
If you want to do automatic updates in the background and your installation
is not that big (in number of files), simply run 'csync2 -x' from cron
periodically.
For larger setups you need to use the 'hint' table (see the "periodic check
of hints table" thread on this mailing list).
yours,
- clifford
--
bash -c "gcc -o mysdldemo -Wall -O2 -lSDL -lm -pthread -x c <( echo -e '
#include <SDL/SDL.h>\n#include <complex.h>\nint main(){SDL_Surface*s;SDL_Event
e;int x,y,n;SDL_Init(SDL_INIT_VIDEO);s=SDL_SetVideoMode(640,480,32,0);for(x=0;
x<640;x++)for(y=0;y<480;y++){float _Complex z=0, c=((x-400)/200.0) + ((y-240)/
200.0)*1.0fi;for(n=1;n<64;n++){z=z*z+c;if(cabsf(z)>2){((Uint32*)s->pixels)[x+y
*640]=n<<3;n=99;}}}SDL_UpdateRect(s,0,0,s->w,s->h);do SDL_WaitEvent(&e); while
(e.type!=SDL_QUIT&&e.type!=SDL_KEYDOWN);SDL_Quit();return 0;}' ); ./mysdldemo"
Men are from Mars. Women are from Venus. Computers are from hell.
More information about the Csync2
mailing list