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

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 07-21-2009, 07:11 PM
raj raj is offline
Moderator
 
Posts: 768
Default Zimbra Auto-Install or Un-Attended

Looking for a way to 100% un-attended install of zimbra.
We install the Linux OS using KickStart and all the required pre-reqs are properly installed for zimbra.
We are hard-coding all the info we need in KS file..so we dont mind hardcoding all Zimbra settings also for "a given install".
so how can we pass all the required params to zimbra install script
i.e:
1) say YES automatically to all questions
2) auto selected list of packages
3) pass Admin password
4) skip or send notification to zimbra

other than above 4 we dont need to type anything while install.

any inputs ?

* i know i can sit and edit the install.sh file and bypass these..but then i have to do that for every version

Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
  #2 (permalink)  
Old 07-22-2009, 12:53 PM
Zimbra Employee
 
Posts: 604
Default

Take a look at the usage for install.sh. You can pass in a defaults file with all the variables that install.sh uses.

Code:
-c|--cluster type     Cluster install type active|standby.
-h|--help             Usage
-l|--license    License file to install.
-r|--restore    Restore contents of  to localconfig
-s|--softwareonly     Software only installation.
-u|--uninstall        Uninstall ZCS
-x|--skipspacecheck   Skip filesystem capacity checks.
[defaultsfile]        File containing default install values.
Sample defaults file would look like this. Substitute @@ items for your environment.
Code:
AVUSER=admin@@@DOMAIN@@
CREATEADMIN=admin@@@DOMAIN@@
CREATEDOMAIN=@@DOMAIN@@
DOCREATEADMIN=yes
DOCREATEDOMAIN=yes
DOTRAINSA=yes
ENABLEDEFAULTBACKUP=yes
EXPANDMENU=no
HOSTNAME=@@DOMAIN@@
JAVAHOME=/opt/zimbra/java
LDAPHOST=@@DOMAIN@@
MODE=https
MTAAUTHHOST=@@DOMAIN@@
NOTEBOOKACCOUNT=wiki@@@DOMAIN@@
UPGRADE=yes
REMOVE=no
RUNAV=yes
RUNSA=yes
SMTPDEST=admin@@@DOMAIN@@
SMTPHOST=@@DOMAIN@@
SMTPNOTIFY=yes
SMTPSOURCE=admin@@@DOMAIN@@
SNMPNOTIFY=yes
SNMPTRAPHOST=@@DOMAIN@@
SPELLURL=http://@@DOMAIN@@:7780/aspell.php
STARTSERVERS=yes
TRAINSAHAM=ham@@@DOMAIN@@
TRAINSASPAM=spam@@@DOMAIN@@
USEIMAPPROXY=no
USESPELL=yes
INSTALL_PACKAGES="zimbra-core zimbra-apache zimbra-ldap zimbra-logger zimbra-mta zimbra-snmp zimbra-spell zimbra-store zimbra-archiving zimbra-proxy"
CREATEADMINPASS=test123
SQLROOTPASS=test123
LDAPREPPASS=test123
LDAPPOSTPASS=test123
LDAPAMAVISPASS=test123
LDAPROOTPASS=test123
LDAPADMINPASS=test123
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 07-22-2009, 07:24 PM
raj raj is offline
Moderator
 
Posts: 768
Default

ok cool..i was not thinking in "defaultsfile" due to this post
How to install zimbra server with defaultsfile
also..i saw other info where defaultsfile was for mysql prams and stuff.

* Is there a complete LIST of all the variables we can put in "defaultsfile"

I will try this and post my findings in few days. i am going to do mass install of zimbra on more than 50 machines..so trying to PXE + Kickstart OS install + AutoZimbra Install in 1 step all un-attended

Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
  #4 (permalink)  
Old 07-24-2009, 02:26 PM
Zimbra Employee
 
Posts: 604
Default

If you do an install and save the config file that is the closest you will get to a complete list. The list is subject to change with every release, we aren't planning on documenting the current format beyond this as there is a future change that is planned that will alter the format and make automated/multi-node installs a lot easier.

I also updated the other forumn post on how to use an existing config.XXXX saved file.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
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.