Perform Prerequisite Steps on Windows
- Configure and run a 3DOrchestrate Server before running the current release on your network.
- Take note of the 3DOrchestrate Server key information, including its hostname (with the fully qualified name preferred), protocol, and ports.
- On a separate computer host configured with a supported Windows environment, proceed with a clean installation of a 3DOrchestrate station with adapters. For an overview of the installation and the specific details of the Windows environment, see 3DOrchestrate Installation and Administration.
-
Open a Windows command prompt, and change the directory to the 3DOrchestrate root directory. For example:
C:\> cd /d C:\DassaultSystems\release_num\3DOrchestrate\win_b64
- Optional:
Start a station as a service using the CATEnv parameters.
- Create environment variables CAT_ENV_FILE and CAT_ENV_PATH
-
Set the value of CAT_ENV_FILE to the CATEnv file that includes
SMAEXE_JRE.
The installer sets SMAEXE_JRE in the global CATEnv file ENV.txt, located in <INSTALLDIR>/CATEnv using the default install values:
SET CAT_ENV_FILE=Env.txt
SET CAT_ENV_PATH=<station_install_directory>/CATEnv
When the SMAExeStationAsService-Configure.bat/sh file configures the station as a service, the script creates a SMAExeStationWrapper.conf configuration file using the variables defined in the Env.txt file.
Note: If you modify the Env.txt file, you must run SMAExeStationAsService-Configure.bat/sh again to update or create a new configuration file to reflect the changes. -
Unset the
SH_DEBUGenvironment variable, if required.The
SH_DEBUGenvironment variable enables the Dassault Systèmes support team to collect extra debugging information when running station-related commands. However, it should not be defined unless the support team specifically requests it, and it can interfere with the normal operation of 3DOrchestrate applications.Tip: Issue the following command to check if
SH_DEBUGis defined:set SH
If the command prompt returns a value, issue the following command to unset it:
set SH_DEBUG=
If the command prompt returns the message Environment variable SH not defined, the environment variable has not been predefined, and you can proceed to the next step.
-
Check whether your system has defined any environment variables starting with the
prefix
SMAEXE_by issuing the following command:set SMAEXE
In particular, theSMAEXE_JVMPARMSandSMAEXE_TEMPenvironment variables can have an impact on the configuration process for a station running as a service. These variables are not taken into account properly when the station running as a Windows service is up.The command prompt lists the values of all definedSMAEXE_output variables, so that you can review their settings and assess whether they are required during an operation of the station running as a service. -
Check whether the following Java environment variables are predefined on your
system:
_JAVA_OPTIONS: an undocumented environment variable used through Java 8 but deprecated starting with Java 9.JDK_JAVA_OPTIONS: the official replacement for_JAVA_OPTIONS. Described in https://www.oracle.com/java/technologies/downloads/#java17.JAVA_TOOL_OPTIONS: Described in https://docs.oracle.com/en/java/javase/17/troubleshoot/environment-variables-and-system-properties.html.
-
Check the connection with the 3DOrchestrate server:
-
Start a public 3DOrchestrate station to ensure it can connect to the required server by issuing this
command:
.\code\command\SMAExeStation.bat
The Logon Station dialog box appears. -
Select a Connection profile.
Click
to edit the selected connection profile. In the
Profile Editor dialog box, you can edit the protocol,
hostname, and port number.If no suitable connection profile exists, you can create a new one. Click
to specify the protocol, host name, and port, and click
Save twice. -
Enter your User ID and Password,
and click OK.
The main EER station dialog box appears.
-
Review the Station Log to check the set of working
directories used by the station, particularly the location of the
Station temporary directory. In addition, the final line of the log includes the informational lineStation startedif the station started successfully. - Shut down the station.
-
Start a public 3DOrchestrate station to ensure it can connect to the required server by issuing this
command:
-
Select a Windows account to run the service.
Note: The Windows account that you select for running the station as a service is different from the default fiperstation account used to connect to the 3DOrchestrate server.The following accounts are available:
Option Description LocalServiceA local account that Windows recommends for running any kind of application service that does not require access to network resources. This account does not require a password and has minimal privileges on the workstation. You can find its temporary files and folders stored in this directory: C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp
NetworkServiceAn alternate account for running any kind of application service locally that could access "public" network resources; that is, resources that are accessible to everyone or to any authenticated users. It requires a password, has minimal privileges on the local workstation, and might access public network resources (depending on the organization policy). You can find its temporary files and folders located under: C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp
LocalSystemA local account that is available for use but discouraged by Microsoft. It does not require a password, has maximum privileges on the local workstation, and might access public network resources (depending on the organization policy). You can find its temporary files and folders located under: C:\Windows\Temp
<Dedicated domain account>A new, dedicated account for running an application like a station as a service. Using a dedicated account for a station as a service is good practice because it enables the organization to grant access to any network resources selectively. The dedicated domain account requires a password, can have custom privileges on the local workstation, and can access specific network resources (based on regular permissions). You can find its temporary files and folders located under: C:\Users\%USERNAME%\AppData\Local\Temp\(NUMBER ?)
-
Check the privileges of the selected Windows account:
- Select [Start menu] > Run.
-
Enter
secpol.msc, and click OK.The Local Security Policy dialog box appears. - From the tree, expand Local Policies and click User Rights Agreement.
- Double-click Log on as a service.
-
In the Log on as a service Properties dialog box that
appears, confirm that the account's local security setting contains the group
NT SERVICE\ALL SERVICESand click OK to close the dialog box. - Double-click Replace a process level token.
-
In the Replace a process level token Properties dialog box
that appears, confirm that the account's local security setting contains the
accounts
LOCAL SERVICEandNETWORK SERVICE. Click OK to close the dialog box. -
For dedicated domain accounts, click Add User or
Group.
- Click Add User or Group.
The Select Users, Computers, Services Accounts, or Groups dialog box appears.
- Enter the simple login ID of the account, and click Check Names. Select the name of the account, and click OK.
- Click Add User or Group.