CM 2011 1 Sr2 Installation Guide
CM 2011 1 Sr2 Installation Guide
CM 2011 1 Sr2 Installation Guide
1 SR2
Installation and Configuration Guide
ii
Contents
Contents
About this Guide .............................................................................. 5
Document audience...................................................................................... 5 Document conventions ................................................................................. 5
iii
Contents Load models into Corporate Exchange ....................................................... 21 What next? ................................................................................................. 21
Appendix A ........................................................................................... 32 Configuring the Oracle client ....................................................... 32 Appendix B ........................................................................................... 33 Load models into Corporate Exchange ...................................... 33 Appendix C ........................................................................................... 34 Using SQL Server Authentication ................................................ 34
Enabling SQL Server Authentication ........................................................... 34 Using SQL Server Authentication with Corporate Modeler Suite.................. 34
iv
Document audience
The Installation Guide is intended to be read by end users, system administrators and database administrators who are concerned with setting up a Corporate Modeler Suite installation and related Corporate Exchange configuration.
Document conventions
Within this document variable names are presented in square brackets. For example, [Username1] represents the name entered by the user to represent the username they will use. It is recommended that a list of these values is kept to ensure no mistakes are made during installation. Note: Sometimes these values may need to be shared with other users, for example, when setting up a connection between a Corporate Modeler client and a Corporate Exchange database.
Installation overview
Stand-alone installations
If you want to use Corporate Modeler Suite completely independently of any network, shared database or Terminal Server, then you need a stand-alone setup. This means that the software is installed on your local computer or laptop and you will be able to use all its features and store your model data all on the one computer. Note: If you choose to work locally in this way, you will always have the option of connecting to a shared network Corporate Exchange database whenever you want. To install Corporate Modeler Suite so that you can work in stand-alone mode, read the instructions in Chapter 3- Client installation, and ensure that during installation you choose to work in network and local (stand-alone) modes.
Installation overview
Figure 1. Client/server setup with Corporate Exchange The Corporate Exchange database can be either Microsoft SQL Server 2005 or 2008, or Oracle 9i, 10g or 11. Note: If any of the Corporate Exchange users additionally want the ability to work offline, the client can be installed with a stand-alone database option. The standalone option must be chosen at the time of installation as it cannot be added subsequently the only way to add the stand-alone database after installation is to uninstall the software and install it again. For information on installing the Corporate Modeler Suite client software, see Chapter 3 - Client installation and for information on configuring Corporate Exchange, see either Chapter 4 - Corporate Exchange SQL Server or Chapter 5 - Corporate Exchange Oracle.
Installation overview
Figure 2. Terminal Server system configuration For further information on installing Corporate Modeler Suite for use with a Terminal Server, please see Chapter 6 - Terminal Server.
Upgrading
Chapter 2 Upgrading
If you want to upgrade from an earlier version of Corporate Modeler Suite, then you should read this chapter carefully before installing any software. If you are in any doubt about how to proceed with upgrading your copy of Corporate Modeler Suite, please contact the Casewise Service Desk. See Chapter 7- Help and Support for contact details. In a multi-user environment where more than one client machine accesses a Corporate Exchange repository you must upgrade all your clients.
Upgrade paths
You can upgrade directly to Corporate Modeler Suite 2011.1 SR2 from versions 10.3 SR4, 10.3E, 2008.1, 2009.1, 2009.2, 2009.2 SR1, 2011.1 and 2011.1 SR1. If your Corporate Modeler version is earlier than 10.3 SR4 then you must firstly upgrade to 10.3 SR4, and then upgrade to 2011.1 SR2. For information about upgrading to CM10.3 SR4 please refer to the installation guide for that version, which is available on the Casewise website. It is extremely important that you follow the upgrade instructions exactly. If upgrading from 10.3 SR4 pay particular attention to running CM10Migrator, as specified in the section below entitled Multi-user environments.
Upgrading We therefore recommend that before you upgrade, you use your existing copy of Corporate Modeler Suite to request new versions of all the licenses you require. You can use your existing License and Authorization IDs to do this. When you request your new license, please make sure that you specify in the comments or in the Email that the licenses are for the new 2011.1 SR2 version of Corporate Modeler Suite. Only once you have received your new licenses from Casewise should you proceed with upgrading your software.
Upgrading from Corporate Modeler Suite 10.3 SR4, 10.3E, 2008.1, 2009.1, 2009.2, 2009.2 SR1, 2011.1 and 2011.1 SR1
Stand-alone users
Step 1 Back up your data
If you use a stand-alone database, we recommend that you backup your data as a precaution. See Backing up your data stand-alone version only below.
Step 2 Pre-upgrade procedure (Corporate Modeler Suite 10.3 SR4 users only)
If you are upgrading from Corporate Modeler Suite 10.3 SR4, then you must complete a specific procedure before you go any further. This procedure ensures that the data in your repository is compatible with the new version. See Multi-user environments below for full details and instructions. You must not go any further until you have completed this step.
Multi-user environments
Step 1 Prevent users from accessing the repository
Upgrading in a multi-user environment requires a change to the database schema which means anyone accessing the repository using any Casewise application will experience problems. It is therefore necessary to stop all users accessing the repository while the upgrade takes place.
10
Upgrading
Step 3 Pre-upgrade procedure (Corporate Modeler Suite 10.3 SR4 users only)
If you are upgrading from Corporate Modeler Suite 10.3 SR4, then you must complete a specific procedure before you go any further. This procedure ensures that the data in your repository is compatible with the new version. See Corporate Modeler Suite 10.3 SR4 pre-upgrade procedure below for full details and instructions. You must not go any further until you have completed this step.
11
Upgrading Run CM10Migrator to ensure all your data is compatible with Corporate Modeler 2009.2 To do this: i. Navigate to your Casewise Bin directory, usually C:\Program Files\Casewise\CM10\BIN Run CM10Migrator.exe Follow the wizard prompts. CM10Migrator produces a log file called Migration.txt in the folder: My Documents\Casewise Although it is advised that you take a manual backup of your stand-alone database before upgrading from either CM10.3 SR4 or CM10.3E, CM10Migrator creates a backup copy of the database anyway. The backup file is called CMDB.bkp and is stored in the folder: C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup. It can be up to 2Gb in size, and can also be restored using the procedure detailed below. Should you not wish to keep the automatic backup file, you can delete it.
ii.
12
Upgrading
13
Client installation
System requirements
Please refer to the system requirements documents available on the Casewise website for further details.
Get the Corporate Modeler Suite DVD or download the setup file
Get your Casewise DVD ready, or download the latest version of the software from the Casewise website. If you are using the download file, please note there are different versions of the software for 32-bit and 64-bit versions of Windows, so please ensure you download the correct version. 32-bit version: CMSetup****-*-***-x86.exe 64-bit version: CMSetup****-*-***-x64.exe
14
Client installation
15
The Configure Database dialog opens. Notes: If For this user is selected, the connection is only available for the specific Windows user who created it. If For this computer is selected, the connection is available to anyone who uses the computer. To access the option For this computer on Windows Vista, you must launch any program in the Corporate Modeler Suite by rightclicking on its shortcut and selecting the option Run as administrator. If you do not select the option Run as administrator then only the option For this user is available. 4. Complete all fields in the Configure Database dialog as appropriate:
16
Client installation server resides (this is not required if you are using an Oracle service name resolution). 5. Click OK. The database connection is checked and created. Note: Even if the test connection made at this point is unsuccessful, the details will still be saved and you will still be able to select it in the logon dialog.
What next?
Now you have installed Corporate Modeler Suite, and connected to the Corporate Exchange database if you are using one, you can proceed to use the software as required. To run the software, click the icon on your desktop, or go to: Start > All Programs > Casewise Corporate Modeler Suite > Start Here. When you start one of the Corporate Modeler Suite programs, you are prompted to select a database and log on to it.
17
System requirements
Please refer to the system requirements documents available on the Casewise website for further details.
The actual scripts, and the ones on the DVD are: CreateCasewiseRWRole.sql
18
19
3. For each file, select the database you just created in the SQL Editor toolbar 4. Run each file by clicking the Execute button:
iii. If the name resolves, click OK. The Select User or Group dialog closes. 5. In the Login New dialog, click OK. 6. In the left-hand pane, expand your new database node. 7. Expand Security.
20
Corporate Exchange SQL Server 8. Right-click Users and select New User. The Database User New dialog is displayed. 9. For the User name, enter the name of the new user: [db_username]. 10. Click the Browse () button next to the Login name field. The Select Login dialog opens. 11. Click Browse. The Browse for Objects dialog opens. 12. Select the User or User Group to give access to the database to (the one just granted when creating the login). 13. Click OK. 14. Click OK. 15. On the Database User New dialog, select CasewiseRW in the Owned Schemas and Role Members sections. 16. Click OK. Your user is created.
What next?
Now you have configured Corporate Exchange SQL Server and loaded the model data, the server is ready to be used. Before users install their client software and log on to the Corporate Exchange server, it is advised that one nominated key user, a Corporate Modeler Administrator, should log on to and create the User accounts for the other users. The Corporate Modeler Administrator can set permissions and access rights on the models and it is therefore recommended they change the default logon details for the Administration account.
21
System requirements
Please refer to the system requirements documents available on the Casewise website for further details.
The actual scripts, and the ones on the DVD are: CreateOracle10Schema.sql or CreateOracle9Schema.sql CreateOracleCopyModelProcedure.sql
22
Configuring Oracle
The instructions for configuring an Oracle database to work as a Corporate Exchange model store are broken down into tasks. The table below shows which user must be logged on to perform each task. These instructions are for both Oracle 9i and 10g. Any differences are highlighted. Note: Corporate Modeler requires its own dedicated Oracle instance. Note on running SQL scripts: You must use SQL Plus to run all SQL scripts to avoid lines being truncated by SQL Plus Worksheet. 1. User: DBA Create Oracle instance Global Database Name: [name] Character Set: AL32UTF8 National Character Set: AL16UTF16 We advise you turn off all Standard Database Features and set Database Connection Options to Dedicated Server Mode 2. User: DBA
23
Corporate Exchange Oracle Create users User 1 Name: CWSCHEMAOWNER Password: [dba_password] Rights: create any synonym create procedure create session create table create tablespace resource User 2 Name: CASEWISE Password: [cw_password] Rights: create session 3. User: DBA Create CASEWISE tablespace Name: CASEWISE File size: 500 MB Extent Management: Locally Managed Automatic Allocation Segment space management: Automatically extend (AUTOEXTEND) 4. User: DBA Create CASEWISEIDX tablespace Name: CASEWISEIDX File size: 500 MB Extent Management: Locally Managed Automatic Allocation Segment space management: Automatically extend (AUTOEXTEND) 5. User: DBA
24
Corporate Exchange Oracle Create CASEWISELOBJ tablespace Name: CASEWISELOBJ File size: 500 MB Storage: Uniform Allocation 5 MB Segment space management: Automatically extend (AUTOEXTEND) 6. User: DBA Create CASEWISELOBJIDX tablespace Name: CASEWISELOBJIDX File size: 500MB Storage: Uniform Allocation 5 MB Segment space management: Automatically extend (AUTOEXTEND) 7. User: CWSCHEMAOWNER Run SQL scripts Run: CreateOracle9Schema.sql or CreateOracle10Schema.sq CreateOracleCopyModelProcedure.sql CreateOracleDeleteModelProcedure.sql GetNextId.sql CreatePrivateSynonymsForCasewiseTables.sql GrantAccessToSchemaForCasewise.sql 8. User: DBA Clean up Run: CleanDb.sql 9. User: DBA
25
Corporate Exchange Oracle Tune Oracle settings The settings below are for 10 concurrent users. Enter and execute the following: For Oracle 9 alter system set sga_max_size=6400m scope=spfile; This assumes 80% of a 8 GB memory alter system set sort_area_size=507904 scope=spfile; alter system set db_cache_size=350m scope=spfile; alter system set pga_aggregate_target=80m scope=spfile; alter system set optimizer_mode=choose scope=spfile; For Oracle 10 alter system set sga_target=800m scope=spfile; alter system set sort_area_size=507904 scope=spfile; alter system set pga_aggregate_target=80m scope=spfile; Once completed, restart Oracle. 10. User: Corporate Modeler user Load model data See Appendix B - Load models into Corporate Exchange this task to be performed by a Corporate Modeler client user on a client machine.
11.
User: CWSCHEMAOWNER Complete configuration Run the following SQL script: execute dbms_stats.gather_schema_stats(ownname=> CWSCHEMAOWNER ,cascade=> TRUE);
What next?
Now you have configured Corporate Exchange Oracle and loaded the model data, the server is ready to be used. Before users install their client software and log on to the Corporate Exchange server, it is advised that one nominated key user, a Corporate Modeler Administrator, should log on to and create the User accounts for the other users. The Corporate Modeler Administrator can set permissions and access rights on the models and it is therefore recommended they change the default logon details for the Administration account.
26
27
Terminal Server
System requirements
Please refer to the system requirements documents available on the Casewise website for further details.
28
Terminal Server Once you have installed Corporate Modeler Suite, you can treat it as any other client installation. See the What next? section in Chapter 3 - Client installation for more information about what to do now. Note: if you use Terminal Server or Citrix in combination with an Oracle repository, see Oracle with Terminal Server or Citrix
29
For general and business queries, contact your Casewise account manager on: +44 (0)1923 830 300
30
31
32
4. When the wizard completes, click Finish. The models are now loaded into your Corporate Exchange database and are ready to be used.
33
34
Appendix C - Using SQL Server Authentication 1. In the left-hand pane of SQL Server Management Studio, expand the SQL Server instance. 2. Expand Security. 3. Right-click Logins and select New Login. The Login New dialog is displayed. 4. In the Login name field, enter a login name: [login_name]. 5. Select SQL Server Authentication. 6. Enter a Password for the new login: [password] 7. Confirm the password. 8. Deselect the Enforce password expiration. 9. Click OK. The Login New dialog closes. 10. In the left-hand pane, expand Databases. 11. Expand Security. 12. Right-click Users and select New User. The Database User New dialog is displayed. 13. For the User name, enter the name of the new user: [db_username] Note: To make things easier, we recommend using the same name here as you entered before for [login_name]. 14. Click the Browse () button next to the Login name field. The Select Login dialog opens. 15. Click Browse. The Browse for Objects dialog opens. 16. Select the new Login user you just created: [login_name]. 17. Click OK. 18. Click OK. 19. On the Database User New dialog, select CasewiseRW in the Owned Schemas and Role Members sections. 20. Click OK. Your user is created.
35
36
Problem details
The following Corporate Modeler applications are affected by the problem: Start Here page (bwindw.exe) Corporate Modeler (CorporateModeler.exe) Automodeler (Automodeler.exe) Object Explorer (ObjectExplorer.exe)
For full details on the causes of the issue, please see: http://support.microsoft.com/kb/936707
37
Appendix D - VeriSign digital signatures 3. In the <configuration><runtime> section of code, locate the following line: <generatePublisherEvidence enabled="false"/> 4. Change the code to: <generatePublisherEvidence enabled="true"/> 5. Repeat steps 2 to 4 for the following file: CorporateModeler.exe.config Automodeler.exe.config ObjectExplorer.exe.config
38
Notes: