Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Install and configure IBM Rational System Architect Version 11.3: Part 2. Connect to Microsoft SQL Server 2005

Sami Joueidi, Senior Enterprise Architect, IBM
Sami Joueidi holds a master's degree in electrical engineering. He is certified by IBM as an IT Architect and by Carnegie Mellon as an Enterprise Architect. His focus includes application lifecycle development in both IT and systems areas.

Summary:  This article, Part 2 of a three-part series, walks you through the steps configuring IBM® Rational® System Architect to connect to Microsoft SQL Server 2005.

View more content in this series

Date:  01 Apr 2010
Level:  Advanced PDF:  A4 and Letter (206KB | 16 pages)Get Adobe® Reader®
Also available in:   Chinese  Portuguese  Spanish

Activity:  6281 views
Comments:  

Installing and configuring IBM® Rational® System Architect can be challenging, especially since it requires a relational database management system (RDBMS) for its repository. Moreover, the various available installation scenarios, which include installations to Microsoft® SQL Server 2005 Express, Microsoft® SQL Server 2005 or Oracle, combined with the imposed network and workstation security constraints on workstations might make the installation difficult.

This three-part series covers Rational System Architect Version 11.3 installation in a secured environment, as well as configuration to connect to Microsoft SQL Server 2005 (SQL Server) and Microsoft SQL Server 2005 Express (SQL Express) in a non-shared and shared environment for professional and enterprise encyclopedias. Each part includes a basic troubleshooting section.

  • Part 1 provided an overview of Rational System Architect terminologies and utilities. It walked you through the steps installing and configuring Rational System Architect to connect to SQL Express on a workstation targeted to Professional encyclopedias.
  • This part guides you through the steps to connect Rational System Architect to SQL Server environment targeted to Professional encyclopedias.
  • Part 3, Configure Rational System Architect by using the Catalog Manager, explains configuring Rational System Architect to connect to SQL Express in a shared environment targeted to enterprise encyclopedias.

Overview of IBM Rational System Architect

Rational System Architect provides an enterprise-wide view of the interactions of the five key domains: strategy, business, information, systems, and technology.

It is an integrated, multi-user solution that supports all major areas of modeling, including business process modeling, object-oriented and component modeling with UML, relational data modeling, and structured analysis and design. The modeling actions are performed within a real-time, multi-user environment where the produced artifacts are stored within an extensible repository with a customizable Meta model.

Rational System Architect includes the U.S. Federal Enterprise Architecture Framework (FEAF) that assists U.S. government departments and agencies in incorporating and using the Office of Management and Budget (OMB) Reference Models and subsequent creation and publishing of OMB Exhibit 300 and Exhibit 53 reports.

In addition, Rational System Architect is the most widely used enterprise architecture solution in support of the Department of Defense Architecture Framework (DoDAF). Rational System Architect provides the capabilities for building models representing Department of Defense (DoD) architectures, auto-generating DoDAF work products and reports.


Preparation tasks

Assumptions

This article is based on these three assumptions:
  • That Rational System Architect is installed and configured on the workstation as described in Part 1 (see "More in this series")
  • That a SQL server is already installed and an instance is created
  • That Microsoft® Windows® authentication is used to access the SQL instance

Connecting Rational System Architect to a SQL server instance involves specific tasks to be completed by the network or domain administrator, the database administrator, and the Rational System Architect administrator. The following sections describe these tasks by role.

Prerequisite tasks

Ensure that Rational System Architect is installed and configured on the workstations. See the following sections in Part I (see "More in this series") to ensure proper installation and configuration:

  • Section 1: Install Rational System Architect
  • Section 3: Create a shared folder for encyclopedia backups

System architect administrator tasks

  1. Identify all or most Rational System Architect users (you can add users later).
  2. Collect their user domain login IDs.
  3. Get answers to these questions:
    • Which users will be Rational System Architect administrators? These users can create, manage, and set up user access to Rational System Architect encyclopedias.
    • Which users are standard Rational System Architect users? These people use this software daily.
  4. Provide this information to the network or domain engineer.

Network or domain engineer tasks

  1. Create two Windows domain groups:
    • saAdminGroup
    • saUsersGroup
  2. Add the following domain users (format: <domain>\<username> ) to these groups:
    • Add the Rational System Architect administrator users to the saAdminGroup.
    • Add both Rational System Architect Administrator users and Rational System Architect standard users to the saUsersGroup.
  3. Verify that the Rational System Architect workstations have network access to the SQL server (hostname) and set up the exceptions in Windows Firewall to allow remote access to the SQL instance, if required.

SQL server database administrator tasks

  1. Identify the SQL instance where Rational System Architect. encyclopedias (databases) will be created.
  2. Provide the SQL instance name to the Rational System Architect administrators in the form of hostname\instance name.
  3. Provide the port number to the Rational System Architect administrators in case SQL server is not using the standard port.
  4. Ensure that the proper SQL services are running on the SQL server to allow remote access to the SQL instance.
  5. Add both the saAdminGroup and saUsersGroup groups to the SQL server instance.
  6. Assign the dbcreator server role to the saAdminGroup.

Note:
The domain users that are part of the saAdminGroup must be able to create Rational System Architect encyclopedias (by using the Encyclopedia Manager tool that is included). They are, in essence, the database owners of these encyclopedias.


Configure Rational System Architect to connect to the SQL server

Open the Startup Wizard and configure Rational System Architect:

  1. Log in to the workstation as the Rational System Architect administrator.
  2. Start Rational System Architect.
  3. Select Help > Startup Wizard if the wizard did not start automatically.
  4. In the Welcome screen, click Next.
  5. Uncheck the Configure sample and tutorial encyclopedia projects check box (see Figure 1).

Figure 1. Select options for Rational System Architect configuration
Options view with check boxes
  1. Click Next.
  2. Select the option that says Existing SQL Server located on the network (Figure 2)

Figure 2. Specify where to store encyclopedia data
Radio button selected
  1. Select the SQL server instance given to you by your database administrator, in this format: hostname\instance name.
  2. Click Next.
  3. If asked, select Windows Authentication from the Connection Information window.
  4. Navigate through the screens and complete the configuration.
  5. Close Rational System Architect.

Create new Encyclopedia on the SQL server instance

  1. Log in to the workstation as Rational System Architect Administrator (a user who belongs to the saAdminGroup).
  2. Start Rational System Architect.
  3. Click File > Open Encyclopedia.
  4. Click New to create a new encyclopedia.
  5. Under Connection, click the browse button (three dots) to create a new connection.
  6. Click New to create a new connection.
  7. For a connection name, type the SQL server instance name.
  8. Select hostname\instance name from the drop-down list for a server name.
  9. Click OK.
  10. In the Open Encyclopedia window, enter a name for the new Rational System Architect Encyclopedia (for example: test).
  11. Click OK.

Create a database user role

Logins names are server-wide accounts that can be mapped to individual users or user groups. A login name for a Rational System Architect user needs a predefined set of server roles and database access rights. To make it easy to grant Rational System Architect users the required privileges, the Encyclopedia Manager feature provides the "Create SAUser Role" function under the Tools menu. This database role is defined with the minimum rights needed by a user to access Rational System Architect encyclopedias. Basically, it gives the user databasereader and databasewriter access (these are predefined database roles), as well as EXEC rights on any stored procedures used by Rational System Architect.

  1. From the Start menu located under IBM Rational > IBM Rational Lifecycle Solutions Tools, as Rational System Architect administrator, start the Rational System Architect Encyclopedia Manager SAEM(SQL Server) utility.
  2. Click Server > Connect to create a connection to the SQL instance.
  3. From the drop-down menu, select the SQL server instance, which is in the form of hostname\instance name.
  4. Select Windows for authentication.
  5. Press OK to create a connection to the SQL server instance.
  6. Select the test database from the drop-down menu in the database toolbar, as Figure 3 shows.

Note:
A database must be selected to be able to issue any commands in Rational Software Architect Encyclopedia Manager.


Figure 3. Select an encyclopedia
'Test' is selected
  1. Click Tools > Create SAUser Role from the drop-down menu.

Assign the user role to the saUsersGroup

  1. Click Server > Logins to see a list of login groups or users that are available.
  2. Select saUserGroup from the list.
  3. Click the icon to edit the selected login group.

Figure 4. Select the saUserGroup from the list
Arrow points to Edit icon, person with page
  1. Click the Database Access tab.
  2. In the "Specify which database can be accessed by this login" pane, click the check box for the test database (see Figure 5).

Figure 5. Database Access tab in Login Properties view
'Permit'check box checked for the Test database
  1. Click OK to switch to the Logins window.
  2. Select saUserGroup from the list again.
  3. Click the Edit icon to edit the selected login name.
  4. Click the Database Access tab.
  5. Click the test database. This time, the roles are displayed.
  6. Check the SAUser (see Figure 6, lower part).

Figure 6. Select SAUser as the user group login to modify
'Permit' checked for test database and SAUser role
  1. Click OK and close the Login Properties window.
  2. Click Servers > Disconnect to disconnect from the SQL server instance.
  3. Exit the Encyclopedia Manager (SQL server) utility.

Connect Rational System Architect to the SQL server

  1. Log off of the workstation as the Rational System Architect administrator.
  2. Log in to the workstation as a standard Rational System Architect user (the user part of the saUsersGroup).
  3. Start Rational System Architect.
  4. Click Help > Startup Wizard if it is not already started.
  5. Click Next in the Startup Wizard.
  6. Click Next to accept the default.
  7. Select the option to Existing SQL Server Located the network.
  8. Select the SQL Server hostname\instance name.
  9. Click Next.
  10. From the Connection Information window, select Windows Authentication.
  11. Navigate through the rest of the screens and complete the configuration.

Configure other workstations

Repeat the process described here on each Rational System Architect workstation:
  1. Start Rational System Architect.
  2. Launch the Startup Wizard if it is not already started.
  3. Connect to the SQL server Instance as described previously.
  4. Open the existing encyclopedia.
  5. Repeat the process for additional workstations.

Open an existing encyclopedia

  1. Start Rational System Architect if not already started.
  2. Click File > Open Encyclopedia to get the Open Encyclopedia view.
  3. Click Existing to view existing encyclopedias.
  4. Open the encyclopedia that interests you.

Basic troubleshooting

Instructions follow for the situations that you are most likely to use or encounter.

Enable remote connections for the SQL server

You must enable remote connections the SQL server instance. Follow these steps:

  1. Click Start > Programs > Microsoft SQL Server 2005 > Configuration Tools.
  2. Click SQL Server Surface Area Configuration.
  3. On the SQL Server 2005 Surface Area Configuration page, click Surface Area Configuration for Services and Connections.
  4. Expand Database Engine.
  5. Click Remote Connections.
  6. Click Local and remote connections.
  7. Click the appropriate protocol to enable for your environment.
  8. Click Apply.
  9. Click OK when you receive the following message:
    Changes to Connection Settings will not take effect until you restart the Database Engine service.
  10. On the Surface Area Configuration for Services and Connections page, expand Database Engine.
  11. Click Service.
  12. Click Stop, and wait until the MSSQLSERVER service stops.
  13. Click Start to restart the MSSQLSERVER service.

Enable the SQL server browser service

Caution
By enabling SQL Server Browser service, you are increasing your security risk and making your workstation and network more vulnerable to attack by malicious users or by malicious software such as viruses. If you choose to do so anywhere, follow these steps:

  1. Click Start > Programs > Microsoft SQL Server 2005 > Configuration Tools.
  2. Click SQL Server Surface Area Configuration.
  3. On the SQL Server 2005 Surface Area Configuration page, click Surface Area Configuration for Services and Connections.
  4. Click SQL Server Browser.
  5. For "Startup type," select Automatic.
  6. Click Apply.
  7. Click Start.
  8. Click OK.

Create exceptions in Windows XP and Windows Server 2003 Firewall

To open Microsoft Windows Firewall:

  1. Click Start.
  2. Click Run.
  3. Type firewall.cpl.
  4. Click OK.
  5. Click the Exceptions tab In Windows Firewall.
  6. Click Add Program.
  7. Click Browse in the Add a Program window.
  8. Click the C:\Program Files\Microsoft SQL Server\<instance id> \MSSQL\Bin\sqlservr.exe executable program or the path where the SQL server 2005 is installed.
  9. Click Open.
  10. Click OK.

Create an exception for the SQL server browser service the firewall

  1. Click the Exceptions tab In Windows Firewall.
  2. Click Add Program.
  3. Click Browse.
  4. Click the C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe executable program.
  5. Click Open.
  6. Click OK.

Open a port in the firewall for TCP access

  1. In the Control Panel, open Network Connections.
  2. Right-click the active connection.
  3. Select Properties.
  4. Select the Advanced tab.
  5. Click Windows Firewall Settings.
  6. In the Windows Firewall window, click the Exceptions tab
  7. Click Add Port.
  8. In the Name text box of the Add a Port window, type SQL Server <instance name>.
  9. Type the port number of the database instance (for example: 1433) for the default instance.
  10. Verify that TCP is selected.
  11. Click OK.

Open a port in the firewall for the browser service

  1. Click Add Port, type SQL Server Browser in the Name text box, and then type 1434 in the Port Number text box.
  2. Select UDP.
  3. Click OK.

Resources

Learn

Get products and technologies

Discuss

About the author

Sami Joueidi holds a master's degree in electrical engineering. He is certified by IBM as an IT Architect and by Carnegie Mellon as an Enterprise Architect. His focus includes application lifecycle development in both IT and systems areas.

Report abuse help

Report abuse

Thank you. This entry has been flagged for moderator attention.


Report abuse help

Report abuse

Report abuse submission failed. Please try again later.


developerWorks: Sign in


Need an IBM ID?
Forgot your IBM ID?


Forgot your password?
Change your password

By clicking Submit, you agree to the developerWorks terms of use.

 


The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

Choose your display name

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerWorks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

(Must be between 3 – 31 characters.)

By clicking Submit, you agree to the developerWorks terms of use.

 


Rate this article

Comments

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational
ArticleID=477736
ArticleTitle=Install and configure IBM Rational System Architect Version 11.3: Part 2. Connect to Microsoft SQL Server 2005
publish-date=04012010
author1-email=samijou@us.ibm.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

For articles in technology zones (such as Java technology, Linux, Open source, XML), Popular tags shows the top tags for all technology zones. For articles in product zones (such as Info Mgmt, Rational, WebSphere), Popular tags shows the top tags for just that product zone.

For articles in technology zones (such as Java technology, Linux, Open source, XML), My tags shows your tags for all technology zones. For articles in product zones (such as Info Mgmt, Rational, WebSphere), My tags shows your tags for just that product zone.

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.

Special offers