Discovering Devices in a Datacenter Network
You use virtual network discovery to add virtual networks to Network Director. Discovery is the process of finding and adding a virtual network (VMWare vCenter server) and then synchronizing its inventory and configuration with Network Director. To use virtual network discovery, Network Director must be able to connect to the vCenter server.
When discovery succeeds, Network Director creates an object in its database to represent the vCenter server and maintains a connection between the object and the vCenter server to maintain the information flow.
When configuration changes are made on the vCenter server, Network Director automatically resynchronizes with the vCenter server so that the inventory information in the Junos Space database matches the current vCenter server inventory and the configuration information. You can also manually synchronize the vCenter server configuration changes to the configuration stored in the corresponding Network Director object.
At a high level, the following vCenter server inventory and configuration data is captured and stored in relational tables in the Junos Space database:
Virtual Switches: Port groups, interfaces, VLANs, and other configuration details such as QoS parameters, teaming, and failover details
Hosts: Physical NICs and virtual machines
Virtual Machines: Virtual adapters and their associations
Virtual network discovery is a three-step process in which you specify the target devices, the credentials of devices to be discovered, and review the discovery options.
While in Build mode with Datacenter View selected, from the Tasks pane, click Discover Virtual Network from Virtual Network Management menu. The Discover Virtual Network page is displayed.
This topic describes:
Specifying the vCenter Targets
You can add VMware vCenter servers to Network director by specifying the hostname or the IP address of one or more vCenters.
To specify the target devices that you want Network Director to discover:
- In the vNetwork Targets and Credential tab, enter a name for the virtual network discovery job. The default name is vNetwork Discovery.
- Click Add in the vNetwork Targets table.
The Add vNetwork Target dialog box appears.
- Choose one of the following options to specify the target
vCenter server that you want to discover:
Select the IP option and enter the IP address of the vCenter server.
Select the HostName option and enter the hostname of the vCenter server.
- Specify the port that Network Director uses to connect
to the vCenter server. The default port is 443.
You can modify this and specify a port of your choice. If you do so, make sure to manually change the Junos Space firewall settings and apply to this port.
- Click Add to save the target vCenter server
that you specified, or click Add More to add more target
vCenter servers. When you have added all target devices that you want
Network Director to discover, click Add.
The vNetwork Targets table displays the addresses of the configured target devices.
To edit a target vCenter server, select a row from the vNetwork Targets table and click Edit. Make the required changes and click Add to display the changes in the vNetwork Targets table.
To delete a target vCenter server, select a row from the vNetwork Targets table and click Delete.
- Click Next or vNetwork Credentials from the top wizard workflow to go to the vNetwork Credentials page. Specify the options as described in the Specifying the Virtual Network Credentials.
Specifying the Virtual Network Credentials
- Add the vCenter server credentials. To add the credentials,
click Add from the Device Credentials table.
The Add vNetwork Credentials dialog box is displayed.
Specify the administrator username and password, and confirm the password. The username and password must match the name and password configured on the device. The username is a mandatory field.
Click Add to save the username and password that you specified or click Add More to add another username and password.
Click Add after you have finished adding all login credentials. The Device Credentials table displays the usernames that you configured.
- Click Next or click Review from the top wizard workflow to go to the Review page.
Reviewing the Virtual Network Discovery Options
From the review page, you can save or make changes to the virtual network discovery options.
To make changes to the virtual network discovery options, click the Edit button associated with the configuration you want to change.
Alternatively, click the appropriate buttons in the profile workflow at the top of the page that corresponds to the configuration you want to change.
When you are finished with your modifications, click Review to return to this page.
Click Finish when you are done with the configurations.
A message window opens, displaying the status of the virtual network discovery job name and job ID. Click OK.
You can view the status of the discovery job in the Virtual Network Discovery Jobs page.
Viewing the Discovery Status
After you have configured the virtual network discovery options, you can view the discovery status from the View Discovery Status option from the virtual network discovery menu.
The Virtual Network Discovery Jobs page displays all the discovery jobs. You can view the following details from the Virtual Network Discovery Jobs page as described in Table 1.
Table 1: Viewing Device Discover Jobs
An identifier assigned to the job.
The name of the job (user-created).
Percentage of the job that is complete.
Job status. The possible states are:
Summary of the job scheduled and executed with status.
Scheduled Start Time
The UTC time on the client computer when the job is scheduled to start.
Actual Start Time
The actual time when the job started.
The time when the job was completed.
The login ID of the user that initiated the job.
The recurrent time when the job will be restarted.
To view the details of a job, select the check box against Job ID or Job Name and click Show Details. The Discover Network Elements window displays details of the virtual network discovery job.
During virtual network discovery, if Network Director is unable to read the device configurations, then the status displays Failed state. For such failures, you can check the reason for failure from the Manage Jobs page in System mode. You must make the required changes to the device configuration using the CLI so that Network Director can read the configuration. Network Director automatically resynchronizes once you enable a virtual network discovery job. If Network Director cannot discover the device even after resynchronization, then you must rediscover the device after making the appropriate changes in the device configurations using the CLI.