Changing a Laptop identifier: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
TOstryzniuk (talk | contribs)
mNo edit summary
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The location of a laptop (set in [[Settings.mdb]]) has a bearing on various cross checks, output locations etc. Therefore, to change it all the related things need to be accounted for.  
The [[Laptop identifier]] has a bearing on various cross checks, output locations etc. Therefore, to change it all the related things need to be accounted for.  


==Check List==
==Check List==
{{discussion}} As of today this is only brainstorming, this list has not been tested. Trish, can you think of anything else? [[User:Ttenbergen|Ttenbergen]] 19:22, 9 December 2009 (CST)
=== [[Laptop identifier]] related ===
* local laptop settings
** set [[A_Info table]]/[[Settings (CCMBD.mdb)]] to new location
* '''directory structures'''
** add a folder {{Regionalserver|data\''<[[Laptop identifier]] of this laptop>''}} (rather than re-name, to facilitate backing out if we can’t finish)
** add a folder {{Regionalserver|data\''<new [[Laptop identifier]]>''}}
** add [[Data to local.bat]] from any of the other data subdirectories, they are all the same
* '''batch files'''
** set [[News and backup]]/[[Batstart.bat]] to new location
** test n&b to make sure new location and directory name don't break anything
** update [[locs.bat]] (used by [[Updt all.bat]])
* [[workstations.mdb]]


We’ll need to
=== [[Service/Location]] related ===
* confirm with the [[statistician]] whether there is impact
* confirm with the [[statistician]] whether there is impact
*Add a folder regional_server\programs\<new name> (rather than re-name, to facilitate backing out if we can’t finish)
* [[CCMDB.accdb]] which feeds [[CFE]] tables
*Add a folder regional server\data\<new name>
* CFE - '''anything? '''
*Add a folder regional server\output\<hosp>\<new name>
* possibly table '''[[s_tmp table]]'''
*Update the information in [[S Locations]]  
* [[s_dispo table]]
*Consider if any tmp studies will be affected
* find/search through all '''VBA''' modules for the new name, the current name, possible equivalent unit name
*Ensure that there is no code specifically mentioning the current location of the laptop (e.g. the long stay warning)
* make sure that the location name is not relevant to any of the queries/[[CCMDB.accdb Data Integrity Checks]] ; I can't think of a nice way to automate this.  
** find/search through all VBA modules for the current name  
** [[:Category:Service/Location check]] might take care of this... if it was used consistently ;-)
** address all finds; note: just changing the find to the new name may lead to undesired results, make sure the change is the right thing to do.
 
** make sure that the location name is not mentioned in any of the queries; I can't think of a nice way to automate this.  
=== Left to split out ===
**Find out if any queries explicitly use the old location, decide whether to replace with new one; I can't think of an easy way to do this, likely have to do it the hard way
* test [[sending]] to make sure new location and directory name don't break anything
*change the location in [[Settings.mdb]]
 
*get local collector to send, and make sure all arrived, incl. in output DBs
== Related articles ==
{{Related Articles}}


[[Category: laptop]]
[[Category: laptop]]
[[Category: IT Instructions]]
[[Category: IT Instructions]]
[[Category: Site and Location]]

Latest revision as of 10:48, 2023 November 3

The Laptop identifier has a bearing on various cross checks, output locations etc. Therefore, to change it all the related things need to be accounted for.

Check List

Laptop identifier related

Service/Location related

Left to split out

  • test sending to make sure new location and directory name don't break anything

Related articles

Related articles: