baan ivcx of the baan...10 on srv_nld_wolf1, perform a fat client (user interface + logic)...

44
Baan IVcx Installation of the Baan software on Microsoft Cluster Server

Upload: others

Post on 31-May-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Baan IVcxInstallation of the Baan software on MicrosoftCluster Server

A publication of:

Baan Development B.V.P.O.Box 1433770 AC BarneveldThe Netherlands

Printed in the Netherlands

© Baan Development B.V. 1998.All rights reserved.

The information in this documentis subject to change withoutnotice. No part of this documentmay be reproduced, stored ortransmitted in any form or by anymeans, electronic or mechanical,for any purpose, without theexpress written permission ofBaan Development B.V.

Baan Development B.V.assumes no liability for anydamages incurred, directly orindirectly, from any errors,omissions or discrepanciesbetween the software and theinformation contained in thisdocument.

Document Information

Code: U7045A USGroup: User DocumentationEdition: ADate: April 1998

i

Installation of the Baan software on Microsoft Cluster Server

1 Introduction 1-1Definitions 1-1System requirements 1-1

2 Installation instructions for BAAN IVc1 with Oracle Fail Safe onMicrosoft Cluster Server 2-1

3 Appendix A: Setup of a failover license daemon 3-1

4 Appendix B: Setting up a job daemon in a clustered environment 4-1

5 Appendix C: Optimal performance for Baan withOracle FS on cluster 5-1

Table of contents

Table of contents

Installation of the Baan software on Microsoft Cluster Server

ii

Installation of the Baan software on Microsoft Cluster Server

iii

This document contains 4 parts:

n Installation of Baan with Oracle Fail Safe on Microsoft Cluster Servern Appendix A: Configuration of a licence daemon in the clustern Appendix B: Configuration of a job daemon in the clustern Appendix C: Optimimal performance on the cluster

About this document

About this document

Installation of the Baan software on Microsoft Cluster Server

iv

Installation of the Baan software on Microsoft Cluster Server

1-1

DefinitionsIn this document, the following names are used to identify the cluster, the Baanenvironment and the Oracle database. Of course, the user is free to use othernames.

srv_nld_wolf1 Network name for the first node in the cluster

srv_nld_wolf2 Network name for the second node in the cluster

srv_nld_wolf3 Cluster alias network name

srv_nld_wolf4 Virtual network name for the database

srv_nld_wolf5 Virtual network name for the Baan software environment

BAAN Oracle database instance name for the Baan Data

BAAN IVc Service name for the Fail Safe Baan database

System requirementsThe cluster should fulfill the following requirements:

n > 2 GB local disk space per cluster node. Windows NT 4.0/EE as well asOracle will be installed on the local disk.

n Three or more shared disks. One disk will be used as quorum resource(should be as small as possible), one disk for the Baan environment(approximately 4 GB) and one or more disks for the database.

n Two cluster machines with enough memory and CPU power to serve thedatabase server and/or Baan environment (in case that one node of the clusteris down, the other node should be able to serve both the database and theBaan environment with acceptable performance).

n Five IP addresses must be reserved for the cluster: Two IP addresses for thecluster nodes, one for the virtual machine name of the cluster, one for thevirtual machine name of the Baan environment, and one for the databaseserver. These IP addresses should be resolvable in the DNS.

n An external Windows NT primary domain controller must be configured. TheWindows NT user baan must be known in the domain.

1 Introduction

Introduction

Installation of the Baan software on Microsoft Cluster Server

1-2

Installation of the Baan software on Microsoft Cluster Server

2-1

1 Install Windows NT 4.0/Enterprise Edition on node srv_nld_wolf1.− Install Windows NT on the local disk.

− Do not install the PDC/BDC component.

− Add the node to a Windows NT domain.

− Install Service Pack 3 (automatically prompted after first logon to thenode).

− Configure the shared disks by using Windows NT’s Disk Administrator.At least one disk for the Baan environment, one disk for the database, andone disk as quorum resource.

− Shut down the system after installation completion.

2 Install Windows NT 4.0/Enterprise Edition on node srv_nld_wolf2 (sameprocedure as for step 1).

3 Start node srv_nld_wolf1, install Cluster Server. After logging on, thefollowing screen is displayed:

2 Installation instructions for BAAN IVcxwith Oracle Fail Safe on MicrosoftCluster Server

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-2

Click Continue. The following screen will be displayed:

Enable the checkbox next to Microsoft Cluster Server to install MicrosoftCluster Server. The installation of Microsoft Cluster Server will be started. Inthe following screen, choose to ‘Form a new cluster’.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-3

Click Next and then specify the virtual name of the cluster:

The next step is to specify a Windows NT domain account that will be usedto manage the cluster. In this case, user baan is used.

After clicking Next, specifying the IP address of the cluster, and configuringthe network cards, this node is enabled for Microsoft Cluster Server.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-4

4 Create cluster groups.

− Start Cluster Administrator, connect to the cluster’s virtual machine name.

− Create a cluster group quorum, which contains the cluster’s quorum disk.

− Create a group called baan, which contains the shared disk for the Baanenvironment.

− Leave all other groups intact.

After completion, you can distinguish the following five cluster groups:

n Cluster group, which contains the cluster’s network name and IP address.n Quorum, which contains the quorum disk.n Baan, which contains a shared disk.n Two disk groups that will be used for the Oracle database.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-5

5 Start node srv_nld_wolf2, install Cluster Server Server (automaticallyprompted after you log on to Windows NT). Select Join an existing cluster.

Specify the cluster’s virtual machine name:

After clicking Next, and specifying the Windows NT domain account’spassword, this node is also part of the cluster.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-6

6 Install Oracle on node srv_nld_wolf1

− Install Oracle 7.3.3.2.0 or higher on a local disk, as described in the BaanInstallation on Oracle 7.3 manual.

− Install Oracle Fail Safe 2.1.1.0 or higher in the same location as Oracle7.3.3.2.0 (or higher). Instructions on how to install Oracle Fail Safe can befound in the Oracle Fail Safe installation manual.

7 Install Oracle on node srv_nld_wolf2. Use the same installation procedure asfor node srv_nld_wolf1.

8 Start Cluster Administrator, move cluster group baan to the first node in thecluster.

9 Add Windows NT domain user baan to the local Windows NT groupAdministrators on both nodes.

10 On srv_nld_wolf1, perform a fat client (User Interface + Logic) installationon the shared disk in the baan cluster group (for example, if disk G: isavailable in cluster group baan, perform an installation in g:\baan).

Follow the usual steps to install a fat client, as described in the BaanInstallation Manual. A few hints are given below to set up the Baanenvironment correctly on a cluster.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-7

In the Choose Directory dialog box, specify a directory on the shared disk.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-8

In the Setup Type dialog box, select User Interface and Logic.

Click Next.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-9

As database server, choose the current node’s name.

11 After completing the installation, start REGEDIT on the first node andremove the registry valueHKEY_USERS\.DEFAULT\Environment\BSE_REM.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-10

12 Failover the cluster group baan and the cluster group(s) that contains thedisk(s) for the database to node srv_nld_wolf2 using the ClusterAdministrator

In our example, Disk Group 2 (E:) and 3 (F:) will be used for the Oracledatabase.

13 Perform a full BAAN IV BackOffice installation (User Interface, Logic,application and database) on node srv_nld_wolf2. Carry out the installation inexactly the same location as was used for the fat client (in our case, g:\baan).For a detailed description of the Baan installation, see the Baan installationmanual. To get a correct installation on a cluster, a few tips are given below.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-11

In the Choose Directory dialog box, specify the same path as during the fatclient installation (the directories created by the fat client installation must bevisible).

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-12

As setup type, select Full installation.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-13

In the Select Database to use dialog box, select Oracle 7.3.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-14

Create a new Oracle database instance, called BAAN.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-15

Create the various tablespaces on the shared cluster disks (in our example disksE: and F:). Make sure the specified paths exist. If they do not exist, create themmanually)

As with the rollback, temporary, system, and redo datafiles, also create the indexand tablespace on the shared disk(s).

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-16

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-17

After filling in all the dialog boxes, press Next in the Installation Overviewdialog box to install Baan on the second node. This will approximately taketwo to three hours..

14 After completing the Baan installation, start the Cluster Administrator. Addresource type IP address to the baan cluster group.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-18

Add resource type Network Name to the baan group.

15 Bring the Baan resource group online.

16 On node srv_nld_wolf2, copy the initbaan.ora file fromORACLE_HOME\database to a shared disk which holds the Oracle databaseinstance for Baan. In our example, we copy the c:\orant\database\initbaan.orafile to e:\orant\initbaan.ora.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-19

17 Make the created Oracle instance Fail Safe.

− Go to Oracle Fail Safe Manager

− Go to Groups menu item, select Create. Create a fail safe group calledbaandb with a virtual network name for the database

− After creation of the fail safe group, add the new database instance BAANto the fail safe group.

In the previous dialog box, we added the database instance BAAN to the fail-safe group baandb. The service ID has been supplied manually. The instancename and the database name refer to the newly created instance. Theparameter file must be located on the shared disk.

Memorize the service ID. You need this ID later on to connect to thedatabase.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-20

18 Refresh the Oracle TNS service information on both cluster nodes as follows:

− Start the Oracle Enterprise Manager

− Select Navigator, Service Discovery, discover new services

− Add the cluster nodes and the database’s virtual network name to the listof nodes to discover.

− Click Next a couple of times and finally click Finish to discover/refreshall Oracle services.

Without this, problems can arise when trying to connect to the Baan databaseservice ID (BAAN IVc).

19 On node srv_nld_wolf2, open the file %BSE%\lib\tabledef6.1 usingWordPad (in our example, the Baan BSE directory is g:\baan, thus fileg:\baan\lib\tabledef6.1 should be opened). Replace ORACLE_SID=xxxxwith LOCAL=BAAN IVc, where xxxx is the Oracle instance name andBAANIVc is the Baan database service ID.

20 Failover the Baandb and baan cluster groups to node srv_nld_wolf1

21 Run the following command to install Baan’s support for MSCS on nodesrv_nld_wolf1: bmscsset install.

22 Follow the instructions given by the bmscsset command.

23 Start the Cluster Administrator.

24 In the baan cluster group, add the Baan Environment resource type. Thisresource must depend on the shared disk on which Baan has been installed (g:in our example). First, in the Resource Type field, select BaanEnvironment for the baan cluster group.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-21

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-22

In the Dependencies dialog box, add the shared disk on which Baan is installedas a dependency.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-23

In the Baan Environment Parameters dialog box, specify the parameters asspecified in the next screen.

A bug in Microsoft Cluster Server prevents the Baan EnvironmentParameters dialog box from being displayed.

If this dialog box does not appear, delete the created resource and try to createthe resource on the other node. If this also fails, reboot both nodes and tryagain.

In most cases, the parameters should be left unchanged (the Environmentfield should be empty and Start Jobdaemon dialog box should beunchecked). The parameter environment is reserved for future use. For detailsabout using a job daemon in a clustered environment, see Appendix B.

25 For instructions on how to enable the license daemon on a cluster, seeAppendix A.

26 Reboot both cluster nodes.

27 After starting, verify that all cluster groups are up and running.

NOTE

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-24

In the previous window, all cluster groups have the Online status. Thedatabase is served on node srv_nld_wolf1 and the Baan environment isserved on node srv_nld_wolf2.

28 Try to set up a connection with the installed Baan environment using BW.Use the virtual machine name of the Baan Environment (srv_nld_wolf5) toestablish the connection. All operations should work perfectly, irrespective ofthe machine where the database is being served and where the baanenvironment is being served!

The following dialog box shows a possible configuration of BW.

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-25

After clicking RUN!, the BW welcome dialog box is displayed and thefollowing window will appear:

You have successfully installed Baan on Microsoft Cluster Server!

Installation instructions for BAAN IVcx with Oracle Fail Safe on Microsoft Cluster Server

Installation of the Baan software on Microsoft Cluster Server

2-26

Installation of the Baan software on Microsoft Cluster Server

3-1

To enable a Baan License Daemon in a Microsoft Cluster Server environment,perform the following steps.

1 Use Notepad to open the BSE\lib\licence6.1 file.

2 Replace the license string with the following one:<node1>, <node2>

In accordance to the previous example, this would be:srv_nld_wolf1, srv_nld_wolf2

3 On the first node, start the Baan Service Manager.

4 Install the BaanLicencing component.

LICD.EXE is located in the Baan subdirectory of the Windows installationdirectory.

3 Appendix A: Setup of a failover licensedaemon

Appendix A: Setup of a failover license daemon

Installation of the Baan software on Microsoft Cluster Server

3-2

5 Start Control Panel, double-click Services. Change the startup mode of theBaanLicencing service from Automatic to Manual.

6 Perform steps 4, 5, and 6 also for the second node.

7 Brand both cluster nodes. Use the standard procedure to license the Baansoftware. You must obtain a network license key from Baan: one for the firstnode and another one for the second node in the cluster. Note: the HighAvailablity option does not have to be specified on the License RequestForm. This option will be enabled automatically by the software itself.

8 Add the license daemon to a cluster group. The easiest way is to add thelicence daemon to the baan group. In general, every cluster group with avirtual machine name can be used. Start the Cluster Administrator, right-clickthe mouse, choose New, choose Resource.

The following dialog box is displayed:

In this case, a Baan Licensing resource type will be created in the clusterbaan group. The name of the resource is ‘Baan License daemon’.

Appendix A: Setup of a failover license daemon

Installation of the Baan software on Microsoft Cluster Server

3-3

9 Use Notepad to open the BSE\lib\licence6.1 file.

10 Replace the license string with the following one:<virtual machine name>

In accordance to the previous example, this would be:srv_nld_wolf5

11 Bring the resource online.

Appendix A: Setup of a failover license daemon

Installation of the Baan software on Microsoft Cluster Server

3-4

Installation of the Baan software on Microsoft Cluster Server

4-1

The next steps describe the process to set up a Job daemon in a Baan IVBackOffice on Microsoft Cluster Server environment.

1 On the first node, start the Cluster Administrator.

2 Failover the baan group to the first node (all users of the Baan environmentwill be disconnected!).

3 Install the BaanJobDaemon service by using the Baan Service Manager onthe first node.

4 Go to Control Panel, Services.

5 Change the startup mode of the BaanJobDaemon from Automatic toManual.

6 Failover baan group to the secon node by using the Cluster Administrator.

7 Perform steps 3, 4 and 5 for the second node.

4 Appendix B: Setting up a job daemon ina clustered environment

Appendix B: Setting up a job daemon in a clustered environment

Installation of the Baan software on Microsoft Cluster Server

4-2

8 In the Baan installation directory (in our example, g:\baan), open thelib\user\jobd.bwc file by using the BW configuration tool. Adjust thefollowing parameters:

Hostname: <virtual machine name of the clusterUsername: <domain>\baanPassword: <password from user baan>BSE: <path to baan environment on the shared disk>

An example of this is given in the following dialog box:

Save the configuration file.

9 In Cluster Administrator, go to the baan group, select the Baan Environmentresource, right-click the mouse and choose Properties. Click the Parameterstab

10 Select the Start jobdaemon check box. Then click OK.

Appendix B: Setting up a job daemon in a clustered environment

Installation of the Baan software on Microsoft Cluster Server

4-3

11 To enable the new setting, bring the Baan Environment resource offline andback online.

Appendix B: Setting up a job daemon in a clustered environment

Installation of the Baan software on Microsoft Cluster Server

4-4

Installation of the Baan software on Microsoft Cluster Server

5-1

To get the most performance from the cluster, it is best to divide the workloadover the two nodes: one node serving the database and the other one serving theBaan Environment.

In the previous example, the Baan environment (group Baan) is served onsrv_nld_wolf2 and the database (group Baandb) is served on srv_nld_wolf1.

To establish this situation, the group properties in the cluster must be adjusted:

n Right-click on the Baan group in Cluster Administrator and chooseProperties.

n Select srv_nld_wolf2 as being the preferred owner of the group

n Right-click on the Baandb group in the Cluster Administrator and chooseProperties.

n Select srv_nld_wolf1 as being the preferred owner of the group

Now you have accomplished a balanced Baan on MSCS solution.

5 Appendix C: Optimal performance forBaan with Oracle FS on cluster

Appendix C: Optimal performance for Baan with Oracle FS on cluster

Installation of the Baan software on Microsoft Cluster Server

5-2