Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You search for information about the node/country/region etc. that tou you are interested by entering information into the Search box. E.g. entering gzhu gives:

...

To create a new node tap on Create in the top level window:

 


The Create window appears as:

Column specifications

Name

Null?

Data Type

Use

NODENAME

NOT NULL

VARCHAR2(100)

DNS host name

IPADDRESS

 


VARCHAR2(15)

IPv4 address

SITENAME

 


VARCHAR2(100)

Domain name of the node

NICKNAME

 


VARCHAR2(35)

Abstraction of the hostname with the TLD first and the hostname last1

FULLNAME

 


VARCHAR2(100)

Human-friendly description of the node/site/Institute

LOCATION

 


VARCHAR2(100)

City and/or State/Province/Region for node 2

COUNTRY

 


VARCHAR2(100)

Country for node

CONTINENT

 


VARCHAR2(100)

Continent or region where node is thought to be located 3

LATANDLONG

 


VARCHAR2(25)

Latitude and longitude of node (as signed decimal values separated by a space)

PROJECTTYPE

 


VARCHAR2(10)

Flags describing how nodes are used 4

PINGSERVER

 


VARCHAR2(100)

URL for requesting a ping from this node to another 5

TRACESERVER

 


VARCHAR2(100)

URL for requesting a traceroute from this node to another 5

DATASERVER

 


VARCHAR2(100)

URL for retrieving PingER data from this node 5

URL

 


VARCHAR2(100)

URL for the home page for the institution running the node

GMT

 


VARCHAR2(10)

Node's time offset from GMT, not used

COMMENTS

 


VARCHAR2(4000)

Comments and notes on when and how the node's record was last updated 6

APP_USER

 


VARCHAR2(20)

Windows user name of the last user to edit the node's record through the UI. THis is entered automatically.

CONTACTS

 


VARCHAR2(100)

Name and email address(es) of the node's maintainer(s)

PING_SIZE

 


NUMBER

Size of pings to be sent to the node - only controls SLAC's PingER install. Usually left blank.

Anchor
colnote1
colnote1
1 This field should be of the form: TLD.Rest of site domain.hostname. For non-US hosts not using their country code TLD, use the country code TLD at the start of the identifier and include the actual TLD in the site domain string. Examples:

...

The UI allows for the creation, search, modification, and deletion of nodes.  As a rule, nodes should not be deleted from the database for referential integrity reasons -- even though there is only one table in the database, various processes use this table in concert with the flat files that contain the raw and analyzed PingER results.

How to access the UI for updating is described in Updating NODEDETAILS with SQLPlus.

Updating the list of countries in the UI

Inside the UI, the country and continent (region) are set and restricted to a pop-up list of values. The pop-up list is based on a separate table called COUNTRY. New countries can be added to the list by creating new rows in the COUNTRY table with SQL INSERT statements. See Updating NODEDETAILS with SQLPlus

Example:

Code Block
sql
sql
Arash 5/25/2023 (see Incident INC0407886) recommends: 
cottrell@pinger ~]$ 
[cottrell@pinger ~]$ setenv ORACLE_HOME /afs/slac.stanford.edu/package/oracle/f/19.3.0
[cottrell@pinger ~]$ $ORACLE_HOME/bin/sqlplus iepm@slacprod
SQL*Plus: Release 19.0.0.0.0 - Production on Fri May 26 16:14:30 2023
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle.  All rights reserved.
Enter password:  #See escrow edit -c iepm iepmacct
Last Successful login time: Fri May 26 2023 15:30:55 -07:00
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.17.0.0.0
SQL> insert into country (country_id, country, continent, tld)
   2  values (country_seq.nextval, 'Western Samoa', 'Oceania', 'ws'); #Don't forget semi-colon (); Good idea to edit and save this document
1 row created.
SQL> commit;
Commit complete.
SQL> exit;
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.17.0.0.0
[cottrell@pinger ~]$

On the new host pinger-test use:
[cottrell@pinger-test ~]$ setenv ORACLE_HOME /afs/slac.stanford.edu/package/oracle/f/19.3.0
[cottrell@pinger-test ~]$ $ORACLE_HOME/bin/sqlplus iepm@slacprod
SQL*Plus: Release 19.0.0.0.0 - Production on Fri Jan 21 20:20:38 2022
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle.  All rights reserved.
Enter password:     
SQL> insert into country (country_id, country, continent, tld)
  2  values (country_seq.nextval, 'Bermuda', 'Latin America', 'bm');
1 row created.
SQL> commit;
Commit complete;
SQL> exit;
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning and Real Application Testing options
52cottrell@pinger:~>

Or on the old host pinger use:
[cottrell@pinger ~]$ setenv ORACLE_HOME /usr/oracle
[cottrell@pinger ~]$ sqlplus iepm@slacprod
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jan 21 13:13:48 2022
Copyright (c) 1982, 2007, Oracle.  All rights reserved.
Enter password: 
[cottrell@pinger ~]$ echo $ORACLE_HOME
/usr/oracle
[cottrell@pinger ~]$ setenv ORACLE_HOME /usr/oracle
[cottrell@pinger ~]$ sqlplus iepm@slacprod
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jan 21 13:32:15 2022
Copyright (c) 1982, 2007, Oracle.  All rights reserved.
Enter password: 
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
SQL> insert into country (country_id, country, continent, tld)
  2  values (country_seq.nextval, 'Fiji', 'Oceania', 'fj');
1 row created.
SQL> commit;
Commit complete.
SQL> exit;
Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
[cottrell@pinger ~]$ 
[cottrell@pinger ~]$ date
Fri Jan 21 13:40:21 PST 2022

The COUNTRY table is not used except by the list of values in the UI. Note that if a country name needs to be changed or if a country was placed in the wrong region, it must be updated on all the nodes in the NODEDETAILS table as well as on the COUNTRY table.

...