Changing a Laptop identifier: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
TOstryzniuk (talk | contribs)
mNo edit summary
mNo edit summary
 
(35 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The location of a laptop (set in [[L_Settings]]) 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==
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 ===
*Add a folder regional_server\programs\<new name> (rather than re-name, to facilitate backing out if we can’t finish)
* confirm with the [[statistician]] whether there is impact
*Add a folder regional server\data\<new name>
* [[CCMDB.accdb]] which feeds [[CFE]] tables
*Update the information in s_locations, and any other tables
* CFE - '''anything? '''
*Likely some fixes for the .mdbs in the output folder to fix queries etc.
* possibly table '''[[s_tmp table]]'''
*Ensure that there is no code specifically mentioning the current location of the laptop (e.g. the long stay warning)
* [[s_dispo table]]
** find/search through all the modules for the current name  
* find/search through all '''VBA''' modules for the new name, the current name, possible equivalent unit name
** 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 relevant to any of the queries/[[CCMDB.accdb Data Integrity Checks]] ; I can't think of a nice way to automate this.  
** 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.  
** [[:Category:Service/Location check]] might take care of this... if it was used consistently ;-)
*change the location in L_Settings
*get local collector to send, and make sure all arrived, incl. in output DBs


=== Left to split out ===
* test [[sending]] to make sure new location and directory name don't break anything
== Related articles ==
{{Related Articles}}
[[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: