PharaohTools

Synopsis

The Pharaoh tool module assists in installing ptdeploy, pttest, Jrush, generating ptconfigure reports. It facilitates the users to ensure the availability before installations. Only missing modules can be installed specifically.

Help Command

The help command guides the users about how to make use of this particular module under ptconfigure.

It also make them aware of the options that can be performed on this specific module.

The screen shot as shown below gives you a pictorial representation regarding the usage of help command.

kevell@corp:/# ptconfigure PharaohTools help
******************************


 This command allows you to install the Pharaoh Tools which are ready. These include
 ptconfigure - this Configuration Management tool, ptdeploy - the Automated Deployment tool,
 and pttest, the test configuration and automation tool.

 PharaohTools, pharaohtools, pharaoh-tools

       - install
       Installs the latest version of all of the Pharaoh Tools
       example: ptconfigure pharaoh-tools install

------------------------------
End Help
******************************

Installation

The pharaoh tool module acts as a shorter route that envelops installation of ptdeploy, pttest, Jrush. If any one particular module is missing among the three, the specific module alone will be installed which is an added advantage. The ensure process plays an important role in grabbing data’s regarding the availability of modules.

The command used for installation process under Pharaoh tool is given below,

ptconfigure pharaoh-tools install
Parameters Available Input options Comments
Install Pharaoh Tools? (Y/N) Y(Yes) If the user wish to proceed with installation process, they can input as Y
Install Pharaoh Tools? (Y/N) N(No) If the user wish to quit the installation process, they can quit simply by using N|

While installing the Pharaoh tool the following steps takes place:

Ensure

  • The pharaoh tool ensures the available modules.
  • While ensuring, It won’t check about the versions.

ptdeploy

  • The module ptdeploy reports itself as installed, in case of existence.
  • It also checks the version for ptdeploy module.
  • If the ptdeploy module is not available in the machine, then automatically ptdeploy will progress to install.

pttest

  • After completion of installing ptdeploy, it will ensure the pttest module.
  • The module pttest reports itself as installed, in case of existence.
  • If the pttest module is not available in the machine, then automatically pttest will progress to install.

Jrush

  • After completion of installing pttest, it will ensure the Jrush module.
  • The module Jrush reports itself as installed, in case of existence.
  • If the Jrush module is not available in the machine, then automatically Jrush will progress to install.

If all the three modules are already existing, then it will show exceptional message as given in the screenshot below,

kevell@corp:/# ptconfigure pharaoh-tools install
Install Pharaoh Tools? (Y/N)
Y
*******************************
*        Pharaoh Tools        *
*         Pharaoh Tools        *
*******************************
[Pharaoh Logging] Ensure module install is not checking versions
[Pharaoh Logging] Module ptdeploy reports itself as Installed
[Pharaoh Logging] Not installing as already installed
[Pharaoh Logging] Ensure module install is not checking versions
[Pharaoh Logging] Module pttest reports itself as Installed
[Pharaoh Logging] Not installing as already installed
[Pharaoh Logging] Ensure module install is not checking versions
[Pharaoh Logging] Module ptconfigure reports itself as Installed
[Pharaoh Logging] Not installing as already installed
[Pharaoh Logging] Ensure module install is not checking versions
[Pharaoh Logging] Module JRush reports itself as Installed
[Pharaoh Logging] Not installing as already installed
... All done!
*******************************
Thanks for installing , visit www.pharaohtools.com for more
******************************


Single App Installer:
--------------------------------------------
PharaohTools: Success
------------------------------
Installer Finished
******************************

Additional Options

While installing ptdeploy, pttest, Jrush the following options are required as input from the user. Let us see about, the additional options that can be specified by the users if they wish, is represented in a tabular format as shown below.

Parameter Path Option Comment
Program data directory (Default) “/opt/pttest (corresponding module)” Yes If the user to proceed installation with the default program data directory they can input as Yes
Program data directory User specific No(End slash) If the user wish to proceed with their own program data directory, they can input as N, and in hand specify they own location.
Program executor directory (Default) “/usr/bin” Yes If the user to proceed installation with the default program executor directory they can input as Yes
Program executor directory User specific No(End slash) If the user wish to proceed with their own program executor directory, they can input as N, and in hand specify they own location.|

While installing it will specify the location of git clone, displays the number of objects , receiving objects, resolving deltas, connectivity.

The following screen shot explains you graphically about the process involved in installation of Pharaoh tool.

kevell@corp:/# ptconfigure pharaoh-tools install
Install Pharaoh Tools? (Y/N)
Y
*******************************
*        Pharaoh Tools        *
*         Pharaoh Tools        *
*******************************
[Pharaoh Logging] Ensure module install is not checking versions
[Pharaoh Logging] Module ptdeploy reports itself as Installed
[Pharaoh Logging] Not installing as already installed
[Pharaoh Logging] Ensure module install is not checking versions
[Pharaoh Logging] Module pttest reports itself as Installed
[Pharaoh Logging] Not installing as already installed
[Pharaoh Logging] Ensure module install is not checking versions
[Pharaoh Logging] Module ptconfigure reports itself as Installed
[Pharaoh Logging] Not installing as already installed
[Pharaoh Logging] Ensure module install is not checking versions
[Pharaoh Logging] Module JRush reports itself as Installed
[Pharaoh Logging] Not installing as already installed
... All done!
*******************************
Thanks for installing , visit www.pharaohtools.com for more
******************************


Single App Installer:
--------------------------------------------
PharaohTools: Success
------------------------------
Installer Finished
******************************

Benefits

  • It facilitates the users to ensure before installation.
  • In case of any particular module is missing, the user can proceed to install that particular module alone.
  • The user can specify their own path or location for program data directory and executor directory.
  • If any particular module already exists in the machine, then the installation tool will throw an exception message as it is already installed.
  • It avoids unwanted overwriting of modules, hence it is time saving.
comments powered by Disqus