Cisco Active Network Abstraction Administrator Guide, 3.6
Utility Scripts

Table Of Contents

Utility Scripts

Restarting Cisco ANA Gateway

Restarting a Cisco ANA Unit

Running a Command On All Cisco ANA Units


Utility Scripts


This appendix describes the Cisco ANA utility scripts.

Restarting Cisco ANA Gateway—Describes how to restart the gateway from the UNIX command line.

Restarting a Cisco ANA Unit—Describes how to restart a unit from the UNIX command line.

Running a Command On All Cisco ANA Units—Describes the script used to execute a given command on all the units.

Restarting Cisco ANA Gateway

The user can restart the gateway from the UNIX command line.

To restart the gateway:


Step 1 Open a Telnet session to the Cisco ANA gateway, and login to the machine.

Step 2 Run the script:

~sheer/Main/mvm.csh



Note When the gateway is restarted, all the clients are reconnected.



Note The server status can be verified using Cisco ANA Manage.


Restarting a Cisco ANA Unit

Restarting a unit machine stops all the AVM processes on the machine and restarts them.

Given that the system saves part of its information within the process memory, restarting a unit will cause some of the information to disappear. It will, therefore, take as long as the longest full polling cycle for the system to recover all the information that was stored in the process memory prior to the restart. Data that was saved in persistent storage before restarting will be available immediately.

Restarting a machine may cause some of the VNEs running on the machine to be reported as unreachable. This is due to handshake protocols with the unit that will fail due to the unavailability of the VNEs.

Restarting a machine will stop all active queries, flows and transactions that are currently being run within the VNEs that run on the restarted Cisco ANA unit.

To restart a unit:


Step 1 Open a Telnet session to the Cisco ANA Unit machine and login to the machine.

Step 2 Run the script:

~sheer/Main/mvm.csh


Running a Command On All Cisco ANA Units

The script rall.csh is a utility used to run a given command on all the units (not on the gateway), as follows:

~sheer/Main/rall.csh <script>

Where <script> is the script name.

The following script example will restart all the units (not the gateway).

~sheer/Main/rall.csh mvm.csh