|
|
Starting and Stopping the CiscoWorks NetView Interface
This chapter contains information on starting and stopping the following processes:
The CiscoWorks NetView Interface must have all of the following processes running in order to perform properly.
If you experience problems starting, stopping, or running any of these processes, refer to Appendix C, "Troubleshooting."
The SNA Peer-to-Peer gateway must be started in order for the CiscoWorks NetView Interface to transfer converted events and traps from SNMP alarms into SNA alerts and send them to the IBM host. If you do not wish to receive event or trap information from the network, you can stop the SNA Peer-to-Peer gateway.
The following sections describe the process of starting and stopping each function responsible for task completion.
Starting the SNA Peer-to-Peer Gateway
There are two ways you can start the SNA Peer-to-Peer gateway: running the Peer-to-Peer file, p2pconf, manually or using the startp2p script. This manual describes the use of the startp2p script. If you choose not to run the startp2p script, refer to Chapter 5 in the
7.0 SunLink SNA Peer-to-Peer Administrator's Guide for alternative instructions.
The startp2p script performs the following tasks:
To start the SNA Peer-to-Peer gateway, perform the following steps:
Step 1: Log in as the superuser by entering su and the root password.
Step 2: Change to the directory where the Peer-to-Peer programs reside:
Step 3: Enter the following command syntax to start the SNA Peer-to-Peer gateway for a Token Ring environment:
If you do not correctly enter the command, the system responds with the following syntax usage string:
Refer to Chapter 5 in your 7.0 SunLink SNA Peer-to-Peer Administrator's Guide for definitions on the command syntax of the startp2p command.
Stopping the SNA Peer-to-Peer Gateway
To close the link between the SNA and UNIX network, use the stopp2p command.
To invoke the stopp2p command, perform the following steps:
Step 1: Log in as the superuser by entering su and the root password.
Step 2: Change to the directory where the Peer-to-Peer programs reside:
Step 3: Enter the following command syntax to stop the gateway or gateways:
Refer to Chapter 5 in your 7.0 SunLink SNA Peer-to-Peer Administrator's Guide for information on the command syntax of the stopp2p command.
Protocol Conversion Application (PCA)
The PCA converts events and traps so they can be forwarded to the SNA host. If you do not wish to receive event or trap information from the network, you can stop the SNA Peer-to-Peer gateway.
The following sections describe the process of starting and stopping each function responsible for task completion.
To start the PCA, perform the following steps:
Step 1: If the SNA Peer-to-Peer gateway is not already running, start it.
Step 1: On the SNM Console, move your cursor over the PCA glyph on your network map.
Step 2: Pull over to Tools and select PCA Start.
This starts the PCA application and enables event conversion.
To stop the conversion of events and traps from the PCA to the SNA host, perform the following steps:
Step 1: On the SNM Console, move your cursor over the PCA glyph on your network map.
Step 2: Pull over to Tools and select PCA Terminate.
This stops the PCA application and disables event conversion.
The RUNCMD Server processes RUNCMD requests from the IBM NCCF facility. The RUNCMD Server must be running in order for requests to receive a response. If you choose to disable RUNCMD queries, stop the RUNCMD Server.
The following sections describe the process of starting and stopping each function responsible for task completion.
To start the RUNCMD Server, perform the following steps:
Step 1: If the SNA Peer-to-Peer gateway is not already running, start it.
Step 2: Enter the following command at the UNIX prompt:
This enables the NetView operator to perform RUNCMD requests. The ampersand (&) enables this process to work in the background of the current shell.
If you have added the previous directory string to the PATH statement, then all you need to enter is the runcmd If you do not start the RUNCMD Server before you issue a request, you will receive error messages on the NetView console.
You can leave the RUNCMD Server running once you start it.
If you do not want to receive RUNCMD requests, stop the RUNCMD Server.
To stop the RUNCMD Server from the NetView console, perform the following steps:
Step 1: From the NetView console, type the following command at the system prompt:
Step 2: Identify the RUNCMD Server process ID (pid) number.
Step 3: Type the following command to stop the RUNCMD Server:
The RUNCMD Server process stops.
Copyright 1988-1996 © Cisco Systems Inc.
hostname# cd /usr/sunlink/snap2p/p2p_etc
hostname#
startp2p
gatewy01 p2pconf1 snacm0 llc0
hostname#
startp2p
gatewy01 p2pconf1 psdlc0 zsi0
startp2p <gateway> <p2pconf file> <snacm# | psdlc#> \ <llc# | zsi# | mcps# his#>
hostname# cd /usr/sunlink/snap2p/p2p_etc
hostname#
stopp2p
gatewy01
hostname%
/usr/sunlink/snap2p/runcmd
gateway_name &
gateway_name command.
RUNCMD SP=P05SA56,APPL=SH,PS -VAX | GREP runcmd
127 ? R 2578:40 0 99 163668823344 xx 31.3 37.5 snmpd
2511 ? R 1242:08 1 99 231 6976 7112 xx 8.2 11.4 runcmd
2487 ? S 0:54 2 99 53 176 380 xx 0.0 0.6 nmlogd
3182 ? IW 0:09 99 99 13 428 0 xx 0.0 0.0 na.snmp-trap
2477 ? IW 0:00 99 99 25 548 0 xx 0.0 0.0 nmpolld
2496 ? IW 0:17 99 99 36 528 0 xx 0.0 0.0 nmeventd
178 ? IW 0:03 99 99 10 404 0 xx 0.0 0.0 na.snmp-trap
RUNCMD SP=P05SA56,APPL=SH,KILL -9 2511
![]()
![]()
![]()
![]()
![]()
![]()
![]()