Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Accessing OpenDeploy
Pavan
Is it possible to invoke OpenDeploy from a batch file (.cmd file) which is running on a system in the same network as that of Teamsite and OpenDeploy Server ?
Find more posts tagged with
Comments
Migrateduser
You can execute a deployment by calling the iwodstart CLT on the OD base server. If the script is running on that server, it's a simple command-line call.
If your script is running on some other server, then it's harder. There's lots of ways of doing it, but security is always a problem. One way is to set up a telnet server on the OD base server, and have your script log into it from your remote client to call iwodstart. If you're running the OD adm server on the base server (typical), then you could write a CGI or JSP script that could be configured to call iwodstart, and set it up so that CGI/JSP will only execute if envoked from a known-safe client inside your firewall.
Anyone else?
bw
Bob Walden [bob.walden@interwoven.com]
Interwoven Education Group
IM: Yahoo, MSN bob_walden
Pavan
Hi Bob,
Thanks for info.
Actually, I have to run this command from a .cmd file which has a set of commands.
So the .cmd will look as follows:
command1
command2
.....
.....
OpenDeploy invocation command
Other Commands...
.....
.....
so, you can see the way I want to use 'OpenDeploy invocation command'.
Now, can you please tell what will be the command in windows for this.
Thanks in adv.
Pavan
Adam Stoller
If the cmd script is running *on* the Base Server machine - it is simply a matter of putting the iwodstart command into the cmd file.
a.cmd:
---------
iwodstart test
---------
Works for me.
If you don't have IWODHOME/bin in your system PATH environment, you'd probably have to modify the above script to be:
---------------
c:\path\to\od-home\bin\iwodstart test
---------------
--fish
(Interwoven Senior Technical Consultant)
Pavan
Thanks fish !!
Actually, this .cmd is running from a different machine.
Adam Stoller
If it's running from a different machine - then it may not work (I don't have an environment to test it in, sorry) - and then your best bet is to create your own client/server interface such that from your client you can run a command that will communicate with the server piece and have *that* run the actual deployment command.
Good luck,
--fish
(Interwoven Senior Technical Consultant)
Pavan
Thanks though !!
Pavan