Difference between revisions of "RPMS Installation"

From VistApedia
Jump to: navigation, search
Line 36: Line 36:
 
## Map it to your DB
 
## Map it to your DB
 
## Don't copy any mappings
 
## Don't copy any mappings
6. Create the mappings (Namespaces, Global Mappings and Routine Mappings)
+
# Create the mappings (Namespaces, Global Mappings and Routine Mappings)
  - Globals: (%Z*, %z*) to your namespace; (UTILITY, TMP, TEMP) to CACHETEMP
+
## Globals: <tt>(%Z*, %z*) to your namespace; (UTILITY, TMP, TEMP, XTMP) to CACHETEMP</tt>
  - Routines: %DT*, %HOSTCMD, %INET, %RCR, %Serenj*, %XB*, %XU*,
+
## Routines: <tt>%DT*, %HOSTCMD, %INET, %RCR, %Serenj*, %XB*, %XU*, %ZI*, %ZO*, %ZT*, %ZU*, %ZV*, %ZDEBUG</tt>
%ZI*, %ZO*, %ZT*, %ZU*, %ZV*, %ZDEBUG
+
# *Home > Security Management > Users
6.5 *Home > Security Management > Users
+
## Add accounts. Copy from SuperUser. Add Password. Set Namespace. If this is intended for general use, set the routine to be ^ZU, otherwise, leave it blank.
      a. Add accounts. Copy from SuperUser. Add Password. Set Namespace. If
+
# *Home > Security Management > CSP Applications > Edit /csp/sys (this portal). Uncheck unauthenticed and check password to allow only authenticated users to use the system management portal.
this is intended for general use, set the routine to be ^ZU,
+
# *Home > Security Management > Services > Edit %Service_Telnet. Enable it and choose appropriate authentication.
otherwise, leave it blank.
+
# *Home > Security Management > Resources > Edit %Development and enable it (only for systems on which development will be performed).
6.6 *Home > Security Management > CSP Applications > Edit /csp/sys
+
# Shutdown Cache/Ensemble, put your real CACHE.DAT in the folder, and start Cache/Ensemble again.
(This portal). Uncheck unauthenticed and check password to allow only
+
# *For databases migrated from Cache 5.0.x, recompile the routines and update database objects.
authenticated users to use the system management portal.
+
#* Enter Programmer Mode
6.7 *Home > Security Management > Services > Edit %Service_Telnet.
+
#* Go to your namespace
Enable it and choose appropriate authentication.
+
#* Execute the following:
6.8 *Home > Security Management > Resources > Edit %Development and
+
:: <tt>D ^%RCOMPIL</tt>
enable it (only for systems on which development will be performed).
+
:: <tt>Routine(s): %*</tt>
7. Shutdown Cache/Ensemble, put your real CACHE.DAT in the folder, and
+
:: <tt>Routine(s): *</tt>
start Cache/Ensemble again.
+
:: <tt>ZN "%SYS"</tt>
8. *For databases migrated from Cache 5.0.x, recompile the routines
+
:: <tt> D $System.OBJ.UpgradeAll()</tt>
and update database objects.
+
#* Go back to your namespace
  - Enter Programmer Mode
+
:: <tt>D RebuildIndex^%R("","",1)</tt>
  - Go to your namespace
+
# In Programmer mode, D ^ZTMGRSET, choose OpenM for OS, and type your namespace on the three quetions, and rename fileman routines.
  - D ^%RCOMPIL
+
# Correct the Volume Set and Default HFS fields in the Kernel Systems Parameters file
    Routine(s): %*
+
# Correct the Volume in Volume Set file
    Routine(s): *
+
# Taskman Site Parameters need to be XXX:CACHE or XXX:ENSEMBLE or XXX:<INSTANCE NAME>
  - ZN "%SYS"
+
# Check the Mailman Site Params file for the correct entry in the below field: CPU (UCI,VOL) FOR FILER TO RUN: XXX,XXX
  - D $System.OBJ.UpgradeAll()
+
# Before you proceed, fix the volume set field for devices |TRM| and |TNT| or otherwise you won't be able to use fileman features.
  - Go back to your namespace
+
# In Option Scheduling file, correct Volume field for tasks by stuffing the right one
  - D RebuildIndex^%R("","",1)
+
# In Device File, correct Volume Set field also by stuffing
9. In Programmer mode, D ^ZTMGRSET, choose OpenM for OS, and type your
+
# Kill ^%ZTSK and ^%ZTSCH. Reindex the Option Scheduling file (all indeces)
namespace on the three quetions, and rename fileman routines.
 
10. Correct the Volume Set and Default HFS fields in the Kernel Systems
 
  Parameters file
 
11. Correct the Volume in Volume Set file
 
12. Taskman Site Parameters need to be XXX:CACHE or XXX:ENSEMBLE or
 
  XXX:<INSTANCE NAME>
 
13. Check the Mailman Site Params file for the correct entry in the below
 
  field: CPU (UCI,VOL) FOR FILER TO RUN: XXX,XXX
 
--Before you proceed, fix the volume set field for devices |TRM| and |TNT|
 
or otherwise you won't be able to use fileman features.
 
14. In Option Scheduling file, correct Volume field for tasks by stuffing
 
  the right one
 
15. In Device File, correct Volume Set field also by stuffing
 
16. Kill ^%ZTSK and ^%ZTSCH. Reindex the Option Scheduling file (all
 
  indeces)
 
 
17. Fix the RPMS Site file. Set OS to DOS
 
17. Fix the RPMS Site file. Set OS to DOS
 
18. In CIA LISTENER file, correct UCI.
 
18. In CIA LISTENER file, correct UCI.

Revision as of 01:05, 22 June 2009

RPMS Installation Instructions

Written by Sam Habiel. I want to acknowledge Rick Pullen and Nancy Anthracite, who helped me put this together.

For development use; consult a Vista Cache expert for production system set-up. Optional steps marked with *.

  1. Install Cache or Ensemble (lastest versions); answer no to the question that asks weather to put the key in now if you have the key as a file.
  2. In the Mgr directory, copy the key and make sure it's named cache.key
  3. Log into the System Mangement Portal. Right-click on notification icon, choose that option, and if you set a password, log in
  4. Home > Configuration > Advanced Settings
    1. IO
      • Filemode = True
      • Openmode = 1 for Read/Write
    2. Memory
      • GenericHeapSize = 10000. More may be needed for shadowed systems.
      • ZFHEAP = 125000 (minimum). May require more depending on software running and OS platform.
    3. Miscellaneous
      • WebServerPort = 57772 (default) This can be changed and is the port number that the System Management Portal uses.
    4. ObjectScript
      • Set ZEOF = True
    5. Telnet
      • DNSLookup = True (if DNS server is available). Set to False if no DNS server available. Only affects Windows OS.
    6. *Home > Configuration > Memory and Startup
      • Routine Cache: Min 50MB
      • Database Cache (8 KB): Min 1500MB. Leave 2 KB Cache at 0.
  5. Create a blank database
    1. Configuration > Local Databases > Create New Database
    2. Give it a 2-5 letter name, and put in a directory with the same name
    3. Size: 1MB
    4. Jounal: No
    5. Resource: %DB_%Default
  6. Create a namespace
    1. Configuration > Namespaces > Create New Namespace
    2. Give it the same name as your DB created in #4
    3. Map it to your DB
    4. Don't copy any mappings
  7. Create the mappings (Namespaces, Global Mappings and Routine Mappings)
    1. Globals: (%Z*, %z*) to your namespace; (UTILITY, TMP, TEMP, XTMP) to CACHETEMP
    2. Routines: %DT*, %HOSTCMD, %INET, %RCR, %Serenj*, %XB*, %XU*, %ZI*, %ZO*, %ZT*, %ZU*, %ZV*, %ZDEBUG
  8. *Home > Security Management > Users
    1. Add accounts. Copy from SuperUser. Add Password. Set Namespace. If this is intended for general use, set the routine to be ^ZU, otherwise, leave it blank.
  9. *Home > Security Management > CSP Applications > Edit /csp/sys (this portal). Uncheck unauthenticed and check password to allow only authenticated users to use the system management portal.
  10. *Home > Security Management > Services > Edit %Service_Telnet. Enable it and choose appropriate authentication.
  11. *Home > Security Management > Resources > Edit %Development and enable it (only for systems on which development will be performed).
  12. Shutdown Cache/Ensemble, put your real CACHE.DAT in the folder, and start Cache/Ensemble again.
  13. *For databases migrated from Cache 5.0.x, recompile the routines and update database objects.
    • Enter Programmer Mode
    • Go to your namespace
    • Execute the following:
D ^%RCOMPIL
Routine(s): %*
Routine(s): *
ZN "%SYS"
D $System.OBJ.UpgradeAll()
    • Go back to your namespace
D RebuildIndex^%R("","",1)
  1. In Programmer mode, D ^ZTMGRSET, choose OpenM for OS, and type your namespace on the three quetions, and rename fileman routines.
  2. Correct the Volume Set and Default HFS fields in the Kernel Systems Parameters file
  3. Correct the Volume in Volume Set file
  4. Taskman Site Parameters need to be XXX:CACHE or XXX:ENSEMBLE or XXX:<INSTANCE NAME>
  5. Check the Mailman Site Params file for the correct entry in the below field: CPU (UCI,VOL) FOR FILER TO RUN: XXX,XXX
  6. Before you proceed, fix the volume set field for devices |TRM| and |TNT| or otherwise you won't be able to use fileman features.
  7. In Option Scheduling file, correct Volume field for tasks by stuffing the right one
  8. In Device File, correct Volume Set field also by stuffing
  9. Kill ^%ZTSK and ^%ZTSCH. Reindex the Option Scheduling file (all indeces)

17. Fix the RPMS Site file. Set OS to DOS 18. In CIA LISTENER file, correct UCI. 19. In XUP, go to CIANB MAIN MENU, edit the CIA broker package parameters

  and remove old UCI and put new one.

20. Start the listner. 21. In BMXMENU, edit all the ports to have a correct namespace, and then

  start all of them.

22. In the portal, go to system services and enable telnet. 23. Go to XUP, and add yourself as a user. 24. Find your DUZ 25. Give yourself the "@" 26. Assign yourself all the keys in the universe by D ^AKMOSUSR 27. Make a folder where your ehr client will reside. Share that folder with

  read access to all users.

27. Find lastest major version of EHR (currently 1.1) and double click on

  the exe and extract the files to folder you just created.

28. In the resulting dialog, put the UNC path of the shared folder in the

  first box; in the last box, add /trace to enable tracing by

default (for developers). 29. Install EHR 1.1 patch 1 30. Install EHR 1.1 patch 4. It contains the last license (the permanent one). 31. Edit the VueCentric Framework defaults. In XUP, choose CIAV MANAGER

  - Choose site parameter edit
  - Object source path is the UNC to your bin folder
  - You may choose to change the default VueCentric Template now or later

Stuff to do later... There is so much set-up you can work on. Here are some things that are needed: 1. *Add Mailman Domain; Christen; have Kernel point to it. 2. *Add Institution; Set-up Medical Center Division to point to it; have Kernel point to default division. 3. *Setup Backup and Journalling in Cache/Ensemble.