- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Triggering .BAT file from HPUX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 07:53 AM
07-02-2002 07:53 AM
Triggering .BAT file from HPUX
The .bat file will be used to stop and start services on the Windows side.
Sorry to ask such an open-ended question, but I'm not really sure where to even start with this one.
Thanks in advance,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:00 AM
07-02-2002 08:00 AM
Re: Triggering .BAT file from HPUX
You will then have all the tools and authentication that you are familiar with. The downside is that it's not free.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:03 AM
07-02-2002 08:03 AM
Re: Triggering .BAT file from HPUX
Plan B (similar to above but free):http://www.cygwin.com/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 09:39 AM
07-02-2002 09:39 AM
Re: Triggering .BAT file from HPUX
In this case, all that the BAT file needs to do is a "net stop" and "net start" command.
My real quesiton is getting at the connectivity between Unix and windows. Whether this ends up in a BAT file or a Unix script over on Windows, how would I send a message from my HP9000/UX server over to a Windows server to tell it to execute the file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 10:13 AM
07-02-2002 10:13 AM
Re: Triggering .BAT file from HPUX
There is also a W2K resource kit (go to www.microsoft.com and search for "Remote Commands"), that can be made to work but I always fall back on MKS or Cygwin. Both are rock solid and will do just what you want.
Plan C. Write a perl listener using sockets to execute commands sent from a perl client on your UNIX box. That method works quite well but you must build in the security yourself. (Perl is available as a free download for Windows boxes.).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 12:10 PM
07-02-2002 12:10 PM
Re: Triggering .BAT file from HPUX
You "should" be able to simply script the telnet, login, kick off the bat file, sleep for a bit then log off from the session.
The telnet daemon on Win2k has a commandline tool you will need to run to change the default behavior of the type of challenge/responce to be expected.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 02:47 PM
07-02-2002 02:47 PM
Re: Triggering .BAT file from HPUX
I should add that while Cygwin does have a good shell and UNIX utilities like awk; it does not have remshd. If you want to remsh (or rexec) from UNIX to Windows then MKS Toolkit is the weapon.