How Do I Manage Northbound Interfaces?
Prime Optical GateWay is an architectural component that provides northbound EMS-to-NMS interface mediation. Prime Optical GateWay allows service providers to integrate Prime Optical with their OSSs by using open, standard interfaces.
Prime Optical supports three gateway modules that provide northbound EMS-to-NMS interface mediation. Not all NE types are supported by each module. Table 2-2 shows the NE types supported by each gateway module. This section contains the following information:
Managing Prime Optical GateWay/SNMP
SNMP is a network management protocol used almost exclusively in TCP/IP networks. SNMP allows you to monitor and control network devices, manage configurations, collect statistics, check performance, and monitor security.
Prime Optical’s GateWay/SNMP feature provides an SNMP trap forwarding service, where any trap generated or received by the server workstation will be forwarded to the set of defined trap destinations. Traps are autonomous notifications sent by an SNMP agent to an SNMP manager, such as HP Open View. Prime Optical GateWay/SNMP does not support southbound SNMP relaying (SNMP SET, GET, and GETNEXT).
The primary advantage of Prime Optical GateWay/SNMP is to limit the amount of traffic on the wide-area DCN. Imagine NEs deployed over a wide geographic area and a centralized network operations center where the management systems are located. If there are five OSs required to receive NE traps, instead of having each NE send five traps over the wide area to each OS, send a single trap to Prime Optical, which can then relay the trap locally in the NOC to the other OSs. NE configuration is also simpler because only one trap destination needs to be configured on each NE.
Prime Optical GateWay/SNMP supports SNMPv1, SNMPv2c, and SNMPv3 traps. SNMPv2c traps contain the Prime Optical host IP address in the source address of the IP packet.
SNMPv3 traps contain the OSS username, authentication protocol, authentication password, privacy protocol, and privacy password.
To enable the OS to determine which NE sent the trap, the trap must be defined with a variable binding that indicates the source NE.
Prime Optical GateWay/SNMP applies to any NE with an SNMP interface.
Note Table 2-2 shows the NEs that support Prime Optical GateWay/SNMP.
Figure 12-1 shows the Prime Optical GateWay/SNMP communications architecture within a service provider’s OSS environment.Prime Optical GateWay/SNMP Communications Architecture
Figure 12-1 Prime Optical Gateway/SNMP Communications Architecture
Starting and Stopping the Prime Optical GateWay/SNMP Service
Prime Optical GateWay/SNMP is a Prime Optical process that can be separately started and stopped through the
Control Panel
. NEs must be configured with the Prime Optical server IP address as a trap destination for traps to be sent from the NEs to Prime Optical.
Step 1 In the Domain Explorer window, choose
Administration
>
Control Panel
.
Step 2 In the Control Panel window, click
GateWay/SNMP Service
.
Table 12-1
provides descriptions.
Step 3 In the Status area, click the
Start
button to start
Prime Optical GateWay/SNMP
. Notice that the service status toggles to
Active
.
Step 4 Click
Stop
to stop the service. The service status toggles to
Not Active
.
Note The Prime Optical GateWay/SNMP Service can take up to 60 seconds to initialize after the GUI status has changed to indicate that the service is up. The status is an indication of the successful initiation of the service startup, not successful initialization. To avoid problems with the service hanging, wait at least 60 seconds after starting or stopping the service before restarting it.
Adding and Removing a Prime Optical GateWay/SNMPv1 or Prime Optical GateWay/SNMPv2 Host
You can configure up to 16 SNMP trap destination hosts for Prime Optical GateWay/SNMP. Prime Optical enforces a duplication check error to ensure that you do not enter duplicate OSS IP addresses.
Step 1 In the Domain Explorer window, choose
Administration
>
Control Panel
.
Step 2 In the Control Panel window, click
GateWay/SNMP Service
.
Table 12-1
provides descriptions.
Step 3 In the
SNMP Hosts
field, enter a valid IP address or hostname for the SNMP forwarding host; then, click
Add
. To remove an SNMP host, select the IP address or hostname of the host and click
Remove
.
Step 4 Repeat for each host to be added or removed; then, click
Save
.
Table 12-1 Field Descriptions for the GateWay/SNMP Service Pane
|
|
Service Status
|
Displays the current status of the service: Active or Not Active.
|
Service Action
|
Allows you to stop or start the Prime Optical GateWay/SNMP service. Notice that the Service Action button toggles between Stop or Start and the
Service Status
field changes accordingly.
|
Engine ID
|
Displays the unique identifier for the given Prime Optical GateWay/SNMP application that Prime Optical is communicating with. The engine ID is used to configure the OSS application to receive traps from Prime Optical GateWay/SNMP. The engine ID is generated the first time you install the Prime Optical server.
|
SNMP Hosts
|
Displays the IP address or hostname of the host where each SNMP trap will be forwarded. You can enter up to 16 valid IP addresses or hostnames. Use the
Add
and
Remove
buttons to add or remove IP addresses or hostnames.
|
Configuring Northbound OSS SNMPv3 Users—Optical NEs
You can use the
OSS SNMPv3 Users
table to add, modify, or delete OSS SNMPv3 users.
This section contains the following procedures:
Viewing the OSS SNMPv3 Users Table
To view the
OSS SNMPv3 Users
table, choose
Administration
>
GateWay/SNMP Users
in the
Domain Explorer
window.
Table 12-2
provides descriptions.
Table 12-2 Field Descriptions for the OSS SNMPv3 Users Table
|
|
Username
|
Name of the user who authenticates the SNMPv3 trap. The name must contain from 6 to 53 alphanumeric characters. The name cannot contain spaces or special characters.
|
Authentication Protocol
|
Type of encryption used to authenticate the SNMPv3 user.
|
IP Address
|
IP address to which to forward the SNMPv3 trap.
|
Privacy Protocol
|
Privacy protocol set for the SNMPv3 user.
|
SNMP Port
|
OSS destination port number. The default port number is 162.
|
SNMP Version
|
SNMP version number.
|
Engine ID
|
Unique identifier for the given Prime Optical GateWay/SNMP application that Prime Optical is communicating with. The engine ID is used to configure the OSS application to receive traps from Prime Optical GateWay/SNMP. The engine ID is generated the first time you install the Prime Optical server.
|
Adding an OSS SNMPv3 User
SNMPv3 user profiles are stored in the
OSS SNMPv3 Users
table.
Step 1 In the
Domain Explorer
window, choose
Administration
>
GateWay/SNMP Users
.
The
OSS SNMPv3 Users
table opens.
Step 2 Choose
Edit > Add
(or click the
Create a New User
tool). The
Add OSS SNMPv3 User
dialog box opens.
Table 12-3
table provides descriptions.
Step 3 After providing the required information, click
OK
.
Table 12-3 Field Descriptions for the Add/Modify OSS SNMPv3 User Dialog Box
|
|
OSS IP Address
|
Enter the IP address to which to forward the SNMPv3 trap.
|
Username
|
Enter a unique name for the new user. The name must contain from 6 to 53 alphanumeric characters. The name cannot contain spaces or special characters.
|
SNMP Port
|
Enter the OSS destination port number.
|
Authentication Protocol
|
Authentication protocol for the OSS SNMPv3 user. Choose the authentication protocol to use for authenticating the user. Values are No Auth, MD5 (the default), or SHA.
|
Authentication Password
|
Enter the password used to authenticate the SNMPv3 user. The password must contain:
-
From 1 to 12 characters
-
At least one special character other than an apostrophe (’)
-
At least two letters (A-Z, a-z), including at least one uppercase letter
-
At least one number (0-9)
Note Regardless of the actual length of the password, the Password and Confirm Password fields display only a fixed-length string of 15 asterisks (*).
|
Confirm Authentication Password
|
Re-enter the password to confirm it.
|
Privacy Protocol
|
Select the privacy protocol set for the SNMPv3 user. You can choose one of the following:
-
NoPriv—No privacy protocol for the user.
Note The Privacy Protocol can be set to No Priv only when the Authentication Protocol is set to No Auth.
-
DES—Use Data Encryption Standard (DES) for encryption.
|
Privacy Password
|
Enter the password used to decrypt the message payload.
|
Confirm Privacy Password
|
Re-enter the privacy password to confirm it.
|
Modifying an OSS SNMPv3 User
Step 1 In the Domain Explorer window, choose
Administration
>
GateWay/SNMP Users
.
The
OSS SNMPv3 Users
table opens.
Step 2 Select the SNMPv3 user to modify; then, choose
Edit > View/Modify
(or click the
Modify User Properties
tool). The Modify OSS SNMPv3 User dialog box opens.
Table 12-3
provides descriptions.
Step 3 Modify the fields described in
Table 12-3
.
Note The IP Address and Username fields are read-only.
Step 4 Click
OK
. The updated user profile is listed in the
OSS SNMPv3 Users
table.
Deleting an OSS SNMPv3 User
Step 1 In the Domain Explorer window, choose
Administration
>
GateWay/SNMP Users
.
The
OSS SNMPv3 Users
table opens.
Step 2 Select the SNMPv3 user to delete; then, choose
Edit > Delete
(or click the
Delete User
tool).
Step 3 Click
OK
in the confirmation dialog box.
Configuring SNMP on Optical NEs
SNMP must be configured for each NE that uses
Prime Optical GateWay/SNMP
. This section contains the following procedures:
For additional information, refer to the NE user documentation.
Note • When configuring SNMP on NEs, make sure that no other SNMP daemon is running on the designated Prime Optical server host.
-
If you enter the
opticalctl status
command after configuring SNMP,
Prime Optical GateWay/SNMP
is not shown. This is because the
opticalctl status
command shows all of the Prime Optical processes and Prime Optical GateWay/SNMP is not a separate process. Use the
Service Monitor
table to view the status of Prime Optical GateWay/SNMP.
Configuring SNMP for the ONS 15216 EDFA2 and EDFA3
For the ONS 15216 EDFA2 and EDFA3, SNMP trap entries are added automatically when the NE is added to Prime Optical. See Using SNMP for more information.
Configuring SNMP for the ONS 15305
For information on how to configure SNMP for the ONS 15305, see the Cisco ONS 15305 Installation and Operations Guide.
Configuring SNMP for CTC-Based NEs
Note This section details how to configure SNMP v1/v2 from the NE to the server. For information on configuring SNMPv3 for CTC-based NEs, see Managing SNMPv3—CTC-Based Release 9.6 NEs.
Step 1 Select a CTC-based NE in the Domain Explorer tree and choose
Configuration > NE Explorer
(or click the
Open NE Explorer
tool).
Step 2 In the node properties pane, click the
Network
tab; then, click the
SNMP
tab.
Step 3 (Not applicable to the ONS 15600) To allow SNMP proxy, check the
Allow SNMP Proxy
check box.
Step 4 (Not applicable to the ONS 15600) To use the SNMP management software with the NE, check the
Allow SNMP Set
check box.
Step 5 (Not applicable to the ONS 15600) Click
Apply
.
Step 6 Click
Create
. The
Create SNMP Trap Destination
dialog box opens.
Table 12-4
provides descriptions.
Step 7 After making your selections, click
OK
.
Step 8 Click
Apply
.
Table 12-4 Field Descriptions for the Create SNMP Trap Destination Dialog Box
|
|
IP Address
|
Enter the IP address of your NMS.
|
Community Name
|
Enter the SNMP community name. For a description of SNMP community names, refer to the SNMP information in the NE reference guide.
Note The community name is a form of authentication and access control. The community name assigned to the ONS 15600 is case-sensitive and must match the community name of the NMS.
|
UDP Port
|
Set the UDP port for SNMP. The default port is 162. Allowed UDP port values are 162, 391, and values between 1024 and 65535.
|
Trap Version
|
Set the
Trap Version
field for either SNMPv1 or SNMPv2. See your NMS documentation to determine whether to use SNMPv1 or SNMPv2.
|
Max Traps per Second
(not applicable to the ONS 15600)
|
Enter the maximum number of traps per second that will be sent to the SNMP manager. A zero value indicates that there is no maximum and all traps are sent to the SNMP manager.
|
Managing Prime Optical GateWay/CORBA
Note This section provides a high-level overview of Prime Optical GateWay/CORBA. For detailed information about Prime Optical GateWay/CORBA, including how to enable username and password encryption, set the heartbeat event, and create OSS clients, refer to the Cisco Prime Optical GateWay/CORBA User Guide and Programmer Manual.
The Common Object Request Broker Architecture (CORBA) is a middleware platform defined by the Object Management Group (OMG). The Prime Optical GateWay/CORBA option is a CORBA-based interface that provides higher-layer management systems with fault, inventory, performance, configuration, Layer 1 circuit provisioning, and Layer 2 VLAN management information for NEs. The Prime Optical GateWay/CORBA option is based on the TeleManagement Forum (TMF) standards for the NMS-to-EMS interface.
Because it is CORBA-based, Prime Optical GateWay/CORBA is independent of the hardware that the integrated OSS is running. This independence allows service providers to easily add Prime Optical as a building block of their management environment.
Note Table 2-2 shows the NEs that support Prime Optical GateWay/CORBA.
Figure 12-2 shows the Prime Optical GateWay/CORBA communications architecture within a service provider’s OSS environment.
Figure 12-2 Prime Optical GateWay/CORBA Communications Architecture
Prime Optical GateWay/CORBA is based on the following TMF standards:
-
TMF513 v3.0: Multi-Technology Network Management Business Agreement
-
TMF608 v3.0: Multi-Technology Network Management Information Agreement
-
TMF814 v3.0: Multi-Technology Network Management Solution Set
Configuring the CORBA Timeout
The CORBA timeout determines the number of seconds that the Prime Optical server has to process a CORBA call and return it to the Prime Optical client. If the Prime Optical server does not return a response in time, CORBA automatically times out.
Step 1 Open the ems-client.cfg file.
By default, the configuration file (ems-client.cfg) is located in the /config directory path under the Prime Optical client installation directory.
Step 2 Set the CORBA_Call_Timeout_Seconds parameter to the desired value. The default timeout is 120 seconds; the recommended range is from 120 to 300 seconds.
Note If the NE is busy or if the Prime Optical server is processing many requests, you might need to increase the CORBA timeout parameter accordingly.
Step 3 Save and close the ems-client.cfg file.
Starting or Stopping Prime Optical GateWay/CORBA
Step 1 In the Domain Explorer window, choose
Administration > Control Panel
.
Step 2 Click
GateWay/CORBA Service
to open the
GateWay/CORBA Service
pane.
Step 3 In the
Global
tab >
Status
area, click the
Start
button to start GateWay/CORBA or the
Stop
button to stop the service.
Note The Prime Optical GateWay/CORBA Service can take up to 60 seconds to initialize after the GUI status has changed to indicate that the service is up. The status is an indication of the successful initiation of the service startup, not successful initialization. To avoid problems with the service hanging, wait at least 60 seconds after starting or stopping the service before restarting it.
Viewing the Prime Optical GateWay/CORBA Service Pane
Use the
Prime Optical GateWay/CORBA Service
pane to start and stop the Prime Optical GateWay/CORBA service and configure CORBA ports and parameters.
Table 12-5
provides descriptions.
Note In CTM R9.2, Prime Optical server ports can be configured from the Ports Configuration tab. Unless otherwise noted, all port configuration changes require a Prime Optical GateWay/CORBA restart.
Table 12-5 Field Descriptions for GateWay/CORBA Service Pane
|
|
|
Service Status
|
Displays the current status of the service: Active, Not Active, or Not Installed.
|
Service Action
|
Allows you to stop or start a process. Notice that the Service Action button toggles between Stop and Start, and the
Service Status
field changes accordingly. This field is not available if the Service Status is Not Installed.
|
Enable Encryption for Username and Password
|
When checked, usernames and passwords are transmitted between the EMS server and the OSS in encrypted format. The maximum encryption length is 53 bytes. If this check box is unchecked, Prime Optical GateWay/CORBA usernames and passwords are transmitted without encryption. By default, encryption is disabled at installation.
|
Heartbeat for Notification Channel
|
Notifies the OSS if a failure in the notification service has occurred. The heartbeat is measured in minutes; the range is 0 to 999 minutes. A zero value implies that the heartbeat is disabled.
|
Maximum Number of Simultaneous Sessions
|
Specifies the number of Prime Optical GateWay/CORBA sessions that can be active at the same time. The range is from 4 to 25; the default is 4.
|
Maximum Events per Consumer
|
Sets the MaxEventsPerConsumer administrative quality of service (QoS) parameter on the notification channel. The notification server uses this property to bound the maximum number of events in a given channel allowed to queue at any one time. The default value is 0, meaning that the notification server does not limit the maximum number of events that can be queued. If no limits are imposed on the queue, the notification server might run out of memory, because the server must keep all events in memory until they are consumed by all registered consumers.
Caution Any change to this value should be done with extreme caution. If you set the value too low, the NMS cannot receive all notifications. If you set the value too high, the Prime Optical notification server runs out of memory. The current value can handle alarm bursts of 10,000 events per minute.
|
Notification Service Name
|
Defines the service name used by the resolve_initial_reference function to get a reference to the notification service.
The Prime Optical GateWay/CORBA installation installs the notification service. However, if you want to use your own notification service, you can modify this parameter.
Note You do not need to modify this parameter if you plan to use the notification service that is bundled with Prime Optical GateWay/CORBA.
|
Notification Service Naming Context
|
Defines the naming context of the notification service. This property is used when the resolve_initial_reference function fails to resolve the notification service. Prime Optical GateWay/CORBA contacts the naming service to resolve the name context defined in this property. The value of this property must match the value published by your notification server.
Note You do not need to modify this parameter if you plan to use the notification service that is bundled with Prime Optical GateWay/CORBA.
|
Notification Service Factory IOR Filename
|
Enter the notification service factory Information Object Repository (IOR) filename located in the /opt/CiscoTransportManagerServer/openfusion/domains/OpenFusion/localhost/NotificationService/NotificationSingleton/NotificationService.ior directory.
The FactoryIORFile property defines the path to a text file that contains the IOR of the notification service. This property is used only after the resolve_initial_reference function and the naming service both fail. Prime Optical GateWay/CORBA opens the file as defined by the URL format in this property and retrieves the IOR. This parameter allows you to run your notification service on a different host to improve performance.
Note You do not need to modify this parameter if you plan to use the notification service that is bundled with Prime Optical GateWay/CORBA.
|
Name Service Server List
|
Defines where the name servers are running. Accepts a comma-separated list of hostnames.
|
Name Service Root IOR
|
Defines the path to find the naming service’s IOR on each host defined on the server list. The complete path is constructed as <http://<item>_of_ServerList><RootIORLoc>.
|
Error Level
|
Defines the error level of messages to log. Error levels are:
-
Critical
-
Major
-
Minor
-
Informational
-
Debug
-
Trace
|
|
Enable IMR check box
|
IMR is always disabled. This allows you to configure Prime Optical GateWay/CORBA to use static ports. This is a read-only option.
|
Name Service
|
Enter the port that the name service uses to listen for incoming requests. The default value is 14005.
Note This option requires a server restart.
|
Notification Service
|
Enter the port that the notification service uses to listen for incoming requests. The default value is 20001.
|
EMS Session
|
Enter the EMS session port value. The default value is 20100.
|
Event Notification (min)
|
Enter the minimum Event Notification port value. The default value is 20001.
|
Event Notification (max)
|
Enter the maximum Event Notification port value. The default value is 20099.
|
Server-to-Client (min)
|
Enter the minimum Server-to-Client port value. The default value is 20101.
|
Server-to-Client (max)
|
Enter the maximum Server-to-Client port value. The default value is 20199.
|
|
Dump Cache button
|
Exports the cache (memory) information of the selected Prime Optical GateWay/CORBA service instance to a log file.
|
Overall Logging
|
Click the Enable radio button to enable overall debugging and to select debug modules for the PM service. Click the Disable radio button to disable overall debugging.
|
Debug Modules
|
If overall logging is enabled, lists the modules that can be used for debugging. Select a module from the Available list; then, click the Add button to add the module to the Selected list. Use the Remove button to return the module to the Available list. Debug logging will be performed on the modules in the Selected list.
|
Viewing the Prime Optical GateWay/CORBA Users Table
The
Prime Optical GateWay/CORBA Users
table displays information about OSS CORBA client properties. To launch the table, choose
Administration > GateWay/CORBA Users
in the Domain Explorer window.
Table 12-6
provides descriptions. Use the toolbar icons to create, modify, or delete OSS client users.
Tip You can also start the GateWay/CORBA Users table from the Control Panel. In the Domain Explorer window, choose Administration > Control Panel. In the Control Panel window, choose Administration > GateWay/CORBA Users.
Table 12-6 Field Descriptions for the GateWay/CORBA Users Table
|
|
OSS Profile Name
|
Displays the name of the selected OSS client.
|
Adding a Prime Optical GateWay/CORBA User
OSS client profiles are stored in the
GateWay/CORBA Users
table.
Step 1 In the
Domain Explorer
window, choose
Administration > GateWay/CORBA Users
.
The
GateWay/CORBA Users
table opens.
Step 2 Choose
Edit > Add
(or click the
Create a New User
tool). The
Add GateWay/CORBA User dialog
box opens.
Table 12-7
provides descriptions.
Step 3 After making your selections, click
OK
. The new profile is visible when the
GateWay/CORBA Users
table is refreshed.
Table 12-7 Field Descriptions for Add/Modify GateWay/CORBA User Dialog Box
|
|
OSS Profile Name
|
Enter a unique name for the new OSS profile. The name must contain from 6 to 53 alphanumeric characters. The name cannot contain spaces or special characters.
|
Password
|
Enter the password that the OSS client uses to log in to the Prime Optical server. The password must contain:
-
From 1 to 12 characters
-
At least one special character other than an apostrophe (’)
-
At least two letters (A-Z, a-z), including at least one uppercase letter
-
At least one number (0-9)
Note Regardless of the actual length of the password, the Password and Confirm Password fields display only a fixed-length string of 15 asterisks (*).
|
Confirm Password
|
Re-enter the password to confirm it.
|
Modifying a Prime Optical GateWay/CORBA User’s Properties
Step 1 In the Domain Explorer window, choose
Administration > GateWay/CORBA Users
. The
GateWay/CORBA Users
table opens.
Step 2 Select the CORBA user profile to modify; then, choose
Edit > View/Modify
(or click the
Modify User Properties
tool). The Modify GateWay/CORBA User dialog box opens.
Table 12-7
provides descriptions.
Step 3 After making any necessary modifications, click
OK
. The updated profile is visible when the
GateWay/CORBA Users
table is refreshed.
Deleting a Prime Optical GateWay/CORBA User
Step 1 In the Domain Explorer window, choose
Administration > GateWay/CORBA Users
. The GateWay/CORBA Users table opens.
Step 2 Select the CORBA user profile to delete; then, choose
Edit > Delete
(or click the
Delete User
tool).
Step 3 Click
OK
in the confirmation dialog box.
Note Prime Optical GateWay/CORBA does not allow an OSS profile to be deleted if there are active users logged in using that OSS profile.
Viewing Logged-In Prime Optical GateWay/CORBA Users
Step 1 In the Domain Explorer window, choose
Administration > GateWay/CORBA Users
. The GateWay/CORBA Users table opens.
Step 2 Choose
Administration > Logged In GateWay CORBA Users
(or click the
Show Logged In GateWay CORBA Users
tool). The Active GateWay/CORBA Users table opens.
Table 12-8
provides descriptions.
Table 12-8 Field Descriptions for Active GateWay/CORBA Users Table
|
|
OSS Profile Name
|
Name of the OSS profile. Each client has a unique alphanumeric name.
|
OSS IP Address
|
IP address of the OSS client that is authenticated by Prime Optical GateWay/CORBA during the initial connection request made by the OSS.
|
Login Time (
time zone
)
|
Time stamp when the CORBA user logged in.
|
Ending an Active GateWay/CORBA User Session
Step 1 In the Domain Explorer window, choose
Administration > GateWay/CORBA Users
. The
GateWay/CORBA Users
opens.
Step 2 Choose
Administration > Logged In GateWay CORBA Users
(or click the
Show Logged In GateWay CORBA Users
tool). The
Active GateWay/CORBA User
s table opens.
Step 3 In the
Active GateWay/CORBA Users
table, select the user whose session will be ended and choose
Administration > Log Out GateWay CORBA User
(or click the
Log Out GateWay CORBA User
tool).
Changing the Default Settings of Prime Optical Server and OSS CORBA Client Ports
For each connected OSS, JacORB uses several ports that have the following functions, as illustrated in Figure 12-3:
-
Session port—The main channel used for handshakes between the OSS and the CORBA gateway. The CORBA gateway assigns this port to a random value between free ports in the system.
-
Notification service port—The channel used to receive notifications from the CORBA gateway.
-
Name service port—The port used to request a new session. The value is always fixed; the default port number is 14005.
-
Session ping port—The channel used to establish a keep-alive handshake between the gateway and the OSS. The CORBA gateway assigns this port to a random value between free ports in the system.
-
Notification service event port—A second port range used to push alarms or events from the CORBA gateway to the OSS. This port is a keep-alive channel like the previous association to the notification channel.
Figure 12-3 Sample CORBA Gateway Static Port Settings
Caution Errors resulting from changing the Prime Optical server ports or the OSS CORBA client ports can cause unpredictable system behavior.
Note • It is recommended that you back up the current configuration files before changing the default settings.
-
You can change the default settings only for OSS CORBA client ports that use JacORB.
You can change the default values of the following ports:
– Object Adapter Port
– Source Port Range
– NAT Between the Prime Optical Server and OSS CORBA Client
-
Prime Optical server ports:
– NameService Port
– NotificationService Port
– EMSSession Port
– Ping Server-to-Client Port Range
– Notification Event Port Range
Note You can also set Prime Optical server port values from the Prime Optical GateWay/CORBA Service pane > Port Configuration tab. For more information, see Viewing the Prime Optical GateWay/CORBA Service Pane.
To set static values for CORBA gateway ports, it is strongly recommended that you follow these steps:
Step 1 With the Prime Optical server running, use the
Control Panel
to set the notification service port and the session port. See NotificationService Port and EMSSession Port.
Step 2 Enter the following command to stop the Prime Optical server:
Step 3 Switch off IMR. See Disabling IMR.
Step 4 Set the session ping port range. See Ping Server-to-Client Port Range.
Step 5 Set the name service port. See NameService Port.
Step 6 Set the notification service event port range. See Notification Event Port Range.
Step 7 Enter the following command to start the Prime Optical server:
Step 8 Whenever you establish a new CORBA gateway session, use the
netstat
command to verify the actual ports in use and compare them to the newly added session.
Object Adapter Port
If you want to use a fixed port for the OSS CORBA client, change the value of the –DOAPort property. The –DOAPort property should be added to the file that launches the OSS CORBA client application. If there are two client instances running on the same machine, there should be two different port settings.
Source Port Range
Step 1 Open the jacorb.properties file from the OSS CORBA client directory.
Step 2 Change the value of the following properties:
jacorb.net.socket_factory=org.jacorb.orb.factory.PortRangeSocketFactory
jacorb.net.socket_factory.port.min=xxx
jacorb.net.socket_factory.port.max=yyy
NAT Between the Prime Optical Server and OSS CORBA Client
If Network Address Translation (NAT) exists between the Prime Optical server and OSS CORBA client, configure the jacorb.ior_proxy_host=xxx.xx.xx.xxx property from the jacorb.properties file to receive Prime Optical server callback messages and server-to-client pings. The xxx.xx.xx.xxx variable is the IP address of NAT inside global address.
NameService Port
Note You can also set the Name Service port value from the Prime Optical GateWay/CORBA Service pane > Port Configuration tab. For more information, see Viewing the Prime Optical GateWay/CORBA Service Pane.
Step 1 Enter the following command to stop the Prime Optical server:
Step 2 Open the NameService.xml file from the
/opt/Prime Optical-server-directory/openfusion/domains/localhost/NameService directory.
Step 3 Change the value of the Port property to the desired value. The default value is 14005.
Step 4 Enter the following command to stop the Prime Optical server:
Step 5 Complete the following substeps to verify the new value of the port:
a. Enter the following command in the /opt/CiscoTransportManagerServer/openfusion/bin directory:
b. Choose Domains > OpenFusion > localhost > NameService in the Object Hierarchy tree.
c. Click the CORBA tab in the right pane. The Server Port property displays the new port value.
NotificationService Port
Note You can also set the Notification Service port value from the Prime Optical GateWay/CORBA Service pane > Port Configuration tab. For more information, see Viewing the Prime Optical GateWay/CORBA Service Pane.
Step 1 Stop the Prime Optical GateWay/CORBA service. See Starting or Stopping Prime Optical GateWay/CORBA for instructions.
Step 2 Change the value of Notification Service Listening Port Number to the desired value.
Step 3 Restart the Prime Optical GateWay/CORBA service. See Starting or Stopping Prime Optical GateWay/CORBA for instructions.
Step 4 Complete the following substeps to verify the new value of the port:
a. Enter the following command in the /opt/CiscoTransportManagerServer/openfusion/bin directory:
b. Choose Domains > OpenFusion > localhost > NotificationService in the Object Hierarchy tree.
c. Click the CORBA tab in the right pane. The Server Port property displays the new port value.
Ping Server-to-Client Port Range
Note You can also set the Server-to-Client port values from the Prime Optical GateWay/CORBA Service pane > Port Configuration tab. For more information, see Viewing the Prime Optical GateWay/CORBA Service Pane.
Step 1 Stop the Prime Optical GateWay/CORBA service. See Starting or Stopping Prime Optical GateWay/CORBA for instructions.
Step 2 Open the jacorb.properties file from the /opt/Prime Optical-server-directory/openfusion/classes directory.
Step 3 Do the following in the Socket Factories section:
a. Uncomment the .jacorb.net.socket_factory=org.jacorb.orb.factory.PortRangeSocketFactory row.
b. Change the .jacorb.net.socket_factory.port.min value to the desired minimum range value.
c. Change the .jacorb.net.socket_factory.port.max value to the desired maximum range value.
Step 4 Restart the Prime Optical GateWay/CORBA service. See Starting or Stopping Prime Optical GateWay/CORBA for instructions.
Notification Event Port Range
Note You can also set the Notification Event port range from the Prime Optical GateWay/CORBA Service pane > Port Configuration tab. For more information, see Viewing the Prime Optical GateWay/CORBA Service Pane.
Step 1 Stop the Prime Optical GateWay/CORBA service. See Starting or Stopping Prime Optical GateWay/CORBA for instructions.
Step 2 Open the NotificationService.xml file from the
/opt/Prime Optical-server-directory/openfusion/domains/localhost/NotificationService directory.
Step 3 Change the value of the JVMFlags property to the following:
<PropertyValue>–Dosgi.parentClassloader=ext –Djacorb.net.socket_factory=org.jacorb.orb.factory.PortRangeSocketFactory –Djacorb.net.socket_factory.port.min=xxx –Djacorb.net.socket_factory.port.max=yyy</PropertyValue>
Note Do not use carriage returns when entering the new value of the JVMFlags property. The new value must be entered on the existing row.
Step 4 Restart the Prime Optical GateWay/CORBA service. See Starting or Stopping Prime Optical GateWay/CORBA for instructions.
Disabling IMR
By default, IMR is disabled. To enable IMR, you must manually edit the jacorb.properties file.
Step 1 Make a backup copy of the jacorb.properties file located in the
Prime Optical-server-installation-directory
/openfusion/classes directory.
Step 2 In the jacorb.properties file, configure the following properties to “off”:
jacorb.use_imr_endpoint=off
Changing the Prime Optical GateWay/CORBA Client Ports
In CTM R9.0 and earlier releases, Prime Optical GateWay/CORBA was installed and configured to use random ports and did not support a firewall between the OSS client and the Prime Optical server. Starting from CTM R9.1, you can install and configure Prime Optical GateWay/CORBA to use static ports, which facilitates the use of a firewall between the OSS client and the Prime Optical server.
Installation
When you install Prime Optical GateWay/CORBA, all of the ports are configured with default fixed values. See
Table 12-9
for the list of default fixed values.
Note To configure Prime Optical GateWay/CORBA to use static ports, you must switch off IMR. See Configuration.
Table 12-9 List of Parameters and Fixed Values
|
|
EMS Session Port
|
20100
|
Name Service Port
|
14005
|
Notification Service Port
|
20001
|
Session Ping Port range
|
20101–20199
|
Event Notification Port range
|
20002–20099
|
IMR
|
Off
|
Proxy Host Address
|
Not set
|
Note It is recommended that you change the default fixed values after the Prime Optical GateWay/CORBA installation is complete. If you change the values while installing Prime Optical GateWay/CORBA, the installation might fail.
Configuration
Note • You can also configure Prime Optical server ports from the Prime Optical GateWay/CORBA Service pane > Port Configuration tab. For more information, see Viewing the Prime Optical GateWay/CORBA Service Pane.
-
Prime Optical GateWay/CORBA must be stopped in order to configure ports.
Step 1 Log in to the Prime Optical server as the root user.
Step 2 Invoke the manageCTMCorbaPorts.sh file from the
Prime Optical-server-installation-directory
/bin directory.
Note If Prime Optical GateWay/CORBA is running, you only have the option to read port configuration settings.
The following appears:
-------------------------------------------------- Manage CTM GateWay/CORBA Ports Utility -------------------------------------------------- 1. Read Configuration Set 2. Read Configuration Running 3. Restore All Default Values 5. Change Name Service Port 6. Change Proxy Host Address 7. Change Notification Service Port 8. Change EMS Session Port 9. Change S->C Ping Port Range 10. Change Notification Event Port Range
0. Exit -------------------------------------------------
Step 3 Select an item from the menu.
For example, enter
1
to select Read Configuration Set.
For more information on these menu items, see the
Cisco Prime Optical GateWay/CORBA User Guide and Programmer Manual
.
Note If you select a menu item that changes the configuration, you will be prompted to restart either Prime Optical GateWay/CORBA or the Prime Optical server. See Starting or Stopping Prime Optical GateWay/CORBA for instructions.