User Tools

Site Tools


tutorials:modelbase_checking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:modelbase_checking [2009/11/10 16:52]
shona.weldon
— (current)
Line 1: Line 1:
-====== Model Base Checking ====== 
  
-===== Overview ===== 
-Model Base checking is a process that cleans up any problems that may have occurred due to lost network connections,​ software crashes or other problems. 
- 
-checkMB is a server side process should be run nightly as a cron job. It produces a report called MBchecker.rpt. 
- 
-However, sometime it is necessary to run the checker before the nightly job.  Below are some typical cases and how to run it for these. 
- 
-===== Various applications ===== 
- 
-==== cannot enter this model it is being checked ==== 
-  * Log on as samm to your server 
-  * Make VERY sure everyone is out of samm and check with the command 
-<​code>​ psamm </​code>​ 
-  * Then run:  
-<​code>​ MBchecker -v /​whatif/​samm/<​name_MB>​ </​code>​ 
- 
- 
-==== cannot delete or check because there are users in it ==== 
-  * Log on as samm to your server 
-  * Make VERY sure everyone is out of samm and check with the command 
-<​code>​ psamm </​code>​ 
-  * if there are still some samm servers running kill those processes with SIGHUP: 
-<​code>​ 
-kill -signal SIGHUP <pid> 
-</​code>​ 
- 
-This alone might fix the problem if not do a check like any of the other topics here and/or mark the #users in the framework to 0.  ​ 
- 
- 
-==== out of licenses due to samm crashes and dangling servers ==== 
-  * Log on as samm to your server 
-  * Make VERY sure everyone is out of the Model base because it can become corrupted if this is run while someone is in it. Check with the command 
-<​code>​ psamm </​code>​ 
-  * Then run:  
-<​code>​ checkMB /​whatif/​samm/<​name_MB>​ </​code>​ 
- 
-==== I can't enter the modelbase at '/​whatif/​samm/​Models_MB'​ because it needs to be checked! ​ Please contact your SAMM Administrator'​ ==== 
-  * Log on as samm to your server 
-  * Make VERY sure everyone is out of the Model base because it can become corrupted if this is run while someone is in it. Check with the command 
-<​code>​ psamm </​code>​ 
-  * Then run:  
-<​code>​ checkMB /​whatif/​samm/<​name_MB>​ </​code>​ 
- 
-  * If that fails try:  
-<​code>​ MBchecker -v -dirty /​whatif/​samm/​Models_MB </​code>​ 
-Using the -dirty option, MBchecker only checks model families with numUsers != 0 and may get the Model base functional again but the real 
-problem is not yet fixed. ​ At least other mf's will be useable though. 
tutorials/modelbase_checking.1257871930.txt.gz ยท Last modified: 2009/11/10 16:52 by shona.weldon