• Antelope Release 5.5 Mac OS X 10.8.5 2015-04-21

 

NAME

convert_deployment - convert original deployment table to new schema

SYNOPSIS

convert_deployment [-inv] database

SUPPORT


Contributed code: NO BRTT support.
THIS PIECE OF SOFTWARE WAS CONTRIBUTED BY THE ANTELOPE USER COMMUNITY. BRTT DISCLAIMS ALL OWNERSHIP, LIABILITY, AND SUPPORT FOR THIS PIECE OF SOFTWARE.

FOR HELP WITH THIS PIECE OF SOFTWARE, PLEASE CONTACT THE CONTRIBUTING AUTHOR.

DESCRIPTION

After January 2009, I changed the schema extension definition of the deployment table, to better support additional applications and to attempt to comply with the DMC's definition of a VNET (Virutal NETwork). Because schema extensions do not support versioning, the schema extension/table name was kept the same and the convert_deployment script was written to help anyone else who may have chosen to use this schema extension convert the old format table to the new.

The program convert_deployment reads the old format deployment table, and creates a deployment table with the net field replaced with the extended vnet field. The original deployment table is saved with a suffix of "-". The new format deployment table replaces database.deployment.

convert_deployment converts a single deployment table at a time and does not have to be run in the particular directory where database.deployment resides.

OPTIONS

EXAMPLE



% convert_deployment -i db/usarray
: convert db/usarray.deployment ? n

% convert_deployment -v usarray 
converting usarray.deployment

SEE ALSO

deployment(5)
deployment2vnd(1)
mk_dbops(1)

BUGS AND CAVEATS

The following error message can be ignored:
2009-048 22:50:04 perl *complain*: Table 'db.deployment' has invalid length 4758.
2009-048 22:50:04 perl *complain*: If more than one process is writing to this database,
  **please** turn on locking in the descriptor file.
Not thoroughly tested. Odd things may happen if the descriptor file basename differs from the basename of the deployment table that is found by following the dbpath.

AUTHOR

Jennifer Eakins
Antelope User Group Contributed Software
Printer icon