Integrate > OneView > Configure > Configuring Event Back Synchronization

Configuring Event Back Synchronization

For each event that you close in OMi, OpsCx for OneView can delete the corresponding OneView alert using the OMBackSync.pl and OMBackSync_OneView.pl Perl scripts.

Configure back synchronization by completing the following steps:

  1. Stop the ombacksync process, if not already stopped:

    Windows: ovc -stop ombacksync

    Linux: /opt/OV/bin/ovc -stop ombacksync

  2. Make a copy of the OMBackSync.pl file (suggested name: OMBackSync.pl_orig). The file is located in:

    Windows: %OvDataDir%\conf\backsync

    Linux: /var/opt/OV/conf/backsync

  3. Copy OMBackSync.pl from:

    Windows: %OvDataDir%\installation\genint

    Linux: /var/opt/OV/installation/genint

    to:

    Windows: %OvDataDir%\conf\backsync

    Linux: /var/opt/OV/conf/backsync

  4. Optional: The port used for backsync is specified in the OMBacksync_OneView.pl script. If the default port 30020 is already used or you want to use an alternative port, change the port number as follows:

    Open the OMBackSync_OneView.pl script in an editor from:

    Windows: %OvDataDir%\conf\backsync

    Linux: /var/opt/OV/conf/backsync

    Find the following line:

    my $port = "30020";

    Change the port value to the alternative value. Make a note of the network port used.

  5. Open and edit the alarms configuration file (oneview_events.conf) and set the hostname and optionally the backsync port. The file is located in:

    Windows: %OvDataDir%\conf\HPBsmIntOneView\genint\oneview_events.conf

    Linux: /var/opt/OV/conf/HPBsmIntOneView/genint/oneview_events.conf

    1. Under the sink(backsyncsink ...) section, change the line:

      "oneview-hostname" : "<hostname>"

      The hostname must be the same that you entered in the source section when configuring event collection.

    2. Optional: If you have changed the port for backsync in the OMBackSync_OneView.pl file (see previous step), the same port number must be specified in the event connector configuration file:

      In the definition of the node backsyncsource, add the following text:
      {
      "port":"<new_port_number>"
      }

  6. Start the ombacksync process:

    Windows: ovc -start ombacksync

    Linux: /opt/OV/bin/ovc -start ombacksync