Actions

Host-control: Difference between revisions

(add SELinux warning)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== Host control  ===
=== Host control  ===


Starting with Toolpack 2.5 it will be possible to take certain actions on hosts (servers on which Toolpack is installed). The host control panel can be found in the host status page and it's goal is to provide a common way to do Toolpack specific tasks like:  
Starting with Toolpack 2.5 a series of task are available to run from the host control panel (servers on which Toolpack is installed). The host control panel is accessed from the host status page. Its goal is to provide a common way to run Toolpack specific tasks, such as:  


:Upload a license  
*Upload a license  
:Upload a Toolpack package  
*Upload a Toolpack package  
:Upgrade the host's packages (tblinux only)  
*Upgrade the host's packages (tblinux only)  
:Shutdown a host  
*Shutdown a host  
:Check control action status
*Check control action status


==== Upload a license  ====
==== Upload a license  ====


While it will still be possible to manually copy the license in the appropriate folder on the host, this action will take care of that task. It will let you choose the license file to upload and then take the steps so that license is installed. Once this action is completed successfully, the OAM application will load the license and take care of installing it on the appropirate TMedia unit (which will require a reboot of that unit).  
Although it is still possible to manually copy the license to the appropriate folder on the host, this Upload action will take care of that task. It enables  you to choose the license file to upload, and then install the license. Once this action is completed successfully, the OAM application loads the license and installs it on the appropriate TMedia unit. This will require a reboot of that unit.  
 
*[[Add/Change_Licenses|Add and change licenses]]


==== Upload a Toolpack package  ====
==== Upload a Toolpack package  ====


This will take care or uploading and installing the Toolpack installer on the specified host. You must still create a package and activate it so that the upgrade is applied at a suitable time. The only limitation is that this can only be used for minor upgrades since the setup parameters will be lost for major upgrades.
This task uploads and installs the Toolpack installer on the specified host. You must still create a package and activate it so that the upgrade is applied at a suitable time. The only limitation is that this can only be used for minor upgrades, because the setup parameters will be lost for major upgrades.  


''Warning [[SELinux]] '''must''' be disabled (permissive or enforce SELinux will hinder package installation), click [[SELinux_management |here]] to disable SELinux.''
''Warning [[SELinux]] '''must''' be disabled (permissive or enforce SELinux will hinder package installation). Click [[SELinux management|here]] to disable SELinux.''  


==== Upgrade the host's packages  ====
==== Upgrade the host's packages  ====


This will update all packages of the tblinux distribution to the latest stable version (assuming that the TMG has access to the web). This could take a while if the tblinux is not updated frequently and is recommended so that you always have the latest fixes.  
This task updates all packages of the tblinux distribution to the latest stable version (assuming that the TMG has access to the web). This upgrade is recommended so that you always have the latest fixes. (This may take a while if the tblinux was not recently updated.)


==== Shutdown a host  ====
==== Shutdown a host  ====


This will either reboot or shutdown a host depending on user input. This is especially important for the TMG since it is important to shut it down properly to avoid corruption on the flash based drive.  
This task will either reboot or shutdown a host depending on user input. This is especially important for the TMG, becauase it is important to shut it down properly to avoid corruption on the flash-based drive.


==== Check control action status  ====
==== Check control action status  ====


The status of each of the above action can be viewed with two field in the host control panel. The current action log is the log of the action that us currently executing, this means only one action per host will be allowed at one time (but you can queue them if that could be useful). The last action log is the log of the last action that was completed (either successfully or with an error). The status can be refreshed buy pressing the 'now' button on top of the page.
The status of each of the above actions can be viewed with two fields in the host control panel.  
*The ''current action'' log is the log of the action that is currently executing. This means only one action per host will be allowed at one time, however, you can queue them.  
*The ''last action'' log is the log of the last action that was completed (either successfully or with an error). The status can be refreshed buy pressing the 'now' button at the top of the page.  
 
See this link for error codes description:
 
http://tldp.org/LDP/abs/html/exitcodes.html

Latest revision as of 15:37, 13 November 2023

Host control

Starting with Toolpack 2.5 a series of task are available to run from the host control panel (servers on which Toolpack is installed). The host control panel is accessed from the host status page. Its goal is to provide a common way to run Toolpack specific tasks, such as:

  • Upload a license
  • Upload a Toolpack package
  • Upgrade the host's packages (tblinux only)
  • Shutdown a host
  • Check control action status

Upload a license

Although it is still possible to manually copy the license to the appropriate folder on the host, this Upload action will take care of that task. It enables you to choose the license file to upload, and then install the license. Once this action is completed successfully, the OAM application loads the license and installs it on the appropriate TMedia unit. This will require a reboot of that unit.

Upload a Toolpack package

This task uploads and installs the Toolpack installer on the specified host. You must still create a package and activate it so that the upgrade is applied at a suitable time. The only limitation is that this can only be used for minor upgrades, because the setup parameters will be lost for major upgrades.

Warning SELinux must be disabled (permissive or enforce SELinux will hinder package installation). Click here to disable SELinux.

Upgrade the host's packages

This task updates all packages of the tblinux distribution to the latest stable version (assuming that the TMG has access to the web). This upgrade is recommended so that you always have the latest fixes. (This may take a while if the tblinux was not recently updated.)

Shutdown a host

This task will either reboot or shutdown a host depending on user input. This is especially important for the TMG, becauase it is important to shut it down properly to avoid corruption on the flash-based drive.

Check control action status

The status of each of the above actions can be viewed with two fields in the host control panel.

  • The current action log is the log of the action that is currently executing. This means only one action per host will be allowed at one time, however, you can queue them.
  • The last action log is the log of the last action that was completed (either successfully or with an error). The status can be refreshed buy pressing the 'now' button at the top of the page.

See this link for error codes description:

http://tldp.org/LDP/abs/html/exitcodes.html