Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Creating Data Centers Using Network Director

 

The cloud data center focuses on providing data center connectivity from various external networks to services located within a multitenant data center. You can discover, build, manage, and monitor your cloud data center from Network Director, using the Datacenter View. Network Director supports four types of cloud infrastructure providers—VMware vCenter, VMware vCenter with NSX plug-in, OpenStack, and OpenStack with NSX plug-in.

This topic describes the following:

Create a Data Center

To create a data center:

  1. While in Build mode with Datacenter View selected, from the Tasks pane, click Setup Datacenter from the Datacenter Management menu. The Create Datacenter page opens.
  2. In the Setup Datacenter wizard page, enter a name for the data center.
  3. Click Next to specify details of the cloud infrastructure that the data center uses.
  4. In the Cloud Infrastructure wizard page, do one of the following:
    • Click No if you do not want to specify a cloud infrastructure now or if your data center is a controller-less data center that uses only Juniper Networks devices. Skip to step 11.

    • Click Yes if you want to specify the cloud infrastructure for your data center.

  5. Select the type of cloud infrastructure provider that the data center uses from the Cloud Infrastructure Provided box. You can choose VMware vCenter, VMware vCenter with NSX, OpenStack, and OpenStack with NSX as the provider.
  6. Do one of the following:
    • Enter the IP address or the hostname of the vCenter or OpenStack server.

    • If you want to add a VMware vCenter that uses Platform Services Controller (PSC) location service, do the following:

      Note

      PSC, a component of the VMware Cloud Infrastructure Suite, is available in VMware vSphere Version 6.0 or later. If your server is running an older version of vSphere, this step does not apply to you.

      1. Click Search vCenter Using PSC Location Service. The Search vCenter Using PSC Location Service window opens.
      2. Enter the IP address or the host name of the platform services controller.
      3. Click Search vCenters. Network Director displays all the vCenters that are managed by the PSC, in the list.
      4. Select a vCenter from the list and click Select. Network Director adds the vCenter that you selected to the Cloud Infrastructure wizard page.
  7. Specify the port that Network Director uses to connect to the server. The default port used to connect to a vCenter server is 443 and that for an OpenStack Keystone service is 35357.Note

    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.

  8. Specify the administrator username and password for the server you selected. The username and password must match the name and password configured on the server. Note

    The administrator username that you specify for discovering the OpenStack server must have admin privileges and must belong to an admin tenant in the OpenStack server.

  9. If you specified a vCenter server that is running VMware vSphere version 6.0 or later and would like Network Director to discover the virtual machines tags from vSphere, you must specify some additional settings. To do this, click Additional Settings. The vCenter Discovery Additional Settings window opens displaying the IP address of the vAPI endpoint (default value is the IP address or host name of the vCenter server) and the port (default is 443) that Network Director uses to connect to the vAPI endpoint. If you plan to use an external PSC, you must specify the IP address of the vAPI endpoint and click Update.

    Network Director closes the vCenter Discovery Additional Settings window.

    Note

    If you specified the vCenter details by using the PSC location service as mentioned in step 6, Network Director obtains the vAPI details from the settings you specify. You need not specify the vAPI details as mentioned in this step.

    vAPI endpoint is a part of vCenter (running vSphere version 6.0 or later) that exposes APIs to new functionalities such as the tagging objects. Network Director leverages this functionality to obtain and display the virtual machine tag using the vAPI.

  10. If you selected VMware vCenter with NSX or OpenStack with NSX as the provider, specify the following details about the NSX controller:
    1. Enter the IP address or the hostname of the NSX controller.
    2. Specify the port that Network Director uses to connect to the NSX plug-in. The default port used to connect to an NSX plug-in is 443.Note

      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.

    3. Specify the administrator username and password for the NSX server. The username and password must match the name and password configured on the server.
  11. Click Next to specify the method that you want Network Director to use to build the data center network.
  12. Select the Juniper Network devices that you want to add to the data center from the Available Devices table and click >> to add it to the Selected Devices table. You can also add data center fabrics such as a Layer 3 Fabric to your data center.

    If you want to remove a device or fabric from the Selected Devices table, select the device or fabric and click <<.

  13. To refresh the devices discovered and managed by Network Director, select the Refresh Topology check box. If you have not specified the SNMP details while discovering the devices or if you want to modify the SNMP details for the devices, click Configure. The Refresh Topology window appears. Specify the SNMP details by following the instructions given in the Refreshing the Topology section of Managing the Topology View.
  14. Click Done to save the data center details.

    A message window opens, displaying the status of the cloud infrastructure discovery job name and job ID. Click OK.

    You can view the status of the discovery job in the Cloud Infrastructure Discovery Jobs page.

Network Director tries to discover the servers that you specified in the Cloud Infrastructure wizard page, if you specified the cloud infrastructure details. Network Director then adds the remaining network infrastructure based on the details you specified in the Network Infrastructure wizard page. Once these two steps are complete, Network Director lists that data center along with the devices that are part of the network infrastructure under My Datacenters in the View pane. You can perform various tasks on the data center by selecting the data center in the View pane.

View the Data Center Creation Status

After you have specified all the details in the Create Datacenter wizard and submitted it, you can view the discovery status from the View Cloud Discovery Status page in the Datacenter Management menu.

The Cloud Infrastructure Discovery Jobs page displays all the discovery jobs. From this page, you can view the details described in Table 1.

Table 1: Cloud Infrastructure Discovery Jobs page Field Descriptions

Field

Description

Job ID

An identifier assigned to the job.

Job Name

The name of the job (user-created).

Percent

Percentage of the job that is complete.

Status

Job status. The possible states are:

  • CANCELLED—The job was canceled by a user.

  • FAILURE—The job failed. This state is displayed if any of the devices in the job failed; even if some of the devices might have completed successfully. View the job details for the status of each device.

  • INPROGRESS—The job is running.

  • SCHEDULED—The job is scheduled but has not run yet.

  • SUCCESS—The job completed successfully. This state is displayed if all of the devices in the job completed successfully.

Summary

Summary of the job scheduled and executed with status.

Note: If Network Director encounters an error while trying to retrieve the virtual machine tag, details about the error is displayed in this field.

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.

End Time

The time when the job was completed.

User

The login ID of the user that initiated the job.

Recurrence

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.

Note

During cloud infrastructure discovery, if Network Director is unable to read the device configurations, then the status is displayed as Failed. You can check the reason for the failure from the Manage Jobs page in System mode. You must make the required changes to the device configuration by using the CLI so that Network Director can read the configuration. Network Director automatically resynchronizes once you enable a cloud infrastructure 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 configuration by using the CLI.

Assigning Network Devices to a Data Center

You can add network devices to a data center while you create a data center. Alternatively, you can skip this step while creating the data center and add network devices later by using the Assign Devices to Datacenter task.

To add network devices after you have created the data center:

  1. While in Build mode with Datacenter View selected, select the data center to which you want to add devices in the View pane and click Datacenter Management > Manage Network Infrastructure from the Tasks pane. The Assign Devices to Datacenter page opens, listing the network devices that are discovered in Network Director.
  2. Select one or more network devices that you want to add to the data center and click Done.

    Network Director adds the selected devices and updates the data center in the View pane.