Admintools, agent, and daemon files

Adding the Python Library

Python is required to run AdminTools and the AdminTools agent.

  1. Create the /oss directory and add the python library to that directory:

    $ mkdir /home/dbadmin/opt/vertica/oss
    
  2. Add the python3 binary to the /sbin directory:

    $ mv python3 /opt/vertica/sbin
    

AdminTools Requirements

To run Admintools on your machine, you must create a sub-directory structure that contains important files, libraries, and binaries that are required to run Admintools on your system.

The following table contains the files required to run Admintools on your machine. Each directory is a subdirectory under /opt/vertica:

DirectoryDescription
/binCreate a symbolic link to adminTools:
$ ln -s admintools /home/dbadmin/opt/vertica/bin/adminTools
/config
  • admintools.conf
  • admintools.conf.bak.1597862525.319460
  • admintools.conf.bak.1597862189.882214
/config/logrotateadmintool.logrotate
/config/log
  • adminTools.errors
  • adminTools.log

Admintools Agent Requirements

The Vertica agent is required to use Admintools. The following table contains the files and directories required to run the Vertica agent. Each directory is a subdirectory of /opt/vertica:

DirectoryDescription
/agentagent.sh
/config/logrotateagent.logrotate
/config/shareagent.cert agent.key agent.pem
/log
  • agent_dbadmin.log
  • agentStdMsg.log
  • agent.log
  • agent_dbadmin.err
  • agent.pid

Admintools Daemon Requirements

Add the following files to the /opt/vertica/sbin folder:

  • daemonize
  • verticad
  • verticad.service

Creating the man Files (Optional)

To access man pages that provide information about Vertica Admintools commands and functions, add the admintools.1 file to the /usr/share/man/man1 directory.