Installing Web Applications

This section describes how to install the Cloud Connector for 3DSpace On-premises Data.

This task shows you how to:


Before you begin:

Run the GUI Installer on Windows

Follow the steps below to install the Cloud Connector for 3DSpace On-premises Data on Windows using the installer provided in the installation file (.zip file).

  1. Run: .\NETVIBES_CloudConnector.Windows64\1\setup.exe
  2. Click Next to go through the steps of the installer below:
    StepsDescription
    Choose the installation directory to update or an empty directory to do a new installation Select your installation directory (for a first installation or to update an existing installation).
    Apache TomEE+ installation path Select your Apache TomEE installation directory.

    Example: E:\tools\apache-tomee-plume-9.1.3

    Choose the server installation directory Select the 3DSpace installation directory.

    Example: C:\DassaultSystemes\R2027x\3DSpace

    Enter the 64-bit Java Development Kit (JDK) path Enter the path to your JDK installation directory.

    Example: C:\Program Files\Semeru\jdk-17.0.8.101-openj9

    Enter the username of the crawl user Enter the username of the crawl user.

    For more information, see Credentials.

    Enter the password for the crawl user Enter the password of the crawl user.

    For more information, see Credentials.

    Do you want to require users to have a valid CAS session? Select No if you do not want to secure web services deployed by the Cloud Connector for 3DSpace On-premises Data (er-crawler-service-webapp and er-crawler-manager-webapp) with CAS.
    Do you want to enable 3D Mockup synchronization? Select Yes if you want to synchronize 3DSearch, Assembly and 3D Display.
    Do you want to configure a forward proxy for cloud connections? Select Yes if you want to install a forward proxy. For more details on forward proxy configuration and the detailed steps of the installation, see Install and Configure a Forward Proxy.
    Do you want to enable file sync? Select if you want to send files to the cloud.
    Enter URL of the different services Enter the URL of your 3DPassport service.

    Example: https://3dpassport.mydomain:443/3dpassport

    Enter the base URL for ER Crawler services Enter the URL of the ER crawler service.

    Example: https://er-crawler.mydomain:443

    Enter the username of an authorized user to call the crawler via CAS If CAS is used, enter the name of the user authorized to connect to webservices using CAS.
    Enter the password for the user who will call the crawler via CAS If CAS is used, enter the password of the user authorized to connect to webservices using CAS.
    Enter the URL of the on cloud 3DRegistry Enter the URL of the 3dregistry on the cloud.

    This URL is available in the Agent Management application. For more information, see CLM Credentials and 3dregistry Generation.

    Example: https://GEO-registry.3dx-staging.3ds.com

    Enter the name of the cloud tenant Enter the name of the cloud tenant.
    Enter the on cloud Workspace ID Enter the Data Workspace created in Data Factory Studio.

    If no Data Workspace has been defined, you can specify an index unit instead. For more information on Data Workspaces, see Information Intelligence | Collaborative Data Intelligence | Data Factory Studio | Data Factory Studio | Managing Data Workspaces.

    Enter the Agent ID of an authorized CLM agent to call SGI on the cloud Enter the Agent ID of the CLM agent, as defined in the Agent Management application. For more information, see CLM Credentials and 3dregistry Generation.

    Example: cf5e7d90-859b-478a-a3de-a583d351db02

    Enter the password for CLM agent Enter the Agent Password of the CLM agent, as defined in the Agent Management application. For more information, see CLM Credentials and 3dregistry Generation.

Run an Interactive Installation on Linux

Follow the steps below to install the Cloud Connector for 3DSpace On-premises Data using the installation file (.zip file) on Linux.

  1. Run: ./NETVIBES_CloudConnector.Linux64/1/StartTUI.sh.
  2. Go through the installation steps as indicated above (see table in Run the GUI Installer on Windows).

Run an Interactive Installation on Windows

Follow the steps below to install the Cloud Connector for 3DSpace On-premises Data using the installation file (.zip file) on Windows.

  1. Run: .\NETVIBES_CloudConnector.Windows64\1\StartTUI.exe.
  2. Go through the installation steps as indicated above (see table in Run the GUI Installer on Windows).

Run a Scripted Installation

You can script the installation process by providing a response file.

Context: Before running a scripted installation, first perform an interactive installation (see Run an Interactive Installation on Linux or Run an Interactive Installation on Windows) to generate a response file in your installation directory: $CLOUD_CONNECTOR_INSTALL_DIR/InstallData/UserIntentions_CODE.xml.

The response file passwords are replaced by placeholders. You can replace them with your own passwords in clear text, but it is your responsibility to manage the security of this file.

The response file must be XML "well-formed" and UTF8-encoded.

Important: Never change boolean variables from TRUE to FALSE or vice versa, because it changes the sequence of the installation questions, and the answers may not be found in the response file.

  1. From your installation directory, generate a response file using the following command:

    .\NETVIBES_CloudConnector.Windows64\1\StartTUI.exe --silent $YOUR_RESPONSE_FILE

    The command generates an .XML file in the installation directory.

    Response file example:

    <?xml version="1.0" encoding="UTF-8"?>
    <UserIntentions mediaName="CODE\win_b64\NETVIBES_CloudConnector.media" mediaVersion="427.11">
      <SetVariable name="TomEEPath" value="/INSTALL_DIR/tomee/apache-tomee-plus-9.1.3"/>
      <SetVariable name="X3DCSMA_3DPassportURL" value="https://3dpassport.mydomain:443/3dpassport"/>
      <SetVariable name="ER_CRAWLER_BASE_URL" value="https://er-crawler.mydomain:443"/>
      <SetVariable name="CAS_USER" value="admin_platform"/>
      <SetVariableProtected name="CAS_PW" value="Put your password here."/>
      <SetVariable name="ENABLE_FILE_SYNC" value="true"/>
      <SetVariable name="ENABLE_3D_MOCKUP_SYNC" value="true"/>
      <SetVariable name="PATH_PH_Server" value="/INSTALL_DIR/server"/>
      <SetVariable name="Java@jdk" value="/INSTALL_DIR/jdk"/>
      <SetVariable name="CRAWL_USER" value="creator"/>
      <SetVariable name="DISABLE_CAS_SESSION" value="false"/>
      <SetVariable name="REGISTRY_URL" value="https://SUPPLEMENTAL_REGISTRY_URL"/>
      <SetVariable name="TENANT_NAME" value="SUPPLEMENTAL_TENANT_VALUE_TO_CHANGE"/>
      <SetVariable name="WORKSPACE_ID" value="dw-global-000000-default"/>
      <SetVariable name="CLM_AGENT_ID" value="SUPPLEMENTAL_AGENT_ID"/>
      <SetVariableProtected name="CLM_AGENT_PW" value="Put your password here."/>
      <SetVariable name="DSYWelcomePanel"/>
      <SetVariable name="TARGET_PATH" value="/INSTALL_DIR/NETVIBES_CloudConnector"/>
      <SetVariable name="FinishPanel"/>
    </UserIntentions>
  2. As the UserIntentions_CODE.xml response file does not store passwords, edit the following row:

    <SetVariableProtected name="CLM_AGENT_PW" value="Put your password here."/>

    Replace:

    • the text Put your password here with your password.
    • SetVariableProtected with SetVariable.

    Example:
    <SetVariable name="CLM_AGENT_PW" value="T6K=4PiAQdTx1&#34;,id&#38;zhXiU&#62;"/>
    Important: If you have special XML characters (>, <, &, ', ") in your password, you must escape them.

Run a Rolling Upgrade

You can upgrade your index after upgrading your 3DSpace to a new major or minor release. The Cloud Connector for 3DSpace On-premises Data creates another index unit in parallel of your existing index unit using the upgraded data model and the latest features available for the index.

Before you begin:
  • The upgrade only works for installations that are using a custom workspace (workspaceId defined in the configuration)
  • During this upgrade procedure, the Cloud Connector for 3DSpace On-premises Data continues to handle standard incremental crawl flow on your existing production, and in addition will push data to your new index unit. So it will consume more resources during that time. Make sure that your installation can manage an initial crawl in parallel of your running incremental crawl.
  1. Initialize the rolling upgrade using:

    • On Linux: er-crawler-manager-cli.sh rolling-upgrade init
    • On Windows: er-crawler-manager-cli.bat rolling-upgrade init

    This command starts an initial crawl with the new data model to a new index unit 3DSpaceOP in a new dedicated workspace $YOUR_CURRENT_WORKSPACE_ID__rolling__.

    Once the initial crawl is done, it switches automatically to an incremental crawl. At this step, you have two incremental crawls running in parallel (one for your production, one for your rolling upgrade).

  2. Once your rolling upgrade initial crawl is finished, you can complete the rolling upgrade. This operation will backup your existing production index unit to a dedicated new workspace ($YOUR_CURRENT_WORKSPACE_ID__backup__), and switch your upgraded index unit with the one used in production:

    • On Linux: er-crawler-manager-cli.sh rolling-upgrade complete
    • On Windows: er-crawler-manager-cli.bat rolling-upgrade complete

    Your production event monitor is also replaced with the one used for the rolling upgrade to ensure that you do not lose any objects during that process.
  3. (optional) Check the status of your rolling upgrade using the status command:

    • On Linux: er-crawler-manager-cli.sh rolling-upgrade status
    • On Windows: er-crawler-manager-cli.bat rolling-upgrade status

  4. Check that your production is running as expected.

    Note: You can restore the backed-up index unit to your production workspace if the upgrade is not successful.

  5. (optional) If you need to stop the rolling upgrade process, use the destroy command. It will end all rolling upgrade operations and destroy all associated states:

    • On Linux: er-crawler-manager-cli.sh rolling-upgrade destroy
    • On Windows: er-crawler-manager-cli.bat rolling-upgrade destroy