24x7 Remote Automation Server for Linux and This entire processing is automatically monitored by...

download 24x7 Remote Automation Server for Linux and This entire processing is automatically monitored by 24x7

of 35

  • date post

    29-Aug-2020
  • Category

    Documents

  • view

    0
  • download

    0

Embed Size (px)

Transcript of 24x7 Remote Automation Server for Linux and This entire processing is automatically monitored by...

  • Copyright 2001-2005 © SoftTree Technologies, Inc. All rights reserved

    24x7 Scheduler™ 3.4

    24x7 Remote Automation Server™ for UNIX and Linux

    Reference

  • 24x7 Remote Automation Server™ for Linux and UNIX - 2 -

    Table of contents

    ABOUT THIS MANUAL ............................................................................................................................ 4 CONVENTIONS USED IN THIS DOCUMENT.................................................................................................... 4 ABBREVIATIONS AND TERMS....................................................................................................................... 4 TRADEMARKS.............................................................................................................................................. 4

    OVERVIEW ................................................................................................................................................. 6 A QUICK AUTOMATION EXAMPLE ................................................................................................................ 6

    24X7 REMOTE AUTOMATION SERVER (24X7 RA SERVER).......................................................... 7 SUPPORTED LINUX AND UNIX SYSTEMS..................................................................................................... 7 INSTALLATION AND UNINSTALLATION ........................................................................................................ 7

    24x7 RA Servers – Native Code version................................................................................................. 7 Installation ........................................................................................................................................... 7 Uninstallation....................................................................................................................................... 8

    24x7 RA Servers – Universal Java version ............................................................................................. 8 1. Java installation .............................................................................................................................. 8 2. 24x7 Remote Access Server Installation ........................................................................................ 8 3. Perl-Authen-PAM installation ........................................................................................................ 9 Uninstallation....................................................................................................................................... 9

    SECURITY .................................................................................................................................................... 9 SHARING.................................................................................................................................................... 10

    24X7 REMOTE AUTOMATION CLIENT (24X7 RA CLIENT).......................................................... 11 INSTALLATION........................................................................................................................................... 11 UNINSTALLATION ...................................................................................................................................... 11 AUTOMATING LINUX AND UNIX JOBS...................................................................................................... 11 24X7 RA CLIENT METHODS...................................................................................................................... 12

    Host Connectivity.................................................................................................................................. 12 RAConnect ........................................................................................................................................ 12 RADisconnect.................................................................................................................................... 13

    Process Operations ................................................................................................................................ 14 RARun............................................................................................................................................... 14 RARunAndWait ................................................................................................................................ 15 RAProcessExitCode .......................................................................................................................... 17 RAProcessKill ................................................................................................................................... 18 RAProcessList ................................................................................................................................... 19

    Directory Operations ............................................................................................................................. 20 RADir ................................................................................................................................................ 20 RAGetWorkDir.................................................................................................................................. 21 RASetWorkDir .................................................................................................................................. 22

    High-Level File Operations................................................................................................................... 23 RAFileDateTime................................................................................................................................ 23 RAFileSave........................................................................................................................................ 24 RAFileSize......................................................................................................................................... 25 RAFileTransfer .................................................................................................................................. 26 RAFileReadAll .................................................................................................................................. 27

    Low-Level File Operations ................................................................................................................... 28 RAFileOpen....................................................................................................................................... 28 RAFileRead ....................................................................................................................................... 30 RAFileWrite ...................................................................................................................................... 31 RAFileClose ...................................................................................................................................... 32 RAFileGetPos.................................................................................................................................... 33 RAFileSetPos..................................................................................................................................... 34

    LICENSING................................................................................................................................................ 35

  • 24x7 Remote Automation Server™ for Linux and UNIX - 3 -

  • 24x7 Remote Automation Server™ for Linux and UNIX - 4 -

    About This Manual This user manual describes all features of the 24x7 Remote Control COM API for 24x7 Scheduler™ v3.4.16 running on Microsoft Windows 95/98/Me/NT/2000/XP/2003 operating systems. This manual contains information for developers and experienced users of the 24x7 Scheduler who want to create custom interfaces to the 24x7 Scheduler system and/or tightly integrate it with other applications and systems. The complete 24x7 Scheduler documentation consists of several manuals and also an on-line interactive help system. The on-line help is available at any time when you are running 24x7 Scheduler. Depending on what you are doing, you can press F1, select Help from the Menu Bar, or select the Help button on a dialog.

    Conventions Used in This Document This section describes the style conventions used in this document. Italic An italic font is used for filenames, URLs, emphasized text, and the first usage of technical terms. Monospace A monospaced font is used for code fragments and data elements. Bold A bold font is used for important messages, names of options, names of controls and menu items, and keys. Graphical marks

    - This mark is used to indicate product specific options and issues and to mark useful tips. - This mark is used to indicate important notes.

    Abbreviations and Terms This guide uses common abbreviations for many widely used technical terms including COM, ASP, API, and other.

    Trademarks 24x7 Automation Suite, 24x7 Scheduler, DB Audit, DB Audit Expert, DB Mail, DB Tools for Oracle are trademarks of SoftTree Technologies, Inc.

    Windows 95, Windows 98, Windows NT, Windows 2000, Windows XP are registered trademarks of Microsoft Corporation. UNIX is registered trademark of the X/Open Consortium. Sun, SunOS, Solaris, SPARC