How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

Embed Size (px)

Citation preview

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    1/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    2/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    2

    TABLE OF CONTENTS

    ABSTRACT ....................................................................................................................................................... 31.

    Preparation ........................................................................................................................................ 3

    2.

    Installing and Configuring SySAM Server ......................................................................................... 3

    3. Installing Sybase Unwired Platform (SUP) Data Tier Nodes ............................................................. 34.

    Installing Sybase Unwired Platform (SUP) Unwired Server Nodes................................................... 3

    5. Troubleshooting ................................................................................................................................. 3

    PREPARATION ................................................................................................................................................. 4

    Determining number of machines or nodes....................................................................................................... 4Creating the File Server service in Microsoft Failover Cluster .......................................................................... 5

    Creating the shared data Directory in Microsoft Failover Cluster and identifying the UNC path ...................... 7

    INSTALLING AND CONFIGURING SYSAM SERVER ................................................................................... 9Installing SySAM ................................................................................................................................................ 9

    Generating host ID ........................................................................................................................................... 13Generating SySAM license for SUP ................................................................................................................ 16Running SySAM .............................................................................................................................................. 22

    INSTALLING SYBASE UNWIRED (SUP) DATA TIER NODES ................................................................... 27Installing and configuring first data tier node ................................................................................................... 27

    Verifying first data tier node installation ........................................................................................................... 41Installing and configuring second data tier node ............................................................................................. 43Verifying second data tier node installation ..................................................................................................... 48Configuring Microsoft Failover Cluster to manage SUP data tier services ..................................................... 50

    INSTALLING SYBASE UNWIRED PLATFORM (SUP) SERVER NODES ................................................. 58

    Prerequisites .................................................................................................................................................... 58

    Installing and configuring the first Unwired Server node ................................................................................. 58Verifying the first Unwired Server node installation ......................................................................................... 74Installing and configuring the second Unwired Server node ........................................................................... 87

    Verifying second Unwired Server node installation ......................................................................................... 96Verify the full SUP cluster installation ............................................................................................................ 104Verifying the license information .................................................................................................................... 111

    TROUBLESHOOTING .................................................................................................................................. 113

    Troubleshooting SySAM ................................................................................................................................ 113

    Troubleshooting Sybase Unwired Platform Data Tier Installation and Configuration ................................... 114

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    3/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    3

    ABSTRACT

    This white paper provides the following:

    1. Preparation1.1. Determining number of machines or nodes

    1.2. Configuring the file shared service in Microsoft Failover Cluster

    1.3. Creating the shared data directory in Microsoft Failover Cluster and identifying the UNC path

    2. Instal l ing and Config uring SySAM Server

    2.1. Installing SySAM

    2.2. Generating host ID

    2.3. Generating SySAM license for SUP

    2.4. Running SySAM

    3. Instal l ing Sybase Unw ired Platform (SUP) Data Tier Nodes

    3.1. Installing and configuring first data tier node

    3.2. Verifying first data tier node installation

    3.3. Installing and configuring second data tier node

    3.4. Verifying second data tier node installation

    3.5. Configuring Microsoft Failover Cluster to manage SUP data tier services

    4. Instal l ing Sybase Unwired Platform (SUP) Unwi red Server Nodes

    4.1. Prerequisites

    4.2. Installing and configuring first Unwired Server node

    4.3. Verifying first Unwired Server node installation4.4. Installing and configuring second Unwired Server node

    4.5. Verifying second Unwired Server node

    4.6. Verifying the full SUP cluster installation

    4.7. Verifying the license information

    5. Troubleshoot ing

    5.1. Troubleshooting SySAM

    5.2. Troubleshooting Sybase Unwired Platform data tier installation and configuration

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    4/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    4

    PREPARATION

    Determining num ber of machines or nodes

    1. The first thing you need to do is to determine how many machines are participating in this cluster

    setup. In this white paper we are using VMware Virtual Machines, VMs running Windows 2008 R2

    a. Two SUP Data tier nodes running

    b. One Data share drive is required in order to support high availability

    c. Two SUP nodes

    d. One Machine to handle SySAM server for licensing

    Figure 1 SUP Cluster Deployment Design

    SUP Data Tier Using Microsoft Cluster

    SUP Cluster

    SySAM

    SUP

    Node 1

    SUP

    Node 2

    SUP Data Tier

    1

    SUP Data Tier

    2

    Note: Our recommendation is to use physical machines for the Data Tier nodes. But for this white paperwe are going to use all VMs just to show you how to get this environment configured.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    5/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    5

    Creating the File Server service in Micro soft Failover Clus ter

    1. Next you need to create a File Server service in Microsoft Failover Cluster. In order to create a

    shared folder that can be managed by the cluster, in our example we have created a service called

    cdbclusterFS. This one must have its own IP address. To create this:

    a. Right click Services and Applications.

    b. Select Configure a Service or Application.

    c. Click Next on the first screen.

    d. Select File Server from the service or application list.

    Figure 2 Configuring File Server service

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    6/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    6

    e. Follow the wizard. By default my file shared service name is cdbclusterFS.

    Figure 3 Configuring File Service Name

    Note: For more information about how to configure Microsoft Failover Cluster in VM using Windows 2008R2, refer to the following link:http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004617

    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004617http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004617http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004617http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004617http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004617
  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    7/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    7

    Creating the shared data Directory in Micro soft Failover Cluster and identifying the UNC path

    1. In order to configure Microsoft Failover Cluster, you need to have two disk drives managed by the

    cluster:

    a. Quorum Disk

    b. Share Disk

    Figure 4 Shared disk information

    2. Next you need to create a shared directory located on the Share Diskcall it Data. So in our

    example we are creating a folder under the Shared Disk called E:with the following path

    E:\Sybase\Data. Call the shared drive Data. You should have the following:

    Figure 5 Creating the shared directory in the cluster

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    8/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    8

    3. So from now on our UNC for the shared drive is going to be

    \\cdbclusterFS.sybase.com\Data .

    a. Note: In most installations, when we need to use the UNC, we need to use fully qualified

    name. To determine your fully qualified name for your domain, just ping the cluster servicename, as follows:ping cdbclusterFSand you will get something like this below

    Figure 6 Pinging the file shared service name

    b. Notice the fully qualified name of my cluster service name is cdbclusterFS.sybase.com.

    c. We need to have this information available to us when we start the installation of the

    Unwired Server node.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    9/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    9

    INSTALLING AND CONFIGURINGSYSAM SERVER

    Instal l ing SySAM

    1. We need to download the SySAM server installer. Go to the following link,

    http://www.sybase.com/products/allproductsa-z/sysam/server,and follow the instructions if you have

    not already downloaded the server. Now in my case I already have it.

    2. Once you have downloaded the zip file, unzip it on the machine where you want it to be installed.

    3. Run Setup.exeas an Administrator if you are running it on Windows 2008.

    4. You will see this first screen:

    Figure 7 SySAM Welcome screen

    5. Click Next.

    http://www.sybase.com/products/allproductsa-z/sysam/serverhttp://www.sybase.com/products/allproductsa-z/sysam/serverhttp://www.sybase.com/products/allproductsa-z/sysam/server
  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    10/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    10

    6. Select your Region.

    7. Select the location where you want SySAM installed. In this white paper, we are using the default.

    Figure 8 Default SySAM server installation folder

    8. Click Next.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    11/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    11

    9. You will be asked to create the directory if it does not exist. The installer will create it for you. Click

    onYesif you were to be asked. The installer will then give you summary of whats going to happen.

    Figure 9 SySAM installer is ready to be installed

    10. Click Install.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    12/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    12

    11. You should see something like this during the installation:

    Figure 10 Installation process

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    13/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    13

    12. Once the installer has completed successfully, you should see the following message:

    Figure 11 SySAM finishing installation screen

    13. Now we are ready to gather the information we need in order to generate the license for our SySAM

    server. Click Doneso we can now generate the host id.

    Generating host ID

    1. The license generator requires the hostid of the machine where the SySAM server is going to be

    running in order to generate the license file.

    2. On the server where SySAM is installed, open the command prompt and run it as an Administrator

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    14/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    14

    3. Go to the following folder, C:\Sybase\SYSAM-2_0\Bin, as shown below:

    Figure 12 Running command prompt as an Administrator

    4. Run this command to get the host ID: lmutil lmhostid.

    5. You should get something like this screen below.

    Note: The id is hidden in this document for security reason. But you should get the ID between the

    double quotations.

    Figure 13 Generating hostid

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    15/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    15

    6. Next if you do not know the host name of your server, Windows has a command called hostname,

    that will show you your host name as shown below:

    Figure 14 How to get the host name of the machine

    7. So our host name is called: vmsysam

    8. Now we are ready to generate the license file for our SySAM server.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    16/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    17/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    17

    5. Click on Keys & Requests.

    6. Next select your product, for Sybase Unwired Platform or SAP Mobile Platform:

    Figure 17 SAP License Generator

    7. When you get to this screen, you need to choose the type of license.

    8. In my test, I chose CPU Development & Testing (DT).

    9. Scroll down until you see this button and click Select to Generate.

    Figure 18 Sybase Software Asset Management

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    18/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    18

    10. Next you will be asked how many servers you need SySAM to handle. In my case, the cluster is

    about 4 servers, so I am just going to use 10 servers so I can have room for the future if I need to

    add more SUP nodes.

    Figure 19 Number of Servers SySAM needs to support

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    19/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    20/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    20

    13. We already found the hostid and the host name from step 4 in the section Generating Hostid

    previously.

    Figure 21 Entering the configuration information to generate the SySAM license informartion

    14. Notice I left the port Number empty. Only do this if you are using the default port 27000. Otherwise,

    you need to specify it if you are using Redundant servers. In our example we are only using one

    SySAM server with the default port. Make sure IT has the firewall opened to allow for this port to be

    accessed internally by SUP nodes.

    15. Once you are done, click on Generate.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    21/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    21

    16. You should see something similar to this screen below:

    Figure 22 License information for SySAM server

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    22/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    22

    17. Now click on Download License Fileor Download All Licenses for Host.

    a. Not in our example, since I am using Development and testing build, the server

    automatically allows for 20 clients to synchronize.

    b. Otherwise, if you are using Enterprise Deployment or any other production server types,then you need to generate license as well for the clients. To do that, all you have to do is go

    back to the product page and select the type of license, for example, Unlimited Application

    Class A ) and generate the license. But instead of selecting Download License File, you

    will select Download All Licenses for Host.

    18. After you downloaded the file or files, save them to the following folder on your SySAM installation:

    C:\Sybase\SYSAM-2_0\licenses

    Running SySAM

    1. Next, before running the LMTools, we need to make the following changes only if SySAM is running

    on Windows 2008 and any OS that requires IPv6. In this case Windows 2008 does.

    a. Navigate to C:\Sybase\SYSAM-2_0\bin\binIPv6

    b. Copy everything in there:

    i. installs.exe

    ii. lmgrd.exe

    iii. SYBASE.exe.

    c. And paste it in the following folder, C:\Sybase\SYSAM-2_0\bin

    d. If you were asked to replace the existing files, say yes. Note: Make a backup copy before

    replacing them. If you get an error to replace the files, make sure the SYSAM service is not

    running

    e. Next after doing this, restart the SYSAM service

    f. Go to the next step below

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    23/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    23

    2. Next step is to go to the following folder and run the graphic tools for SySAM: C:\Sybase\SYSAM-

    2_0\Bin\lmtools.exe

    After running this you will see the following:

    Figure 23 Running SySAM server

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    24/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    24

    3. To make sure your SySAM server is working fine, click on Perform Status Enquiry.

    Figure 24 Checking SySAM Server Status

    The full text should read like this:

    --------Status--------Flexible License Manager status on Wed 2/8/2012 11:42

    [Detecting lmgrd processes...]License server status: [email protected]

    License file(s) on vmsysam.sybase.com: C:\Sybase\SYSAM-2_0\licenses\vmsysam_201202060947.lic:

    vmsysam.sybase.com: license server UP (MASTER) v11.6

    Vendor daemon status (on vmsysam.sybase.com):

    SYBASE: UP v11.6Feature usage info:

    Users of SUP_ENTDEV: (Total of 10 licenses issued; Total of 0 licenses in use)

    Users of SUP_BASESRVR: (Total of 10 licenses issued; Total of 0 licenses inuse)

    Note: the license number may very between this document and your configuration. Thats OK.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    25/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    25

    If you see a message like this one:lmgrd is not running: Cannot connect to license server system. The license server manager(lmgrd) has not been started yet, the wrong port@host or license file is being used, or theport or hostname in the license file has been changed.

    Then read the SySAM troubleshooting section for information on how to fix this issue.

    4. Now to make sure our server is using our license file, go to the Start/Stop/Rereadtab, as shown

    below:

    Figure 25 Start/Stop/ReRead the license tab

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    26/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    26

    5. Click on ReRead License File you should see the following:

    Figure 26 ReRead License File

    6. Notice the status bar in the bottom where it says Reread Server License File Completed. In this

    case everything is working fine now and we ready to start installing SUP.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    27/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    27

    INSTALLING SYBASEUNWIRED (SUP) DATA TIER NODES

    Instal l ing and con f igur ing f i rst d ata t ier node

    Prerequisites:

    1. Make sure to use capital letter for the drive letter when running from the command prompt. (e.g., C:\)

    2. Make sure the Microsoft Failover Cluster is configured correctly and each node can fail over

    successfully

    3. Make sure the Shared data drive is accessible when each node fails over.

    4. Make sure the first node is the primary and that it does have Quorum over the shared disk before

    you can install the first SUP data tier node.

    5. UAC should be disabled; otherwise, the SUP installer will not start.

    Changes:

    1. Be aware that SUP 2.2.x no longer uses Advantage Database server (ADS). Only SQL Anywhere

    Database is used.

    Installing first data tier node:

    1. Click on the setup.exeexecutable.

    2. Once you run setup, you may see this warning if you have User Access Control enabled on

    Windows 7 or Windows 2008, where it is turned on by default:

    Figure 27 UAC warning

    3. You need to disable UAC on windows, which is located under Control Panel -> Action Center ->Change User Account Control Settings, before you continue.

    4. Once this is done, click on setup.exeagain.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    28/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    28

    5. Next you should see the Welcome screen, click Next:

    Figure 28 Welcome installation screen for SUP

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    29/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    29

    6. Select the server license type Served as shown below:

    Figure 29 License Type screen

    7. Next, accept the End-User license agreement from the list.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    30/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    30

    8. Select set your license edition and license type.

    Figure 30 Setting the License product edition and License type value

    Note: 0for client license means unlimited. But because I am using DT license type, SUP will only allowme to have up to 20 clients max. I am going to use 20. But if I have an Enterprise Deployment Server,

    then you can have unlimited client licenses, or whatever your license type allows you to have.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    31/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    31

    9. Next we need to specify the SySAM host information in order to validate the license detail:

    Figure 31 Specifying SySAM server address

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    32/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    32

    10. If everything is right and license validation succeeded, you should see the following screen:

    Figure 32 Default installation path

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    33/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    33

    11. Click Nextyou should get this warning telling you this folder does not exist. The installer will create

    this for you. Click OK.

    Figure 33 Confirmation on creating the installation directory

    12. Next you will be asked if you want to use Unwired Platform Runtime or Online Data Proxy. In our

    example, we are going to use Unwired Platform Runtime, so accept the default and click Next.

    13. In the next screen now you will be asked to select the installation type, you have two options:

    a. Single Server

    b. Cluster

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    34/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    35/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    35

    15. Since this is the first node on the Data Tier, we are going to choose Install the data tier for your

    Unwired Platform cluster.

    Figure 35 Choosing Data Tier option

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    36/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    36

    16. Select the Configure data tieroption:

    Figure 36 selecting the data tier configuration

    17. Next you are asked for the Cache, Cluster, LogData ports and passwords. We are going to use the

    following values:

    a. Keep the default ports

    b. Password: sql

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    37/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    37

    c. Check Install the data tier into high availability environment . Note: If you have two

    shared disks, you can specify separate locations for the database and/or transaction log

    files. In our example, we are installing the database and log files on the same shared SAN

    disk.

    Figure 37 Setting up the dba password

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    38/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    38

    18. After configuring the ports and passwords, click Next.

    Figure 38 specify the path of the shared disk available to the data tier

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    39/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    39

    19. Now we are asked where we are going to put the CDB, database, files. Remember we are using

    Microsoft Failover Cluster in order to support high availability. In this example my Data drive that is

    shared across nodes and managed by Microsoft Failover Cluster it is called E:drive. As well I am

    putting the data into the following directory Sybase\Data, the screen should look like this:

    Figure 39 setting up the path of the data tier files and the database server name

    Explanation: The Path for the location of the high availability data is E:\Sybase\Data

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    40/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    40

    20. Click Nextand you are now ready to do the installation of the data tier.

    Figure 40 Installation is ready to proceed

    21. Once you are ready, click on Installand wait for the install to finish.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    41/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    41

    22. Once it is finished, you will see the following screen:

    Figure 41 SUP installation finished successfully

    Verifying first data tier nod e instal lat ion

    1. Open the service manager.

    2. Check the following services and make sure the all started successfully:

    Service Name Status

    Sybase Unwired CacheDB Started

    Sybase Unwired ClusterDB Started

    Sybase Unwired LogDataDB Started

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    42/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    42

    3. Once this confirmed, go to the folder where you installed the data tier and check all the logs to make

    sure there are no errors. For example:

    a. Open E:\Sybase\Data\CDB\clusterdb_errorlog.txt

    b. You should see something like this. 04/05 12:09:24. SQL Anywhere Network Server Version 12.0.1.3769

    I. 04/05 12:09:24. Developer edition, not licensed for deployment.I. 04/05 12:09:24.

    I. 04/05 12:09:24. Copyright 2001-2012, iAnywhere Solutions, Inc.I. 04/05 12:09:24. Portions copyright 1988-2012, Sybase, Inc. All rightsreserved.I. 04/05 12:09:24. Use of this software is governed by the Sybase LicenseAgreement.I. 04/05 12:09:24. Refer to http://www.sybase.com/softwarelicenses.I. 04/05 12:09:24.

    I. 04/05 12:09:24. Processors detected: 1I. 04/05 12:09:24. Processor limit (licensed processors): 4I. 04/05 12:09:24. Maximum number of physical processors the server will use: 1I. 04/05 12:09:24. This server is licensed to:I. 04/05 12:09:24. Sybase Inc.I. 04/05 12:09:24. Sybase Inc.I. 04/05 12:09:24. Running Windows 2008R2 Build 7601 Service Pack 1 on X86_64I. 04/05 12:09:24. Server built for X86_64 processor architectureI. 04/05 12:09:24. 25020K of memory used for cachingI. 04/05 12:09:24. Minimum cache size: 25020K, maximum cache size: 1048576KI. 04/05 12:09:24. Using a maximum page size of 4096 bytesI. 04/05 12:09:24. Multiprogramming level: minimum:1, current:20, maximum:80

    I. 04/05 12:09:24. Automatic tuning of multiprogramming level is enabledI. 04/05 12:09:24. Starting database "clusterdb"(E:\sybase\Data\CDB\clusterdb.db) at Fri Apr 05 2013 12:09I. 04/05 12:09:24. Performance warning: Database file"E:\sybase\Data\CDB\clusterdb.db" consists of 35 disk fragmentsI. 04/05 12:09:24. Transaction log: clusterdb.logI. 04/05 12:09:25. Starting checkpoint of "clusterdb" (clusterdb.db) at Fri Apr05 2013 12:09I. 04/05 12:09:25. Finished checkpoint of "clusterdb" (clusterdb.db) at Fri Apr05 2013 12:09I. 04/05 12:09:25. Database "clusterdb" (clusterdb.db) started at Fri Apr 052013 12:09I. 04/05 12:09:25. Database server started at Fri Apr 05 2013 12:09I. 04/05 12:09:25. Trying to start SharedMemory link ...I. 04/05 12:09:25. SharedMemory link started successfullyI. 04/05 12:09:25. Trying to start TCPIP link ...I. 04/05 12:09:25. Starting on port 5300I. 04/05 12:09:30. TCPIP link started successfullyI. 04/05 12:09:30. Now accepting requests

    c. If you see an error or assertion, it means something happen to the database. Refer to the

    data tier section in troubleshooting to learn how to fix this issue.

    d. Repeat the same steps for each of the other error logs, such as:

    i. Errorlog.txt

    ii. Monitordb_errorlog.txt

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    43/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    43

    4. After verifying all the services are up and running, stop them all.

    5. Now you are ready to install the second data tier node. You need to make sure you fail over to the

    second node.

    Instal l ing and conf igu r ing second data t ier node

    1. Make sure you fail over to the second data tier node. We need to make sure the Shared Disk is

    accessible by the second data tier node.

    2. Next run the SUP setup.

    3. You will be faced with the same UAC message that we saw during the installation of data tier in nodeone if you have UAC enabled. Disable UAC so you can do the installation. Turn it back on once you

    are done.

    4. Click Nexton the Welcome screen.

    5. Select Served (Remote) licensefor License Type.

    6. Select the end-user license agreement for your country. Accept the end-user license agreement and

    click Next.

    7. Select the license product edition type as well the license type of your installation and the number of

    clients you need to support. In our white paper we are using the following configuration:

    a. ED: Enterprise Development

    b. DT:Development and Test License

    c. Client licenses: 20

    8. Click Next.

    9. In the SySAM License Manager screen, enter the host name where the SySAM server is running.

    This is the same as we did in the data tier node one installation. So in our example I am using:

    a. Host Name: vmsysam

    b. Port Default: 27000

    10. Click Nextonce you are ready.

    11. Click Nextto accept the installation default directory.

    12. Select Unwired Platform Runtimefor the installation and click Next.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    44/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    44

    13. For the installation type we are going to choose Cluster, as shown below:

    Figure 42 Choosing Cluster as an installation type

    14. Click Next.

    15. We are going to select the first option which is Install the data tier for your Unwired Platform cluster.

    Click Next.

    16. Click the Configure data tieroption and click Next.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    45/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    45

    17. It is asking you for the CDB DBA user password, so we are going to use the same user password we

    used in the first data tier node, which is: sql.

    Note: If you choose something else in the first data tier node installation, make sure you usethe same password.

    Figure 43 Setting DBA password

    18. So make sure your screen looks like the one above and click Next.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    46/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    46

    19. Now the installer needs to know where to put the CDB database files. Use the same settings that

    you used in the first data tier node installation. You should have something similar to this below:

    Figure 44 Setting the CDB data path

    20. Click Next:

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    47/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    47

    21. Finally, if you are ready, click Install:

    Figure 45 Installation is ready

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    48/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    48

    22. Once the installation is completed, you should see the following:

    Figure 46 SUP installation is done successfully

    23. Click Finish.

    Ver i fy ing secon d data t ier no de insta l la tion

    1. Open the service manager.

    2. Check the following services and make sure the all started successfully:

    Service Name Status

    Sybase Unwired CacheDB Started

    Sybase Unwired ClusterDB StartedSybase Unwired LogDataDB Started

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    49/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    49

    3. Once this is confirmed, go to the folder where you installed the data tier and check all the logs to

    make sure there are no errors. For example:

    a. Open E:\Sybase\Data\CDB\clusterdb_errorlog.txt

    b. You should see something like this:

    I. 04/05 12:37:44. SQL Anywhere Network Server Version 12.0.1.3769

    I. 04/05 12:37:44. Developer edition, not licensed for deployment.I. 04/05 12:37:44.

    I. 04/05 12:37:44. Copyright 2001-2012, iAnywhere Solutions, Inc.I. 04/05 12:37:44. Portions copyright 1988-2012, Sybase, Inc. All rightsreserved.I. 04/05 12:37:44. Use of this software is governed by the Sybase LicenseAgreement.I. 04/05 12:37:44. Refer to http://www.sybase.com/softwarelicenses.

    I. 04/05 12:37:44.

    I. 04/05 12:37:44. Processors detected: 1I. 04/05 12:37:44. Processor limit (licensed processors): 4I. 04/05 12:37:44. Maximum number of physical processors the server will use: 1I. 04/05 12:37:44. This server is licensed to:I. 04/05 12:37:44. Sybase Inc.I. 04/05 12:37:44. Sybase Inc.I. 04/05 12:37:44. Running Windows 2008R2 Build 7601 Service Pack 1 on X86_64I. 04/05 12:37:44. Server built for X86_64 processor architectureI. 04/05 12:37:44. 25020K of memory used for cachingI. 04/05 12:37:44. Minimum cache size: 25020K, maximum cache size: 1048576KI. 04/05 12:37:44. Using a maximum page size of 4096 bytes

    I. 04/05 12:37:44. Multiprogramming level: minimum:1, current:20, maximum:80I. 04/05 12:37:44. Automatic tuning of multiprogramming level is enabledI. 04/05 12:37:44. Starting database "clusterdb"(E:\sybase\Data\CDB\clusterdb.db) at Fri Apr 05 2013 12:37I. 04/05 12:37:44. Performance warning: Database file"E:\sybase\Data\CDB\clusterdb.db" consists of 35 disk fragmentsI. 04/05 12:37:45. Transaction log: clusterdb.logI. 04/05 12:37:45. Starting checkpoint of "clusterdb" (clusterdb.db) at Fri Apr05 2013 12:37I. 04/05 12:37:45. Finished checkpoint of "clusterdb" (clusterdb.db) at Fri Apr05 2013 12:37I. 04/05 12:37:45. Database "clusterdb" (clusterdb.db) started at Fri Apr 052013 12:37

    I. 04/05 12:37:45. Database server started at Fri Apr 05 2013 12:37I. 04/05 12:37:45. Trying to start SharedMemory link ...I. 04/05 12:37:45. SharedMemory link started successfullyI. 04/05 12:37:45. Trying to start TCPIP link ...I. 04/05 12:37:45. Starting on port 5300I. 04/05 12:37:50. TCPIP link started successfullyI. 04/05 12:37:50. Now accepting requests

    c. If you see an error or assertion, it means something happen to the database. Refer to the

    data tier section troubleshooting to learn how to fix this issue

    d. Repeat the same steps for each of the other error logs such as:

    i. Errorlog.txt

    ii. Monitordb_errorlog.txt

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    50/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    50

    4. Once we are satisfied, we need to make sure these 3 services are managed by the Microsoft

    Failover Cluster.

    Config uring Mic roso ft Failover Cluster to manage SUP data tier services

    1. Open Microsoft Cluster Management tools.

    2. Locate your service and application resource that handle the shared drive that we created earlier. In

    this case it is cdbclusterFS

    3. Right click on it and select Add a resource -> Generic Service, as shown below:

    Figure 47 Configuring Microsoft Cluster Failover to manage the SUP data tier services

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    51/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    51

    4. Select the 3 services we mentioned above. In this screen below I am going to select Sybase

    Unwired CacheDBand click Next.

    Figure 48 Select Sybase Unwired CacheDB service to be managed by Microsoft cluster

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    52/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    53/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    53

    7. If everything goes well, you should see the following screen:

    Figure 50 Successful creation of the service being managed by Microsoft cluster

    8. Repeat the same steps to add the other 2 services.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    54/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    54

    9. The final result should look like this below:

    Figure 51 Four services being managed by Microsoft cluster

    10. Next we need to set the dependencies for:

    a. Sybase Unwired CacheDB

    b. Sybase Unwired ClusterDB

    c. Sybase Unwired LogDataDB

    11. Right click Sybase Unwired CacheDB service and select Properties.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    55/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    55

    12. Click on the Dependenciestab as shown below:

    13. Select Cluster Disk 2. Note: In my environment it is called Cluster Disk 2, in yours it may be called

    something else. Basically you are looking for the disk where the CDB was created.

    14. Click Apply, then OK.

    15. Repeat the same steps to for the services and set the dependencies to Cluster Disk 2:

    a. Sybase Unwired ClusterDB

    b. Sybase Unwired LogDataDB

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    56/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    56

    16. Once you are done, we need to bring these services online. To do this, follow these steps:

    a. Right click the service name and select Bring this resource online

    Figure 52 bringing the services online

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    57/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    57

    b. Repeat the same steps for the other 2 services. The final result should look like this:

    Figure 53 all services brought online successfully

    c. If any of the services do not start, go back to the error log we discussed previously and see

    what the error message is. If any error appears, such as assertion error, try to delete the log

    file that belongs to the database that is giving you the problem (e.g, clusterdb.log) and try to

    restart the service.

    Note: Make sure you make a backup copy of the log file before deleting it.

    Please refer to the troubleshooting section of the data tier installation.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    58/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    58

    INSTALLINGSYBASE UNWIRED PLATFORM (SUP) SERVER NODES

    Prerequisites

    1. Always use capital letter for the drive letter when running setup from the command prompt (e.g., C:\).

    2. The domain administrator user account that is doing the installation and the password.

    3. The host name must be more than four characters.

    4. UAC should be disabled; otherwise, the SUP installer will not start.

    Instal l ing and con f igur ing th e f i rst Unwired Server node

    1. On the first SUP application node, which will initially be the primary node, run setup.exe.

    2. Assuming you turned off UAC, you should see the Welcome screenclick Next:

    Figure 54 SUP installation welcome screen

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    59/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    60/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    60

    5. Select set your license edition and license type:

    Figure 56 setting the license production edition type

    Note: 0for client license means unlimited. But because I am using DT license type, SUP will only allow me

    to have up to 20 clients max. Therefore, I am going to use 20. But if I have an Enterprise Deployment Server,then you can have unlimited or whatever your license type allow you to have.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    61/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    61

    6. Next we need to specify the SySAM host information in order to validate the license detail:

    Figure 57 setting the host name of the SySAM server

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    62/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    62

    7. If everything is right and license validation succeeded, you should see the following screen:

    Figure 58 specifying the default installation of SUP primary node

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    63/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    63

    8. Click Next. You should get a warning telling you this folder does not exist. The installer will create

    this for you. Click OK:

    Figure 59 Confirmation of the creation of the SUP directory installation

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    64/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    64

    9. In the next screen now you should be able to select the installation type.

    You have two options:

    a. Single server

    b. Cluster

    Figure 60 Selecting Cluster as an installation type

    10. Select Cluster.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    65/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    65

    11. Since this is the first Unwired Server node, we are going to choose Install the first server node

    and connect it to the data tier.

    Figure 61 Choosing Install the first server node and connect it to the data tier

    12. Next you are asked for additional configuration, such as:a. SUP communication ports

    b. Setting the SUP services to run automatically

    c. Setting up the SUP server node name and cluster name

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    66/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    66

    13. Select all the options as shown below:

    Figure 62 SUP installing the missing components

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    67/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    67

    14. Next screen is going to ask you for the first Unwired Server node name. In our case, my first node

    host name is sup01.By default, SUP uses the host name of the machine. We need as well to

    provide a name for our Unwired Server Cluster name. The cluster name, by default, is also the first

    server node name. In our case my cluster name is mysupcluster. See below:

    Figure 63 specifying the name of the SUP primary server

    15. Click Next.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    68/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    68

    16. Now SUP needs to know how to connect the data tieryou should see the following screen below:

    Figure 64 specifying the host name of where the database server is running for the CDB

    17. Here we need to be careful in our configuration. Please refer to the detail and explanations below:

    a. Host Name: This is the name of where the CDB is running, because we are running a

    cluster environment with the Data Tier being managed by Microsoft cluster, the host name

    cannot be any of the physical host name machine of the data tier. It must be the cluster

    service name that we created for the shared file. Therefore, the host name should be

    cdbclusterFS.

    b. Password: This is the DBA password we created when we installed the Data Tier two nodes.

    It was sql.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    69/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    69

    18. The final configuration should look like this:

    Figure 65 final configuration on how to access CDB

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    70/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    70

    19. Click Nextto get to the ports configuration, if everything in this step succeed:

    Figure 66 default ports for SUP

    20. If you are satisfied with the existing default ports, click Next.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    71/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    71

    21. In the next screen you are asked for the supAdmin password. You can use any password, but make

    sure you remember it, because you will need it when you install Unwired Server node two. The

    installer will ask you to enter it again. In this white paper I am using the default password, which is

    s3pAdmin.:

    Figure 67 specifying supAdmin default password

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    72/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    72

    22. Click Nextonce you are satisfied with the password you entered:

    Figure 68 Configuration all done and SUP is ready to be installed

    23. Once you are satisfied with everything, you are ready to install the first Unwired Server node. Click

    Install.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    73/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    73

    24. Once you are done, you should see the following screen:

    Figure 69 SUP first node is done successful

    25. Now everything is installed successfully. All we have to do now before going to install the second

    SUP is to verify the installation of this node.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    74/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    74

    Verifying the first Unwired Server node instal lat ion

    1. Open the service manager.

    2. Check the following services and make sure they all started successfully:

    Service Name Status

    Sybase Control Center 3.2.7 Started

    Sybase Unwired SampleDB Started

    Sybase Unwired Server Started

    Figure 70 Verifying the status of SUP services

    3. Notice the 3 services are up and running.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    75/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    75

    4. Next we need to open the Event Viewer and verify there are no errors related to SUP:

    Figure 71 checking the event viewer for any SUP errors

    5. As you can see we do not have any errors. That means everything so far is going well.

    6. Next we need to go and check the SUP server log to see if there are any errors.

    a. Open the following file: C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\logs\-server.log, and scroll to the bottom, you should not see any errors or exceptions.You should see something similar to this:

    Listener Servlet

    i. 2013-04-05 13:38:27.541 WARN MMS Thread-10

    [com.sybase.djc.server.jetty.WebServer] [] [] The context path '/' is

    already used by the web application 'httpchannel'. The HttpContext

    'default' will not be available.

    ii. 2013-04-05 13:38:27.616 CONSOLE MMS Thread-10

    [com.sybase.sup.server.Console] [] [] Accepting Connections:

    http://sup01:8000

    iii. 2013-04-05 13:38:27.616 CONSOLE MMS Thread-10

    [com.sybase.sup.server.Console] [] [] Accepting Connections:

    https://sup01:8001

    iv. 2013-04-05 13:38:27.616 CONSOLE MMS Thread-10

    [com.sybase.sup.server.Console] [] [] Accepting Connections:

    http://sup01:5001

    v. 2013-04-05 13:38:28.823 INFO MMS Thread-10

    [com.sybase.djc.util.ThreadMonitor:jms.db] [] [] init:

    minimumActiveThreads = 0 (unlimited)

    vi. 2013-04-05 13:38:28.823 INFO MMS Thread-10

    [com.sybase.djc.util.ThreadMonitor:jms.db] [] [] init:

    maximumActiveThreads = 0 (unlimited)

    vii. 2013-04-05 13:38:28.824 INFO MMS Thread-10

    [com.sybase.djc.util.ThreadMonitor:jms.db] [] [] init:initialThreadLimit = 0 (unlimited)

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    76/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    76

    viii. 2013-04-05 13:38:28.824 INFO MMS Thread-10

    [com.sybase.djc.util.ThreadMonitor:jms.db] [] [] init:

    targetResponseTime = 0 (unchecked)

    ix. 2013-04-05 13:38:28.832 INFO MMS Thread-10[com.sybase.djc.transaction.TransactionBatch:default] [] [] init:

    maximum batch size = 1, maximum batch wait = 1 ms

    7. Next open Sybase Control Center to verify the server properties:

    a. From the desktop click on the shortcut Sybase Control Center. See figure below

    Figure 72 Connecting to Sybase Control Central SCC

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    77/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    78/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    78

    d. Double-click on the Status Bar of Internet Explorer to open the Trusted site as shown below:

    Figure 74 Adding SCC URL to the trusted site

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    79/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    80/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    80

    g. Click on Sitesbutton.

    Figure 76 selecting trusted sites to add SCC to the trusted site

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    81/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    81

    h. You should see the following. Maybe your sup server name does not match this white paper

    configuration, but it should be the Unwired Server node one server name:

    Figure 77 adding SUP node one to the trusted site

    i. Click on Add

    j. Click Close

    k. Click on OKl. Click on Reload to reload the page

    m. Click on the link where it says Continue to this website (note recommended)

    n. If Flash is not installed, you will see the following warning

    Figure 78 SCC requires Flash in order to run

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    82/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    82

    Note: If you click on Get Flash, and go to the Adobe website to automatically download Flash,Flash may not work since you are running Windows 2008 64-bit. To work around this issue. Youneed to manually download and install 64-bit Flash.

    o. SUP installation does have Flash which is located in the following folder, \3rdParty\install_flash_player_11_active_x64.exe.

    p. Install flash in order to access SCC from the SUP node.

    q. Once the installation is done, open one more time Sybase Control Center.

    r. Click on Continue to this website ( not recommended)link.

    s. Now you should be able to see Sybase Control Center.

    Figure 79 SCC login screen

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    83/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    84/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    84

    8. Expand the Serverslink on the left side and click on the Unwired Server name:

    Figure 81 highlighting SUP primary server name

    9. Click on Properties.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    85/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    86/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    86

    13. Place a check box beside messagingdbJDBC data source. You should see the following:

    Figure 83 accessing the messagingdb data source to verify the connection

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    87/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    87

    14. Click on the Propertiesbutton and click the Test Connectionbutton. You should see this result:

    Figure 84 SUP can successful ping the CDB data tier servers

    15. Now we know Unwired Server is running successfully. So lcick on Cancel.

    16. Close Sybase Control Center.

    17. Now you are ready to install Unwired Server on the second server node.

    Instal l ing and conf igu r ing the second Unw ired Server node

    1. Run the setup installation.

    2. Make sure UAC is disabled otherwise, the installation will not continue.

    3. Click Nexton the Welcome screen.

    4. Select Served(remote) license.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    88/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    88

    5. Accept the end-user license agreement.

    6. Select the license product edition and license type. Same way we did in installation of first Unwired

    Server node. Click Next.

    7. Enter the SySAM information. Please refer to the Unwired Server installation on node one for more

    details on that.

    8. Click Nextto validate the information.

    9. The installer now will create the default installation for Unwired Server node two. Click Next.

    10. Click OKon the warning if the directory does not exist, the installer will create it for you.

    11. Select Unwired Platform Runtimeand click Next.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    89/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    89

    12. For the installation type, select Clusteras shown below and click Next:

    Figure 85 select Cluster for the installation type

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    90/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    90

    13. For the installation type we are going to select, Install an additional server node and connect it to

    the data tier as shown below:

    Figure 86 choosing adding additional server node

    14. Click Next.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    91/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    91

    15. On this screen we are asked to provide additional configuration. We are only going to select the first

    3 options, as shown below:

    16. Click Next.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    92/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    92

    17. Next in this screen, it is going to ask you only for the Unwired Server name and not the cluster name,

    since the cluster name was set in the first Unwired Server node installation. In our case, we are

    going to accept the default as shown below. So click Next:

    Figure 87 specifying the name of the secondary SUP server

    18. In this screen, as in the first Unwired Server node installation, the installer wants to know the adminuser name and password. Type your information and click Next:

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    93/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    93

    19. If everything is working and configured correctly you should see the following screen.

    Figure 88 setting the host name and DBA password

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    94/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    94

    Next the installer wants to know the password for DBA user, we used in this white paper sqlas adefault. If you used something else, make sure you type it here. So the final configuration looks likethis now.You need to specify as well the host name of the cluster that we used in the first UnwiredServer node installation, which is cdbclusterFSin our case. You should have the following

    screen:

    Figure 89 using sql as a password in this installation based on what we entered in the data tier installation

    20. Click Nextafter you enter the DBA password, sql, in each box.

    21. Verify the default ports and click Next.

    22. Enter the supAdmin password. Make sure it matches the password you entered in the first Unwired

    Server node installation. In our case, I used s3pAdmin. Click Next.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    95/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    95

    23. Finally, once you are ready, click Install:

    Figure 90 SUP secondary node is ready to be installed

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    96/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    96

    24. Finally, if everything goes well, you should see the following screen:

    Figure 91 SUP secondary node installed successfully

    25. Click Finishand let verify your installation as we did in Unwired Server node one installation.

    Ver i fy ing secon d Unw ired Server no de insta l la t ion

    1. Please refer to all the steps we did in the Unwired Server node one installation under the verify

    section.

    2. After checking that the services are running and verifying no errors in the logs and no errors in the

    Event Viewer, lets now verify the installation using Sybase Control Center on Unwired Server

    installation node two:

    a. Click on the desktop Sybase Control Center shortcut.b. Click on Continue to this website (not recommended).

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    97/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    97

    c. If you see this warning, then follow the instructions from the Unwired Server node one

    installation under the verification section to fix this issue. So basically you need to:

    i. Add the site to the trusted site under Internet Explorer security configuration

    ii. You need to install Flash which is located \3rdParty\ install_flash_player_11_active_x64.exe.

    Figure 92 Internet is generating a warning because SCC URL for the secondary node is not in the trusted site

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    98/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    98

    d. Once this is fixed you will see the following screen:

    e. Click on Continue to this website (not recommended).

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    99/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    100/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    101/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    101

    k. Next we need to verify the messagingdbJDBC data source if it can ping the database.

    l. Expand Domainsand click on Connectionsand select messagingdbas shown below:

    Figure 96 verifying if we can ping the CDB data tier using the messagindb data source

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    102/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    102

    m. Click on Propertiesto test the connection:

    Figure 97 messagindb properties and configuration

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    103/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    103

    n. Now click on Test Connection. We should see the following result:

    Figure 98 successfully pinged

    o. Test successful.

    p. Click Cancel.

    3. Unwired Server node two has been installed successfully.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    104/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    104

    Verify the ful l SUP cluster instal lat ion

    1. Open Sybase Control Center and login from the second Unwired Server node:

    Figure 99 login to SCC

    2. Expand the Seversfolder and lets make sure the second node is the secondary and not primary as

    shown below:

    Figure 100 two SUP servers are up and running

    3. In this example I am connecting to the secondary node, SUP02, and sup02( secondary, running) is

    the secondary server.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    105/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    105

    4. So lets stop the primary server and see if the secondary becomes a primary. Do the following:

    a. Highlight sup1 server

    b. Select the General tab and click stop as shown below

    Figure 101 stopping SUP primary server

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    106/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    106

    c. You will get a warning message if you are sure you want to stop. Select Yes. You should

    see the following:

    Figure 102 SUP primary done is shutting down

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    107/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    108/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    109/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    109

    h. Highlight the first Unwired Server node and click Startas shown below:

    Figure 105 bringing back sup01 online

    i. Click on Startbutton. This may take a while to start. Be patient. Once it starts successfully,

    you can see in the log window we have a message indicating the Server start successfully.

    Now all we have to do is to refresh our screen:

    Figure 106 the message window on the right display the message that SUP server started successfully

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    110/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    110

    j. Highlight the Seversfolder as shown below and the primary server role now became

    secondary and click on the Refreshbutton. You should see the following screen:

    Figure 107 sup01 now became secondary

    Notice: nO the left side the primary sup01 still showing (primary, stopped). In order to show thecorrect status, you need to log out and log back in

    k. Finally we should see this result after logging out and back in:

    Figure 108 both servers are now running again

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    111/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    111

    Ver i fy ing the l icense info rmat ion

    Finally we need to make sure that our cluster is configured correctly to match our license information. Toverify this, do the following:

    1. Login to Sybase Control Center.

    2. High light the localhost@localhost(running).

    Figure 109 checking license information

    3. Click on the Generaltab on the right.

    4. Click on Licensingbutton.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    112/116

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    113/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    113

    TROUBLESHOOTING

    Troubleshoot ing SySAM

    lmgrd is not running: Cannot connect to license server system. The license server manager (lmgrd) has notbeen started yet, the wrong port@host or license file is being used, or the port or hostname in the license filehas been changed.

    Figure 111 Getting the Server Status

    This issue is caused because SySAM by default uses IPv4 and on Windows 2008, you need to besupporting IPv6. To fix this issue, do the following:

    1. Navigate to C:\Sybase\SYSAM-2_0\bin\binIPv6

    2. Copy everything in there:a. installs.exe

    b. lmgrd.exe

    c. SYBASE.exe

    3. And paste it in the following folder, C:\Sybase\SYSAM-2_0\bin

    4. If you were asked to replace the existing files, say yes. Note: Make a backup copy before replacing

    them. If you get an error to replace the files, make sure the SYSAM service is not running

    5. Next after doing this, restart the SYSAM service

    6. Next step is to go to the following folder and run the graphic tools of SySAM, C:\Sybase\SYSAM-

    2_0\Bin\lmtools.exe

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    114/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    114

    7. To make sure your SySAM server is working fine click on Perform Status Enquiry:

    Figure 112 Server status result

    The full text should read like this: --------Status--------Flexible License Manager status on Wed 2/8/2012 11:42[Detecting lmgrd processes...]License server status: [email protected]

    License file(s) on vmsysam.sybase.com: C:\Sybase\SYSAM-2_0\licenses\vmsysam_201202060947.lic:vmsysam.sybase.com: license server UP (MASTER) v11.6Vendor daemon status (on vmsysam.sybase.com):

    SYBASE: UP v11.6

    Feature usage info:

    Troubleshoot ing Sybase Unwired Plat form Data Tier Insta l lat ion and Conf igurat ion

    CDB services may fail to start and that could be for many reasons.To start identifying this issue, check the error log associated with each database server:

    1. Go to the shared CDB data folder. This can be accessed by using the\\UNC_Path\Data.(e.g., in our

    white paper this is called\\cdbclusterFS\Data.

    2. Go into CDB folder.

    http://unc_path/Datahttp://unc_path/Datahttp://unc_path/Datahttp://cdbclusterfs/Datahttp://cdbclusterfs/Datahttp://cdbclusterfs/Datahttp://unc_path/Data
  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    115/116

    How to Install SUP in a Cluster Environment Using Microsoft Failover Cluster

    115

    3. Open each .txt file associated with each database for example:

    Clusterdb.db Clusterdb_error.log

    Default.db Errorlog.txt

    Monitordb.db Monitordb_error.log

    4. If you see something like this in any of the files, it means the log is corrupted

    E. 06/13 20:27:03. Error: Database cannot be started -- clusterdb.log not

    expecting any operations in transaction log

    E. 06/13 20:27:03. Database cannot be started -- clusterdb.log not

    expecting any

    5. To fix this issue, all you have to do is, delete the clusterdb.log.

    6. Go back and start the service that failed to start.

    7. Repeat the same steps for other 3 services except the Advantage Database Server since it is not a

    SQL Anywhere database.

  • 8/11/2019 How to Install SUP in a Cluster Environment Using Microsoft Cluster Failover (2.2.x)

    116/116

    www sap com