Configure caching - Intergraph Smart 3D Web API - Update 2 - Installation & Upgrade - Hexagon

Intergraph Smart 3D Web APIs Installation and Configuration

ft:locale
en-US
Product
Intergraph Smart 3D Web API
Subproduct
Smart 3D Web APIs
Search by Category
Installation & Upgrade
Smart 3D Version
14

To configure caching for Smart 3D Web APIs, you use the Configuration Utility's Services page, caching sections.

Both APIs share the same configuration.

Go to the Services page > Caching sections

  1. On any machine where the web API services are installed, open the Configuration Utility:

    Start > Intergraph Smart 3D > Web API Configuration Tool

  2. On the Welcome page, select Configure Database Connection & Prerequisites.

  3. Click Next until the Services page shows the Cache Options section at the top.

Cache Options section

Services Page - Caching

  1. Choose your caching method, either Redis or Local process memory cache.

  2. If you chose Redis, continue with the next steps for the Redis Connection Details section.

Redis Connection Details section

Services Page - Redis Connection Details Section

  1. Enter the name of the computer where the Redis service is running in Server Name.

  2. Enter the number of the Redis database in Redis Database. This is usually 0 (the default). If you have to change it, the value is usually from 0 to 15.

  3. If the Redis database must allow admin connections, select Allow Admin Connections. This is uncommon.

  4. Pick your path:

    • If the API is allowed to connect using the default port 6379 (strongly recommended), click Test. Upon success, click Next to go to the RabbitMQ sections of the Services page.

    • Otherwise, continue with the next steps for the Redis Connection String section.

Redis Connection String section (not recommended)

Services Page - REdis Connection String Section

Only complete these steps if the API is not allowed to connect to the Redis database using the default port 6379. Redis configuration errors are often related to the default port number.

  1. Click Edit .

  2. Replace the port number after the colon. For example:

    in-ppm108477:6882.allowAdmin=False.defaultDatabase=0

  3. Click Test.