[THIN] Re: Need Tool

  • From: "Rick Mack" <Rick.Mack@xxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Thu, 9 Dec 2004 07:43:29 +1000

Hi Doug,
 
2 tools in the free Citrix server SDK, enum and export, will give you ini file 
format ouputs that have everything.
 

Enum lists all published applications in a farm. It is run at the command line 
and the output can be modified to produce an apps list file for automation 
purposes, eg.

For /f "tokens=3 delims=\" %i in ('enum ^| find "Applications"') do @echo %i >> 
xp_appslist.txt

Export can produce an APP file, which is basically an application descriptor 
file that can be used to re-create a published application.

The syntax of the export command is:

Export app_name /ea App_filename 

eg

Export "\Applications\Travel System" /ea "Travel System.app"

Dumping all your apps is easy with:
 

For /f " "tokens=1 delims=:" %i in (xp_applist.txt) do export 
"\Applications\%i" /ea "%i.app"

That lets you backup, modify and import (using newapp) your published apps into 
another farm. We've used the tools to replicate a 1.8 farm with 300-odd 
published apps into a clean XP farm.
 
regards,
 
Rick
 
Ulrich Mack
Volante Systems

________________________________

From: thin-bounce@xxxxxxxxxxxxx on behalf of Stratton, Doug MSER:EX
Sent: Thu 9/12/2004 6:32 AM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] Re: Need Tool


Every thing.  Servers it is on, limits, location, name.......

________________________________

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Bill.Ramby@xxxxxxxxxxx
Sent: Wed, December 8, 2004 12:00 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Need Tool



If it were just the apps, I would say use the command "Query farm /apps > 
apps.txt". What settings are you looking for?

 

Regards
William R. Ramby
 

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Stratton, Doug MSER:EX
Sent: Wednesday, December 08, 2004 2:41 PM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] Need Tool

 

Hi

We are using MF XP. W2k 

 

Looking for some little tool that will print out the published applications and 
all the settings for that app to a text file.

 

I had a quick look at the stuff in the SDK but did not spot anything that works 
with non PS 3.0 stuff.

 

Thanks

 

Doug Stratton
ISM Canada, IBM Global Services
Telephone: (250) 356-6678 
Email: Doug.M.Stratton@xxxxxxxxxxxxxxx 

 


#####################################################################################
This e-mail, including all attachments, may be confidential or privileged.  
Confidentiality or privilege is not waived or lost because this e-mail has been 
sent to you in error.  If you are not the intended recipient any use, 
disclosure or copying of this e-mail is prohibited.  If you have received it in 
error please notify the sender immediately by reply e-mail and destroy all 
copies of this e-mail and any attachments.  All liability for direct and 
indirect loss arising from this e-mail and any attachments is hereby disclaimed 
to the extent permitted by law.
#####################################################################################

Other related posts: