Перейти к содержимому

Фотография

Sybase SQL в качестве тестового хранилища Rational


  • Авторизуйтесь для ответа в теме
Сообщений в теме: 3

#1 Case

Case

    Основатель

  • Members
  • PipPipPipPipPipPip
  • 7 071 сообщений
  • ФИО:Панкратов Вячеслав
  • Город:Украина, Киев.

Отправлено 25 мая 2005 - 19:54

Подключение тестового хранилища Rational к базе данных Sybase SQL Anywhere
Авторский коллектив: Перевод В.Рябовола, редакция В.Ематина

Практический материал по настройке и использованию Sybase SQL Anywhere (доступно без лицензирования, входит в дистрибутив IBM Rational) в качестве тестового хранилища Rational.

Читать полностью: http://software-test...ing_testing.htm
  • 0
Слава Панкратов
Редактор портала www.it4business.ru

#2 QwertyX

QwertyX

    Новый участник

  • Members
  • Pip
  • 4 сообщений

Отправлено 26 мая 2005 - 09:35

Доброго времени суток.
Спасибо авторам за статью, за подробное описание всех шагов.

Однако мы столкнулись с некоторой проблемой при попытке использования удаленного доступа к проекту. Эта проблема возникала и ранее, но была отложена в дальний ящик на неопределенный срок. Надеялись, что Ваша статья поможет нам в решении этой проблемы, но все осталось по прежнему...

Проблема в том, что у нас не получается осуществить удаленный доступ к проекту. Проект регистрируется, но отсутствует возможность коннекта (ОШИБКА: "Unable to connect to project"). При этом все папки (с проектом и с указанными в статье библиотеками) расшарены на общий доступ. Кроме того, хотелось бы реализовать одновременный доступ к проекту нескольких пользователей.

Сможете ли подсказать как это можно сделать?

Огромное спасибо.
  • 0

#3 VictorV

VictorV

    Новый участник

  • Members
  • Pip
  • 23 сообщений

Отправлено 26 мая 2005 - 14:34

При настройке возникает много нюансов. Очень много информации в базе знаний техподдержки. В основном, тупиковых ситуаций не существует, все отработано. Например, есть следующие подробные шаги по настройке:

Problem
Topic will cover a recommended configuration of Sybase SQL Anywhere 8, two common scenario's for Client workstations setups. The setup section will apply to the following Operating Systems (Microsoft Winnt, Microsoft Windows2000 Professional/Server/Advanced Server, & Microsoft WindowsXP Professional).


Solution
INSTALLATION:
Before you can begin the install Sybase SQLAnywhere Database Server 8, you need a minimum of an installation of Rational Robot before you can begin the installation. There are SQLAnywhere folders and files that have to be installed before the SQLAnywhere 8 Database Server can be properly installed otherwise connections issues are likely to
occur.

**The installation can be (Robot, TeamTest, TestStudio, or Enterprise Studio). This particular installation does not require any licensing.

PREREQUISITE TO CREATING SQLANYWHERE SERVICE:
Before you can successfully start SQLAnywhere Database Server 8 you need Local or Domain Windows Account added to three Local Security Windows Policy User right assignments.

"Access this computer from Network"
"Log on as Service"
"Log on locally"

Recommended to use the Local Administrator account in situations where the Project Datastores and the SQL Anywhere databases server are co-located on the same Workstation or Server.

In cases where the Project Datastores are not co-located with the SQL Anywhere Database Server then a Domain account is required.

To add your Windows account to your Local Security Windows Policy User right assignments:

Microsoft WINNT:
Click Start > Programs > Administrative Tools (Common). Open the User Manager > Policies menu > User Rights. Click on the "Show advanced user rights" checkbox. When opening each policy "Look in" defaults to the Local Machine. Add the local system account "Administrator" or the group "Administrators" by scrolling down to the account. Click the Add
button. If adding Domain account change the "Look in" dropdown to the Domain the User ID, then you can enter in the bottom field "Domain\UserID" to search for the Specific Domain account. Then add this user account to the policy by clicking on the add button.

Windows2000:
Control Panel > Administrative Tools > Local Security Policy > Local Policies > User Right Assignments. Double click on each of the three policies listed above, then click on Add button. The "Look in" Dropdown defaults to the local machine hostname. If adding the local account scroll down to "Administrator" or the group "Administrators". If adding Domain account change the Look in dropdown to the Domain User ID, then you can enter in the bottom field "Domain\UserID" to search for the Domain account. Then add this user account to the policy.

WindowsXP:
Control Panel > Administrative Tools > Local Security Policy > Local Policies > User Right Assignments. Click on each of the three policies, listed above, then click "Add User or Group" button. Second field "From this location" defaults to the domain the local workstation is registered on. Click on the "locations" button to select Hostname from the tree if using a local account, and domain if choosing a domain account other then the one the machine is a part of. Enter exact if local administrator or administrators name, if domain format should be [Domain\UserID], then press check name.


CONFIGURING SQL ANYWHERE 8 DATABASE SERVICE:

Sybase Central:
Open Sybase Central by going to the Programs Menu "Rational Software" > SQL Anywhere 8 > Sybase Cenrtal.

Click on Services folder in the left window pane.
In the right window pane you should see "Add Service", click on this icon.
First thing you'll do is enter a name for the SQL Anywhere 8 service, then press next.
Choose "Network Database Server", then press next.
Path to the executable should default to "C:\Program Files\Rational\SQLAnywhere8\win32\dbsrv8.exe", change if this is not correct otherwise, press next.
Parameters passed to the executable. Recommended setting are:
"-n NameofSQLAnywhereService -c 6144 -tl 0 -ti 0 -x TCPIP -gd all".
For a complete listing and meaning of the usage commands open a DOS prompt and change directory "C:\Program Files\Rational\SQLAnywhere8\win32" then type dbsrv8.exe ?".
Accounts, using a local account (Recommened) when SQL Anywhere 8 service and Datastores are co-located on the same machine, if the Datastores are not co-located then you would need to use a domain account. But this cannot be done from Sybase Central, so choose Local Account for now. Then go to Control Panel > Services right click on "Adaptive Anywhere Service - NameOfyourSQLAnywhere" > Properties. Log on tab, from here you can change the Local account to Domain account and restart the service for the change to take affect.
After choosing local account you continue to press next till you get to the finish button.

Once your finished and the SQL Anywhere Service is started you are now ready to create or convert a Rational TestDatastore. If for any reason the SQL Anywhere service does not start verify the account (local) or (Domain) is part of the three user right's assignment policy's.
  • 0
Victor

#4 captann

captann

    Новый участник

  • Members
  • Pip
  • 6 сообщений

Отправлено 26 марта 2008 - 07:05

Возникла проблема при коннекте клиента sybase к тестовому хранилищу:
сервер, на котором стоял sybase был вынесен из внутренней защищенной сети и были наложены ограничения, а именно отрезан Netbios.
Т.к. клиент по умолчанию коннектится к серваку с помощью своей собственной реализации Netbios, то Rational перестал коннектиться к существующим проектам, клиент не находил вервера sybase.
Было решено заставить его работать по TCPIP. Заработало. А теперь как это было реализовано:

тут уже писали что сервер sybase запускается со строкой инициализации:
-n <имя сервера sybase> -c 6144 -tl 0 -ti 0 -x TCPIP -gd all

теперь настраиваем клиента на стенде:
строка запуска клиента sybase должна выглядеть следующим образом:
dbclient.exe -x tcpip{host=<IP-адрес машины, где установлен sybase>;dobroadcast=no} <имя сервера sybase>
(При этом коннект пойдет по дефолтному порту UDP1498)

теперь запуск робота и вход в проект осуществляется в два этапа:
1. через cmd запускаем клиента
2. запускаем робота и логинимся в нужный проект

Все это описано касательно 2002 робота и Sybase 5, думаю для более старших версий аналогично...
  • 0


Количество пользователей, читающих эту тему: 1

0 пользователей, 1 гостей, 0 анонимных