Repository: airavata-docs Updated Branches: refs/heads/master 5200bb13d -> 707208b39
Common Gateway maintenance scenarios Project: http://git-wip-us.apache.org/repos/asf/airavata-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-docs/commit/707208b3 Tree: http://git-wip-us.apache.org/repos/asf/airavata-docs/tree/707208b3 Diff: http://git-wip-us.apache.org/repos/asf/airavata-docs/diff/707208b3 Branch: refs/heads/master Commit: 707208b39f384dec6de2108f1de326e85fb0d56b Parents: 5200bb1 Author: Eroma Abeysinghe <[email protected]> Authored: Thu May 12 15:10:36 2016 -0400 Committer: Eroma Abeysinghe <[email protected]> Committed: Thu May 12 15:10:36 2016 -0400 ---------------------------------------------------------------------- Admin-Maintenance.md | 64 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 45 insertions(+), 19 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-docs/blob/707208b3/Admin-Maintenance.md ---------------------------------------------------------------------- diff --git a/Admin-Maintenance.md b/Admin-Maintenance.md index ee0b7f1..c3b8a83 100644 --- a/Admin-Maintenance.md +++ b/Admin-Maintenance.md @@ -1,22 +1,48 @@ -## Gateway Admin Maintenance Tasks +## Gateway Maintenance -Gateway Admin's tasks could be mainly two types; +<br><b class="blue">Q1.</b> One of my gateway users wants me to investigate his FAILED experiment. How should I proceed? +<br><b class="blue">Answer:</b> To investigate a specific FAILED experiment or failed experiment within a time frame,<br> +1. Navigate to AdminDashboard ⇒ Experiment Statistics <br> +2. Search the experiment by using the experiment ID or by giving the Creation Time 'To' and 'From' <br> +3. You could also use pre-defined selection criteria ('Get Experiments from Last 24 Hours' OR 'Get Experiments from Last Week') <br> + +<br><b class="blue">Q2.</b> One of the resources used by my gateway is not available for the day. How to stop user job submissions? +<br><b class="blue">Answer:</b> To temporarily stop users submitting jobs to a particular resource...<br> +1. Navigate to AdminDashboard ⇒ Compute Resources (Browse)<br> +2. Un-check the 'Enabled' box for the specific resource. This disables job submissions for the resource<br> +3. To enable job submission simply check the box and back in track!<br> + +<br><b class="blue">Q3.</b> How to upgrade access for a gateway user? +<br><b class="blue">Answer:</b> User access can be upgraded or downgraded by changing the assigned user role.<br> +1. Navigate to Admin Dashboard ⇒ Users (Browse)<br> +2. Search for the specific user and click 'Check All Roles'<br> +3. From this you can remove/add roles.<br> +4. For each modification user will receive an email with 'Your Privileges has Changed!'<br> + +<br><b class="blue">Q4.</b> Gateway users who has role 'gateway-user' cannot access experiment creation. Seems like privileges are not accessible.! +<br><b class="blue">Answer:</b> User roles are given through PGA Admin Dashboard. If the roles are set correctly then check pga_config.php<br> +1. To check the config file use +<pre><code>vi /var/www/html/airavata-php-gateway/app/config/pga_config.php</code></pre> +2. Roles attached to users should exists in the config file against correct role attribute type +<pre><code> + /** + * Admin Role Name + */ + 'admin-role-name' => 'admin', + /** + * Read only Admin Role Name + */ + 'read-only-admin-role-name' => 'admin-read-only', + /** + * Gateway user role + */ + 'user-role-name' => 'airavata-user', +</code></pre> + +<br><b class="blue">Q5.</b> I have ran out of allocation for my current community account used in gateway for a resource. What should I do? +<br><b class="blue">Answer:</b><br> +1. If you have another community account you could update the information in Admin Dashboard ⇒ Gateway Profile under Compute Resource Preferences.<br> +2. Select the resource and modify account information and save.<br> +3. Login to the resource as the new user and update the authorized_keys with the public key assigned to the resource.<br> -- Daily -- Ad-hoc -- Periodical or Planned -### Daily Maintenance -###### Monitor Gateway Traffic -1. Investigate FAILED experiments or experiments which are requested to investigate by the users. -2. How to do this? - - Navigate to AdminDashboard ⇒ Experiment Statistics - - You could search for Experiments by giving the Creation Time 'To' and 'From' - - Or using pre-defined selection criteria ('Get Experiments from Last 24 Hours' OR 'Get Experiments from Last Week') - -###### Disable Enable Compute Resources -1. Compute resources can be unreachable or with issues and not in a state for job submission. -2. In order to disable a resource - - Navigate to AdminDashboard ⇒ Compute Resources ⇒ Browse - - Un-check the 'Enabled' box for the specific resource -3. This will disable job submissions for the resource
