Deploying Cisco Nexus Data Broker Embedded for OpenFlow

This chapter contains the following sections:

Obtaining the Cisco Nexus Data Broker Embedded Software for OpenFlow


    Step 1   In a web browser, navigate to Cisco.com.
    Step 2   Under Support, click All Downloads.
    Step 3   In the center pane, click Cloud and Systems Management.
    Step 4   If prompted, enter your Cisco.com username and password to log in.
    Step 5   In the right pane, click Network Controllers and Applications, and then click Cisco Nexus Data Broker.
    Step 6   Download and extract the Cisco Nexus Data Broker Release 3.0.0 application bundle zip file.

    The application bundle zip file contains the following:

    • The Cisco Nexus Data Broker Software Application package, for example, ndb1000-sw-app-emb-k9-3.0.0.ova

    • The Cisco Plug-in for OpenFlow package, ofa_mmemb-2.1.4-r2-nxos-SPA-k9.ova


    What to Do Next

    Install the software on a Cisco Nexus 3000, 3100, 3200, 3500, or 9000 Series switch.

    Upgrading From Release 2.x to Release 3.0

    This process involves using the GUI to download the configuration, perform the upgrade, and then upload the configuration.

    SUMMARY STEPS

      1.    Navigate to the System tab under Administration.

      2.    Click Download Configuration.

      3.    Save the configuration file on your local desktop.

      4.    Stop the Cisco Nexus Data Broker. Deactivate and uninstall the old instance.

      5.    Install Cisco Nexus Data Broker 3.0 instance.

      6.    Navigate to the System tab under Administration.

      7.    Click Upload Configuration.

      8.    Restart the Cisco Nexus Data Broker by performing no activate within the virtual service and by activating it again.


    DETAILED STEPS
       Command or ActionPurpose
      Step 1Navigate to the System tab under Administration.  

      The System Administration window is displayed.

       
      Step 2Click Download Configuration.  

      It downloads the configuration in a zip file format. The name of the zip file is configuration_startup.zip.

       
      Step 3Save the configuration file on your local desktop.    
      Step 4Stop the Cisco Nexus Data Broker. Deactivate and uninstall the old instance.    
      Step 5Install Cisco Nexus Data Broker 3.0 instance.    
      Step 6Navigate to the System tab under Administration.  

      The System Administration window is displayed.

       
      Step 7Click Upload Configuration.  

      It uploads the configuration that you have downloaded. It restores the configuration in the new version.

       
      Step 8Restart the Cisco Nexus Data Broker by performing no activate within the virtual service and by activating it again.    

      Installing and Activating the Cisco Nexus Data Broker Embedded Software for OpenFlow

      Before You Begin

      Note


      You cannot install a new version of the Cisco Nexus Data Broker Embedded if you already have an existing Cisco Monitor Manager Embedded application installed and active.


      Before you begin installing a new version of the Cisco Nexus Data Broker Embedded, you must:

      • Deactivate your current Cisco Monitor Manager Embedded OVA file.

      • Uninstall the Cisco Monitor Manager Embedded OVA file.

      Important:

      Ensure that you have at least 1 GB of available space in the bootflash. The ofa_mmemb-2.1.4-r2-nxos-SPA-k9.ova and ndb1000-sw-app-emb-k9-3.0.0.ova file require a total of 850 MB of space in the bootflash for the decompression and installation processes.

         Command or ActionPurpose
        Step 1switch# copy [scp: | ftp: | http:] //download_dir ofa_mmemb-2.1.4-r2-nxos-SPA-k9.ova bootflash: vrf management  

        Copies the Cisco Plug-in for OpenFlow package from the directory where you downloaded it to the switch.

         
        Step 2switch# copy [scp: | ftp: | http:] //download_dir ndb1000-sw-app-emb-k9-3.0.0.ova bootflash:vrf management  

        Copies the Cisco Nexus Data Broker Embedded package from the directory where you downloaded it to the switch.

         
        Step 3switch# show virtual-service list  

        Monitors the status of the copy processes.

         
        Step 4switch# virtual-service install name ofa_ndbemb package bootflash:ofa_mmemb-2.1.4-r2-nxos-SPA-k9.ova  

        Installs the Cisco Plug-in for OpenFlow package on the switch.

         
        Step 5switch# virtual-service install name ndb_emb package bootflash:ndb1000-sw-app-emb-k9-3.0.0.ova  

        Installs the Cisco Nexus Data Broker Embedded package on the switch.

         
        Step 6switch# show virtual-service list  

        Monitors the status of the installations.

        Note   

        Do not continue until both OVA files have been successfully installed.

         
        Step 7switch# configure terminal  

        Enters global configuration mode on the switch.

         
        Step 8switch (config)# virtual-service ofa_ndbemb  

        Starts the virtual service for the Cisco Plug-in for OpenFlow package and enters virtual service configuration mode on the switch.

         
        Step 9switch(config-virt-serv)# activate  

        Activates the Cisco Plug-in for OpenFlow package.

         
        Step 10switch(config-virt-serv)# exit  

        Returns to global configuration mode.

         
        Step 11switch(config)# virtual-service ndb_emb  

        Starts the virtual service for the Cisco Nexus Data Broker Embedded package and enters virtual service configuration mode on the switch.

         
        Step 12switch(config-virt-serv)# activate  

        Activates the Cisco Nexus Data Broker Embedded package.

         
        Step 13switch(config-virt-serv)# exit  

        Exits virtual service configuration mode on the switch.

         
        Step 14switch(config)# show virtual-service list  

        Monitors the status of the package activations.

         

        Configuring the Cisco Plug-in for OpenFlow

        The Cisco Plug-in for OpenFlow needs to be connected to the Cisco Nexus Data Broker locally running on the Cisco Nexus 3000, 3100, 3200, 3500, or 9000 Series switch.


        Note


        The steps in this procedure continue the steps that were completed in the previous section.


        Before You Begin

        Install and activate the Cisco Nexus Data Broker package and the Cisco Plug-in for OpenFlow package.

        Enter the following pre-requisite command hardware profile openflow for the Cisco Nexus 3000 and 3100 Series switches. Enter the following pre-requisite command hardware profile forwarding-mode openflow-hybrid for the Cisco Nexus 3500 Series switches.


          Step 1   Enter the configuration mode on the switch.

          configure terminal

          Step 2   Enter the Cisco Plug-in for OpenFlow configuration mode on the switch.

          switch(config)# openflow

          Step 3   Choose the switch to which you want to connect.

          switch(config-ofa)# switch switch_num

          Caution   

          Set the switch_num to 1. This is the default value. Only expert users should set the switch_num number to any value other than 1.

          Step 4   Choose the pipeline to which you want to connect.

          switch(config-ofa-switch)# pipeline pipeline_num

          Caution   

          Set the pipeline_num to 201 for Cisco Nexus 3000, 3100, 3200, and 9300 Series switches. This is the default value. Only expert users should set the pipeline_num number to any value other than 201.

          Set the pipeline_num to 203 for Cisco Nexus 3500 Series switches This is the default value. Only expert users should set the pipeline_num number to any value other than 203.

          Step 5   Configure the controller address using vrf management.

          switch(config-ofa-switch)# controller ipv4 management_interface_address port port_num vrf management security none

          Note   
          • The controller ipv4 address should match the management interface (mgmt0) address.

          • By default, the Cisco Plug-in for OpenFlow listens on port 6653.

          Step 6   Assign ports to the Cisco Plug-in for OpenFlow.

          switch(config-ofa-switch)# of-port interface ethernet_port_num



          Example:switch(config-ofa-switch)# of-port interface ethernet1/10
          Step 7   Exit from the current configuration command mode and return to EXEC mode.

          switch(config-ofa-switch)# end

          Step 8   Verify that the Cisco Plug-in for OpenFlow is connected to the Cisco Nexus Data Broker.

          switch# show openflow switch switch_num controllers

          See the Cisco Plug-in for OpenFlow Configuration Guide 1.3


          Logging in to the Cisco Nexus Data Broker GUI

          The default HTTPS web link for the Cisco Nexus Data Broker GUI is https://Nexus_Switch_Management_IP:8443/monitor


          Note


          You must manually specify the https:// protocol in your web browser. The controller must also be configured for HTTPS.



            Step 1   In your web browser, enter the Cisco Nexus Data Broker web link, for example, https://Nexus_Switch_Management_IP:8443/monitor.
            Step 2   On the launch page, do the following:
            1. Enter your username and password.

              The default username and password is admin/admin.

            2. Click Log In.

            What to Do Next

            See the Cisco Nexus Data Broker Configuration Guide for the procedures that you need to configure Cisco Nexus Data Broker.