You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Amna&Kiran <bo...@yahoo.com> on 2005/07/04 07:04:40 UTC

replication problem

Hi...

We want to do replication so that users can access live pages from another 
machine i.e. different live and authoring machines. We have seen the 
replication script on this link:

http://svn.apache.org/repos/asf/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bi
n/replication/

But this is for Linux OS whereas we are using Windows. So could you plz guide 
us that how we can do replication in Windows.




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: replication problem

Posted by Michael Wechner <mi...@wyona.com>.
Amna&Kiran wrote:

>Amna&Kiran <bonita_amna <at> yahoo.com> writes:
>
>  
>
>>    
>>
>>>>Hi
>>>>We have  some confusions regarding 'replication':
>>>>1. Where do we "Download the additonal libraries
>>>>
>>>>       - ant-contrib-1.0b1.jar
>>>>       - jsch-20040329.jar"?
>>>>        
>>>>
>>>I put the links into the .../replication/README.txt (svn up)
>>>      
>>>
>>err, sorry for creating the confusion, actually we wanted to ask "where to" 
>>download these file, and not "where from"
>>    
>>
>
>And where do we copy the build.xml available at avn above?? (when using 
>Lenya's the shipped ant) in
>          -$LenyaRoot\tools
>          -$LenyaRoot\tools\bin
>          -$LenyaRoot\tools\lib
>???
>  
>

you don't have to copy the build.xml nowhere. See README.tx (How to 
replicate).
Just run ant -f ..../replication/build.xml

Michi

>  
>
>>>HTH
>>>Michi
>>>      
>>>
>>Thnx  a lot for the reply, we r about to try all that. 
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>For additional commands, e-mail: user-help@lenya.apache.org
>
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: replication problem

Posted by Amna&Kiran <bo...@yahoo.com>.
Amna&Kiran <bonita_amna <at> yahoo.com> writes:

> 
> 
> > >Hi
> > >We have  some confusions regarding 'replication':
> > >1. Where do we "Download the additonal libraries
> > >
> > >        - ant-contrib-1.0b1.jar
> > >        - jsch-20040329.jar"?
> > I put the links into the .../replication/README.txt (svn up)
> err, sorry for creating the confusion, actually we wanted to ask "where to" 
> download these file, and not "where from"

And where do we copy the build.xml available at avn above?? (when using 
Lenya's the shipped ant) in
          -$LenyaRoot\tools
          -$LenyaRoot\tools\bin
          -$LenyaRoot\tools\lib
???

> > HTH
> > Michi
> Thnx  a lot for the reply, we r about to try all that. 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: replication problem

Posted by Amna&Kiran <bo...@yahoo.com>.
> >Hi
> >We have  some confusions regarding 'replication':
> >1. Where do we "Download the additonal libraries
> >
> >        - ant-contrib-1.0b1.jar
> >        - jsch-20040329.jar"?
> I put the links into the .../replication/README.txt (svn up)
err, sorry for creating the confusion, actually we wanted to ask "where to" 
download these file, and not "where from"
> HTH
> Michi
Thnx  a lot for the reply, we r about to try all that. 





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: replication problem

Posted by Michael Wechner <mi...@wyona.com>.
Amna & Kiran wrote:

>Michael Wechner <michael.wechner <at> wyona.com> writes:
>
>  
>
>>Amna&Kiran wrote:
>>
>>    
>>
>>>Hi...
>>>
>>>We want to do replication so that users can access live pages from another 
>>>machine i.e. different live and authoring machines. We have seen the 
>>>replication script on this link:
>>>
>>>      
>>>
>>http://svn.apache.org/repos/asf/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/b
>>    
>>
>i
>  
>
>>>n/replication/
>>>
>>>      
>>>
>> The reason for their existence is because there were problems with
>>ssh via ant on an IBM/AIX platform. I will add a note about this
>>such that it is clearer.
>>    
>>
>Hi
>We have  some confusions regarding 'replication':
>1. Where do we "Download the additonal libraries
>
>        - ant-contrib-1.0b1.jar
>        - jsch-20040329.jar"?
>  
>

I put the links into the .../replication/README.txt (svn up)

>Tells us whether to do it in the "$apacheLenya\tools\lib" or do we have to 
>install ant 1.6.X and download these in that.
>

depends what ant you want to use. I never tried it with the one
which is being shipped with Lenya, but I guess it would also work.
Otherwise see the README.txt

> Plus, whether we have to install 
>ant in both the 'authoring server'machine as well as the live server machine 
>(the remote one)???
>  
>

just the Authoring machine (added a note to the README.txt

>Is this ssh key generation also an ant thing??
>  
>

no

>2. What else do we have to do at the remote server other than copying the 
>generated key??? Where do we copy the key??
>  
>

see the README.txt and google for "ssh-keygen putty Windows Linux"

HTH

Michi


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: replication problem

Posted by Michael Wechner <mi...@wyona.com>.
Amna & Kiran wrote:

>Amna & Kiran <bonita_amna <at> yahoo.com> writes:
>  
>
>>We have  some confusions regarding 'replication':
>>1. Where do we "Download the additonal libraries
>>        - ant-contrib-1.0b1.jar
>>        - jsch-20040329.jar"?
>>Tells us whether to do it in the "$apacheLenya\tools\lib" or do we have to 
>>install ant 1.6.X and download these in that. Plus, whether we have to 
>>    
>>
>install 
>  
>
>>ant in both the 'authoring server'machine as well as the live server machine 
>>(the remote one)???
>>Is this ssh key generation also an ant thing??
>>2. What else do we have to do at the remote server other than copying the 
>>generated key??? Where do we copy the key??
>>    
>>
>
>And how do we delete the cache in Win XP env. is that also in ant???
>  
>

you mean the cache on the live machine? Take a look at the build.xml
and search for <sshexec


HTH

Michi

>
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                                                                               
>                     
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>For additional commands, e-mail: user-help@lenya.apache.org
>
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: replication problem

Posted by Amna & Kiran <bo...@yahoo.com>.
Amna & Kiran <bonita_amna <at> yahoo.com> writes:
>We have  some confusions regarding 'replication':
> 1. Where do we "Download the additonal libraries
>         - ant-contrib-1.0b1.jar
>         - jsch-20040329.jar"?
> Tells us whether to do it in the "$apacheLenya\tools\lib" or do we have to 
> install ant 1.6.X and download these in that. Plus, whether we have to 
install 
> ant in both the 'authoring server'machine as well as the live server machine 
> (the remote one)???
> Is this ssh key generation also an ant thing??
> 2. What else do we have to do at the remote server other than copying the 
> generated key??? Where do we copy the key??

And how do we delete the cache in Win XP env. is that also in ant???


                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                                                                               
                     























---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: replication problem

Posted by Amna & Kiran <bo...@yahoo.com>.
Michael Wechner <michael.wechner <at> wyona.com> writes:

> 
> Amna&Kiran wrote:
> 
> >Hi...
> >
> >We want to do replication so that users can access live pages from another 
> >machine i.e. different live and authoring machines. We have seen the 
> >replication script on this link:
> >
> 
>http://svn.apache.org/repos/asf/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/b
i
> >n/replication/
> >
>  The reason for their existence is because there were problems with
> ssh via ant on an IBM/AIX platform. I will add a note about this
> such that it is clearer.
Hi
We have  some confusions regarding 'replication':
1. Where do we "Download the additonal libraries

        - ant-contrib-1.0b1.jar
        - jsch-20040329.jar"?
Tells us whether to do it in the "$apacheLenya\tools\lib" or do we have to 
install ant 1.6.X and download these in that. Plus, whether we have to install 
ant in both the 'authoring server'machine as well as the live server machine 
(the remote one)???
Is this ssh key generation also an ant thing??

2. What else do we have to do at the remote server other than copying the 
generated key??? Where do we copy the key??

PS:Sorry if these questions sound stupid. :) But we 've never used apache ant 
or Apache server before..




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: replication problem

Posted by Michael Wechner <mi...@wyona.com>.
Amna&Kiran wrote:

>Hi...
>
>We want to do replication so that users can access live pages from another 
>machine i.e. different live and authoring machines. We have seen the 
>replication script on this link:
>
>http://svn.apache.org/repos/asf/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/bi
>n/replication/
>
>But this is for Linux OS whereas we are using Windows. So could you plz guide 
>us that how we can do replication in Windows.
>  
>

it should also work for Windows, but you need to replace
within build.xml the following shell scripts:

   <exec executable="${basedir}/delete-remote-resource.sh">
     <arg value="${specific.username}"/>
     <arg value="${specific.host}"/>
     <arg value="${remote_delete.path}"/>
   </exec>

and

   <exec executable="${basedir}/delete-remote-cache.sh">
     <arg value="${specific.username}"/>
     <arg value="${specific.host}"/>
     <arg value="${remote.cache.dir}"/>
   </exec>


The reason for their existence is because there were problems with
ssh via ant on an IBM/AIX platform. I will add a note about this
such that it is clearer.

HTH

Michi

>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>For additional commands, e-mail: user-help@lenya.apache.org
>
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org