Adding Missing DMI Schemas or Updating Outdated DMI Schemas by Using the Update Schema Menu
You can add (update) a Device Management Interface (DMI) schema in the following ways by using the Update Schema menu:
By uploading an existing compressed TAR file (extension
.tgz
or.tar.gz
) containing the DMI schema into Junos Space Network Management PlatformNote You can create your own compressed TAR file (see Creating a Compressed TAR File for Updating DMI Schema) or obtain the file by contacting the Juniper Networks Technical Assistance Center (.
By downloading the DMI schema from the Juniper Networks DMI schema repository containing DMI schemas
Note The Juniper Networks DMI schema repository (https://xml.juniper.net/dmi/repository) does not currently support IPv6. If you are running Junos Space on an IPv6 network, you can do one of the following:
Configure Junos Space to use both IPv4 and IPv6 addresses and download the DMI schema by using the Junos Space Network Management Platform Web GUI.
Download the DMI schema by using an IPv4 client and create the compressed TAR file and update or install the DMI schema by using the Junos Space Web GUI.
To update a DMI schema on Junos Space Network Management Platform:
- On the Junos Space Network Management Platform user interface,
select Administration > DMI Schemas
The DMI Schemas page appears.
- Click the Update Schema icon on the toolbar.
The Update Schema page appears.
Note On the Update Schema page, Junos Space Platform displays the schemas that you already have installed and, based on the discovered devices, suggests new schemas. However, you can pick other available schemas and download them.
- Perform one of the following actions:
To update the DMI schema from an existing compressed TAR file:
- Select the Archive (tgz) option button.
- Click Browse.
The File Upload dialog box appears.
- Select the compressed TAR file and click Open.
The Update Schema page reappears, displaying the compressed TAR file in the Archived Schemas File field.
- Click Upload.
Note Do not navigate away from the Update Schema page while the compressed TAR file is being uploaded to Junos Space Platform. The time taken for the upload process depends on the number of schemas in the file. A progress bar indicates the percentage of the upload that has completed.
To update the DMI schema directly from the Juniper Networks DMI schema repository:
- Select the SVN Repository option button.
If the access to the Juniper Networks DMI schema repository is already configured, the URL of the repository is displayed in the URL field. If the access is not configured, a note indicating that the access must be configured is displayed.
To configure access to the Juniper Networks DMI schema repository:
- Click Configure.
The SVN Access Configuration dialog box appears.
- In the SVN URL field, enter the URL of the Juniper Networks DMI schema repository (https://xml.juniper.net/dmi/repository/trunk/).
- In the User Name field, enter the user name to access the Juniper Networks DMI schema repository.
- In the Password field, enter the password to access the Juniper Networks DMI schema repository.
- In the Confirm field, reenter the password to access the Juniper Networks DMI schema repository.
- (Optional) The Proxy Server field displays whether a proxy server is configured or not. If your organization requires that you use a proxy server to connect to the Internet, you must configure and enable the proxy server (under Administration > Proxy Server) before connecting to the Juniper Networks DMI schema repository. For more information, see Configuring Proxy Server Settings.
- (Optional) Select the Auto Install Schema check
box to automatically download any missing device schema or the latest
version of any outdated schema from the DMI schema repository during
device synchronization.
Note When the Auto Install Schema text box is selected, Junos Space Platform identifies the DMI schemas that are missing or that need update during device synchronization. The missing schemas are installed and outdated schemas in Junos Space Platform are updated when the job, scheduled to run every one hour, fetches the schemas from the DMI repository.
If a schema is missing and auto-installation of the schema fails, no attempt to install the schema is made when the job runs the next time.
- (Optional) Click Test Connection.
A message dialog box appears (after a few seconds or a few minutes depending on the connection) to indicate whether the connection is established successfully or not. Click OK to close the dialog box and return to the Svn Access Configuration dialog box.
- Click Save to save the settings that you configured.
You are taken to the Update Schema page and the URL that you configured is displayed in the URL field.
- Click Configure.
- (Optional) From the Device Family drop-down
list, select the device families that you want to download from the
repository.
Note If you do not specify a device family, then available schemas from all families are listed.
- Click Connect.
Junos Space Platform displays a message asking you to wait while the list of schemas is retrieved. (This process might take anywhere from a few seconds to a few minutes depending on the connection.)
- Select the SVN Repository option button.
The available DMI schemas are displayed in a table under the Schema Availability label, as shown in Table 1.
You can sort the schemas based on a specific column, choose which fields are displayed, or filter the list of schemas displayed.
Table 1: Information Displayed About Available Schemas
Column
Description
Device Family
Name of the device family to which the DMI schema belongs; for example, junos-ex
Release
Junos OS release version to which the DMI schema corresponds
Date
Date on which the DMI schema was published
If you uploaded a compressed TAR file, this field displays Unknown.
Available
Indicates whether the schema is available (in the compressed TAR file or the Juniper Networks DMI schema repository) or not
Installed
Indicates whether the schema is already installed on Junos Space or not
Missing
Indicates whether the schema is a missing schema or not
Missing schema versions are the OS versions on devices that Junos Space Platform discovers in your network, but have not been installed on Junos Space Platform.
- (Optional) To overwrite a previously existing schema,
select the Enable Schema Overwrite check box.
By default, the DMI schemas that are previously installed are listed and are disabled. However, when you select this check box, you can select these schemas to be overwritten by the schemas from the repository or from your local system.
- (Optional) To display only recommended schemas, select the Show recommended schemas only check box.
- (Optional) To schedule a time for installing the DMI schema, select the Schedule at a later time check box and specify the date and time in the Date and time field.
- Select the schemas from the list of schemas displayed
in the table by clicking the check box corresponding to a schema.
Note If you have chosen to update only schemas for specific device families, then only those schemas belonging to the specific device families are listed.
- Click Install.
The Install DMI Schema Information dialog box appears displaying the job ID.
Note You can verify the status of the job by clicking the hyperlinked job ID in the Install DMI Schema Information dialog box. You are taken to the Job Management page.
- Click OK.
You are taken to the DMI Schemas page. After the DMI schema is installed, this page displays the newly installed schemas.
Updating a schema automatically generates an audit log entry.
You must set at least one schema as the default schema for each device family in your network. This is done automatically by Junos Space Platform as long as there is at least one schema for the device family. For more information, see Setting a Default DMI Schema .