Rolling out changes: Difference between revisions
Ttenbergen (talk | contribs) |
Ttenbergen (talk | contribs) m Text replacement - "CCMDB.mdb" to "CCMDB.accdb" |
||
| Line 1: | Line 1: | ||
Changes to the master version of [[CCMDB. | Changes to the master version of [[CCMDB.accdb]] needs to be tracked in the [[Log|Change Log]] and rolled out to all locations. | ||
== Rolling out a change to the [[CCMDB. | == Rolling out a change to the [[CCMDB.accdb]] == | ||
This includes changes to the [[s-tables]], the graphical interface and the programming/logic. | This includes changes to the [[s-tables]], the graphical interface and the programming/logic. | ||
# Check at the top of [[Log]] to make sure no one else has un-rolled changes; if they are, coordinate with them | # Check at the top of [[Log]] to make sure no one else has un-rolled changes; if they are, coordinate with them | ||
| Line 8: | Line 8: | ||
# Copy the new version to the Master directory | # Copy the new version to the Master directory | ||
## Open [[Regional Server]]\Programs\Master | ## Open [[Regional Server]]\Programs\Master | ||
## Rename the file ''CCMDB. | ## Rename the file ''CCMDB.accdb'' to version it, e.g. to ''CCMDB.accdb.pre_2010-01-03''; this will also prevent opening it accidentally since it removes the file association with Microsoft Access | ||
## Move the renamed file to the ''Versions'' folder | ## Move the renamed file to the ''Versions'' folder | ||
## Copy the new version of CCMDB. | ## Copy the new version of CCMDB.accdb to the Master directory | ||
# Roll out the changes | # Roll out the changes | ||
## run the file '''[[updt_all.bat]]''' | ## run the file '''[[updt_all.bat]]''' | ||
| Line 17: | Line 17: | ||
== Rolling out a change to [[CCMDB_data.mdb]] == | == Rolling out a change to [[CCMDB_data.mdb]] == | ||
'''This process only works if the laptop is attached to the network the first time CCMDB. | '''This process only works if the laptop is attached to the network the first time CCMDB.accdb is started after the new version is downloaded. Data collectors need to be alerted of this. ''' | ||
This includes changes to the data structure that collected data is stored in, i.e. the [[l-tables]]. | This includes changes to the data structure that collected data is stored in, i.e. the [[l-tables]]. | ||
When [[CCMDB. | When [[CCMDB.accdb]] starts the form [[Main Form (CCMDB.accdb)|Main Form]] is opened. It's open event triggers a call to VBA function Database_Starter() in module Global_, which in turn calls function '''DB_Converter''' module DB_Converter, which checks if the current version of the [[CCMDB_data.mdb]] is as stated in that code; if not it copies down a new version and transfers the data. | ||
Of course this '''needs to be changed to accommodate the change in the data necessitated the change in the first place'''. | Of course this '''needs to be changed to accommodate the change in the data necessitated the change in the first place'''. | ||
| Line 30: | Line 30: | ||
# update version in table A_Info | # update version in table A_Info | ||
# close and '''don't copy to server yet''' | # close and '''don't copy to server yet''' | ||
# open [[CCMDB. | # open [[CCMDB.accdb]] and [[Log]] | ||
# change version in version table if not already done | # change version in version table if not already done | ||
# update the version number for ccmdb_data in Module DB_Converter, Sub Convert_DB | # update the version number for ccmdb_data in Module DB_Converter, Sub Convert_DB | ||
# check to make sure your specific change doesn't require other changes to DB_Converter | # check to make sure your specific change doesn't require other changes to DB_Converter | ||
# consider whether the change will have an impact on the send queries or the structure of [[Centralized_data.mdb]] and fix if necessary | # consider whether the change will have an impact on the send queries or the structure of [[Centralized_data.mdb]] and fix if necessary | ||
# Roll both [[CCMDB. | # Roll both [[CCMDB.accdb]] (see above) and [[CCMDB_data.mdb]] concurrently | ||
## copy ccmdb_data.mdb to [[Regional Server]]\data\master | ## copy ccmdb_data.mdb to [[Regional Server]]\data\master | ||
## add date to the end of the name as in existing file | ## add date to the end of the name as in existing file | ||
| Line 64: | Line 64: | ||
If the data structure has changed, consider if changes are consistent with | If the data structure has changed, consider if changes are consistent with | ||
* [[CCMDB_data.mdb]] | * [[CCMDB_data.mdb]] | ||
* the ''Send_centralized_*'' queries in [[CCMDB. | * the ''Send_centralized_*'' queries in [[CCMDB.accdb]] | ||
Compact/Repair the file. | Compact/Repair the file. | ||