how to use snappuller

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

how to use snappuller

James liu-2
First try,,,i don't know how to use....

my scripts.conf:
user=Administrator
solr_hostname=localhost
solr_port=8983
rsyncd_port=18983
data_dir=
webapp_name=solr
master_host=192.168.7.56
master_data_dir=data
master_status_dir=data


my cmd:
bash bin/snappuller -M 192.168.7.56 -D bash bin/snappuller -M 192.168
.7.56 -D data -S data -u rootdata -S data -u root




--
regards
jl
Reply | Threaded
Open this post in threaded view
|

Re: how to use snappuller

James liu-2
I think it work. but failed.


[root@ /tmp/solr1]# bash bin/snappuller-enable

> [root@ /tmp/solr1]# bash bin/snappuller-enable -u root
> [root@ /tmp/solr1]# bash bin/snappuller -M 192.168.7.56 -D data -S data -u
> root
> Password:
> Password:
> Password:
> usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> ...
>             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> ...
>             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> Password:
> @ERROR: invalid gid root
> rsync error: error starting client-server protocol (code 5) at main.c(1383)
> [rec        eiver=2.6.9]
> usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> ...
>             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> ...
>             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> expr: syntax error
> Password:
> [root@ /tmp/solr1]# ls data/
>
>
Reply | Threaded
Open this post in threaded view
|

Re: how to use snappuller

James liu-2
i should setup rsyncd.conf, if yes,how to setup and snappuller will be ok.



2007/3/22, James liu <[hidden email]>:

>
> I think it work. but failed.
>
>
> [root@ /tmp/solr1]# bash bin/snappuller-enable
> > [root@ /tmp/solr1]# bash bin/snappuller-enable -u root
> > [root@ /tmp/solr1]# bash bin/snappuller -M 192.168.7.56 -D data -S data
> > -u root
> > Password:
> > Password:
> > Password:
> > usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> > ...
> >             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> > usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> > ...
> >             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> > Password:
> > @ERROR: invalid gid root
> > rsync error: error starting client-server protocol (code 5) at main.c(1383)
> > [rec        eiver=2.6.9]
> > usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> > ...
> >             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> > usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]]
> > ...
> >             [-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
> > expr: syntax error
> > Password:
> > [root@ /tmp/solr1]# ls data/
> >
> >


--
regards
jl
Reply | Threaded
Open this post in threaded view
|

Re: how to use snappuller

Chris Hostetter-3

: i should setup rsyncd.conf, if yes,how to setup and snappuller will be ok.

installing rsync is a littl outside the scope of the Solr mailing list --
you'll want to check the documentation for rsync and rsyncd, you'll
probably want to look for info about running rsync over ssh with
passphraseless keys.

Also: i can't think of any good reason to run snappuller as root ... most
of your Solr distribution stuff should be running as user with very low
privillages, ieally the only things it should have access to are the index
files.



-Hoss