-
Open a Windows command prompt, and change the directory to the 3DOrchestrate home directory. For example:
C:\> cd /d C:\DassaultSystems\release_num\3DOrchestrate\win_b64
-
Unset the
SH_DEBUG environment variable, if necessary.
The SH_DEBUG environment 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 normal operation of 3DOrchestrate applications.
-
Issue the following command to check whether any environment variables starting with
the prefix
SMAEXE_ are defined on your system:
set SMAEXE
In particular, the SMAEXE_JVMPARMS and
SMAEXE_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 defined SMAEXE_ output variables,
so that you can review their settings and assess whether they will be needed during
operation of the station running as a service.
-
Review the state of the Java environment variables.
You should check whether the following Java
environment
variables are predefined on your system: All three can impact the operations of any Java virtual machine running on the
Windows host. They can have an impact during the configuration process for setting up a
station as a service, and they might not be taken into account when the station operates
as a Windows service.
-
Check the connection with the 3DOrchestrate server:
-
Start a public 3DOrchestrate station to ensure it can connect to the desired server by issuing this
command:
.\code\command\SMAExeStation.bat
The Logon Station dialog box appears.
-
Select a Connection profile.
If no suitable connection profile exists, you can create a new one. Click , 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 line Station started if the
station started successfully.
-
Shut down the station.
-
Select a Windows account to run the service.
Note:
The Windows account you select for running the station as a service is different
than the default fiperstation account used to connect to the 3DOrchestrate server.
The following accounts are available:
| Option | Description |
|---|
LocalService |
A local account that Microsoft 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. Its temporary files
and folders are stored in this
directory:C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp |
NetworkService |
An 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 may access public network resources (depending on the
organization policy). Its temporary files and folders are located
under:C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Temp |
LocalSystem |
A 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 may
access public network resources (depending on the organization policy). Its temporary
files and folders are 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).
Its temporary files and folders are located
under:C:\Users\%USERNAME%\AppData\Local\Temp\(NUMBER ?) |
-
Check the privileges of the selected Windows account:
-
Select .
-
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 SERVICES and 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 SERVICE and NETWORK SERVICE. Click
OK to close the dialog box.
-
For dedicated domain accounts, click Add User or
Group.
|