You are on page 1of 19

Configuring Intergraph Smart 3D

Application Servers and Databases


Creations
Posted on April 8, 2013 by gunnalag
This article is in continuation of installing-intergraph-smart-3d-application

Configuring Intergraph Smart 3D application involves a laborious set of manual tasks as


detailed below

On App server and the DB server (in case if you use remote DB server for hosting
DBs):

Control PanelSystem and SecurityAdministrative ToolsComponent Services


In Component Services>Computers> My Computer > Distributed Transaction
Coordinator > Local DTC
Right click Local DTC > Properties > Security > Select all options as shown

below

Restart the Distributed Transaction Coordinator service to get the changes into
effect

Verify that Distributed Transaction Coordinator service is running and set to


start automatically

Only on App server:

1. Make sure that Demo users group is member of Distributed COM Users group
on the server
2. Add Application server > Role service > COM+ Network
Access

3. In Windows Firewall

Create a new Inbound rule to all port 135 for all connections and all
profiles and name it as RPC with description (For Intergraph SmartPlant 3D Name
Generator)

Updated the newly created rule to > Protocols and Ports > Local Port >
RPC Dynamic Ports

Create a new Inbound rule to allow program %SystemRoot


%System32msdtc.exe for all connections and all profiles and name it as MSDTC
(For Intergraph SmartPlant 3D)

Create a new Outbound rule to allow program %SystemRoot


%System32msdtc.exe for all connections and all profiles and name it as MSDTC
(For Intergraph SmartPlant 3D)
4. Create ShipCatalogData Share folder

C:Program Files (x86)SmartPlant3DRefDataShipCatalogData


as- \TESTSRV2ShipCatalogData and

give everyone Full permission on the share

2. Create SharedContent Share folder

o C:Program Files (x86)SmartPlant3DRefDataSharedContent


as- \TESTSRV2SharedContent and

o Give everyone read and change permissions

3. Run caspol.exe to add SharedContent path to the .Net Trusted path

C:>C:packagingcaspol.bat

Enter SP3D/SM3D SharedContent directory (no trailing backslash, no quotes)


(e.g., \servernamefolder): \TESTSRV2SharedContent

Microsoft (R) .NET Framework CasPol 2.0.50727.5420

Copyright (c) Microsoft Corporation. All rights reserved.

Added union code group with "-url" membership condition to the Machine level.

Success

Press any key to continue . . .

C:>

4. SQl Database: Should be 2008 SP3 Standard/Enterprise

5. DB configuration running user should have SysAdmin role on the DB instance

6. Register the SQL Server by Opening SQL Studio, connect to DB instance, right
click the instance after connecting and then click Register
7. In the New Server Registration, set Login to sa user, Click Test, if successful,
then click save

8.

Related screenshots:
Creating Intergraph Smart 3D DataBases and Configuring

1. Launch Start MenuProgramsIntergraph SmartMarine 3DDatabase Tools


2. Select Create a new site and in the next wizard fill the details shown below
respectively and click
Next

1. 1. Database Type:

1. Site DB Server : TESTSRV2SMART3D

2. Site DB name: S3D_V11R1_SDB

3. Site DB workshare location: USA

4. Name Rule ID: 1


5. Name Generator server for site: TESTSRV2

2. 2. Create Site Schema database:

1. Template File for site


schema: \TESTSRV2ShipCatalogDataDatabaseAppRepos.dat

2. Site Schema server: TESTSRV2SMART3D

3. Site Schema name: S3D_V11R1_SDB_SCHEMA

3. In Catalog Database and Schema dialog, choose Use existing catalog created in
Project Management or Bulkload

4. Click next in Ready to load databases

5. Upon successful installation, click Finish

1. Launch Start MenuProgramsIntergraph SmartMarine 3D Project Management


1. Click Database > New > Catalog

2. In the New Catalog wizard input below values

Catalog DB server: TESTSRV2SMART3D

Catalog DB name: S3D_V11R1_CDB

Catalog DB server: TESTSRV2SMART3D

Catalog DB server: S3D_V11R1_CDB_SCHEMA

Template Options: choose Create a new catalog from a template:


change template path
from \TESTSRV2DatabaseTemplatesCatalogDB.dat to \TESTSRV2ShipCatalogDataD
atabaseSM_ShipCatalogDB.dat

In Symbol and custom program file location :


type: \TESTSRV2ShipCatalogDataDatabaseSM_ShipCatalogDB.dat

2. Upon successful catalog creation, select the SmartMarine 3D in Project


Management , goto Database > New > Ship >

1. In general tab give: Name = S3D_V11R1_MDB; Description = For Test from


TESTSRV2

2. In Databases tab in below values as shown


From drop down list select each of below DBs, their server and DB names as required

Catalog: S3D_V11R1_ CDB

Model: S3D_V11R1_ MDB

Reports: S3D_V11R1_ RDB

Name Generator server for ship: TESTSRV2

3. Then click OK
Related Screenshots:
Intergraph Smart 3D Application
Behavior Analysis
Posted on April 18, 2013 by gunnalag
Application uses below config data points:

To Locate DataBase Server: Uses registered SQL Servers in user profile to auto locate
its Database server. This config file is saved in "$ENV:AppDataMicrosoftMicrosoft SQL
Server100ToolsShellRegSrvr.xml" location. You need to ensure to copy this file for all
users of Smart3D.

To Locate the Site Database to Connect to: Uses HKCU registry to find
the DataBase to connect to for that user. The registry location is:
"HKCU:SoftwareIntergraphApplicationsEnvironmentsCommonAppProjectDB". The keys
used are

1. PhysicalName
(REG_SZ) : SERVER=APPDBSMART3D;DATABASE=S3D_V11R1_SDB
2. Schema
(REG_SZ) : SERVER=APPDBSMART3D;DATABASE=S3D_V11R1_SDB_SCHEMA

C:>reg query
HKEY_CURRENT_USERSoftwareIntergraphApplicationsEnvironmentsCommonAppPro
jectDB

HKEY_CURRENT_USERSoftwareIntergraphApplicationsEnvironmentsCommonAp
pProjectDB
SiteDatabaseProviderType REG_SZ MSSQL
PhysicalName
REG_SZ SERVER=APPDBSMART3D;DATABASE=S3D_V11R1_SDB
Schema
REG_SZ SERVER=APPDBSMART3D;DATABASE=S3D_V11R1_SDB_SCHEMA

C:>
To Locate other DBs: Site Database holds a table that contains the configuration for
Connecting to other DBs. The table is named PRJMGTDatabase and the respective
entries are Name, Path, PMSchema as given below:

SELECT Name, Path, PMSchema FROM [S3D_V11R1_SDB].[dbo].


[PRJMGTDatabase]
Name Path PMSchema
Catalog SERVER=APPDBSMART3D;DATABASE=S3D_V11R1_CDB SERVER=AP
PDBSMART3D;DATABASE=S3D_V11R1_CDB_SCHEMA
Model SERVER=APPDBSMART3D;DATABASE=S3D_V11R1_MDB SERVER=APP
DBSMART3D;DATABASE=S3D_V11R1_CDB_SCHEMA
Reports SERVER=APPDBSMART3D;DATABASE=S3D_V11R1_RDB SERVER=AP
PDBSMART3D;DATABASE=S3D_V11R1_RDB_SCHEMA

Note: the PMSchema for Model point to Catalog Schema DB as there is no


Model Scheme DB.

The other references related to installed servers and Databases to be taken care are
below:

With in SDB:

Update S3D_V11R1_SDB..REFDATServerPath set NameGeneratorServer =


AppSRV01
Update S3D_V11R1_SDB..CORENamedObjects set ObjectName =
S3D_V11R1_MDB Where ObjectOid = 00007535-0000-0000-0600-58AE5E511E04
Update S3D_V11R1_SDB..PRJMGTProjectRoot set Name = S3D_V11R1_MDB

With in CDB:

Update S3D_V11R1_CDB..REFDATServerPath set CabServerPath =


\AppSRV01SharedContent
Update S3D_V11R1_CDB..REFDATServerPath set OleServerPath =
\AppSRV01SharedContent

With in MDB
Update S3D_V11R1_MDB..CORENamedItem set strName = S3D_V11R1_MDB
Where Oid = 00009C45-0000-0000-0800-B2B65E510D08
Update S3D_V11R1_MDB..CORENamedItem set strName = S3D_V11R1_MDB
Where Oid = 0001ADBB-0000-0000-2200-B2B65E510D08
Update S3D_V11R1_MDB..DRAWNGPropertyObject2 set PlantName =
S3D_V11R1_MDB
Update S3D_V11R1_MDB..REFDATServerPath set NameGeneratorServer =
AppSRV01

Note: There are no changes required in Schema DB as they dont have


any installation specific data.

You might also like