
IIS在控制面板->添加或删除程序 ->添加/删除Windows组件 ->Internet信息服务(IIS)添加;
2、cache(Ensemble)安装步骤总共十二步
3.安装完成后 shutdown数据库。
4.拷贝原库Cache.cpf到EnsembleSys根目录下,cpf中主要配置数据库存放路径,根据事情情况可以自己修改cpf文件,或者在
System management Portal->Local Databases->Home->Configuration->Local Databases->Edit
5.拷贝Cache.key到EnsembleSys\Mgr根目录下;
CSP的配置
按照原库路径配置以下内容
1、设置路径: [Home] >[Security Management] >[CSP Applications] >[Create NEW CSP Application]>[Save];
2、Csp Application路径为IE访问路径
3、Resource required to run the application: %Service CSP
4 、Namespace: ————————
5、CachePhysicalPath:“数据库存放路径”
6、Default Superclass:locale.Chinese
CSP Gateway Management的设置
设置路径[Home] >[Configuration] >[CSP Gateway Management]
Server Access(一般安装数据库后自动生成)
Application Access(需要添加一个)
IIS中虚拟目录设置 // 只使用数据库 不考虑
*** 作路径:控制面板->管理工具->Internet 信息服务->(本地计算机->网站->默认网站) 。如果以前添加了站点,那么在完成上一步CSP设置之后,需要删除原来的IIS站点,重新添加。
此处注意权限。
对上面 *** 作步骤说明
1、虚拟目录别名为
2、第四步目录名称必须指向数据存放路径下,
3、第四步执行权限全选; //写CLS CSP 需要配置
补丁 *** 作
注意:在做补丁之前需要把CACHELIB的ReadOnly更改为No,做完补丁后再更改回Yes。
将以下内容拷贝到C:\EnsembleSys\Mgr\FDBMS
Patch\FDBMS_F173_Cache_52_WNT下CACHE.DAT文件
Patch\ qaqcasl523.mro文件
将以下内容拷贝到C:\EnsembleSys\CSP\sys\mgr
Patch\adhoc5412plus\adhoc5412\UtilConfigSQL.csp
%SYS>zn "fdbms"
FDBMS>d ^mdbmsins("","FDBMS")
Converting User Security Definitions.....DONE
CONVERTING USER PASSWORDS...
ALL DONE
FDBMS>d integ^mdbmsins()
FDBMS>d ^%RIMF
Load routines from a %ROMF file.
WARNING: This routine will delete the source code (if any)
for existing object routines that are being replaced.
Device: C:\patch\FDBMS_F173_Cache_52_WNT\qarmacF173.mro
file format: ("UR") =>
M/WNT wrote this file on Nov 03 2006 3:03 PM.
File Comment: patch for compiling routines in FDBMS
( All Select Enter List Quit )
Routine Input Option: all
If a selected routine has the same name as one already on file,
shall it replace the one on file? No =>yes
Building existing routine list ... done.
@ indicates routines which have been saved to disk.
. indicates routines which already exist in this directory.
Loading Routines ...
%qarmac@.
1 routine in 0 minutes, 0 seconds
none of them skipped.
FDBMS>
FDBMS>d ^%RIMF
Load routines from a %ROMF file.
WARNING: This routine will delete the source code (if any)
for existing object routines that are being replaced.
Device: C:\patch\FDBMS_F173_Cache_52_WNT\SYS.SQLSRV.mro
file format: ("UR") =>
M/WNT wrote this file on Nov 03 2006 3:03 PM.
File Comment: patch for compiling routines in FDBMS
( All Select Enter List Quit )
Routine Input Option: all
If a selected routine has the same name as one already on file,
shall it replace the one on file? No =>yes
Building existing routine list ... done.
@ indicates routines which have been saved to disk.
. indicates routines which already exist in this directory.
Loading Routines ...
FDBMS>
再做adhoc5412plus.zip(如文档readme_5412.txt,需要拷贝UtilConfigSQL.csp到C:\EnsembleSys\CSP\sys\mgr下);
FDBMS>zn "%sys"
%SYS>d ^%RI
Input routines from Sequential
Device: C:\patch\adhoc5412plus\adhoc5412\adhoc5412.rsa
Parameters? "RS" =>
File written by Cache for Windows using %RO on 17 May 2007 9:32 PM
with extensions INC,INT and with description:
( All Select Enter List Quit )
Routine Input Option: all
If a selected routine has the same name as one already on file,
shall it replace the one on file? No =>yes
Generate backups? No =>No
Recompile? Yes =>yes
Display Syntax Errors? Yes =>yes
^ indicates routines which will replace those now on file.
@ indicates routines which have been [re]compiled.
- indicates routines which have not been filed.
%msql.INC^ syConfig.INC^ STUCNFG1.INT@
3 routines processed.
%SYS>s path="C:\patch\adhoc5412plus\adhoc5412\SQL.xml"
%SYS>do $SYSTEM.OBJ.Load(path,"cbrps")
Load started on 04/12/2008 10:56:40
Loading file C:\patch\adhoc5412plus\adhoc5412\SQL.xml as xml
Imported class: %SYSTEM.SQL
Compiling class %SYSTEM.SQL
Compiling routine %SYSTEM.SQL.1
ERROR: Compiling class includes
Processing %systemInclude.INC into a precompiled header
Load finished successfully.
%SYS>s path="C:\patch\adhoc5412plus\adhoc5412\adhoc5412.xml"
%SYS>do $SYSTEM.OBJ.Load(path,"brpsu")
Load started on 04/12/2008 10:57:57
Loading file C:\patch\adhoc5412plus\adhoc5412\adhoc5412.xml as xml
Imported object code: %SYS.PATCH
Imported global: ^CacheTempPatch
Load finished successfully.
%SYS>do ^%MGDIR
You're in namespace %SYS
Default directory is c:\ensemblesys\mgr\
%SYS>do ^%SYS.PATCH
Apply Patch Utility
Adhoc: 5412
Description: PVA089,DPV2673
Created at: 2007-05-18 00:51:28
Created on $zv: Cache for Windows (Intel) 5.2.3 (Build 710)
Apply (Y/N) y
Applying Patch...
.......
Successfully Applied!
Please test the patch. If it fails, you can remove the
patch by executing the following command:
Do Restore^%SYS.PATCH()
%SYS>d $System.CSP.LoadPage("/csp/sys/mgr/UtilConfigSQL.csp","fc")
Compiling file /csp/sys/mgr/UtilConfigSQL.csp
Compiling class %cspapp.mgr.utilconfigsql
Compiling routine %cspapp.mgr.utilconfigsql.1
%SYS>d $System.OBJ.Load("C:\patch\Collection.ListOfDT.xml","fc")
Load started on 04/12/2008 12:17:50
Loading file C:\patch\Collection.ListOfDT.xml as xml
Imported class: %Collection.ListOfDT
Compiling class %Collection.ListOfDT
Compiling routine %Collection.ListOfDT.1
Load finished successfully.
%SYS>d ^%RIMF
Load routines from a %ROMF file.
WARNING: This routine will delete the source code (if any)
for existing object routines that are being replaced.
Device: C:\EnsembleSys\Mgr\FDBMS\qaqcasl523.mro
file format: ("UR") =>
M/WNT wrote this file on May 18 2007 3:48 PM.
File Comment: backport of AK626, fix INTO :Array() problem
( All Select Enter List Quit )
Routine Input Option: all
If a selected routine has the same name as one already on file,
shall it replace the one on file? No =>yes
Building existing routine list ... done.
@ indicates routines which have been saved to disk.
. indicates routines which already exist in this directory.
Loading Routines ...
%qaqcasl@.
1 routine in 0 minutes, 0 seconds
none of them skipped.
%SYS>
%SYS>zn "DHC-APP"
DHC-APP>d $system.SQL.Purge(0)
更改SQL Setting
[Home] > [Configuration] >[SQL Settings]
将DISTINCT optimization turned on 的值置为 Yes ,保存,然后再置成No保存.
全部做完后把CACHELIB的ReadOnly更改为Yes
以我三甲医院运行CACHE6年的经历来说,CACHE确实不太适合中国大规模三甲医院使用。数据复杂度高,标准多,更改勤,这是美国医院相对少见的。 医院已经使用CACHE6年多,天天看着这个东西,我相信比那些写q文的人更有发言权。 1. 性能问题:现在不到4000万条记录,1.5T的信息量,CACHE都会速度超慢。查询3个月以上的数据就会死掉。别相信那些CAHCE市场材料宣传的东西。医院系统的复杂性不在绝对记录数量,而在高度的复杂度。 2. 一旦上线,分库困难。数据库越来越膨胀,速度越来越慢,最后小型机用了四年后都不够用了,还得升级小型机。我们医院当年购买ibm小型机可是很快的,可是都赶不上膨胀的速度 3. 死数据。由于OO架构限制,如果对象做了修改,而且又已经有了实例数据,那么这个对象不能进行删除(我是指业务上),时间长了之后,导致垃圾逐渐增多,不少已经定义的实例,导致速度慢,错误多。如果曾经做过OO编程的人,考虑一下定义n多对象并且有两大数据之后,突然要你修改某层对象架构(很多时候还是翻天覆地的变化)的时候,那种感觉和心情。 4. 锁定:Cache的数据库锁机制及其弱智,懒得说。好在医院的数据多是增加,很少有删除的情况,要不早出现很多乱子了。问了几家大型his公司总工级别的人物,对于锁都答非所问。让人心寒。 5. 基于OO的数据库并不成熟。在我多年使用中,感觉不如 RDB + XML的混合方式解决方便。OO非常适合抽象,但是如果这个对象经常都在改,那简直就是生不如死了。有人会说,对象会经常改吗?——那到医院来看看吧。随着医疗信息化的深入,需要改的地方只会增多,不会减少。我们从基于cache信息化厂商那里得到的“不能”已经越来越多了。 6. 资料匮乏:使用的人少,资料奇缺,人材很少。自带的CSP界面极差,功能很弱。编程语言晦涩难看,一点都不优雅(这点是个人意见),上网能找到的文章都是q文,我从来没有在中文网上找到什么非常深入的cache数据库分析文章;公司实力有限(相对于ms,oracle),一个CSP溢出漏洞都要改半天。没有大量的人使用,金子也会变成垃圾。 7. 不知道那些q文里边写的安全性很高是什么意思?我看了半天DOD TCSEC的档案,抱歉,没有发现CACHE的影子 8. 数据迁移问题。现在很多系统,基于RDBMS的,例如oracle、ms sql server 都很容易切换,但是如果转入cache,就像上了贼船,上去容易,下来难了。想后悔都没有机会。不是说绝对不能转换出来,而是很多困难。你没有失败的backup. 9.互联问题。现在健康档案互联,区域医疗信息化等,都是时代发展需要。懂行的人自己考虑一下其中难度,不懂行的人说了也是白说。一般用整站后台自带备份就等于下载整站数据库的数据特殊情况下,后台都不能进,但是还需要备份数据库的话,可以直接进mysql/data/数据库文件夹里下载你的数据文件一般都以.frm
.MYD
.MYI为扩展名
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)