Help Desk Software & Beyond
May 21, 2012, 11:34:37 PM *
Welcome, Guest. Please login or register.
To post messages you need to register. We apologize for inconvenience, but this is to prevent spam.
Registration is instant (no email verification) and we do not ask for any personal information.

Login with username, password and session length
News: Welcome to Help Desk Software forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: running several intances of TTX in parallel  (Read 4801 times)
library
Newbie
*

Karma: 0
Posts: 4


View Profile
« on: November 09, 2006, 03:06:23 PM »

Hello all,

Our library system has been running TTX sucessfully for a few months now.  It has worked so well, we want to run two more instances of it on the same machine using a total of 3 different databases.

Is this possible?

Thanks.
Logged
Alex
Administrator
Hero Member
*****

Karma: 22
Posts: 605



View Profile WWW
« Reply #1 on: November 09, 2006, 03:48:16 PM »

You may setup as many instances as you need. There are no special instructions assuming you need totally independent help desks.
Logged

Follow me on: LinkedIn
library
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #2 on: November 09, 2006, 04:31:51 PM »

Thanks, Alex.  Great. 

In what directory will the second instance reside?  You can't locate them in the same cgi-bin directory in the wwwroot because the 2 instances will use all the same file names.  How do you get around this problem?

Thanks, again.

-Chris
Logged
Alex
Administrator
Hero Member
*****

Karma: 22
Posts: 605



View Profile WWW
« Reply #3 on: November 09, 2006, 04:38:06 PM »

I would create another folder. Or subfolder in the wwwroot/cgi-bin, if your server is configured to execute scripts from cgi-bin folder only.
Logged

Follow me on: LinkedIn
library
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #4 on: November 09, 2006, 04:52:09 PM »

We are currently running one TTX instance from the top level of cgi-bin.  If we were to follow your suggestion, create a subfolder in cgi-bin and migrate all this instance's files into this new folder how would this affect TTX's mapping between this new directory and the SQL database?  Would the database be reset?

thanks,
Chris
Logged
Alex
Administrator
Hero Member
*****

Karma: 22
Posts: 605



View Profile WWW
« Reply #5 on: November 10, 2006, 12:50:54 AM »

Not sure about this. Why migrate? If you want to setup second instance, just setup it, that is make a fresh new setup in new folder leaving the existing system as it is. Each system will have its own configuration file, template set, user list, ticket database etc.
Logged

Follow me on: LinkedIn
library
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #6 on: November 10, 2006, 01:56:30 PM »

Sure.  Simple enough.  I guess I was over thinking this.  Thanks for your help, Alex.

-Chris
Logged
ts2380
Newbie
*

Karma: -7
Posts: 23


View Profile
« Reply #7 on: January 22, 2007, 02:54:52 PM »

Hello,
is it also possible to run several instances of TTX in parallel with only one SQL database and one ticketid.txt ?
for example: ttx1.cgi for department 1, ttx2.cgi for department 2 and ttx3.cgi for department 3.
Every department with own forms and layout and header.shtml but with one central sql-database.
Thanks for help
Andreas
Logged
Alex
Administrator
Hero Member
*****

Karma: 22
Posts: 605



View Profile WWW
« Reply #8 on: January 22, 2007, 11:56:37 PM »

You may consider using styles. Style is a set of templates.

1) Create a directory under templates directory. Name it site1 (just an example, you may use any name).

2) Copy all files under templates directory to the site1

3) Execute Trouble Ticket Express via the following URL

ttx.cgi?style=site1

it will use templates form site1 subdirectory.

If a template does not exist in the specified style folder, the script will use default template.

The feature is not documented yet, but it is stable and will be preserved in the future versions.
Logged

Follow me on: LinkedIn
ts2380
Newbie
*

Karma: -7
Posts: 23


View Profile
« Reply #9 on: February 13, 2007, 03:13:14 PM »

Hi Alex, thanks for this helpful description.
It works perfekt.
Regards
Andreas
Logged
webcarvallo
Newbie
*

Karma: 1
Posts: 15


View Profile
« Reply #10 on: September 22, 2011, 07:17:13 PM »

Hi Alex.
I have a similar function, but I need different "sites" (or only newticket template) dependable from which operator has logged. In my system new tickets can be generated only by an operator, but I need different newticket template depending on who`s logged.

Something like this:

if operator = john, then use ttx.cgi?style=site1
if operator = paul, then use ttx.cgi?style=site2
if operator = joe, then use ttx.cgi?style=site3

How can i get this?

Thanks.
Andrés.


You may consider using styles. Style is a set of templates.

1) Create a directory under templates directory. Name it site1 (just an example, you may use any name).

2) Copy all files under templates directory to the site1

3) Execute Trouble Ticket Express via the following URL

ttx.cgi?style=site1

it will use templates form site1 subdirectory.

If a template does not exist in the specified style folder, the script will use default template.

The feature is not documented yet, but it is stable and will be preserved in the future versions.

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.026 seconds with 18 queries.