- This topic has 2 replies, 3 voices, and was last updated 12 years, 3 months ago by .
It realy drives me crazy to constantly switch between our prod and test servers in the Cloverleaf GUI,
and several times I’ve started making a change in the test system only to realize that I wasn’t in the test system.
The procedure below describes who I’m able to automatically switch between multiple Host/Site combos just by clicking on a
different icon. This has helped me out a lot but, of course, use it at your own risk.
Make a directory called: USER
Copy client.ini ro the new USER directory
Go to the USER directory
IF “%1″==”HOST1-SITE1.ini” GOTO ChangeFile
IF “%1″==”HOST2-SITE1.ini” GOTO ChangeFile
ECHO “%1” is not a valid argument!
COPY C:quovadxqdx5.6integratorclientUSER%1 C:quovadxqdx5.6integratorclientclient.ini
Edit the lines “last_host” and “last_environ” in CLIENT.INI to the host and site you wish to connect to
and save with a name similar to HOST1-SITE1.ini or HOST2-SITE2.ini. These names must match the ChangeEnviron.cmd IF statments or you will get an error.
Next create desktop shortcuts pointed to:
Now you’ll be able to switch between the several Host/Site combos by clinking on an icon.
The best part is HOST1 and HOST2(Prod and Test) can have different colored icons.
- The forum ‘Cloverleaf’ is closed to new topics and replies.