Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-08-2008, 09:51 AM
Active Member
 
Posts: 28
Default How do I install zmprov on a remote server?

I'd like to install zmprov on an HPUX machine so I can do provisioning from there.

What do I need to do to install zmprov there?
Reply With Quote
  #2 (permalink)  
Old 05-08-2008, 10:31 AM
Moderator
 
Posts: 7,911
Default

IMHO you wont be able to. Why not use SOAP via PHP/Perl ?
__________________
Reply With Quote
  #3 (permalink)  
Old 05-08-2008, 10:39 AM
Active Member
 
Posts: 28
Default

Quote:
Originally Posted by uxbod View Post
IMHO you wont be able to. Why not use SOAP via PHP/Perl ?
Are you saying I can't do it on HPUX? Or on any remote server?

I thought it would be easier to create scripts that use the zmprov command rather than having to use PHP/Perl to create all the SOAP requests.

I thought zmprov was designed to use the SOAP API and could therefore be used from a remote server. Isn't this true?
Reply With Quote
  #4 (permalink)  
Old 05-08-2008, 10:59 AM
Moderator
 
Posts: 7,911
Default

zmprov is a wrapper for java code. So you could always try compiling ZCS on HP-UX

I personally would not even try, I am a HP-UX consultant, and would look to doing it through PHP so you can web enable your hand rolled code.
__________________
Reply With Quote
  #5 (permalink)  
Old 05-08-2008, 12:04 PM
Moderator
 
Posts: 441
Default

Quote:
Originally Posted by jsnapp View Post
so I can do provisioning from there.
I use SSH keys, scp, and remote SSH execution to run commands from my other server. Set up keys so there's no password, scp over scripts, and use SSH to run the script.
Reply With Quote
  #6 (permalink)  
Old 05-08-2008, 12:28 PM
Starter Member
 
Posts: 1
Default

Quote:
Originally Posted by uxbod View Post
IMHO you wont be able to. Why not use SOAP via PHP/Perl ?
I'd love to be able to use Perl, but the only Perl module I've seen is ZimbraSession.pm, which appears to include only Folder and Appointment provisioning. I'd prefer not to write all of the SOAP requests myself. I'd also prefer NOT to use PHP.

Is there a Perl module which I'm missing?
Reply With Quote
  #7 (permalink)  
Old 05-08-2008, 12:52 PM
Active Member
 
Posts: 28
Default

Quote:
Originally Posted by uxbod View Post
zmprov is a wrapper for java code. So you could always try compiling ZCS on HP-UX

I personally would not even try, I am a HP-UX consultant, and would look to doing it through PHP so you can web enable your hand rolled code
What about getting zmprov to work on a regular linux box? Does that also require installing all of ZCS just to be able to do remote provisioning with zmprov?
Reply With Quote
  #8 (permalink)  
Old 05-08-2008, 12:53 PM
Active Member
 
Posts: 28
Default

Quote:
Originally Posted by p24t View Post
I use SSH keys, scp, and remote SSH execution to run commands from my other server. Set up keys so there's no password, scp over scripts, and use SSH to run the script.
Thanks, this will be a helpful alternative to having zmprov on a separate box.
Reply With Quote
  #9 (permalink)  
Old 05-08-2008, 04:53 PM
Outstanding Member
 
Posts: 705
Default

Quote:
Originally Posted by jsnapp View Post
Thanks, this will be a helpful alternative to having zmprov on a separate box.
This is how I like doing it, too. IMHO, I don't like giving full access to zmprov straight through the passwordless ssh session, but rather giving it access to scripts which execute specific zmprov commands.. Like "zScript-createuser.sh" which takes arguments and creates a user. Safer, in my opinion.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.