Jentla Wiki
Jentla Wiki > Jentla 1.5 "How To" Guides > How To Replicate Multiple Sites Using a .csv File

How To Replicate Multiple Sites Using a .csv File

Page last modified 07:07, 9 Dec 2011 by kavitha
    Redirected from "How To" Guides/How To Replicate Multiple Sites Using a .csv File

    You can create a multitude of new sites from an uploaded .csv file. This .csv file must be of a particular format, and below you'll find a description of the fields in the .csv file to be uploaded.

    Uploading the .csv File

    You can replicate as many sites as you want by simply uploading a .csv file containing specific data of the new sites, as described below.

    To Create Multiple Sites by Uploading the .csv File:

    1. Create the .csv file and populate it with the appropriate information for the new sites to be created, as described in the section below.

    2. Login to Site Administrator (http<your domain>.jentla.com/manager/adfministrator).

    3. Go to Jentla > Sites the following page will be displayed:

    1. Click Batch Replication from the tools menu in the upper-right corner of the screen.

    2. In the dialog that displays, Browse for your .csv file.

    1. Click Upload to perform the replication, or Close to abort.

    As a result, you'll get all the sites created, according to the data provided in the imported .csv file. You'll be able to see and manage the new sites in the Jentla > Sites section.

    .csv File Format

    The .csv file to be imported must be of the format described below. For each new site to be created you must have a separate line with values filled-in for all the fields below:

    • New site name - The name of the new site

    • New site url - The URL of the new site

    • New site path - The server path of the new site, for example: /usr/local/htdocs/jentla

    • New dbname - The database name for the new site

    • New dbusername - The username for the new database. 'New dbusername' length must be Less than or Equal to 16

    • New dbpassword - The password for the new database

    • Copy Database Content - "Y" for Yes, "N" for No

    • Tag1 and Tag1value - These are custom Merge Tags and Tag values, For example, if you want to preserve a very small amount of unique information on a website that was otherwise exactly the same, you can define a tag and the corresponding tag value. For example, you may wish to keep the Store address and store Manager’s name unique on the store location page but almost all the rest of the website exactly the same as several others. Tag delimiters are in this form: (%%tag%%)

    • Tag2 and Tag2value - See Tag1

    • Tag3 and Tag3value - See Tag1

    • Tag4 and Tag4value - See Tag1

    • Tag5 and Tag5value - See Tag1

    • Global User - Set as "Y" to make all site users created in the new site able to log into all other sites in the Jentla Manager that also have Global User set to on

    • Source Directory Path - The directory path of the files for the site being copied

    • Google Analytics - The Google Analytics tag added will be placed onto all pages

    • Source Hostname - The name of the server where the files to be copied from reside

    • New Hostname - The name of the server where the site will be installed

    • New Database Hostname - The database server name

    • Database SuperUser Name - The username for the database super user account

    • Database SuperUser Password - The password for the database super user. We recommend creation of another account apart from root

    • Unix User Name - The name of the UNIX user with rights to log into the remote server via SSH

    • Name server Host - The name of the DNS server

    • Name server Fully Qualified Domain Name - The Fully Qualified Domain Name of the DNS server

    • Mail server Host - The name of the email server

    • Mail server Fully Qualified Domain Name - The Fully Qualified Domain Name of the DNS server

    • Httpd Directory Path - The directory where Apache is installed

    • Apachectl Directory Path - The directory where apachectlc is installed. apachectl is a front end to the Apache Server. Defaults to '/usr/sbin/httpd', if not provided

    • Named config file Directory Path - The actual DNS configuration file. Generally it is /etc/named.conf

    • Named config dir Directory Path - Directory where new zone files will be created. The directory is created by the installer into: /var/named/chroot/var/named/jentla. This path above is created by using the following variables:

      • --named-root-dir – the dir where bind is chrooted (/var/named/chroot). When reading the config, the script searches for the directory where zone files are being searched (/var/named)

      • --named-dir – the name of the directory to be used inside the previously found directory (jentla). So /var/named/chroot/var/named/jentla is derived from /var/named/chroot + /var/named + / + jentla

    • Named checkzone Directory Path - The directory where the checkconf utility is found; checkzone is the DNS tool for performing integrity checks on the DNS zone contents

    • Named checkconf Directory Path - The directory where the checkconf utility is found; checkconf is the DNS configuration file syntax checking tool

    • Named rndc Directory Path - The directory where the rndc is found. Rndc is a utility which allows command line administration of the named daemon

    • Temporary Directory Path - The directory for temp files, generally /tmp

    • Apache Config Directory Path - The directory for the Apache configuration file, httpd.conf. Defaults to '/usr/local/jentla/etc/apache'

    • Apache Log Directory Path - The directory where Apache logs files are stored. Defaults to '/usr/local/jentla/logs'

    • Apache Root Directory Path - The base directory served by Apache, for example, /var/www/html

    • Source cPanel Username - Username used to access the source server’s cPanel

    • Source cPanel Password - Password used to access the source server’s cPanel

    • Destination cPanel Username - Username used to access the destination server’s cPanel

    • Destination cPanel Password - Password used to access the destination server’s cPanel

    • User Name - this is an optional field used if you want to create an user account during the replication process. Type here the username for the new acount

    • User Email - this is an optional field used if you want to create an user account during the replication process. Type here the user email address for the new acount

    • User Password - this is an optional field used if you want to create an user account during the replication process. Type here the user password for the new acount

    • Manager Usertype - this is an optional field used if you want to create an user account during the replication process. Set the user rights for Jentla Administrator. It can be one of the following:

      • Manager

      • Administrator

      • Super Administrator

    These are Joomla! default users and you can find a detailed description at http://help.joomla.org/content/view/228/153/1/2/

    • Node Usertype - this is an optional field used if you want to create an user account during the replication process. Set the rights the user has for that particular site. It can be one of the following:

      • Registered

      • Author

      • Editor

    These are Joomla! default users and you can find a detailed description at http://help.joomla.org/content/view/228/153/1/1/

    • Image Upload Path - the path for the images upload

    • Document Upload Path - the path for documents upload

    Powered by MindTouch Core