Vocera Report Server Database Schema - Version 4

1y ago
5 Views
1 Downloads
1,016.23 KB
118 Pages
Last View : 2m ago
Last Download : 3m ago
Upload by : Rafael Ruffin
Transcription

Vocera Report Server Database SchemaVersion 4.4

Copyright 2002-2013 Vocera Communications, Inc. All rights reserved.Protected by US Patent Numbers D486,806; D486,807; 6,892,083; 6,901,255;7,190,802; 7,206,594; 7,248,881; 7,257,415; 7,310,541; 7,457,751; AUPatent Number AU 2002332828 B2; CA Patent Number 2,459,955; EEC PatentNumber ED 7513; and Japan Patent Number JP 4,372,547.Vocera is a registered trademark of Vocera Communications, Inc.This software is licensed, not sold, by Vocera Communications, Inc. (“Vocera”).The reference text of the license governing this software can be found atwww.vocera.com/legal. The version legally binding on you (which includeslimitations of warranty, limitations of remedy and liability, and other provisions)is as agreed between Vocera and the reseller from whom your system wasacquired and is available from that reseller.Certain portions of Vocera’s product are derived from software licensed by thethird parties as described atJava is a registered trademark of Oracle Corporation and/or its affiliates.Microsoft , Windows , Windows Server , Internet Explorer , Excel , andActive Directory are registered trademarks of Microsoft Corporation in theUnited States and other countries.All other trademarks, service marks, registered trademarks, or registered servicemarks are the property of their respective owner/s. All other brands and/orproduct names are the trademarks (or registered trademarks) and property oftheir respective owner/s.Vocera Communications, Inc.www.vocera.comtel :: 1 408 882 5100fax :: 1 408 882 51012013-12-12 14:23:43ii ··· Vocera Report Server Database Schema

ContentsOverview. 13How Report Server Works.Writing Database Queries.Connecting to the Vocera Report Server Database.Java Example.Installing Crystal Reports 2008 and MySQL Connector/ODBC3.51.Tables at a 242425252626272727282829293030313232323333Contents ··· iii

ting Custom Reports. 37Adding Custom Reports to the Vocera Report Console.Updating the customconfig.xml File.Configuring Report Parameters.Adding a Hidden Watermark Parameter.Adding a Text Field Parameter.Adding a Date Range Parameter.Adding a Drop-Down List Parameter.Adding Cascading Drop-Down List Parameters.Adding a Static List Parameter.Adding a Multilist Parameter.Writing SQL Queries to Define Report Parameters.Step-by-Step Guide to Custom Reports.Creating a Custom Report from a Standard Report.Creating a Custom Report from a SQL Query.Troubleshooting Problems with Custom Reports.373840414141424243434445454857Database Details. 59Vocera Usage v ··· Vocera Report Server Database Schema596162646669717273747577798081838486889092

radiodetail. 93radiolog. 95recresults. 97sites. 99speechports. 100systeminfo. 102unansweredcalls. 104users. 105vmiactions. 107vmievent. 109vmimessages. 111Report Server Application Data. 113Index. 115Contents ··· v

vi ··· Vocera Report Server Database Schema

List of Figures1. Report Server diagram.2. Querying groups.3. Querying related data from two tables.4. Connector/ODBC 3.51.x dialog box.5. ODBC (RDO) dialog box.6. Broadcasts to Groups report.7. Broadcasts report.8. Database Expert dialog box.9. Data Source Selection dialog box.10. Connection Info dialog box.11. Add Command To Report dialog box.12. Command Parameter dialog box.13. Enter Values page.14. Inactive command.15. Group Expert dialog box.16. Fields inserted onto the report.17. Template Expert dialog box.18. Inserted text objects to summarize groups.19. Create New Parameter dialog box.20. Finished report.21. Inactive Users ontents ··· vii

viii ··· Vocera Report Server Database Schema

List of Tables1. Database connection parameters. 162. customconfig.xml schema elements. 393. Troubleshooting Problems with Custom Reports. 584. addressbookentries table. 615. audit table. 626. broadcasts table. 647. calls table. 668. deviceinfo table. 699. devicestatus table. 7110. devicestatuschange table. 7211. dnd table. 7312. failures table. 7413. groupactivity table. 7514. groupconference table. 7715. groups table. 7916. incompletedata table. 8017. inventory table. 8118. locations table. 8319. loginlogout table. 8420. lostconnectiondetail table. 8621. lostconnectionlog table. 8822. messageactivity table. 9023. posted table. 9224. radiodetail table. 9325. radiolog table. 9526. recresults table. 9727. sites table. 9928. speechports table. 10029. systeminfo table. 10230. unansweredcalls table. 10431. users table. 10532. vmiactions table. 10733. vmievent table. 10934. vmimessages table. 111Contents ··· ix

x ··· Vocera Report Server Database Schema

List of Examples1. Connecting to the database in a Java program.2. customconfig.xml XML structure.3. Defining a hidden watermark parameter.4. Defining a parameter for a Text field.5. Defining a parameter for a date range field.6. Defining a drop-down list parameter.7. Defining parameters for cascading drop-down lists.8. Defining a parameter for a static list.9. Defining a parameter for a multilist field.10. SQL query with a WHERE clause.16384141414242434344Contents ··· xi

xii ··· Vocera Report Server Database Schema

OverviewThis chapter provides an overview to the Vocera Report Server databaseschema. It contains the following sections: How Report Server Works on page 13 Writing Database Queries on page 14 Connecting to the Vocera Report Server Database on page 16 Installing Crystal Reports 2008 and MySQL Connector/ODBC3.51 on page 17 Tables at a Glance on page 20How Report Server WorksThis document describes the tables used by the Vocera Report Server togenerate reports based on data gathered as people use the Vocera system.The Vocera server records events (for example, the start of a badge call, Genieprompts, the end of a call) in log files. The Report server parses these files intodatabase tables and queries the tables to generate data for reports.The following figure illustrates Report Server functionality. It shows how datais loaded from the Vocera Server into the Report Server database. Reportdefinition files (including custom reports) are created using the Crystal ReportsDesigner. The Report Console generates reports.Overview ··· 13

Writing Database QueriesFigure 1. Report Server diagramThe files that define Vocera reports (for example, DailySystemCallVolume.rpt)are installed by default in the \vocera\reports\Reports directory when youinstall the Vocera Report Server. To read and study these files as a basis foryour own custom reports, you must also install Crystal Reports. See InstallingCrystal Reports 2008 and MySQL Connector/ODBC 3.51 on page 17.Writing Database QueriesYou can use the schema information to write queries and create custom reportsbased on the same data. For example, the following query returns a list of thegroups on a Vocera server by extracting values from the GroupName column ofthe groups table:select GroupName from groups;14 ··· Vocera Report Server Database Schema

Writing Database QueriesFigure 2. Querying groupsHere's an example of how to get related data from two tables. The followingquery returns speech recognition scores for a specified user:select r.score, u.FirstName, u.LastNamefrom recresults r, users uwhere r.UserID 'rhall' and u.UserID 'rhall';This query returns rows from both tables where the value of the UserID field isrhall.Figure 3. Querying related data from two tablesOverview ··· 15

Connecting to the Vocera Report Server DatabaseConnecting to the Vocera Report Server DatabaseThe following table lists connection parameters for the Vocera Report ServerDatabase.Table 1. Database connection parametersParameterValueDatabase namevocera reportsUser namevoceraPasswordvoceraJava ExampleThe following code example shows how to connect to the database andexecute a query from a Java application.Example 1. Connecting to the database in a Java programimport java.sql.*;//import java.util.*;public class VRSConnection {// Replace "vrsHost" with the host name or IP address// of the Vocera Report Server.static String sHost "vrsHost";static String sUsername "vocera";static String sPassword "vocera";static String sThinConn "jdbc:mysql://" sHost "/vocera reports";static String driverClass "com.mysql.jdbc.Driver";public static Connection getConnection()throws SQLException {Connection c null;try {Class.forName(driverClass).newInstance();c assword);}catch (Exception e) {e.printStackTrace(System.out);}return c;}16 ··· Vocera Report Server Database Schema

Installing Crystal Reports 2008 and MySQL Connector/ODBC 3.51public static void main(String argv[]) {try {Connection conn getConnection();if (conn null) {System.out.println("No connection."); System.exit(0);}else {System.out.println("Connected.");Statement stmt conn.createStatement();String query "SELECT SITENAME FROM SITES";ResultSet rs stmt.executeQuery(query);while (rs.next()) n.close();System.out.println("Connection closed.");}}catch (SQLException sqle) {sqle.printStackTrace();}}}Installing Crystal Reports 2008 and MySQL Connector/ODBC 3.51Install Crystal Reports 2008 Release 2 on a different computer from the VoceraReport Server. To connect from Crystal Reports to your Vocera Report Server,you need to install the MySQL Connector/ODBC 3.51 driver and set up anODBC data source.Important: DO NOT install Crystal Reports Server on the same machine asVocera Report Server. Vocera Report Server has not been certified to work oncomputers where Crystal Reports Server is also installed.To install Crystal Reports 2008 Release 2 and MySQL Connector/ODBC3.51:1. Download the MySQL Connector/ODBC 3.51 driver from the onnector/odbc/3.51.htmlNote: Vocera Report Server requires MySQL Connector/ODBC 3.51.27 orlater.2. Install the MySQL Connector/ODBC 3.51 driver.3. Set up an ODBC data source to connect to your Vocera Report Server:Overview ··· 17

Installing Crystal Reports 2008 and MySQL Connector/ODBC 3.51a. Open the ODBC Data Source Administrator, which is usually foundunder Start Programs Administrative Tools Data Sources(ODBC), or Start Settings Control Panel Data Sources(ODBC). The ODBC Data Source Administrator dialog box opens.b. Click the System DSN tab.c. Click Add. The Create New Data Source dialog box opens.d. Select the MySQL 0DBC 3.51 driver from the list.e. Click Finish.f. The Connector/ODBC 3.51.x dialog box opens with the Login tabselected. Enter the following information:FieldValueData Source NameVoceraReportsDescriptionVocera Report Server connectionServer[IP address of the Vocera Report ra reportsNote: The User and Password values above are the default values forVocera Report Server. If you changed the User and Password on theVocera Report Server, use those values instead.The Connector/ODBC 3.51.x dialog box should look like this:18 ··· Vocera Report Server Database Schema

Installing Crystal Reports 2008 and MySQL Connector/ODBC 3.51Figure 4. Connector/ODBC 3.51.x dialog boxg. Click OK to save the connection and close the Connector/ODBC 3.51.xdialog box.h. In the ODBC Data Source Administrator dialog box, click OK.4. Install Crystal Reports 2008 Release 2. For detailed instructions, see theseparate Crystal Reports documentation.5. When prompted, restart the computer.6. After the computer restarts, run Crystal Reports.7. Log on to the VoceraReports data source:a. Choose File Log On or Off Server. The Data Explorer dialog boxopens.b. Expand the Create New Connection folder, and then expand the ODBC(RDO) folder. The ODBC (RDO) dialog box opens.c. Make sure the Select Data Source radio button is selected. In the DataSource Name list, select VoceraReports. Click Next.Overview ··· 19

Tables at a GlanceFigure 5. ODBC (RDO) dialog boxd. Enter the UserID and Password. By default, both values are "vocera".If you changed the UserID and Password on the Vocera Report Server,use those values instead.e. Click Finish.Tables at a GlanceThe Report server generates reports from logs and user data acquired from theVocera server. This section provides an overview of of tables of Vocera usagedata maintained in the Vocera Report Server database. Tables containing ReportServer application data are excluded. Underlined columns indicate primary keysfor the table.20 ··· Vocera Report Server Database Schema

tbroadcastsOverview ··· 21

tedINT(1)AcceptedByTypeVARCHAR(10)calls22 ··· Vocera Report Server Database Schema

iew ··· 23

TIMETxDateDATEUserIDVARCHAR(70)dnd24 ··· Vocera Report Server Database Schema

w ··· 25

ferencegroups26 ··· Vocera Report Server Database Schema

rview ··· 27

artyVARCHAR(20)28 ··· Vocera Report Server Database Schema

gmessageactivityOverview ··· 29

IUMINT(9)postedradiodetail30 ··· Vocera Report Server Database Schema

DIUMINT(9)radiologOverview ··· 31

mnTypeTxMillisBIGINT(15)sitesspeechports32 ··· Vocera Report Server Database Schema

IDBIGINT(10)systeminfounansweredcallsOverview ··· 33

ctions34 ··· Vocera Report Server Database Schema

64)vmieventOverview ··· 35

yVARCHAR(20)MessageTextTEXT36 ··· Vocera Report Server Database Schema

Cre

a.Open the ODBC Data Source Administrator, which is usually found under Start Programs Administrative Tools Data Sources (ODBC), or Start Settings Control Panel Data Sources (ODBC). The ODBC Data Source Administrator dialog box opens. b.Click the System DSN tab. c.Click Add. The Create New Data Source dialog box opens.

Related Documents:

HS-PORTAL 150 Hebe-Schiebe-Türbeschlag für Holzelemente Schema-Übersicht und allgemeine Hinweise 3.1.2 Ausführbar mit Führungsschiene HH0130-01/-02 KH0130-01 Schema A Schema D Schema G Schema G-2 Schema G-3 Schema H Schema C Schema F Schema K Schema E Schema L Achtung: Die für den SIEGENIA-AUBI-Beschlag HS-PORTAL 150 angegebenen .

1. Locate the icon for Vocera Collaboration Suite on your iPhone home screen. 2. Tap the Vocera icon to launch the application. When you start Vocera Collaboration Suite for the first time, you must configure your device as either a shared device or a personal device. A shared device i

Microsoft DHCPv6 Server Windows 2008 Server (Standard) Cisco ACS Radius Server 5.2.0.26 Microsoft Exchange Server 2010 Windows 2008 R2 Server Cisco Identity Services Engine (ISE) 1.1.0.665 Cisco Unified Call Manager (CUCM) 7.1.5.33900-10 Vocera Server 4.1/SP5 Vocera Client Gateway 4.1/SP5 AeroScout MobileView Server 4.3.3.12

Android to set it up correctly. . Mobile in order to receive Vocera calls and messages. Off campus, Vocera will . To place a call, click the call button in a contact’s profile or ask the Genie voice command to call someone by name. Can I view a message without clicking it?

Chapter 1. Introduction ··· 11 1 Introduction The Vocera smartphone provides the one-touch, instant communication capability of a Vocera client in a familiar phone form factor.

figure 8 (also figure 41) : visualization schemas and its relationship to database schema. database schema builds on top of databases and visualization schema builds on top of database schema.10 figure 9 - a user can connect snap to a network or local database in order to begin visualization construction.

the specified database or to have AWS DMS create each database for you as it finds the database on the source. Note For the purposes of this paper, in Oracle a user and schema are synonymous. In MySQL, schema is synonymous with database. Both SQL Server and Postgres have a concept of database AND schema. In this paper, we’re referring to the .

support schema evolution [43] to handle data whose structure . by storing FSD as one object without relying on any static schema & E/R model to decompose FSD into relational tables. That is, no schema on write . Flexible schema that is . schema ba