Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Configuring a NIC Scenario (SRC CLI)

 

The following topics provide procedures for configuring a NIC scenario with the SRC CLI:

Defining the NIC Configuration to Use

The OnePop configuration scenario is the default configuration for NIC. If you want to use another configuration scenario, you first clear data for the configuration scenario and change the scenario name that identifies the scenario, see Changing NIC Configurations (SRC CLI).

When you select a NIC configuration scenario, the software adds the default configuration for most properties. You can modify the NIC properties, including those for agents.

Caution

We recommend that you change only those statements visible at the basic editing level. Contact Juniper Professional Services or Juniper Customer Support before you change any of the NIC statements not visible at the basic editing level.

To specify a NIC configuration scenario for NIC to use:

  1. Make sure that the NIC component is running.

  2. From configuration mode, access the statement that configures a NIC configuration scenario, and specify the name of a scenario.

    For example:

  3. View the default configuration for the configuration scenario. For example:

  4. (Optional) Update logging configuration.

    See Logging for SRC Components Overview.

    By default, NIC has the following logging enabled for a NIC host:

  5. For each agent that the NIC configuration scenario includes, if needed update NIC agent configuration to define properties specific to your environment, such as directory properties.

    Each type of agent has different configuration properties. The output from the show command identifies the type of agent under the agents hierarchy. For example:

Configuring Directory Agents

Use the following configuration statements to configure NIC directory agents:

To configure a directory agent:

  1. From configuration mode, access the statement that specifies the configuration for the agent.

    For example:

  2. Review the default configuration for the agent. For example:

  3. (Optional) Change the distinguished name (DN) of the location in the directory from which the agent should read information.

    For example:

    You can use <base> in the DN to refer to the globally configured base DN.

  4. (Optional) Change the directory search filter that the agent should use.

    For example:

  5. (Optional) Change the location in the directory relative to the base DN from which the NIC agent can retrieve information.

    where:

    • 0—Entry specified in the search-base statement

    • 1—Entry specified in the search-base statement and objects that are subordinate by one level

    • 2—Subtree of entry specified in the search-base statement

  6. For an installation on a Solaris platform, specify the location of the directory in URL string format.

    For example, to specify the directory on a C Series Controller:

  7. List the URLs of redundant directories. Separate URLs with semicolons.

  8. Specify the DN that contains the username that the directory server uses to authenticate the NIC agent.

    For example:

  9. Specify the password that the directory server uses to authenticate the NIC agent.

  10. Restart the NIC agent.

Configuring SAE Client Agents

Use the following configuration statements to configure NIC SAE client agents:

To configure an SAE client agent:

  1. From configuration mode, access the statement that specifies the configuration for the agent.

    For example:

  2. Review the default configuration for the agent. For example:

  3. (Optional) Change the authentication DN.

    For example:

  4. (Optional) Change the password that the NIC uses to access the directory. For example:

  5. Specify the part of the directory that you want the network publisher to search.

  6. (Optional) Change the URL that identifies the primary Juniper Networks database to which the NIC agent connects.

  7. Specify the type of subscriber ID that the agent uses to identify the subscriber. The type can be user-ip-address, dn, login-name, or interface-name. For example, to specify an IP address:

Configuring SAE Plug-In Agents

By default, the CORBA naming server on a C Series Controller uses port 2809. The NIC host is configured to communicate with this naming server; you do not need to change JacORB properties.

Use the following configuration statements to configure NIC SAE plug-in agents:

If you plan to change the event filter for the agent, make sure that you are familiar with:

To configure an SAE plug-in agent:

  1. From configuration mode, access the statement that specifies the configuration for the agent.

    For example:

  2. Review the default configuration for the agent. For example:

  3. (Optional) Change an LDAP filter that change the events that the agent collects.

    Typically, you do not need to change this value. If you do want to filter other events, use the format pluginAttribute=attributeValue format for event filters, where:

    • pluginAttribute—Plug-in attribute name

    • attributeValue—Value of filter

      For example:

  4. Specify the number of events that the SAE sends to the agent at one time during state synchronization.

    For example:

Configuring the SAE to Communicate with SAE Plug-In Agents When You Use NIC Replication

For each NIC host that uses SAE plug-in agents, configure a corresponding external plug-in for the SAE. By default, the SAE plug-in agents share events with the single SAE plug-in. You must also configure the SAE to communicate with the SAE plug-in agent in each NIC host that you use in the NIC replication.

For information about configuring an external plug-in for the SAE, see Configuring the SAE for External Plug-Ins (SRC CLI).

To configure an external plug-in:

  1. From configuration mode, access the statement that specifies the configuration for an external plug-in for the SAE that communicates with the agent, and assign the plug-in a unique name.

  2. Configure CORBA object reference for the plug-in.

    For the CORBA object reference, use the following syntax:

    where:

    • host—IP address or name of the machine on which you installed the NIC host that supports the agent

      For local host, use the IP address 127.0.0.1.

    • port-number—Port on which the name server runs

      The default port number is 2809.

    • plugInName—Name under which the agent is registered in the naming service

      Use the format nicsae_groupname/saePort where groupname is the name of the replication group. (When replication is not used, the format is nicsae/saePort.)

      For example:

  3. Configure to save the interim events in the fail-queue.

    This configuration stores the events to file based fail-queue or in-memory based fail-queue based on the plug-ins.

  4. Configure attributes that are sent to the external plug-in for a NIC host. Because the SAE plug-in agents share the event by default, you configure only one for a NIC host.

    Note

    To detect out-of-order interim events, the mandatory event-time-millisecond plug-in attribute has to be configured in SAE external plug-in configuration. NIC uses this attribute to check the event timestamp of interim events and sends OutOfSync exception to SAE, if the events are not in the order. If this attribute is not configured, the events are rejected in NIC with an exception.

    Note

    During synchronization between SAE and NIC, the out-of-order events are processed.

    Specify the plug-in options that the agent uses. You must specify the options session-id, event-time-millisecond and router-name, and other options that you specified for the agent’s network data types and the agent’s event filter. Do not specify attributes options of the PAT_OPAQUE attribute type, such as the option dhcp-packet.

    Note

    Do not include attributes that are not needed.

  5. Reference the NIC as a subscriber tracking plug-in.

    For example, for a pool named nic: