Understanding the sdehub start Command

This command starts an SDE hub.

See Also
Starting and Stopping the SDE Hub
sdehub start Command Options

The sdehub start command starts the SDE hub and can automatically update any design areas associated with the hub. The hub communicates with the server, obtains authentication, and maintains the connection to prevent timeouts between clients and the server.

When you start a hub, you have the option to choose how you authenticate the hub. You can use an app-password that you define with the sdehub save-app-pw command. The save-app-password command encrypts the app-password that provides persistence for your credentials and a defined timeout period for the hub. For more information, see Using an App-Password with the SDE Hub.

If you do not use an app-password, you are prompted for your 3DEXPERIENCE platform credentials. You can sign in using your credentials or, press ENTER to use an access code. You can generate an access code from the Semiconductor Item Management app. For more information, seeGenerating an Access Token for Client Application Authentication.

By default, the command starts in the background, which allows you to use the command line for other commands or to close the window. When you run the client in the background, you must specify a log file when you start the hub.

If you run the hub in the foreground of the command-line client, you must leave the window open. If you close the window, you also stop the hub. If you run in the foreground and do not specify a log file, the hub sends the output of the command to the command-line client window.

Note: You typically start the hub in the foreground when you are performing root cause analysis on an issue with the hub. If you start a hub in the foreground, it does not appear in the running hubs list available with sdehub list.

Your administrator can set an update interval that automatically updates all design areas associated with the hub to support caching. The update interval is the number of minutes between the end of the previous update and the beginning of the next. By setting the interval, the hub maintains the design area file and item caches.

Note: You can see which design areas are associated with your hub with the sdehub list command. For more information, see Listing Your Local Design Areas.
Tip: There is no specific recommendation for interval setting. In most cases, you want to set an interval, but you may need to try a few different settings to determine the ideal configuration for your environment. For an initial setting, try 60 minutes and increase or reduce the interval as required.

If you use external SCM systems, such as Git, DesignSync, or Subversion, the hub requires access to the SCM system's command-line client executables.

Note: The best way to include the command-line executables is to include the path to the external SCM command line in the default $PATH variable for the shell. For example, including it in the path definition in the .cshrc or the .sh config file.

You also need to save credentials for the external repositories that the hub uses. Consult the documentation for your external SCM system for the command to save your SCM credentials.