Difference between revisions of "Ticket generator Availability Reliability"

From EGIWiki
Jump to: navigation, search
Line 1: Line 1:
= How to use ticket generator  =
+
= How to use ticket generator for WI03 (Availability / Reliability followup) =
 +
 
 +
{{Template:Op menubar}}
 +
{{Template:GO menubar}} {{TOC_right}}
 +
 
 +
[[Category:Grid Oversight]]
  
 
current version of the script: 3.0  
 
current version of the script: 3.0  

Revision as of 17:12, 7 December 2012

How to use ticket generator for WI03 (Availability / Reliability followup)

Main EGI.eu operations services Support Documentation Tools Activities Performance Technology Catch-all Services Resource Allocation Security


EGI Infrastructure Operations Oversight menu: Home EGI.eu Operations Team Regional Operators (ROD) 


current version of the script: 3.0

features:

  • bulk child ticket creation
  • 'assigned to' set
  • 'affected site' set
  • 'type of problem' set to Operations



  • Configure the script.

In start-explanations.pl/start-suspend.pl file at the beginning of the script you have to fill in following variable:

# PRODUCTION
my $endpoint = "https://gusiwr.fzk.de/arsys/services/ARService?server=gusiwr&webService=Grid_HelpDesk";
my $user = ""; # login to GGUS web-services
my $pass = ""; # password to GGUS web-services

# Submitter data, Those data will be used as submitter's data to create tickets
my $Mail = ""; # your email address
my $DN = "";   # your DN
my $Name = ""; # Name and Surname


  • Prepare input file.

The input plain file format for both scripts is as follow:

ROC/NGI support unit in GGUS; Site name; Availability; Reliability;

Remember that in each line should be one site and the number of semicolons should be always 4. For start-suspend.pl script Availability and Reliability values are omitted but semicolons are necessary.

example:

NGI_PL; CYFRONET_LCG2; 50%; 10%;
NGI_PL; IFJ-PAN; 15%; 3%;
  • Execute the tool

Login to machine with perl installed and execute the script as follow:

perl start-explanations.pl/start-suspend.pl PARENT_TICKET_ID "DATE" FILE_NAME

PARENT_TICKET_ID - number of "Availability/reliability statistics for *" ticket

DATE - date of the report. Format: "month year"

FILE_NAME - file with input availability/reliability data

example:

  perl start-explanations.pl 4121 "May 2010" dane.txt