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.
-
If you access the manual through the hub's Web GUI, the
functionality will not be suppressed because the hub is a web
server.
-
Alternatively, your browser may allow you to explicitly
disable the security setting that suppresses functionality. See
the CodeSonar
FAQ for more information.
Installation: Hub License Key: Set Up a Standard License Key
This section provides instructions for setting up a signed,
standard CodeSonar license key for a new or upgraded hub.
Before you set up the license key, make sure you have done the
following.
If you have a floating license key (one that contains an
attribute of the form "floating":true), follow the setup
instructions in License Key Installation:
Floating License Key.
If you have simply connected to a hub for which someone else is
responsible, including any SaaS hub, you do not need to set up a
license key and can go on to Installation: Finishing Up.
A standard CodeSonar license key is locked to a
specific machine.
- The CodeSonar hub (web server) must run on this machine.
- Analyses can run anywhere.
Most CodeSonar license keys are standard
license keys. The alternative is a floating license key.
Before setting up, work through the following
steps to make sure your license key is signed and of the expected
type.
- Do you have a license key?
For a hub located at <host>:<port>, set
up the license key as follows.
- If you haven't checked your license
key, check it now.
- If the CodeSonar Web GUI is not
already open, open it now.
http://<host>:<port>/
If you don't see the hub home page, make sure you have
specified the correct <host> and <port>.
For example, if you specified hub interface ::1 and port 7340 when you set up the hub, the web GUI home
page will be at http://[::1]:7340/.
- If you are not already signed in as Administrator, sign in now.
- Click the Sign In link (at the top right of
the page).
CodeSonar will open a page for you to
enter credentials.
- Enter Administrator
in the Username field.
- Enter the Administrator password
in the Password field.
(If you have just started a new hub, you will have set a
password for Administrator
as part of that process.)
- Click Sign In.
If this is the first time the Administrator account has been used, you will
be asked to specify an email address for the account.
- Click the see licensing details link in the GUI
footer.
The License Utilization page will open. Directly under the page
heading will be a text field labeled Edit License(s).
Note: alternative
license key installation instructions are available for users
who are not able to use the web GUI.
- Paste the text of your signed license key into the Edit
License(s) field, replacing any text that was previously
present.
- Click Save.
CodeSonar will read and apply your new license key.
- On success, CodeSonar will display a "License
successfully updated" message above the text field and
update the utilization
summary to reflect the current license key terms.
- Otherwise, CodeSonar will display a "License
Error" message above the text field, with details of the
problem experienced. See Hub License Key:
Troubleshooting for resolution guidelines.
- Your current Administrator
session has reduced privileges because you signed in while the hub
was in an unlicensed state. Sign out now to end the session so that
you can start a new one that takes the license key into account:
- Click the Sign Out Administrator link (at
the top right of the page).
CodeSonar will display a page stating that you have signed
out
- Click the Continue link.
CodeSonar will display the hub home page.
You are now in an anonymous session. If you want to sign in again
(as Administrator or another
user), you can do so by clicking the Sign In
link at the top right of the page and entering credentials when
prompted.
- If you have not yet configured the hub, go on to Hub Setup: Hub Configuration.
Otherwise, go on to Installation:
Finishing Up.