Quick Guide to Setup KDI Fabric

This is an end-to-end guide to set up KDI Fabric and connect it to KDI Gateway.

KDI Fabric is a local network where a central KDI Root manages connected KDI Leaf nodes.

  • The KDI Root is the central hub, overseeing your entire KDI Fabric.
  • KDI Leaf nodes are devices equipped with KDI Leaf software and connected to the KDI Root.
  • KDIG (KDI Gateway) is a cloud server that can manage multiple KDI fabrics and enables access to Keysight cloud services. If required, you can connect your local fabric to KDIG.

KDI Setup Workflow


Install KDI Root

Install KDI Root on a dedicated server.

  1. Download the KDI Root installer for Windows or Linux from www.keysight.com.

  2. Navigate to the designated download location for the KDI Root installer

  3. Right-click on the installer file and select Run Elevated to run it with administrative privileges.

  4. Click Next on the Welcome Setup screen to proceed with the installation.

  5. Review the License Agreement screen and select Agree.

  6. The Setup screen to Configure Database appears.

  7. Click Next to continue.

  8. Select components to install.
    Select both KDIS and Management UI to set up KDI Root.

  9. Click Next on the Ready to Install screen.
    The default installation location is C:\Program Files\Keysight\Distributed Infrastructure.
    Click Finish.


(Optional) Configure KDI Root to Connect to KDI Gateway

Configuring KDI Root is required only for advanced authorization control or cloud connectivity that enables access to Keysight cloud services and management of multiple fabrics. For cloud connectivity, configure the KDI Gateway connection. For advanced fine-grained authorization control, configure an OpenFGA-compatible database. You don't need to change the default configuration of a KDI Root to set up a local KDI Fabric.


Launch KDI Management UI

Once you have successfully installed KDI Root, KDI Management UI is accessible at 7701 using either the KDI Root's IP Address or Hostname.

URL Examples:

  • https://<hostname>:7701
    example: https://127.0.0.1:7701

  • https://<IP Address>:7701
    example: https://localhost:7701

To access KDI Management UI via secure HTTPS connections, you need to configure the trusted certificate by either using a default self-signed certificate or creating a locally trusted certificate. 

Default Self-Signed Certificate

  1. Enter the URL to access KDI Management UI on a web browser

    https://<KDIC Root server's IP Address>:7701
    https://<KDIC Root server's Hostname>:7701

    KDI Management UI creates a self-signed certificate for HTTPS if you don't have a locally trusted certificate configured. With the self-signed certificate, you will see a warning in the web browser requiring you to accept the certificate on the first connection from each client machine.

  2. Click the Advanced button on the page. To trust the certificate, click Continue to localhost (unsafe) .... at the bottom of the page to open KDI Management UI

    The symbol still appears in the address bar to the left of the web address, but the connection is secure with the self-signed certificate.  Additionally, you can install a locally trusted certificate to eliminate the warning.


Create Initial User

This section guides you through creating an initial user in the KDI Management UI who will act as an administrator.

  1. Open a Web Browser and type the URL to access the KDI Management UI.
    KDI Management UI is accessible at 7701 using either the IP Address or Hostname. eg. https://localhost:7701/

    The Welcome screen appears...

  2. Click Create Initial User Account
    The Create Initial User Account screen appears...
  3. Enter the Username and Password to create an administrator and click Create.
    The Login screen appears...
  4. Enter the administrator's Username and Password and click Log In.

Log In to KDI Management UI

Make sure you have created an Initial User.

  1. Open a Web Browser and type the URL to access the KDI Management UI.
  2. Enter the administrator's Username and Password and click Log In.

Install KDI Leaf

KDI Leaves are devices equipped with KDI Leaf software and connected to the KDI Root.

  1. If you already have Keysight IO Libraries Suite 2023 or its subsequent versions installed, KDI Leaf is automatically integrated and available for use. However, if you do not have the IO Libraries Suite, download the KDI Leaf installer for Windows or Linux from www.keysight.com.

  2. Navigate to the designated download location for the KDI Root installer.

  3. Right-click on the installer file and select Run Elevated to run it with administrative privileges.

  4. Click Next on the Welcome Setup screen to proceed with the installation.

  5. Review the License Agreement screen and select Agree.

  6. Click Next to continue.

  7. Click Next on the Ready to Install screen.
    The default installation location is C:\Program Files\Keysight\Distributed Infrastructure.

  8. Click Finish.


Configure KDI Leaf

  1. Open theKDI.YAML file located under %Program Data%\Keysight\Distributed Infrastructure.

  2. Under the upstream_manager section, update the host with the IP Address of the KDI Root.
    By default, the following section is commented out with a "#". Uncomment it by removing "#" from the beginning of the line and input the IP Address of the KDI Root node.
    Example: If the IP Address of KDI Root is 192.0.0.101 then update the KDI.YAML on the KDI Leaf nodes as follows:

Copy

KDI. YAML

...
upstream_manager:
  host: "192.10.0.101"
...

Restart KDI Services

    Restart Services
    1. Open the Windows search box and type services.

    2. The Services App will appear in the Windows menu. Click on it to open the Services App.

    3. In the Services window, locate and select the Keysight Distributed Infrastructure service.

    4. Right-click on the service and choose Restart from the context menu.
      When you restart the Keysight Distributed Infrastructure service, kids will start automatically.


Accept the KDI Leaf into the KDI Fabric

In the KDI Management UI, navigate to the Fabric Devices screen.
Select the row representing the provisional request from a KDI Leaf you wish to approve and click the Accept button.
Note To select a row, click on the row itself or activate the associated check box. The selected row appears in blue highlighting.