citrix development

jaisejames

Well Known Member
Gentelmen I have few question about this.. I have tried to search over few of the previous Thread but coul dnot find my answers..


I have a citrix box with D;\B9 for the normal user to do their work and
D:\B9_<username> for each developer to do do their development .. Each user is pointed to right directory in their Jde.ini...
My Questions are as follows
1) Development. How good is this setup for development has any one experincedd any sort of problem doing this... I honestly haven't encountered any problem so far...But would like to hear from you
2) Remote CNC : I haven't tried this yet... But How good it is to use for Package build and deployment, Can you install Citrix on the deployment server to ESU install and all...

Any help will be highly appreciated..
Thanks


3)
 
1) I have had no problems with remote development.
Make sure developers can run UBE'S locally. Search the list for UBELOCAL.
2) Not sure about anyone else but I have not had success buiding packages directly on a citrix server.
3) If you want to get to your deployment server check out Remote Desktop
 
If you follow these instructions closely you won't get into any issues.

First of all, make sure you install Visual C++ onto the Terminal Server- place it into an area that everyone can see (ie C:\Program Files\Microsoft Visual Studio\....)

Then do the following. Create a directory - d:\users.

Share the D:\USERS directory as "users" - give everyone in a group all permissions on the directory.


If you have SCSI drives that are relatively fast, you can compress this directory quite happily. You might be forced to compress this directory, since each user will likely use more than 2Gb of Drive Space for their Development Specifications...!

Now you need to ensure that all the user profiles on this machine are located in here correctly. If you are using roaming profiles or another such method, you probably don't need to perform any of these steps - check with your NT Administrator first !

This step is easily performed - create two administrator users (Admin1 and Admin2) - then go into the registry using REGEDIT and change the following :

\\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Change ProfilesDirectory from "%SystemDrive%\Documents and Settings" TO "D:\USERS" (REG_SZ)

Blow away all of the user profiles on the machine (go into Control Panel/System - click on "User Profiles" and click on each one and delete them - THIS is where you need the two Admin ID's so that you can ensure nothing is pointing to the old "Documents and Settings" directory). Once this has completed, log in as a user and check to make sure that your profile is now set to "D:\USERS\{userID}". Delete the Admin account you needed to do this step.

Then create a "D:\USERS\STANDARD" directory and copy the standard B7 directories across :

D:\USERS\
D:\USERS\STANDARD
D:\USERS\STANDARD\B7
D:\USERS\STANDARD\B7\DV7333
D:\USERS\STANDARD\B7\SYSTEM
D:\USERS\STANDARD\B7\PRINTQUEUE
D:\USERS\STEELJ
.
.
D:\USERS\STEELJ\WINDOWS

ok - note that I haven't yet manually copied the B7 directory to the end user profile (STEELJ) yet. I want the system to automatically update the users B7 directory when I feel like it.

Create a Batch File named "OWDEV.BAT" - stick this in a common directory somewhere (I use "C:\STARTOW")

It should look like the following :

-------*STARTOW.BAT*-----------
@echo off
net use x: /d >nul
net use x: \\srvowctx09%homepath% >nul
if exist x:\b7\system\bin32\oexplore.exe goto startow

@echo Copying standard OneWorld Development Client to your profile...
@echo Please be patient - this takes up to 20 minutes and only occurs
@echo on the first use.....
mkdir x:\b7

@echo Copying authorization files.....
xcopy d:\users\standard\b7\*.* x:\b7\*.* /s /e /d /h /y >nul

:startow
if exist "%HOMEDrive%%HOMEPath%\windows\jde.ini" del "%HOMEDrive%%HOMEPath%\windows\jde.ini"
copy c:\startow\jdedev.ini x:\windows\jde.ini >nul
@echo Starting Oneworld....

start x:\b7\system\bin32\oexplore.exe
:end
-------------------------
In effect, the above batch file maps a drive (X:) to the users profile. It then checks to see if OneWorld exists in the users home directory (it looks for oexplore.exe) - and if not it copies the standard B7 directory to the users directory (note that this can take 20 minutes or so to complete)

If OneWorld exists, then it copies a standard JDE.INI file into the users profile (JDEDEV.INI) and starts oneworld before closing the .BAT file.

The standard JDE.INI "JDEDEV.INI" will have the following lines :

[DEBUG]
OWDEVELOPER=TRUE

[INSTALL]
B733=X:\B7

I then publish "OWDEV.BAT" as my citrix application.

To then have users run PY on the same machine in a generic directory - I have the following batch file set up :

------OWTEST.BAT---------
if exist "%HOMEDrive%%HOMEPath%\windows\jde.ini" del "%HOMEDrive%%HOMEPath%\windows\jde.ini"
copy c:\startow\jdecrp.ini %HOMEDrive%%HOMEPath%\windows\jde.ini
start d:\b7\system\bin32\oexplore.exe
---------------------------------

The JDECRP.INI will have the following lines in it :

[DEBUG]
OWDEVELOPER=FALSE

[INSTALL]
B733=D:\B7

Now I can install a full development package on the terminal server - copy it to d:\users\standard, and go through the users directories (after ensuring that they have checked everything in), blow away the d:\users\{userid}\b7\system\bin32\oexplore.exe and they'll be automatically updated !!!!!!!!!! Maintenance couldn't be simpler.

With the above setup, I can also build packages and perform package deployments with ease. In fact, I can have 40-50 developers all sitting on one Terminal Server while I sit there and build and deploy packages with ease.

Remember, of course, that developers WONT see update packages - and you should NOT try to push the update packages down to them. This is the only drawback, and requires the developers to manually "fetch" the specifications they need.

Hope that helps ! Is this good enough for Tips and Tricks ?
 
Jon,

Great tips... Ok to confirm I can use one box only to do dvelopment and for normal production usage following the steps outlined...
Question about package build, will it be done under the normal user directory ( X:\B7) or under X:\SteelJ\B7.. does it matters If I am a CNC and have directory like X:\JJames\B7 Can I use this to do my package build without worrying about any thing
Since Pacakge build ube runs locaaly do I need a new Local logical server define ( UBELOCAL). I am sure it will affect the performance on the box during the package build.

What about REmote CNC.... I can enable terminal server on Deployment server and do all the task... is that true...Pakcage build, ESU and ASU imeplentation.

Your help is highly appreciated

JJ
 
JJ,
Why get so complicated when it comes to the Deployment server?
I would not setup a multi-user environment just to remote control the box.
Look at either winVNC or DameWare they are just two of the available tools for remote controlling a box.
If you want to keep it simple and FAST as possible a standalone PC for Package builds is wise. You would use the same remote control tools as above. This typically is the CNC's box so you do all of your OMW on it as well.
 
The best tool I have found - although it costs money - is GotoMYPC for remotely controlling a deployment server. The service is actually owned by Citrix - and it works from my PocketPC phone !

VNC does cause screen drawing issues with OneWorld (probably OneWorlds fault - but they never fixed it) - even having VNC started and running causes the issue.

You can certainly install Terminal Services on a Deployment Server - but whats the point when it costs more to license. Instead, just set up Remote Development - I never use the deployment server for package builds anymore....
 
Hello

I have been using Gotomypc for a long time now to do my remote cnc task and I think its the best... But since its paid service and its on the internet some f the client have reservations... So that I why I am exploring wts .... I have used VNC and PCanywhere the both fail for package build and esu implementation.... Therefore I was wondering if I can use TS on deployment seerver to do my task without running into any trouble.... JDE does not support this.....
 
I have had good luck with TS on the deployment server. Just edit the INI to allow development so Busbuild will run. Another possibility is NetMeeting. It is free and built into Win2000. I have not had the ESU problems with NM that I have had with VNC, pcAnywhere, NetOp and a few others.
 
Hi Jon

Looks pretty impressive and extensive (and way over my head). I put a copy of your contribution in the Tips section as suggested.

Rgds,
 
Back
Top