Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Ticket generator Availability Reliability

From EGIWiki
Revision as of 16:12, 7 December 2012 by Magda (talk | contribs)
Jump to navigation Jump to search

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