JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.

If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.

If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.

CodeSonar® 9.2p0 CONFIDENTIAL CodeSecure Inc

Tutorial: Locate an Existing Hub

Follow the instructions on this page if you need to locate an existing hub.

Preliminary: Are You The Hub Owner?

A. Check Configuration Tool "Known Hubs"

First, check to see if the hub is being tracked by the CodeSonar configuration tool.

  1. Run the following command to start the configuration tool.
    codesonar config
    If the configuration tool has any "known hubs", they will be listed in a table above the main menu.
  2. Does the hub you are looking for appear in the table?

B. Identify the Hub Machine

Do you know which machine the hub is (or might be) running on?

C. Run codesonar hub-info

On the hub machine, try the following codesonar hub-info command lines.

If a hub is running, CodeSonar will print a table of hub information in response to a codesonar hub-info command. You can read the hub location from this table. (In some cases you will also have cited the location in the command itself.) If a hub is not running (or has other problems) CodeSonar will print a message saying that it could not connect to the hub.

Once you have obtained the hub location, you can go on to Ready to Build/Analyze.

  1. Do you know the hub directory?
  2. Check whether the default hub for your installation (if any) is running. (For more information, see How CodeSonar Determines Hub Location.)
    codesonar hub-info -force
    The output from this command will include the location of the default hub.
  3. If you have any other candidate host:port locations that you want to check, run codesonar hub-info commands citing those locations.
    codesonar hub-info -force host:port

What's Next

Have you located your hub?

 

To report problems with this documentation, please visit https://support.codesecure.com/.