ifpBreakAllLocks User's Guide

January 4, 2012

The ifpBreakAllLocks program is part of the GFESuite software. It can be used to break all the locks on all the Weather Elements in the identified GFE. WARNING: This operation may result in the loss of data so the program should be used with caution.

Running the program

Command Line Switches

The command line syntax is:

ifpBreakAllLocks -h hostname -p rpcPortNumber -s siteID [-a] [-d databaseID]

Command Switch Optional or Mandatory? Description
-h Mandatory (see Note) Host name upon which EDEX is running
-p Mandatory (see Note) RPC port upon which EDEX is running
-s Mandatory Site id for which GFE is running
-a
Optional
Specifies that all databases will have their locks removed. Either the -a or -d switch is required.
-d databaseID
Optional
Specifies the database that will have the locks removed. There may be more than one -d switch present. Either the -a or -d switch is required.
Note: The -h and -p switches are predefined when running in an installed GFESuite environment. They are defined to the values specified when installing the software. If you wish to connect to a different EDEX, then the switches will need to be specified.


Sample Output


17:01:04 ifpBreakAllLocks.py INFO: Break All Locks starting
17:01:12 ifpBreakAllLocks.py INFO: No locks found
17:01:12 ifpBreakAllLocks.py INFO: Break All Locks Finished



Return to TOC