Cisco Active Network Abstraction Administrators Guide Version 3.5.1
Utility Scripts

Table Of Contents

Utility Scripts

Restarting Cisco ANA Gateway

Restarting a Cisco ANA Unit

Executing a Command on all Cisco ANA Units


Utility Scripts


About this appendix:

This appendix describes the Cisco ANA utility scripts.

Restarting Cisco ANA Gateway, describes how to restart the Cisco ANA Gateway from the Unix command line.

Restarting a Cisco ANA Unit, describes how to restart a Cisco ANA Unit from the Unix command line.

Executing a Command on all Cisco ANA Units, describes the script used to execute a given command on all of the Cisco ANA Units.

Restarting Cisco ANA Gateway

The user can restart the Cisco ANA Gateway from the Unix command line.

To restart the Cisco ANA Gateway:


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

Step 2 Execute the script:

~sheer/Main/mvm.csh



Note When the Cisco ANA Gateway is restarted, all of the clients are reconnected.



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


Restarting a Cisco ANA Unit

Restarting a Cisco ANA Unit machine kills all of the AVM processes on the machine and restarts them.

Given that the system saves part of its information within the process memory, restarting a Cisco ANA 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 of 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 Cisco ANA Unit that will fail due to the unavailability of the VNEs.

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

To restart a Cisco ANA Unit:


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

Step 2 Execute the script:

~sheer/Main/mvm.csh


Executing a Command on all Cisco ANA Units

The script rall.csh is a utility used to execute a given command on all of the Cisco ANA Units (not on the Cisco ANA Gateway).

~sheer/Main/rall.csh <script>

Where <script> is the script name.

The script example below will restart all the Cisco ANA Units (not the Cisco ANA Gateway).

~sheer/Main/rall.csh mvm.csh