Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
OpenPlant | AutoPLANT
  • Product Communities
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki Setting up Oracle 11g R2 database client for AutoPLANT
    • Sign In
    • -OpenPlant | AutoPLANT Wiki
      • +OpenPlant
      • -Bentley AutoPLANT
        • AutoPLANT Product Group Compatibility
        • +AutoPLANT Modeler CONNECT Edition
        • -AutoPLANT Modeler V8i
          • +AutoPLANT Modeler [FAQ]
          • +Component - AutoPLANT Modeler
          • +Customization - AutoPLANT Modeler
          • -Database - AutoPLANT Modeler
            • How to add Additional Field to Component Data in Access and SQL, and to make it an editable data field in Piping.
            • How to Check Oracle Database Provider Connection String for AutoPLANT Project Creation
            • How to Create a new SQL Database and Synchronize AutoPLANT Project to it
            • Setting up Oracle 11g R2 database client for AutoPLANT
          • +Errors, Logs, Messages, Crashes - AutoPLANT Modeler
          • +General - AutoPLANT Modeler
          • +Installation - AutoPLANT Modeler
          • Processing - AutoPLANT Modeler
          • +Settings/Attributes - AutoPLANT Modeler
          • +Tools - AutoPLANT Modeler
        • +AutoPLANT Piping
        • +AutoPLANT Equipment
        • +AutoPLANT I&W
        • +AutoPLANT P&ID
        • +AutoPLANT Isometrics
        • +AutoPLANT AutoISOGEN
        • +Bentley Data Manager
        • +Vision/Document Manager
        • +Drawing Flattener
        • +DataSheets
        • +Specification Generator
        • +ProjectWise Integration
      • +Bentley Navigator
      • +Bentley PlantSpace
      • +Plant Project Tools
      • +Bentley Raceway and Cable Management
      • i-model Composition Service for S3D
      • Working from home with OpenPlant
      • Working from home with Bentley Raceway and Cable Management
      • Working from home with AutoPLANT Modeler
      • Your Feedback is important to us!

     
     Questions about this article, topic, or product? Click here. 

    Setting up Oracle 11g R2 database client for AutoPLANT

    Applies To
    Product(s): AutoPLANT, Oracle database
    Version(s): AutoPLANTSELECT Series 4 (version 08.11.09.140) for x86 and x64, Oracle database 11g Release 2
    Environment:  Windows 7 Enterprise client PC
    Area:  N/A
    Subarea:  N/A
    Original Author: Bentley Technical Support Group

    Overview

    This guide is intended to help AutoPLANT users setting up client computers for work with projects stored in Oracle database. Oracle server configuration is not in scope of this document.

    Notes before beginning

    1. Please obtain Oracle database client installers at:
      http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win32soft-098987.html
      http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.html
      AutoPLANT 32bit version requires only 32bit client, hence use the first link only. For AutoPLANT 64bit both database clients have to be installed.
      In order to download Oracle clients you’ll be asked to create a free account at Oracle site, or you can use your existing login created before.
    2. Client installation needs to be done by a local administrator with elevated rights (Run as Administrator). It’s highly
      recommended to review client installation guide by Oracle to see if all the requirements are met:
      http://docs.oracle.com/cd/E11882_01/install.112/e24282/toc.htm
    3. Oracle database client has to be installed before installing any AutoPLANT product (Piping, P&ID, etc)

    Procedure of installing Oracle client

    1. Extract installer obtained from Oracle site and run as administrator setup.exe. Select Custom installation type:



    2. In the languages section choose a language of your interest, or leave a default one – English
    3. If installing on Windows 32bit, you can leave default installation paths. However for Windows 7 64bit it’s required to install clients into separate locations. Hence change “Oracle Base” folder, “Software Location” will be updated appropriately by installed. There is no need to change Software Location path manually.



    4. Select the components as displayed below. Please note that SQL*Plus is an optional component, but it’s a very handy utility to check connection to Oracle server after installation. It’s recommended to have it installed.



    5. At the end of installation you will be presented with a guide helping to setup connection to Oracle database. Click Next to move forward.



    6. By default a local naming method is selected, which parameters are saved locally in your computer. Leave a default option selected, unless your database is configured to use a different naming method.



    7. Enter an Oracle Service Name. Please do not confuse it with a PC name. Service Name is a name of Oracle database instance. If you are familiar with MS SQL databases, then MachineName\InstanceName used to connect to MS SQL database can be considered as an equivalent to Oracle Service Name.



    8. By default TCP protocol is used, typically no changes are required here.



    9. Enter a PC name of machine where Oracle database is deployed. Leave the standard port number selected, unless you are sure that non standard port is configured for database.



    10. This step asks to do a connection test, leave “No, do not test” option selected and proceed further.
    11. It’s a good practice to have Net Service Name coincide with Service Name, therefore leave it by default.



    12. Configure the firewall exception to allow inbound and outbound traffic through port 1521
    13. If you are installing on Windows 7 64bit, install 64bit version of Oracle client selecting a different Oracle Base folder at step 3. It’s recommended to reboot your machine before installing 64bit client.
    14. Finally it’s good to test if connection to Oracle database succeeds. First inspect if connection configuration files were created properly during installation:
      C:\Oracle_x86\product\11.2.0\client_1\NETWORK\ADMIN\tnsname.ora



      If you installed 64bit version of client, check if tnsname.ora is the same as in 32bit location you installed.
      Open SQL Plus command line utility. For the user name enter you login in the following form: user_name@net_service_name. Here user_name is a login to database (should be given by DB administrator.  If you have DBA access to the database, you can create it yourself) and net_service_name is taken from step 11.



      If connection is successful you will see greetings from Oracle. Otherwise if error occurs, you should troubleshoot if tnsnames.ora is defined properly, if ping works to database machine, check the firewall settings etc.

    15. Install the AutoPLANT
    16. Check the Project Administrator if Oracle database type is available to choose during creation of new project:

    Comments or Corrections?

    Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this Comments or Corrections?" section. THANK YOU!

    • AutoPlant V8i
    • AutoPLANT Piping
    • Database
    • Share
    • History
    • More
    • Cancel
    • Linas Burneika Created by Bentley Colleague Linas Burneika
    • When: Wed, Mar 27 2013 10:55 AM
    • Kestutis Mitkus Last revision by Bentley Colleague Kestutis Mitkus
    • When: Tue, Oct 3 2017 2:55 PM
    • Revisions: 10
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies