Page tree

BMC Release Process Management 5.0 provides two default remote dispatcher scripts:

  • Dispatch file put – Script that pushes files or folders to remote target servers via associated agent type. The dispatch file put script uses the source and target file paths. For more information, see To use the dispatch file put script 
  • Dispatch script run  Script that implements execution of remote shell scripts on remote target hosts via associated agent type.

You can use these scripts in steps to perform certain operations. If some of the functions you need are not available in the default scripts, you can create your own remote dispatcher scripts.

Best practice

To use default remote dispatcher scripts for the NSH agent type, make sure that you specify the nsh_path value in the NSH options section both in the dispatch file put and dispatch script run scripts.

For example, nsh_path:'/opt/bmc/bladelogic/NSH'.

You can find default remote dispatcher scripts in RLMhome\releases\5.0.x\RPM\lib\script_support\LIBRARY\remote_dispatcher.

The default category for the dispatch file put script is Remote File Put and for the dispatch script run script is Remote Script Run.

To use the dispatch file put script

  1. Make sure that you imported the dispatch file put script.
  2. Go to the Automation tab of the required step.
  3. In the Step Action list, select Remote File Put.
  4. In the Source host box, specify the IP address of the source server where the file or folder that you want to transport is located.
  5. In the Source path box, specify the location path of the file or folder on the source host.
  6. In the Target path box, specify the location path on the target host to which the appropriate file or folder will be transported.

    Note

    The dispatch file put script uses the target file path that is relative to the SS_CHANNEL_ROOT property that you can create for the target server. For more information about how to create properties, see Managing properties.

    The default value for the SS_CHANNEL_ROOT property is specified in the script body and is the following:

    • (Linux) /tmp
    • (Windows) C:/windows/temp

Related topics

Creating remote dispatcher scripts

Managing automation

  • No labels