scc tutorials batch1

Upload: joseeduardoradillamendoza

Post on 29-May-2018

231 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 SCC Tutorials Batch1

    1/22

    Sybase Control Center Administration Tutorial

    Sybase Unwired Platform 1.2

  • 8/9/2019 SCC Tutorials Batch1

    2/22

    DOCUMENT ID: DC00973-01-0120-01

    LAST REVISED: April 2009

    Copyright 2009 by Sybase, Inc. All rights reserved.

    This publication pertains to Sybase software and to any subsequent release until otherwise indicated in new editions or technical notes. Information in this

    document is subject to change without notice. The software described herein is furnished under a license agreement, and it may be used or copied only in

    accordance with the terms of that agreement.

    To order additional documents, U.S. and Canadian customers should call Customer Fulfillment at (800) 685-8225, fax (617) 229-9845.

    Customers in other countries with a U.S. license agreement may contact Customer Fulfillment via the above fax number. All other international customers

    should contact their Sybase subsidiary or local distributor. Upgrades are provided only at regularly scheduled software release dates. No part of this publication

    may be reproduced, transmitted, or translated in any form or by any means, electronic, mechanical, manual, optical, or otherwise, without the prior written

    permission of Sybase, Inc.

    Sybase trademarks can be viewed at the Sybase trademarks page. Sybase and the marks listed are trademarks of Sybase, Inc. A indicates registration in the

    United States of America.

    Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.

    Unicode and the Unicode Logo are registered trademarks of Unicode, Inc.

    All other company and product names used herein may be trademarks or registered trademarks of their respective companies.

    Use, duplication, or disclosure by the government is subject to the restrictions set forth in subparagraph (c)(1)(ii) of DFARS 52.227-7013 for the DOD and as

    set forth in FAR 52.227-19(a)-(d) for civilian agencies.

    Sybase, Inc., One Sybase Drive, Dublin, CA 94568

    http://www.sybase.com/detail?id=1011207
  • 8/9/2019 SCC Tutorials Batch1

    3/22

    Contents

    Sybase Control Center ..................................................................5

    Starting the Sybase Unified Agent ....................................................7

    Connecting to the Web Administration Console ...................................9Using Server Logging ...................................................................11

    Setting Server Logging Level ......................................................................12

    Setting the Scheduled Refresh and Cache Interval for Mobile Business

    Objects ...............................................................................15

    Performing Role Mapping .............................................................17

    Reviewing Personalization Keys .....................................................19

    Sybase Control Center Administration Tutorial 3

  • 8/9/2019 SCC Tutorials Batch1

    4/22

    Contents

    4 Sybase Unwired Platform

  • 8/9/2019 SCC Tutorials Batch1

    5/22

    Sybase Control Center

    Goal: Use the Web-based Sybase Control Center to connect to the administrative console, where you can perform

    administrative tasks, such as role mapping, server logging, and personalization-key functions.

    Pre-requisites:

    Complete these tutorials in this order:

    Getting Started Tutorial

    Developing Database Mobile Business Objects

    Using Filter By in a Mobile Business Object

    Implementing Personalization Keys

    Implementing Role-based Security

    Unwired Server must be running.

    The Sybase Unified Agent must be running.

    You must be logged in on the machine on which Unwired Server resides to perform administrative tasks.

    Sybase Control Cent

    Sybase Control Center Administration Tutorial 5

  • 8/9/2019 SCC Tutorials Batch1

    6/22

    Sybase Control Center

    6 Sybase Unwired Platform

  • 8/9/2019 SCC Tutorials Batch1

    7/22

    Starting the Sybase Unified Agent

    Goal: Start the Sybase Unified Agent if it is not running.

    1. Select Start > Settings > Control Panel .2. In the Control Panel, double-clickAdministrative Tools.

    3. In the Administrative Tools window, double-clickServices.

    4. In the Services window, scroll through the list of services and locate Sybase Unified Agent. If it is not running:

    a) Right-clickSybase Unified Agent.

    b) Select Start.

    Starting the Sybase Unified Age

    Sybase Control Center Administration Tutorial 7

  • 8/9/2019 SCC Tutorials Batch1

    8/22

    Starting the Sybase Unified Agent

    8 Sybase Unwired Platform

  • 8/9/2019 SCC Tutorials Batch1

    9/22

    Connecting to the Web Administration Console

    Goal: Connect to the Sybase Control Center Web administration console to perform administrative tasks for Unwired

    Platform.

    1. Launch Sybase Control Center by selecting Start > Programs > Sybase > Sybase Control Center .

    2. ClickUnwired Platform.

    3. From Unwired Servers, select the server that contains the SUP101 package and log in using the default login user name

    and password combination:

    User Name supAdmin

    Password s3pAdmin

    4. ClickOK.

    5. The General tab allows you to perform these administrative tasks on the Unwired Server:

    Start start the Unwired Server.

    Stop stop the Unwired Server.

    Restart restart the Unwired Server.

    Ping ping the Unwired Server to verify the server state.

    Clean clear the text from the server console window.

    6. On the Properties tab, review the server configuration properties for:

    Host Port

    Secure Port

    Synchronization Port

    Version

    Unwired Server Home

    Connecting to the Web Administration Conso

    Sybase Control Center Administration Tutorial 9

  • 8/9/2019 SCC Tutorials Batch1

    10/22

    Connecting to the Web Administration Console

    10 Sybase Unwired Platform

  • 8/9/2019 SCC Tutorials Batch1

    11/22

    Using Server Logging

    Goal: Review the Unwired Server logs, refresh the log, and search the log.

    1. Under Unwired Servers, click the Log associated with the Unwired Server you are logged in to.

    2. The Details tab allows you to perform these actions:

    Refresh displays the most recent log data collected in the server log file if time has elapsed since you last opened

    the log

    Clean erases the portion of the log file that appears in the window.

    Search allows you to search the current log file.

    Note: Backup files are not searched.

    3. To search the current log file, select from the Search options, then clickGo:

    You can search by:

    Lines select to search by line, then select First or Last from the drop-down list.

    Date select to search by date, then select the start date and end date by clicking on the two calendar icons.

    Level select to search by logging level, then select from these logging levels:

    Debug provides the most detailed log output.

    Info provides information and possible solutions.

    Warn provides warning messages.

    Error in production settings, this option reduces logging impact.

    None disables log output.

    Using Server Loggi

    Sybase Control Center Administration Tutorial 11

  • 8/9/2019 SCC Tutorials Batch1

    12/22

    Key Word select to search by key word, then enter the key word.

    4. To save a log setting:

    a) Click the Setting tab.

    b) ClickSave.

    The default location for saved logs is %SUP_HOME%\Servers\UnwiredServer\logs\uep.log .

    Setting Server Logging Level

    Goal: Set the logging level for Unwired Server.

    1. From Unwired Servers, select the server for which to set the logging level.

    2. Click the Log associated with the selected Unwired Server.

    3. ClickSetting.

    4. Select a Log Level. Output verbosity decreases in order starting from Debug.

    Debug provides the most detailed log output.

    Info provides information and possible solutions.

    Warn provides warning messages.

    Error in production settings, this option reduces logging impact.

    None disables log output.

    5. Set the log file size by entering the values for:

    File Max Size enter the maximum file size. The default is 50MB.

    Max Backup Index enter the value for the number of files to back up. The default is 10.

    For example, if File Max Size is 50MB and Max Backup Index is 10, this means that the server preserves 500MB of

    the most recent logging information.

    Using Server Logging

    12 Sybase Unwired Platform

  • 8/9/2019 SCC Tutorials Batch1

    13/22

    6. ClickSave.

    Using Server Loggi

    Sybase Control Center Administration Tutorial 13

  • 8/9/2019 SCC Tutorials Batch1

    14/22

    Using Server Logging

    14 Sybase Unwired Platform

  • 8/9/2019 SCC Tutorials Batch1

    15/22

    Setting the Scheduled Refresh and Cache Interval for MobileBusiness Objects

    Goal: Set the refresh and cache interval for mobile business object data.

    1. Click the arrow next to Packages, and then the arrow next to the SUP101 package.

    The tree expands and you see a list of mobile business objects that are currently deployed in the package.

    2. Select the customer mobile business object.

    3. Click the Schedule tab in the right pane.

    4. Click the Cache Interval list and select 1 hour.

    This setting impacts the result of synchronization for the device when a new record is added or updated.

    5. Set the Schedule Repeat options:

    Setting the Scheduled Refresh and Cache Interval for Mobile Business Objec

    Sybase Control Center Administration Tutorial 15

  • 8/9/2019 SCC Tutorials Batch1

    16/22

    Now, the server automatically refreshes the mobile business object data each hour every day. Use this option to

    improve performance at the time of synchronization.

    6. ClickSave.

    7. Force the refresh of any cached data by clicking the Refresh Cache button.

    The Refresh button refreshes only the screen.

    8. ClickClean to clear the data in the cache.

    Setting the Scheduled Refresh and Cache Interval for Mobile Business Objects

    16 Sybase Unwired Platform

  • 8/9/2019 SCC Tutorials Batch1

    17/22

    Performing Role Mapping

    Goal: Set role mapping at the server or package level.

    You can set roles at the package level or at the server level. If you do not set mapping at the package level, server-level

    mapping is used.

    1. In the left pane, click the SUP101 package name.

    2. In the right pane, click the Mapped Roles tab.

    The package has two roles defined"supervisor" and "employee." Both of those roles are mapped as indicated under

    Physical Roles.

    3. From the Physical Roles list for employee, then select Map Role.

    4. In the Role Mappings window, select SUP Developer.

    5. ClickAdd.6. ClickOK.

    7. From Logical Role, select everybody, then from Physical Roles, select Map Role.

    8. In the Role Mappings window, click SUP User and clickAdd to map the logical everybody role to the physical SUP

    User role.

    You have now mapped a logical role at the server level.

    Performing Role Mappi

    Sybase Control Center Administration Tutorial 17

  • 8/9/2019 SCC Tutorials Batch1

    18/22

    Performing Role Mapping

    18 Sybase Unwired Platform

  • 8/9/2019 SCC Tutorials Batch1

    19/22

    Reviewing Personalization Keys

    Goal: Assign and view a description to personalization keys.

    1. Under Unwired Servers, clickPersonalization.The list of personalization keys that appear in the right pane are an aggregation of all the personalization keys

    referenced by currently deployed packages (mobile business objects).

    2. In Description, enter "Save device user's state preference", then clickSave.

    3. Click the Key Values tab to view the values that are assigned to the personalization key and passed to the device users.

    You see an entry for user_state associated with the supAdmin login.

    Note: Only users with the proper privileges are able to see the values associated with other users.

    Reviewing Personalization Ke

    Sybase Control Center Administration Tutorial 19

  • 8/9/2019 SCC Tutorials Batch1

    20/22

    Reviewing Personalization Keys

    20 Sybase Unwired Platform

  • 8/9/2019 SCC Tutorials Batch1

    21/22

    IndexC

    cleaning an Unwired Server log 11

    L

    log

    cleaning 11

    refreshing 11

    saving 11

    searching 11

    logging into Sybase Control Center 9

    logical role, mapping 17

    M

    mapping a logical role to a physical role 17

    mobile business objects

    cache interval, setting 15

    scheduled refresh, setting 15

    setting cache interval 15setting scheduled refresh 15

    P

    personalization 19

    personalizaton key

    adding a description 19

    viewing 19

    physical role, mapping 17

    pre-requisites 5

    R

    refreshing an Unwired Server log 11

    role mapping 17

    S

    saving an Unwired Server log 11searching an Unwired Server log 11

    Sybase Control Center

    Detail tab 11

    General tab 9

    logging in 9

    logging level, setting 12

    personalization 19

    Properties tab 9

    setting logging level for Unwired Server 12

    starting 9

    Sybase Unified Agent

    starting 7

    Starting the Sybase Unified Agent 7

    U

    Unwired Server

    managing 9

    pinging 9

    restarting 9

    starting 9

    stopping 9

    Ind

    Sybase Control Center Administration Tutorial 21

  • 8/9/2019 SCC Tutorials Batch1

    22/22

    Index