You are on page 1of 20

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


1. C:Program Files (x86)SmartPlant3DRefDataShipCatalogData
as- \TESTSRV2ShipCatalogData and

2. give everyone Full permission on the share

2. Create SharedContent Share folder

1. o C:Program Files (x86)SmartPlant3DRefDataSharedContent


as- \TESTSRV2SharedContent and

2. o Give everyone read and change permissions

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


path

1. C:>C:packagingcaspol.bat

2. Enter SP3D/SM3D SharedContent directory (no trailing backslash,


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

3. Microsoft (R) .NET Framework CasPol 2.0.50727.5420

4. Copyright (c) Microsoft Corporation. All rights reserved.

5.

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


Machine level.

7. Success

8. Press any key to continue . . .

9.

10. 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 \TESTSRV2Shi
pCatalogDataDatabaseSM_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:SoftwareIntergraphApplicationsEnvironmentsCommonAppProje
ctDB". 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_USERSoftwareIntergraphApplicationsEnvironmentsC
ommonAppProjectDB

HKEY_CURRENT_USERSoftwareIntergraphApplicationsEnvironme
ntsCommonAppProjectDB
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=APPDBSMART3D;DATABASE=S3D_V11R1_CDB_SCHEMA
Model SERVER=APPDBSMART3D;DATABASE=S3D_V11R1_MDB
SERVER=APPDBSMART3D;DATABASE=S3D_V11R1_CDB_SCHEMA
Reports SERVER=APPDBSMART3D;DATABASE=S3D_V11R1_RDB
SERVER=APPDBSMART3D;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.

Tag Archives: install sp3d step by step


How to Install SmartPlant 3D (step-by-step guide)
25SEP
1. Configure Microsoft Distributed Transaction Coordinator.
1. Run services.msc
2. Choose service Distributed Transaction Coordinator,
3. Right click on it, choose option Properties,
4. Choose Start type as Automatic and press Start button.
5. Press OK.
2. Verify startup of Distributed Transaction Coordinator.
1. Run comexp.msc,
2. choose Component Service Computers My Computer Distributed Transaction
Coordinator Local DTC,
3. right click, choose Properties option. Note: if you are using Windows Firewall, press
button Allow access.
4. Choose Security tab, check options:
1. Network DTC Access
2. Allow Remote Clients
3. Allow Remote Administration
4. Allow Inbound
5. Allow Outbound
6. No Authentication Required
7. Enable XA Transactions
5. Press OK Yes OK.
3. Restart Microsoft Distributed Transaction Coordinator.
1. Run services.msc
2. choose service Distributed Transaction Coordinator
3. right click on it, choose Restart option.
3. Configure your firewall to Allow DCOM communication (in example of Windows Firewall).
1. Control Panel -> Windows Firewall -> Allow a program or feature though Windows
Firewall -> Allow another program -> Browse
2. Type %SYSTEMROOT%\SYSTEM32\MSDTC.exe and click Open.
3. Verify that Distributed Transaction Coordinator has been added to the Allowed programs
and features list.
4. Make sure that the File and Printer Sharing option is checked.
5. Click OK.
6. Restart your computer so that the changes can take effect. The firewall can reset itself to
its default settings. If you encounter the error Cannot enlist SQL PDS with MSDTC, review your
Windows Firewall settings and verify that they are as outlined in this procedure.
3. Windows Firewall Instructions for RPC Dynamic Ports:
1. Click Start > Control Panel > System and Security > Windows Firewall.
2. In the left panel section, select Advanced settings.
3. In the left panel section, select Inbound Rules.
4. In the right panel section under Actions, click New Rule.
5. Select Port, and then click Next.
6. Select TCP and Specific local ports.
7. Type 135 in the Specific local ports box. Click Next.
8. Select Allow the connection, and then click Next.
9. Verify that Domain, Private, and Public are selected, and then click Next.
10. In the Name box, type RPC.
11. In the Description box, type Smart 3D Name Generator RPC.
12. Click Finish.
13. Right-click the new RPC rule in the list, and then select Properties.
14. Select the Protocols and Ports tab.
15. In the Local port option, select RPC Dynamic Ports.
16. Click OK.
17. Restart your computer so that the changes can take effect.
3. Windows Firewall Instructions for Microsoft SQL Server 2008
1. Click Start > Control Panel > System and Security > Windows Firewall.
2. In the left panel section, select Advanced settings.
3. In the left panel section, select Inbound Rules.
4. In the right panel section under Actions, click New Rule.
5. Select Port, and then click Next.
6. Select TCP and Specific local ports.
7. Type 1433 in the Specific local ports box. Click Next.
8. Select Allow the connection, and then click Next.
9. Verify that Domain, Private, and Public are selected, and then click Next.
10. In the Name box, type SQL 2008 Instance.
11. In the Description box, type Smart 3D Name Generator SQL 2008 Instance.
12. Click Finish.
13. In the right panel section under Actions, click New Rule.
14. Select Port, and then click Next.
15. Select UDP and Specific local ports.
16. Type 1434 in the Specific local ports box.
17. Click Next.
18. Select Allow the connection, and then click Next.
19. Verify that Domain, Private, and Public are selected, and then click Next.
20. In the Name box, type SQL 2008 Browser.
21. In the Description box, type Smart 3D Name Generator SQL 2008 Browser.
22. Click Finish.
23. Restart
3. Install Prerequisite Software on the Client if you do not have the yet.
1. Microsoft .NET Framework 3.5 (not required for Windows 7)
2. Microsoft Visual C++ 2008 SP1 Redistributable Package with MFC Security Update
3. Microsoft XML 6.0
4. Microsoft Data Access Components 2.8.1 or higher
5. Microsoft Office
6. Adobe Acrobat Reader
7. SmartPlant License Manager 2010 (V11.0)
3. Install MS SQL Server 2008 Client.
1. While installing choose New SQL Server stand-alone installation or add features to an existing
installation option.
2. And when you get to Feature Selection, select the client features that you want to include: Client
Tools Connectivity; Management Tools Basic; Management Tools Complete; SQL Server
Books Online.
3. Register SQL Server 2008 (databases):
1. Open SQL Server Management Studio and
2. click View > Registered Servers. Registered Servers appear in the left tree view.
3. In the tree view, right-click Database Engine, and select New > Server Registration in the
shortcut menu. The New Server Registration dialog box appears.
4. On the General tab, enter or select the name of the server you want to register. Click Save and
exit Management Studio.
3. Install and configure Name generator.
3. Install and configure Smart 3D.
3. Install Reference data installation.
3. Create and configure database.
Download the installation guide below

You might also like