SlideShare a Scribd company logo
1 of 13
Installing Ingres Enterprise Access in a system which already has an
Ingres Instance
Introduction
This problem usually does not exist at a client site unless for some reason they require a conversion
from an Ingres database to one of those DBMSs supported by the Gateway.

However, it is obviously a problem in this case, and is a current problem for our developers.

In the first place, the current GA version, EA 2.6, can only be installed into an Ingres instance that is
at Version 2.6 SP5. Since all MyWorkplace personnel are using at least Ingres 2006 9.0.4, this means
that EA must be installed into an additional instance. When this is done as a second instance, then
the environment variable II_SYSTEM ends up pointing to the new instance and OpenROAD no longer
works.

A vNode has to be created in the original instance, pointing to the EA instance, and all database
accesses referring to the SQL Server (say) database qualified with the vnode name and the database
type (eg vnodename::databasename/MSSQL).

As a further complication, the initial version of Ingres EA 2.6 contained a number of errors, the worst
of which are corrected in SP1 although there are still some difficulties (There is a version 2.7 of EA in
beta test. A GA version of 2.7 has just been released for Sun Solaris x86_64 systems).

Following is a set of instructions and annotated screen shots from an install of Ingres EA into a
system that already has an Ingres instance, in this case Ingres 9.2.0.

Note that this all assumes use of Microsoft SQL Server as the EA database.

Also note that there is a considerable difference between Microsoft SQL Server 2000 and Microsoft
SQL Server 2005, and a further though lesser difference between SQL Server 2005 and SQL Server
2008. There is only anecdotal evidence that EA supports SQL Server 2008.

Installing SQL Server
Unfortunately, there are differences between the ways Ingres EA deals with the different versions of
SQL Server. The differences are documented in the ReadMe documents that are included with the
EA installation media.

Add to this the fact that SQL Server 2005 and 2008 are available in no-cost “EXPRESS” versions as
well as the “Standard” and “Enterprise” versions. SQL Server 2000 is available as MSDE (similar to
“EXPRESS”) and also as “Standard” and “Enterprise”. For both SQL Server 2005 and 2008, the
management software (SQL Management Studio) available for the “Standard” and “Enterprise”
versions is also available in a stripped down form for the “Express” version. For SQL Server 2000, no
management facility is available for the MSDE version.
It is probably sufficient for most test cases to use the “Express” version of SQL Server 2005 together
with its Management Studio. For thorough testing, in particular where schema changes are made in
code, all versions should be tested as there are differences in simple things between versions.

Whichever version or versions of SQL Server are to be used, one installation at least must be
installed prior to installing Ingres EA so that the appropriate Client software and ODBC drivers are
present in the machine where EA will be installed. If this is a different system from where SQL Server
is installed, be sure that the correct Client version is installed on the system that will contain EA.

Also be aware that where the SQL Server installation is NOT in the same machine as the Ingres EA
installation, the SQL Server system must be installed to allow “Mixed mode authentication”.

Then in the technique used by MyWorkplace, the “ingres” user must be setup in the SQL Server
instance as a db owner and preferably also as a db administrator, with the same password as the
ingres user on the system in which EA is to be installed.

Use the SQL Server Management studio (if you have SQL Server 2005 or 2008), signed in with SQL
Server authentication as the Ingres user, to create a database called (say) “mwp”. You can import
any required database now or later in the process if desired. Most MyWorkplace personnel will end
up with multiple databases for testing etc. It is best to call the database something that represents
the client name.

Preparing for EA Installation
Use a CD containing the SP1 version to upgrade that instance. This will probably call for a re-mount
of the initial CD at some stage and this is best managed by using CDs rather than images on the local
disk or even on a DVD.

Obtain the base EA installer from a suitable place – in our case the
mwpsvrPublicDocsmwpdvd2009Client2006InstallOpenROAD2006ea folder. Burn the contents
to a CD.

Obtain the SP1 version of EA from
mwpsvrPublicDocsmwpdvd2009Client2006Installea260706int_w32_sp1_97c or directly from
the Ingres downloads site. Burn the contents to another CD.

Right mouse click on “MyComputer” and select “Properties”. Select the”Advanced” tab and then the
“Environment Variables” button.

Make a careful note of the existing value of “II_SYSTEM” because after the installation, you will have
to reset it to this value. If you followed the MyWorkplace standard, the value will be
c:IngresProgramsIngresI6. If not it will be whatever you allowed/set it to be.

Be sure that the entire existing Ingres instance is shut down. There must be no ii* programs and no
w4glrun or w4gldev programs running as services or processes.

Installing Enterprise Access (SQL Server gateway)
For some reason, the installer requires both the EA 2.6 SP1 disk, and the previous EA 2.6 disk, at
least since XP SP3 has been applied to a system.
Both CDS will try to Autoplay when inserted so if you do not want then hold down the left Shift key
while you insert the CD and hold it down until all CD activity stops.



Insert the EA 2.6 SP1 CD and let it autorun.




Select “Next”




.Change the Installation Identifier to EA

Select “Next”
Select “Next” after changes
Again change as required and then select “Next”.




Select Browse and change to C:IngresProgramsIngresEA
And select OK




Then “Next”
And “Finish”

The installer will then go into full screen mode




After a bit, it may prompt for a CD change.
Switch to the original EA 2.6 CD.

If you were asked to switch CDs, after a while it will prompt for a CD switch again. Put back the SP1
CD and it will then continue to the end.




At this stage, the gateway is installed but now must be configured.

Configuring the gateway
Do not reset II_SYSTEM yet – leave it pointing to C:IngresProgramsingresEA.

Create an ODBC DSN
You now need to create the ODBC entry that the gateway will use to access the SQL Server database.
This ODBC DSN has to be a suitable SQL Server entry. We usually call it by the same name as the
database to which it gives access. Hence if we created a database called “clientABC” then we would
call the DSN “clientABC”. This is not mandatory but keeps it all simple.

If you want multiple databases, then you must have multiple DSNs.

Remember that you MUST use SQL Server authentication for this, NOT Windows authentication -
hence the need to create the SQL Server userid first.

Test that the DSN connects properly.
Create an Ingres EA gateway alias
You now need to provide a link between the database name that will be used in the Ingres side of
the gateway, and the DSN name that accesses the SQL Server database. This is done with the
Gateway Alias Utility.

In our example, the DSN is called clientABC so we probably want the same name to be used in all
accesses from the Ingres side of things.

From the startbar, select All Programs/Ingres/ Enterprise Access [II]/Gateway Alias Utility




The DB Alias is the name that will be used by Ingres programs.

The DB Name is the name of the ODBC DSN entry that points to the SQL Server database.
And select “Add”. When done, select “Close”

This actually generates an entry in the EA instance config.dat file.

The alias is now setup.

Configure date formats and empty dates etc.
There are a couple of ways to do the next part but it is probably easiest to use VDBA and VCM.

In the EA instance, either from right mouse click on the IVM icon or via the menus, get the Visual
Manager up and select the Parameters tab.




Using the Add button, add parameters:

II_DATE_FORMAT                            35

II_DATE_CENTURY_BOUNDARY                  MULTINATIONAL

Check the TimeZone name is correct
Now select the Visual Configuration Manager icon




And then open the Gateways entry.
And “Close”

The gateway is now configured but the database itself may need modification.
SQL Server database modification
In order for the database on the outside of the Gateway to appear as if it was an Ingres database, a
set of tables and views have to be installed on the database that simulate the Ingres system
databases. That way interrogation of what seems like Ingres metadata returns meaningful results to
Ingres programs. The tables and views all have names starting with ii or ii_ and are essentially the
same as the “system tables” in a native Ingres database.

These tables and views are generated by a gateway program called the Gateway Catalog Utility. For
Windows it is available as an OpenROAD image with which, unfortunately, I have had limited
success. There is also a cmd line version which appears to be easier to get working – iigwcatmss.

This can only be run in an environment where II_SYSTEM points to the EA instance.

Start the Instance first using IVM or whatever.

Where the database being used has been restored from an existing gateway-client database, the
necessary views and tables are usually already set and the utility does not require re-run.

To be used successfully, the SQL Server database (empty or otherwise) must be owned by the ingres
user who must also have all the required permissions to create, delete etc. The tables and views
generated will all be owned by the Ingres user, where the application tables will be owned by dbo.

Setting permissions etc is quite different between SQL Server 2000 and SQL Server 2005 so for this
part, if you need to do it, read the manuals that are in the Docs folder on the SP1 CD – “Getting
Started” is a good one - and get an SQL Server expert involved (if you are not such an expert).

Final bits and pieces
Now is the time to reset the II_SYSTEM environment variable to point to the previously installed
OpenROAD instance.

You also now need to add another vNode to your original instance, pointing to the EA instance.

Once the vNode is created, you have to navigate to the MSSQL entry under the Servers node and
Right mouse there and select Connect. You cannot just connect directly using the node name.

Also be aware that all references to the database from an OpenROAD application will have to be of
the form <vNodename>::<databasename>/MSSQL.

The answers to most problems are somewhere in the documentation.

More Related Content

What's hot

Ob loading data_oracle
Ob loading data_oracleOb loading data_oracle
Ob loading data_oracleSteve Xu
 
MS SQL Server 2008, Implementation and Maintenance
MS SQL Server 2008, Implementation and MaintenanceMS SQL Server 2008, Implementation and Maintenance
MS SQL Server 2008, Implementation and MaintenanceVitaliy Fursov
 
Andrewfraserdba.com training sql_training
Andrewfraserdba.com training sql_trainingAndrewfraserdba.com training sql_training
Andrewfraserdba.com training sql_trainingmark jerald Canal
 
Sql training
Sql trainingSql training
Sql trainingpremrings
 
Detect and fix the azure sql resources which uses tls version less than 1.2
Detect and fix the azure sql resources which uses tls version less than 1.2Detect and fix the azure sql resources which uses tls version less than 1.2
Detect and fix the azure sql resources which uses tls version less than 1.2Prancer Io
 
Dell open manage essentials install
Dell open manage essentials installDell open manage essentials install
Dell open manage essentials installSvetlana Kachintseva
 
Database concurrency and transactions - Tal Olier
Database concurrency and transactions - Tal OlierDatabase concurrency and transactions - Tal Olier
Database concurrency and transactions - Tal Oliersqlserver.co.il
 
Developing with oracle enterprise scheduler service for fusion applications
Developing with oracle enterprise scheduler service for fusion applicationsDeveloping with oracle enterprise scheduler service for fusion applications
Developing with oracle enterprise scheduler service for fusion applicationsChandrakant Wanare ☁
 
2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...
2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...
2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...Jürgen Ambrosi
 
OBIEE 11g installation steps
OBIEE 11g installation stepsOBIEE 11g installation steps
OBIEE 11g installation stepsDharmaraj Borse
 
Fusion Middleware 12c Upgrade - Standalone server
Fusion Middleware 12c Upgrade - Standalone serverFusion Middleware 12c Upgrade - Standalone server
Fusion Middleware 12c Upgrade - Standalone serverK Kumar Guduru
 
Athena java dev guide
Athena java dev guideAthena java dev guide
Athena java dev guidedvdung
 
Virtual Hosts Configuration with Weblogic Server
Virtual Hosts Configuration with Weblogic ServerVirtual Hosts Configuration with Weblogic Server
Virtual Hosts Configuration with Weblogic ServerPawan Kumar
 
A lab tutorial about How you can get started and automate DB12c Multitenant l...
A lab tutorial about How you can get started and automate DB12c Multitenant l...A lab tutorial about How you can get started and automate DB12c Multitenant l...
A lab tutorial about How you can get started and automate DB12c Multitenant l...Hari Srinivasan
 
Collaborate 2011– Leveraging and Enriching the Capabilities of Oracle Databas...
Collaborate 2011– Leveraging and Enriching the Capabilities of Oracle Databas...Collaborate 2011– Leveraging and Enriching the Capabilities of Oracle Databas...
Collaborate 2011– Leveraging and Enriching the Capabilities of Oracle Databas...djkucera
 

What's hot (18)

Oracle OSB Tutorial 1
Oracle OSB Tutorial 1Oracle OSB Tutorial 1
Oracle OSB Tutorial 1
 
Weblogic12 c installation guide
Weblogic12 c installation guideWeblogic12 c installation guide
Weblogic12 c installation guide
 
Ob loading data_oracle
Ob loading data_oracleOb loading data_oracle
Ob loading data_oracle
 
MS SQL Server 2008, Implementation and Maintenance
MS SQL Server 2008, Implementation and MaintenanceMS SQL Server 2008, Implementation and Maintenance
MS SQL Server 2008, Implementation and Maintenance
 
Andrewfraserdba.com training sql_training
Andrewfraserdba.com training sql_trainingAndrewfraserdba.com training sql_training
Andrewfraserdba.com training sql_training
 
Sql training
Sql trainingSql training
Sql training
 
Detect and fix the azure sql resources which uses tls version less than 1.2
Detect and fix the azure sql resources which uses tls version less than 1.2Detect and fix the azure sql resources which uses tls version less than 1.2
Detect and fix the azure sql resources which uses tls version less than 1.2
 
Dell open manage essentials install
Dell open manage essentials installDell open manage essentials install
Dell open manage essentials install
 
Database concurrency and transactions - Tal Olier
Database concurrency and transactions - Tal OlierDatabase concurrency and transactions - Tal Olier
Database concurrency and transactions - Tal Olier
 
Developing with oracle enterprise scheduler service for fusion applications
Developing with oracle enterprise scheduler service for fusion applicationsDeveloping with oracle enterprise scheduler service for fusion applications
Developing with oracle enterprise scheduler service for fusion applications
 
2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...
2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...
2° Ciclo Microsoft CRUI 3° Sessione: l'evoluzione delle piattaforme tecnologi...
 
OBIEE 11g installation steps
OBIEE 11g installation stepsOBIEE 11g installation steps
OBIEE 11g installation steps
 
Fusion Middleware 12c Upgrade - Standalone server
Fusion Middleware 12c Upgrade - Standalone serverFusion Middleware 12c Upgrade - Standalone server
Fusion Middleware 12c Upgrade - Standalone server
 
Athena java dev guide
Athena java dev guideAthena java dev guide
Athena java dev guide
 
Virtual Hosts Configuration with Weblogic Server
Virtual Hosts Configuration with Weblogic ServerVirtual Hosts Configuration with Weblogic Server
Virtual Hosts Configuration with Weblogic Server
 
A lab tutorial about How you can get started and automate DB12c Multitenant l...
A lab tutorial about How you can get started and automate DB12c Multitenant l...A lab tutorial about How you can get started and automate DB12c Multitenant l...
A lab tutorial about How you can get started and automate DB12c Multitenant l...
 
Collaborate 2011– Leveraging and Enriching the Capabilities of Oracle Databas...
Collaborate 2011– Leveraging and Enriching the Capabilities of Oracle Databas...Collaborate 2011– Leveraging and Enriching the Capabilities of Oracle Databas...
Collaborate 2011– Leveraging and Enriching the Capabilities of Oracle Databas...
 
AWS essentials S3
AWS essentials S3AWS essentials S3
AWS essentials S3
 

Viewers also liked

Marco cimino zasqr presentacion marcas
Marco cimino zasqr presentacion marcasMarco cimino zasqr presentacion marcas
Marco cimino zasqr presentacion marcasMarco Cimino
 
Maltrato animal
Maltrato animalMaltrato animal
Maltrato animalEtica4B02
 
El computador
El computador  El computador
El computador yndiralu
 
Rit dubai bachelor mechanical engeering
Rit dubai bachelor mechanical engeeringRit dubai bachelor mechanical engeering
Rit dubai bachelor mechanical engeeringRit Dubai
 
Misión y visión de la empresa next door 7
Misión y  visión de la empresa next door 7Misión y  visión de la empresa next door 7
Misión y visión de la empresa next door 7Felipe Olaya Ospina
 
Informe up2 ej3 luciana sarazola
Informe up2  ej3 luciana sarazolaInforme up2  ej3 luciana sarazola
Informe up2 ej3 luciana sarazolaLu Sarazola
 
Para reconquistarte Alma Yaneth
Para reconquistarte Alma YanethPara reconquistarte Alma Yaneth
Para reconquistarte Alma Yanethyanettein80
 
Sedgwick Middle School Career Fair 2014
Sedgwick Middle School Career Fair 2014Sedgwick Middle School Career Fair 2014
Sedgwick Middle School Career Fair 2014Kyla LoPresti
 
Liste der Präpositionen
Liste der PräpositionenListe der Präpositionen
Liste der PräpositionenSchool
 
Pour une installation réussie avec le Point accueil installation
Pour une installation réussie avec le Point accueil installationPour une installation réussie avec le Point accueil installation
Pour une installation réussie avec le Point accueil installationDevenir Agriculteur
 
51498903 ceremonias-del-paraldo-en-ifa
51498903 ceremonias-del-paraldo-en-ifa51498903 ceremonias-del-paraldo-en-ifa
51498903 ceremonias-del-paraldo-en-ifaJuanfran Gonzalez
 
Dossier Cartográfico de obras - Táchira 2015
Dossier Cartográfico de obras - Táchira 2015 Dossier Cartográfico de obras - Táchira 2015
Dossier Cartográfico de obras - Táchira 2015 Gobiernotachira
 
Modelo de evaluación de desempeño por competencias
Modelo de evaluación de desempeño por competenciasModelo de evaluación de desempeño por competencias
Modelo de evaluación de desempeño por competenciasRICARDO MARÍN TÄLERO
 

Viewers also liked (20)

Marco cimino zasqr presentacion marcas
Marco cimino zasqr presentacion marcasMarco cimino zasqr presentacion marcas
Marco cimino zasqr presentacion marcas
 
Maltrato animal
Maltrato animalMaltrato animal
Maltrato animal
 
El computador
El computador  El computador
El computador
 
Rit dubai bachelor mechanical engeering
Rit dubai bachelor mechanical engeeringRit dubai bachelor mechanical engeering
Rit dubai bachelor mechanical engeering
 
S
SS
S
 
Semana7 ley de far
Semana7 ley de farSemana7 ley de far
Semana7 ley de far
 
Misión y visión de la empresa next door 7
Misión y  visión de la empresa next door 7Misión y  visión de la empresa next door 7
Misión y visión de la empresa next door 7
 
Informe up2 ej3 luciana sarazola
Informe up2  ej3 luciana sarazolaInforme up2  ej3 luciana sarazola
Informe up2 ej3 luciana sarazola
 
evans cv 2015
evans cv 2015evans cv 2015
evans cv 2015
 
Para reconquistarte Alma Yaneth
Para reconquistarte Alma YanethPara reconquistarte Alma Yaneth
Para reconquistarte Alma Yaneth
 
Sedgwick Middle School Career Fair 2014
Sedgwick Middle School Career Fair 2014Sedgwick Middle School Career Fair 2014
Sedgwick Middle School Career Fair 2014
 
El futbol el_portero_
El futbol el_portero_El futbol el_portero_
El futbol el_portero_
 
MAKI GAMI
MAKI GAMIMAKI GAMI
MAKI GAMI
 
Córners firmas-proyectos.
Córners firmas-proyectos.Córners firmas-proyectos.
Córners firmas-proyectos.
 
Liste der Präpositionen
Liste der PräpositionenListe der Präpositionen
Liste der Präpositionen
 
Pour une installation réussie avec le Point accueil installation
Pour une installation réussie avec le Point accueil installationPour une installation réussie avec le Point accueil installation
Pour une installation réussie avec le Point accueil installation
 
51498903 ceremonias-del-paraldo-en-ifa
51498903 ceremonias-del-paraldo-en-ifa51498903 ceremonias-del-paraldo-en-ifa
51498903 ceremonias-del-paraldo-en-ifa
 
24 aplicaciones rdf
24 aplicaciones rdf24 aplicaciones rdf
24 aplicaciones rdf
 
Dossier Cartográfico de obras - Táchira 2015
Dossier Cartográfico de obras - Táchira 2015 Dossier Cartográfico de obras - Táchira 2015
Dossier Cartográfico de obras - Táchira 2015
 
Modelo de evaluación de desempeño por competencias
Modelo de evaluación de desempeño por competenciasModelo de evaluación de desempeño por competencias
Modelo de evaluación de desempeño por competencias
 

Similar to Installing ingres enterprise access in a system which already has an ingres instance

Microsoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
Microsoft SQL Azure - Developing And Deploying With SQL Azure WhitepaperMicrosoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
Microsoft SQL Azure - Developing And Deploying With SQL Azure WhitepaperMicrosoft Private Cloud
 
Configuring sql server - SQL Saturday, Athens Oct 2014
Configuring sql server - SQL Saturday, Athens Oct 2014Configuring sql server - SQL Saturday, Athens Oct 2014
Configuring sql server - SQL Saturday, Athens Oct 2014Antonios Chatzipavlis
 
NetWeaver Developer Studio for New-Beas
NetWeaver Developer Studio for New-BeasNetWeaver Developer Studio for New-Beas
NetWeaver Developer Studio for New-BeasChander445
 
patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack David McNish
 
Deploying opetus
Deploying opetusDeploying opetus
Deploying opetusGyani Feku
 
Installing ms sql server 2012 express edition
Installing ms sql server 2012 express editionInstalling ms sql server 2012 express edition
Installing ms sql server 2012 express editionWally Pons
 
12c weblogic installation steps for Windows
12c weblogic installation steps for Windows12c weblogic installation steps for Windows
12c weblogic installation steps for WindowsCognizant
 
Oracle olap-installation
Oracle olap-installationOracle olap-installation
Oracle olap-installationAmit Sharma
 
SOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DBSOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DBUniFabric
 
The best Teradata RDBMS introduction a quick refresher
The best Teradata RDBMS introduction a quick refresherThe best Teradata RDBMS introduction a quick refresher
The best Teradata RDBMS introduction a quick refresherSrinimf-Slides
 
configuring+oracle+rds+with+glasfish+server
configuring+oracle+rds+with+glasfish+serverconfiguring+oracle+rds+with+glasfish+server
configuring+oracle+rds+with+glasfish+serverhunghtc83
 
Advanced Programming Using Visual Basic. NET
Advanced Programming Using Visual Basic. NETAdvanced Programming Using Visual Basic. NET
Advanced Programming Using Visual Basic. NETTony Lisko
 
SQL Server 2000 Installation Rollout Backout Plan
SQL Server 2000 Installation Rollout Backout PlanSQL Server 2000 Installation Rollout Backout Plan
SQL Server 2000 Installation Rollout Backout Plan► Supreme Mandal ◄
 
Install Oracle 12c Golden Gate On Oracle Linux
Install Oracle 12c Golden Gate On Oracle LinuxInstall Oracle 12c Golden Gate On Oracle Linux
Install Oracle 12c Golden Gate On Oracle LinuxArun Sharma
 
Oracle Endeca Commerce - Installation Guide
Oracle Endeca Commerce - Installation GuideOracle Endeca Commerce - Installation Guide
Oracle Endeca Commerce - Installation GuideKeyur Shah
 
Spring boot-application
Spring boot-applicationSpring boot-application
Spring boot-applicationParag Patil
 

Similar to Installing ingres enterprise access in a system which already has an ingres instance (20)

fast_bitcoin_data_mining
fast_bitcoin_data_miningfast_bitcoin_data_mining
fast_bitcoin_data_mining
 
SSDT unleashed
SSDT unleashedSSDT unleashed
SSDT unleashed
 
Microsoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
Microsoft SQL Azure - Developing And Deploying With SQL Azure WhitepaperMicrosoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
Microsoft SQL Azure - Developing And Deploying With SQL Azure Whitepaper
 
Configuring sql server - SQL Saturday, Athens Oct 2014
Configuring sql server - SQL Saturday, Athens Oct 2014Configuring sql server - SQL Saturday, Athens Oct 2014
Configuring sql server - SQL Saturday, Athens Oct 2014
 
NetWeaver Developer Studio for New-Beas
NetWeaver Developer Studio for New-BeasNetWeaver Developer Studio for New-Beas
NetWeaver Developer Studio for New-Beas
 
CDS Views.pptx
CDS Views.pptxCDS Views.pptx
CDS Views.pptx
 
patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack patchVantage Cloud Starter Pack
patchVantage Cloud Starter Pack
 
Deploying opetus
Deploying opetusDeploying opetus
Deploying opetus
 
Installing ms sql server 2012 express edition
Installing ms sql server 2012 express editionInstalling ms sql server 2012 express edition
Installing ms sql server 2012 express edition
 
12c weblogic installation steps for Windows
12c weblogic installation steps for Windows12c weblogic installation steps for Windows
12c weblogic installation steps for Windows
 
Oracle olap-installation
Oracle olap-installationOracle olap-installation
Oracle olap-installation
 
Windows 2003 Server
Windows 2003 ServerWindows 2003 Server
Windows 2003 Server
 
SOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DBSOUG_Deployment__Automation_DB
SOUG_Deployment__Automation_DB
 
The best Teradata RDBMS introduction a quick refresher
The best Teradata RDBMS introduction a quick refresherThe best Teradata RDBMS introduction a quick refresher
The best Teradata RDBMS introduction a quick refresher
 
configuring+oracle+rds+with+glasfish+server
configuring+oracle+rds+with+glasfish+serverconfiguring+oracle+rds+with+glasfish+server
configuring+oracle+rds+with+glasfish+server
 
Advanced Programming Using Visual Basic. NET
Advanced Programming Using Visual Basic. NETAdvanced Programming Using Visual Basic. NET
Advanced Programming Using Visual Basic. NET
 
SQL Server 2000 Installation Rollout Backout Plan
SQL Server 2000 Installation Rollout Backout PlanSQL Server 2000 Installation Rollout Backout Plan
SQL Server 2000 Installation Rollout Backout Plan
 
Install Oracle 12c Golden Gate On Oracle Linux
Install Oracle 12c Golden Gate On Oracle LinuxInstall Oracle 12c Golden Gate On Oracle Linux
Install Oracle 12c Golden Gate On Oracle Linux
 
Oracle Endeca Commerce - Installation Guide
Oracle Endeca Commerce - Installation GuideOracle Endeca Commerce - Installation Guide
Oracle Endeca Commerce - Installation Guide
 
Spring boot-application
Spring boot-applicationSpring boot-application
Spring boot-application
 

Recently uploaded

Hilti's Latest Battery - Hire Depot.pptx
Hilti's Latest Battery - Hire Depot.pptxHilti's Latest Battery - Hire Depot.pptx
Hilti's Latest Battery - Hire Depot.pptxhiredepot6
 
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证wpkuukw
 
CRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptx
CRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptxCRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptx
CRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptxRishabh332761
 
Guwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime Guwahati
Guwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime GuwahatiGuwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime Guwahati
Guwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime Guwahatimeghakumariji156
 
怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证
怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证
怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证ehyxf
 
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证tufbav
 
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信oopacde
 
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...samsungultra782445
 
Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...gajnagarg
 
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理uodye
 
怎样办理阿德莱德大学毕业证(Adelaide毕业证书)成绩单留信认证
怎样办理阿德莱德大学毕业证(Adelaide毕业证书)成绩单留信认证怎样办理阿德莱德大学毕业证(Adelaide毕业证书)成绩单留信认证
怎样办理阿德莱德大学毕业证(Adelaide毕业证书)成绩单留信认证ehyxf
 
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证wpkuukw
 
Point of Care Testing in clinical laboratory
Point of Care Testing in clinical laboratoryPoint of Care Testing in clinical laboratory
Point of Care Testing in clinical laboratoryoyebolasonuga14
 
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证ehyxf
 
LANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHURE
LANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHURELANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHURE
LANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHUREF2081syahirahliyana
 
Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...
Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...
Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...Priya Reddy
 
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证tufbav
 

Recently uploaded (20)

Hilti's Latest Battery - Hire Depot.pptx
Hilti's Latest Battery - Hire Depot.pptxHilti's Latest Battery - Hire Depot.pptx
Hilti's Latest Battery - Hire Depot.pptx
 
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
一比一定(购)坎特伯雷大学毕业证(UC毕业证)成绩单学位证
 
CRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptx
CRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptxCRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptx
CRISIS COMMUNICATION presentation=-Rishabh(11195)-group ppt (4).pptx
 
Guwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime Guwahati
Guwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime GuwahatiGuwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime Guwahati
Guwahati Escorts Service Girl ^ 9332606886, WhatsApp Anytime Guwahati
 
怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证
怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证
怎样办理昆士兰大学毕业证(UQ毕业证书)成绩单留信认证
 
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
 
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
 
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
 
Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In Palghar [ 7014168258 ] Call Me For Genuine Models W...
 
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
 
怎样办理阿德莱德大学毕业证(Adelaide毕业证书)成绩单留信认证
怎样办理阿德莱德大学毕业证(Adelaide毕业证书)成绩单留信认证怎样办理阿德莱德大学毕业证(Adelaide毕业证书)成绩单留信认证
怎样办理阿德莱德大学毕业证(Adelaide毕业证书)成绩单留信认证
 
Abortion pills in Jeddah |+966572737505 | Get Cytotec
Abortion pills in Jeddah |+966572737505 | Get CytotecAbortion pills in Jeddah |+966572737505 | Get Cytotec
Abortion pills in Jeddah |+966572737505 | Get Cytotec
 
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
一比一定(购)UNITEC理工学院毕业证(UNITEC毕业证)成绩单学位证
 
In Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pills
In Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pillsIn Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pills
In Riyadh Saudi Arabia |+966572737505 | Buy Cytotec| Get Abortion pills
 
Point of Care Testing in clinical laboratory
Point of Care Testing in clinical laboratoryPoint of Care Testing in clinical laboratory
Point of Care Testing in clinical laboratory
 
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
 
LANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHURE
LANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHURELANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHURE
LANDSLIDE MONITORING AND ALERT SYSTEM FINAL YEAR PROJECT BROCHURE
 
Critical Commentary Social Work Ethics.pptx
Critical Commentary Social Work Ethics.pptxCritical Commentary Social Work Ethics.pptx
Critical Commentary Social Work Ethics.pptx
 
Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...
Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...
Mankhurd Call Girls, 09167354423 Mankhurd Escorts Services,Mankhurd Female Es...
 
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
怎样办理维多利亚大学毕业证(UVic毕业证书)成绩单留信认证
 

Installing ingres enterprise access in a system which already has an ingres instance

  • 1. Installing Ingres Enterprise Access in a system which already has an Ingres Instance Introduction This problem usually does not exist at a client site unless for some reason they require a conversion from an Ingres database to one of those DBMSs supported by the Gateway. However, it is obviously a problem in this case, and is a current problem for our developers. In the first place, the current GA version, EA 2.6, can only be installed into an Ingres instance that is at Version 2.6 SP5. Since all MyWorkplace personnel are using at least Ingres 2006 9.0.4, this means that EA must be installed into an additional instance. When this is done as a second instance, then the environment variable II_SYSTEM ends up pointing to the new instance and OpenROAD no longer works. A vNode has to be created in the original instance, pointing to the EA instance, and all database accesses referring to the SQL Server (say) database qualified with the vnode name and the database type (eg vnodename::databasename/MSSQL). As a further complication, the initial version of Ingres EA 2.6 contained a number of errors, the worst of which are corrected in SP1 although there are still some difficulties (There is a version 2.7 of EA in beta test. A GA version of 2.7 has just been released for Sun Solaris x86_64 systems). Following is a set of instructions and annotated screen shots from an install of Ingres EA into a system that already has an Ingres instance, in this case Ingres 9.2.0. Note that this all assumes use of Microsoft SQL Server as the EA database. Also note that there is a considerable difference between Microsoft SQL Server 2000 and Microsoft SQL Server 2005, and a further though lesser difference between SQL Server 2005 and SQL Server 2008. There is only anecdotal evidence that EA supports SQL Server 2008. Installing SQL Server Unfortunately, there are differences between the ways Ingres EA deals with the different versions of SQL Server. The differences are documented in the ReadMe documents that are included with the EA installation media. Add to this the fact that SQL Server 2005 and 2008 are available in no-cost “EXPRESS” versions as well as the “Standard” and “Enterprise” versions. SQL Server 2000 is available as MSDE (similar to “EXPRESS”) and also as “Standard” and “Enterprise”. For both SQL Server 2005 and 2008, the management software (SQL Management Studio) available for the “Standard” and “Enterprise” versions is also available in a stripped down form for the “Express” version. For SQL Server 2000, no management facility is available for the MSDE version.
  • 2. It is probably sufficient for most test cases to use the “Express” version of SQL Server 2005 together with its Management Studio. For thorough testing, in particular where schema changes are made in code, all versions should be tested as there are differences in simple things between versions. Whichever version or versions of SQL Server are to be used, one installation at least must be installed prior to installing Ingres EA so that the appropriate Client software and ODBC drivers are present in the machine where EA will be installed. If this is a different system from where SQL Server is installed, be sure that the correct Client version is installed on the system that will contain EA. Also be aware that where the SQL Server installation is NOT in the same machine as the Ingres EA installation, the SQL Server system must be installed to allow “Mixed mode authentication”. Then in the technique used by MyWorkplace, the “ingres” user must be setup in the SQL Server instance as a db owner and preferably also as a db administrator, with the same password as the ingres user on the system in which EA is to be installed. Use the SQL Server Management studio (if you have SQL Server 2005 or 2008), signed in with SQL Server authentication as the Ingres user, to create a database called (say) “mwp”. You can import any required database now or later in the process if desired. Most MyWorkplace personnel will end up with multiple databases for testing etc. It is best to call the database something that represents the client name. Preparing for EA Installation Use a CD containing the SP1 version to upgrade that instance. This will probably call for a re-mount of the initial CD at some stage and this is best managed by using CDs rather than images on the local disk or even on a DVD. Obtain the base EA installer from a suitable place – in our case the mwpsvrPublicDocsmwpdvd2009Client2006InstallOpenROAD2006ea folder. Burn the contents to a CD. Obtain the SP1 version of EA from mwpsvrPublicDocsmwpdvd2009Client2006Installea260706int_w32_sp1_97c or directly from the Ingres downloads site. Burn the contents to another CD. Right mouse click on “MyComputer” and select “Properties”. Select the”Advanced” tab and then the “Environment Variables” button. Make a careful note of the existing value of “II_SYSTEM” because after the installation, you will have to reset it to this value. If you followed the MyWorkplace standard, the value will be c:IngresProgramsIngresI6. If not it will be whatever you allowed/set it to be. Be sure that the entire existing Ingres instance is shut down. There must be no ii* programs and no w4glrun or w4gldev programs running as services or processes. Installing Enterprise Access (SQL Server gateway) For some reason, the installer requires both the EA 2.6 SP1 disk, and the previous EA 2.6 disk, at least since XP SP3 has been applied to a system.
  • 3. Both CDS will try to Autoplay when inserted so if you do not want then hold down the left Shift key while you insert the CD and hold it down until all CD activity stops. Insert the EA 2.6 SP1 CD and let it autorun. Select “Next” .Change the Installation Identifier to EA Select “Next”
  • 5. Again change as required and then select “Next”. Select Browse and change to C:IngresProgramsIngresEA
  • 6. And select OK Then “Next”
  • 7. And “Finish” The installer will then go into full screen mode After a bit, it may prompt for a CD change.
  • 8. Switch to the original EA 2.6 CD. If you were asked to switch CDs, after a while it will prompt for a CD switch again. Put back the SP1 CD and it will then continue to the end. At this stage, the gateway is installed but now must be configured. Configuring the gateway Do not reset II_SYSTEM yet – leave it pointing to C:IngresProgramsingresEA. Create an ODBC DSN You now need to create the ODBC entry that the gateway will use to access the SQL Server database. This ODBC DSN has to be a suitable SQL Server entry. We usually call it by the same name as the database to which it gives access. Hence if we created a database called “clientABC” then we would call the DSN “clientABC”. This is not mandatory but keeps it all simple. If you want multiple databases, then you must have multiple DSNs. Remember that you MUST use SQL Server authentication for this, NOT Windows authentication - hence the need to create the SQL Server userid first. Test that the DSN connects properly.
  • 9. Create an Ingres EA gateway alias You now need to provide a link between the database name that will be used in the Ingres side of the gateway, and the DSN name that accesses the SQL Server database. This is done with the Gateway Alias Utility. In our example, the DSN is called clientABC so we probably want the same name to be used in all accesses from the Ingres side of things. From the startbar, select All Programs/Ingres/ Enterprise Access [II]/Gateway Alias Utility The DB Alias is the name that will be used by Ingres programs. The DB Name is the name of the ODBC DSN entry that points to the SQL Server database.
  • 10. And select “Add”. When done, select “Close” This actually generates an entry in the EA instance config.dat file. The alias is now setup. Configure date formats and empty dates etc. There are a couple of ways to do the next part but it is probably easiest to use VDBA and VCM. In the EA instance, either from right mouse click on the IVM icon or via the menus, get the Visual Manager up and select the Parameters tab. Using the Add button, add parameters: II_DATE_FORMAT 35 II_DATE_CENTURY_BOUNDARY MULTINATIONAL Check the TimeZone name is correct
  • 11. Now select the Visual Configuration Manager icon And then open the Gateways entry.
  • 12. And “Close” The gateway is now configured but the database itself may need modification.
  • 13. SQL Server database modification In order for the database on the outside of the Gateway to appear as if it was an Ingres database, a set of tables and views have to be installed on the database that simulate the Ingres system databases. That way interrogation of what seems like Ingres metadata returns meaningful results to Ingres programs. The tables and views all have names starting with ii or ii_ and are essentially the same as the “system tables” in a native Ingres database. These tables and views are generated by a gateway program called the Gateway Catalog Utility. For Windows it is available as an OpenROAD image with which, unfortunately, I have had limited success. There is also a cmd line version which appears to be easier to get working – iigwcatmss. This can only be run in an environment where II_SYSTEM points to the EA instance. Start the Instance first using IVM or whatever. Where the database being used has been restored from an existing gateway-client database, the necessary views and tables are usually already set and the utility does not require re-run. To be used successfully, the SQL Server database (empty or otherwise) must be owned by the ingres user who must also have all the required permissions to create, delete etc. The tables and views generated will all be owned by the Ingres user, where the application tables will be owned by dbo. Setting permissions etc is quite different between SQL Server 2000 and SQL Server 2005 so for this part, if you need to do it, read the manuals that are in the Docs folder on the SP1 CD – “Getting Started” is a good one - and get an SQL Server expert involved (if you are not such an expert). Final bits and pieces Now is the time to reset the II_SYSTEM environment variable to point to the previously installed OpenROAD instance. You also now need to add another vNode to your original instance, pointing to the EA instance. Once the vNode is created, you have to navigate to the MSSQL entry under the Servers node and Right mouse there and select Connect. You cannot just connect directly using the node name. Also be aware that all references to the database from an OpenROAD application will have to be of the form <vNodename>::<databasename>/MSSQL. The answers to most problems are somewhere in the documentation.