Manage Remote Taskers without SSH/RSH Capabilities

The program vovtsd is a daemon written as a Tcl script that runs using the VOV vtclsh binary. This daemon can be used also to start various types of agents on any type of Windows or UNIX machine.

In Windows, vovtsd is started from the command line and then runs in a Windows cmd shell. Each vovserver connects to vovtsd via TCP/IP to start the vovtasker process.

vovtsd

This utility listens for requests to launch taskers for various projects, but always for the same user. The requests typically come from vovtaskermgr.

Usage


vovtsd: Usage Message
  
  VOVTSD: Vov Tasker Service Daemon
      This utility listens for requests to launch taskers for
      various projects, but always for the same user.
      The requests typically come from vovtaskermgr.
  
  USAGE:
      % vovtsd [OPTIONS]
  
  OPTIONS:
      -v                     -- Increase verbosity.
      -h                     -- Print this help.
      -debug                 -- Generate verbose output.
      -help                  -- This message.
      -normal                -- Start a normal daemon (for current user)
      -expire <TIMESPEC>     -- Exit from vovtsd after specified time.
      -user  <user>          -- Specify the user that should be impersonated.
                                vovtsd computes the port number by
                                hashing the user name.
      -port  <n>             -- Specify port to listen to.
  
  EXAMPLES:
      % vovtsd -normal
      % vovtsd -port 16666
      % vovtsd -user john -port 16000
  

Start a Remote vovtasker with vovtsd

To use vovtsd on Windows, follow these steps:

  1. Start a command shell on the Windows workstation as the user who is supposed to run the taskers. See below if this user needs to be different from the user logged in on the screen.
  2. Set up the shell to use VOV with the vovinit command. This sets the needed environment variables, including PATH.
    c:\temp> \<install_path>\win64\bat\vovinit
  3. Mount all filesystems using the appropriate drive letter; these need to agree with the values of serverdir and vovdir in the taskerRes.tcl file for the VOV project.
  4. Start vovtsd, possibly using a new window. The -normal option says to use a TCP/IP port calculated from the username. You may specify the port explicitly by using the -port option.
    c:> start vovtsd -normal

Run vovtsd as a Different User

The vovtasker started by vovtsd will run as the user running vovtsd. If you need for this to be different from the user logged in at the keyboard and screen, you have several options.

On Windows 2000 and Windows XP, you can use the runas.exe command included with the operating system. For example, on Windows XP, logged in as 'user1', you could start a command shell using:
C:\temp> runas /user:domain-name\username cmd
Note: You may need to mount the filesystems for that user. On Windows NT, the drive letters are shared, but on later versions, each user can mount a different filesystem on a given drive letter.