SPARX SYSTEMS ENTERPRISE ARCHITECT GOES CLOUD USING MICROSOFT AZURE AND MICROSOFT SQL AZURE VERSION 2.1



Similar documents
How to Connect to CDL SQL Server Database via Internet

HELP DOCUMENTATION E-SSOM INSTALLATION GUIDE

IceWarp Server Windows Installation Guide

WhatsUp Gold v16.3 Installation and Configuration Guide

WhatsUp Gold v16.2 Installation and Configuration Guide

WhatsUp Gold v16.1 Installation and Configuration Guide

OpenScape Business V2

Gladinet Cloud Backup V3.0 User Guide

AVG Business SSO Connecting to Active Directory

Aradial Installation Guide

AVG Business Secure Sign On Active Directory Quick Start Guide

Sparx Systems Enterprise Architect as an unattended Windows Service on Windows Server 2008R2 and higher VERSION 1.0

ODBC Overview and Information

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

Cloud Services. Introduction...2 Overview...2. Security considerations Installation...3 Server Configuration...4

E-Notebook SQL 12.0 Desktop Database Migration and Upgrade Guide. E-Notebook SQL 12.0 Desktop Database Migration and Upgrade Guide

SELF SERVICE RESET PASSWORD MANAGEMENT DATABASE REPLICATION GUIDE

SQL Express to SQL Server Database Migration MonitorIT v10.5

ODBC Group Policy Settings

Getting Started with Attunity CloudBeam for Azure SQL Data Warehouse BYOL

RE:Open for SQL Anywhere. Installation Guide. RE:Open for SQL Anywhere Installation Guide 1

Cloud Services ADM. Agent Deployment Guide

DB Administration COMOS. Platform DB Administration. Trademarks 1. Prerequisites. MS SQL Server 2005/ Oracle. Operating Manual 09/2011

INTRODUCTION: SQL SERVER ACCESS / LOGIN ACCOUNT INFO:

Configuration of an SQL server as an index data base for quarantines in

for Networks Installation Guide for the application on the server July 2014 (GUIDE 2) Lucid Rapid Version 6.05-N and later

Migrating Exchange Server to Office 365

for Networks Installation Guide for the application on the server August 2014 (GUIDE 2) Lucid Exact Version 1.7-N and later

Setting up a database for multi-user access

The manual contains complete instructions on 'converting' your data to version 4.21.

System Administration Training Guide. S100 Installation and Site Management

How-To: MySQL as a linked server in MS SQL Server

Implementing Microsoft Azure Infrastructure Solutions

ODBC Driver Version 4 Manual

PaperClip Audit System Installation Guide

Installation Instruction STATISTICA Enterprise Small Business

USQL Multi-Tier Client DSN s on Windows x64 editions

Guide to Setting up Docs2Manage using Cloud Services

Setting up an MS SQL Server for IGSS

Release 2.0. Cox Business Online Backup Quick Start Guide

Architecting the Future of Big Data

Installation / Backup \ Restore of a Coffalyser.Net server database using SQL management studio

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

Dream Report Version 4.5

Connecting to SQL server

Installing and Configuring WhatsUp Gold

Migrating a Database from Legi for Windows 2.X to MS Access

for Networks Installation Guide for the application on a server September 2015 (GUIDE 2) Memory Booster version 1.3-N and later

FileMaker 12. ODBC and JDBC Guide

Sage ERP Accpac 6.0A. Installation and System Administrator's Guide

Migrating to Azure SQL Database

Cloud Services. Introduction...2 Overview...2 Simple Setup...2

National Fire Incident Reporting System (NFIRS 5.0) Configuration Tool User's Guide

Consolidated Monitoring, Analysis and Automated Remediation For Hybrid IT Infrastructures. Goliath Performance Monitor Installation Guide v11.

Accessing a Microsoft SQL Server Database from SAS on Microsoft Windows

Migrating helpdesk to a new server

ACCESSING IBM iseries (AS/400) DB2 IN SSIS

GP REPORTS VIEWER USER GUIDE

ADC Windows 7 Professional

Introduction to Mobile Access Gateway Installation

Inmagic ODBC Driver 8.00 Installation and Upgrade Notes

Microsoft SQL Replication

Sage 300 ERP Installation and Administration Guide

FileMaker 13. ODBC and JDBC Guide

XMailer Reference Guide

System Requirements for Dynamics GP 2013

Installing Samsung SDS CellWe EMM cloud connectors and administrator consoles

Thirtyseven4 Endpoint Security (EPS) Upgrading Instructions

Converting InfoPlus.21 Data to a Microsoft SQL Server 2000 Database

CloudBerry Dedup Server

Dell Statistica Statistica Enterprise Installation Instructions

Automated Accounts Payable User Guide

Active Directory Management. Agent Deployment Guide

Crystal Reports Installation Guide

2. Unzip the file using a program that supports long filenames, such as WinZip. Do not use DOS.

Linking Access to SQL Server

Exchange 2013 mailbox setup guide

Accessing Your Database with JMP 10 JMP Discovery Conference 2012 Brian Corcoran SAS Institute

Microsoft Business Intelligence 2012 Single Server Install Guide

Sage Accpac Extended Enterprise Edition 5.6A. Installation and System Administrator's Guide

IQSweb Reference G. ROSS Migration/Registration

Using the SQL Server Linked Server Capability

32-bit and 64-bit BarTender. How to Select the Right Version for Your Needs WHITE PAPER

AWS Schema Conversion Tool. User Guide Version 1.0

Using MS-SQL Server with Visual DataFlex March, 2009

Configuration Procedure

HansaWorld SQL Training Material

How to Move an SAP BusinessObjects BI Platform System Database and Audit Database

MS SQL Express installation and usage with PHMI projects

Dell One Identity Cloud Access Manager How To Deploy Cloud Access Manager in a Virtual Private Cloud

MIGRATING TO AVALANCHE 5.0 WITH MS SQL SERVER

F-Secure Messaging Security Gateway. Deployment Guide

Migration Manager v6. User Guide. Version

FmPro Migrator - FileMaker to SQL Server

Online Backup - Installation and Setup

Snow Inventory. Installing and Evaluating

Transcription:

VERSION 2.1 SPARX SYSTEMS ENTERPRISE ARCHITECT GOES CLOUD USING MICROSOFT AZURE AND MICROSOFT SQL AZURE 2012 LieberLieber Software GmbH www.lieberlieber.com

1 INHALT Sparx Systems Enterprise Architect goes Cloud USING Microsoft Azure And Microsoft SQL Azure... 2 Executive Summary... 2 Preperations... 2 Step by step Assistance... 2 Step 1: Convert EAP File into Access 2010 Format... 2 Step 2: Create a new database in SQL Azure... 3 Step 3: Microsoft SQL Server Migration Assitant for Access (SSMA)... 3 Step 4: Open SQL azure based Repository of Enterprise Architect... 7 Results... 8 Some Hints... 10 Hint 1: database Connection... 10 Hint 2: Being Inactive with EA... 10 Hint 3: Fast Internet Connection... 10 More Tips... 10 Tip 1: Performance optimization... 10 Tip 2: Working in TEAMs with Enterprise Architect... 11 Tip 3: Use of replication and data synchronisation... 11 End of Document... 11

2 AND MICROSOFT SQL AZURE Author: Peter Lieber, May-June 2012 EXECUTIVE SUMMARY This whitepaper describes how to migrate and run an Enterprise Architect Repository in the Microsoft Azure Cloud esp. Microsoft SQL Azure. NEW (Version 2.0): And additionally for Version 2.0 there were added important notes what will work and what will just look like it will work. PREPERATIONS Enterprise Architect >= 9.3 (Corporate Edition or higher) An Enterprise Architect Repository, prepared as EAP File (EAP = Microsoft Access Format) in this document: EAExample.eap Microsoft Access >= 2010 Microsoft SQL Server Migration Assitant for Access (SSMA) >= 5.2 Microsoft Azure Abonnement >= 1.6 Microsoft SQL Azure Instance >= 1.6 NEW (Version 2.0): SQL Server Native Client >= 10.0 NEW (Version 2.0): as an attractive, alternative solution: CNS Media Gateway (www.connecting-software.com ) STEP BY STEP ASSISTANCE STEP 1: CONVERT EAP FILE INTO ACCESS 2010 FORMAT As a first step open the EAExample.eap file using Microsoft Access 2010 (right mouse button in Windows Explorer on file and Open with there choose Microsoft Access 2010) Access will inform you that the EAP is created by an older version of Access choose yes to convert the file into a newer format and give another name. During Conversion there will be 1 conversion issue and 1 hint that securty on users level is not supported any more this can be ignored and the created conversion issue table can be deleted or ignored.

3 STEP 2: CREATE A NEW DATABASE IN SQL AZURE For this whitepaper we mention that a Microsoft Azure Abonnement is already existing and also the access to the administration portal: https://windows.azure.com In our sample the name of the SQL Azure database server is: ecmfpl512j.database.windows.net. The database is called EAExample and configured as 1GB size, type: WEB. The administrative user is: EAExampleAdmin and the password: Eee2012$App$E. (Hint: This database is not public available and only used for demonstration purposes) One important rule is to set firewall rules for SQL Azure, but it is allowed to define a range from 0.0.0.0 to 255.255.255.255 and that means available to everybody. STEP 3: MICROSOFT SQL SERVER MIGRATION ASSITANT FOR ACCESS (SSMA) For conversion of an Enterprise Architect Repository the functionality of SSMA Wizard is powerful enough. Just follow the step-by-step wizard of SSMA:

4 First choose a conversion project name this makes sense if you want to reproduce conversion with the same repository more often. At Migrate To choose SQL Azure: Then choose the converted Access file prepared in step 1:

5 By default only tables are marked it makes sense also to mark the queries, because they are prepared for some background optimizations of EA and of course esp. required for this sample. Fill out the SQL Azure connection properties:

6 You can choose if you want to use the Access file as a proxy for SQL Azure this is not recommended and this will not work appropriate: Then the conversion process starts: Ignore all issues because they only adress issues in the queries region.

7 STEP 4: OPEN SQL AZURE BASED REPOSITORY OF ENTERPRISE ARCHITECT Connect now EA with the new SQL Azure Repository. OLD (VERSION 1.0): CONNECTION USING OLEDB OLD (Version 1.0): Use the connection wizard. Choose SQL Server as driver it should work with the native driver to here we used the OLE DB driver, switch to Connection tab and insert details to connect to SQL Azure using the complete name of the database. For user use the following format: EAExampleAdmin@ecmfpl512j. Check the store the password in connection checkbox. The connection string stores now the password so use the encrypted option of EA to make save deployment of the connection string easier. For best performance data chose also LazyLoad. WAN Optimizer is not usable in a SQL Azure environment. NEW (VERSION 2.0) CONNECTION USING SQL NATIVE CLIENT Do not use the OLE DB Provider, because OLE DB is not supported by SQL Azure the worse thing it seems to work, but in details EA will have a lot of troubles and will behave strange. So here comes what you have to do: 1.) You have to install SQL Native Client (for ODBC) first it is part of SQL Server Tools (and also for SQL Server Express Tools, so it is usable for free, afaik). 2.) Configure an ODBC DSN if you are on a 64bit Enviroment take care to configure the DSN using the ODBCAD32.EXE from the c:\windows\system32\ directory _not_ the one from

8 the c:\windows\syswow64\ because the DSNs from both enviroments will come up within EA (Microsoft says its by design ). a. Name the ODBC DSN appropriate lets say EAExample32 3.) Then within EA configure using the Connection String and yes you have to type it because the wizard not really supports everything that is expected. Of course you (and all your users) can see now the password and it is not a good idea to promote the admin password but for this whitepaper it is fine enough. a. EAExample32 --- DBType=1;Connect=DSN=EAExample32;UID= EAExampleAdmin@ecmfpl512j.database.windows.net;PWD=topsec ret;initial Catalog=EAExample01;LazyLoad=1; NEW (VERSION 2.0) ATTRACTIVE, ALTERNATIVE SOLUTION: CONNECTION USING CNS MEDIA GATEWAY If you want to have an attractive, alternative, secure (encrypted) route with a slim ODBC driver on the client side using CORBA and optimized traffic to connect to Microsoft Azure based Server and there connect to the repository then try out CNS Media Gateway. LieberLieber is currently working to provide an Enterprise Architect Plugin for that environment. RESULTS Last but not least:

9 Welcome Enterprise Architect to the Microsoft SQL Azure Cloud!

10 SOME HINTS HINT 1: DATABASE CONNECTION OLD: Enterprise Architect recommends a stable database connection, by system architecture this is not garantueed by SQL Azure and so sometimes (on time out, on changing network, ) Microsoft OLE DB Provider messages/warnings might occure. Just confirm the messages after such a message EA tries to reconnect and everything should work fine again. NEW (Version 2.0): if you change the network or you configured a fire wall in SQL Azure the connection may be lost by EA. EA behaves as EA behaves in this case. HINT 2: BEING INACTIVE WITH EA It may happen, that EA asks for a password on longer inactivity just cancel request (even more than once) if you are sure that everything should by fine otherwise try to reopen the project. HINT 3: FAST INTERNET CONNECTION For SQL Azure internet connection performance is typically not the issue. But Microsoft recommends a minimum bandwith of 16Mbit for fluid use. My experience is, that 4Mbit is for EA fast enough for working. MORE TIPS TIP 1: PERFORMANCE OPTIMIZATION It makes sense to insert the following indices to SQL Azure of course you can run your own optimizations using the tools for SQL Azure. CREATE INDEX [PD1] ON [t_object] ([PDATA1]); CREATE INDEX [ix_attribute_classifier] ON [t_attribute]([classifier]); CREATE UNIQUE INDEX [ux_attribute_guid] ON [t_attribute]([ea_guid]); CREATE INDEX [ix_attribute_type] ON [t_attribute]([type]); CREATE INDEX [ix_attributetag_value] ON [t_attributetag]([value]); CREATE INDEX [ix_connector_seqno] ON [t_connector]([seqno]); CREATE INDEX [ix_connector_eid_connid] ON [t_connector]([end_object_id],[connector_id]); CREATE INDEX [ix_connector_sid_connid] ON [t_connector]([start_object_id],[connector_id]);

11 CREATE INDEX [ix_connectortag_property] ON [t_connectortag]([property]); CREATE INDEX [ix_connectortag_value] ON [t_connectortag]([value]); CREATE INDEX [ix_datatypes_productname] ON [t_datatypes]([productname]); CREATE INDEX [ix_datatypes_datatype] ON [t_datatypes]([datatype]); CREATE INDEX [ix_object_name] ON [t_object]([name]); CREATE INDEX [ix_object_objecttype] ON [t_object]([object_type]); CREATE INDEX [ix_object_pkgidpd1class] ON [t_object]([package_id],[pdata1],[classifier]); CREATE INDEX [ix_objectscen_oidevalscen] ON [t_objectscenarios]([object_id],[evalue],[scenario]); CREATE INDEX [ix_operation_classifier] ON [t_operation]([classifier]); CREATE UNIQUE INDEX [ux_operation_guid] ON [t_operation]([ea_guid]); CREATE UNIQUE INDEX [ix_opparams_guid] ON [t_operationparams]([ea_guid]); CREATE INDEX [ix_operationtag_value] ON [t_operationtag]([value]); CREATE INDEX [ix_t_taggedvalue_value] ON [t_taggedvalue]([elementid]); CREATE INDEX [ix_xrefsystem_client] ON [t_xrefsystem]([client]); CREATE INDEX [ix_xrefsystem_supplier] ON [t_xrefsystem]([supplier]); CREATE INDEX [ix_xrefsystem_type] ON [t_xrefsystem]([type]); CREATE INDEX [ix_xrefuser_client] ON [t_xrefuser]([client]); CREATE INDEX [ix_xrefuser_supplier] ON [t_xrefuser]([supplier]); CREATE INDEX [ix_xrefuser_type] ON [t_xrefuser]([type]); TIP 2: WORKING IN TEAMS WITH ENTERPRISE ARCHITECT Read the recommended whitepaper for deployment of EA for teams: http://sparxsystems.com/downloads/whitepapers/ea_deployment.pdf TIP 3: USE OF REPLICATION AND DATA SYNCHRONISATION SQL Azure supports an interesting option for interoperability of SQL Servers: http://msdn.microsoft.com/en-us/library/hh456371.aspx END OF DOCUMENT