User Guide for the Cisco NetFlow Generation Appliance
Using the Recovery CD and Helper Utility
Downloads: This chapterpdf (PDF - 364.0KB) The complete bookPDF (PDF - 1.16MB) | Feedback

Using the Recovery CD and Helper Utility

Table Of Contents

Using the Recovery CD and Helper Utility

Booting the Recovery CD

Using the Helper Utility

Option n - Configure Network

Option 1 - Download Application Image and Write to HDD

Option 2 - Download Application Image and Reformat HDD

Option 3 - Install Application Image from CD

Option 4 - Display Software Versions

Option 5 - Reset Application Image CLI Passwords to Default

Option 6 - Change File Transfer Method

Option 7- Send Ping

Option r- Exit and Reset Services Engine

Option h- Exit and Shutdown Services Engine


Using the Recovery CD and Helper Utility


You can use the recovery CD to reinstall the software on your Cisco NetFlow Generation Appliance if your appliance should suffer a catastrophic event, such as a hard disk crash, and you can no longer boot the appliance. The recovery CD is part of the Cisco NGA software kit.

After you use the recovery CD to reinstall the Cisco NGA image, you can use the command-line interface (CLI) to restore the most recent configuration file to the appliance if you have stored a configuration file at an accessible location.

This chapter contains:

Booting the Recovery CD

Using the Helper Utility

For information on how to prepare to recover from a catastrophic event, see Booting the Recovery CD or Using the Helper Utility. We recommend you use the helper utility only if you want to reformat the disk.

Booting the Recovery CD

When you boot the Cisco NetFlow Generation Appliance (NGA) from the recovery CD, the console will temporarily display the bootloader window. After this window displays for ten seconds, the appliance will automatically boot the appliance application software.

When using the recovery CD, choose helper and press Enter within that 10 second interval to get to the helper utility Menu. Otherwise, you might have to reboot the appliance again.

To use the recovery CD:


Step 1 Insert the Cisco NGA Software Recovery CD-ROM into the DVD-ROM drive on the front panel of the appliance.

Step 2 From the console or command line, enter the reboot command.

The Cisco NGA performs a reset and launches the GNU GRUB boot loader and displays the window shown in Figure 6-1. This window displays for about ten seconds enabling you to select to boot the helper utility instead of the appliance application software.

Per the instructions, use the ^ and v keys to select which entry is highlighted. Press Enter to boot the selected OS, `e' to edit the commands before booting or `c' for a GNU command-line.

Step 3 Use the "v" key to select helper, and press Enter.

The helper utility menu displays as shown in Figure 6-1.

Figure 6-1 Helper Utility Menu

==============================================================================
     Cisco Systems, Inc.
     NetFlow Generation Appliance helper utility
     Version 1.0 
 
     -----
     Main menu
     1 - Download application image and write to HDD
     2 - Download application image and reformat HDD
     3 - Install application image from CD
     4 - Display software versions
     5 - Reset application image CLI passwords to default
     6 - Change file transfer method (currently ftp/http)
     7 - Send Ping
     n - Configure network
     r - Exit and reset Services Engine
     h - Exit and shutdown Services Engine
 
     Selection [1234567dnfrh]:
 
   

See the next section, Using the Helper Utility, for more information about the options.

Using the Helper Utility

This section describes the Helper Utility Menu, what each option does, and any requirements for using a particular option. We recommend you use the helper utility only if you want to reformat the disk. Otherwise, you should use the recovery CD or upgrade software instructions.


Note Before you can use menu items 1 and 2, you must first use menu item n to configure network parameters for the appliance.


Possible selections for the top level of the helper utility menu are 1, 2, 3, 4, 5, 6, 7, n, r, and h.

Option n - Configure Network

Option 1 - Download Application Image and Write to HDD

Option 2 - Download Application Image and Reformat HDD

Option 3 - Install Application Image from CD

Option 4 - Display Software Versions

Option 5 - Reset Application Image CLI Passwords to Default

Option 6 - Change File Transfer Method

Option 7- Send Ping

Option r- Exit and Reset Services Engine

Option h- Exit and Shutdown Services Engine

Option n - Configure Network

Use Option n to configure the network parameters for the appliance.


Step 1 When the Configure Network Interface menu displays, enter 2 to configure manually.

-----
Configure Network interface:
1 - Use application image configuration
2 - Configure manually
3 - Show config
r - return to main menu
 
Selection [123r]: 2
 
   

Step 2 The utility prompts you for the IP address, netmask, and default gateway for the appliance.

Enter IP configuration:
IP address []: 172.20.122.93
netmask []: 255.255.255.128
default gateway []: 172.20.122.1
 
   
-----
Configure Network interface:
1 - Use application image configuration
2 - Configure manually
3 - Show config
r - return to main menu
 
Selection [123r] 
 
   

Step 3 Check your network configuration using Configure Network menu option 3.

Selection [123r]: 3
 
   
eth0      Link encap:Ethernet  HWaddr 00:0E:0C:EE:50:3E 
          inet addr:172.20.122.93  Bcast:172.20.122.127  Mask:255.255.255.128
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:210 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:13632 (13.3 KiB)  TX bytes:0 (0.0 b)
 
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref     Use Iface
172.20.122.0     0.0.0.0        255.255.255.128 U       0      0 eth0
0.0.0.0          172.20.122.1    0.0.0.0      UG   0     0 eth0
-----
Configure Network interface:
1 - Use application image configuration
2 - Configure manually
3 - Show config
r - return to main menu
 
Selection [123r]: 
 
   

Option 1 - Download Application Image and Write to HDD

Prior to using Option 1, first use Option n to configure the network.

Use Option 1 to download a version of the application image from an FTP server location and write the image to the hard disk drive. This option requires network connectivity and that network parameters be configured for the appliance using helper menu item n.

This option enables you to download an image you might have stored at an FTP location or at a location you can access using http. You can download the latest version of software from the following URL:

http://www.cisco.com/cgi-bin/tablebuild.pl/nga-appl

This URL requires you to have a Cisco service agreement and access to the internet to download the zipped software.

Option 2 - Download Application Image and Reformat HDD

Prior to using Option 2, first use Option n to configure the network.

Use Option 2 to download the application image and write the image to the hard disk drive. This option downloads a version of the application image from an FTP server location or at a location you can access using http.

Using this option reformats the hard disk drives before writing the application image and will destroy all data such as reports or data captures.

You can also download the latest version from Cisco.com.

Option 3 - Install Application Image from CD

Use Option 3 to install the application image from the recovery CD. This option might be necessary if you are unable to connect to your network and download a version of software you archived earlier.


Note The version of software available on the recovery CD is the first release of the software and has no patches or upgrades.


This option reformats the hard disk drives before writing the application image and will destroy all data such as reports or data captures.

Option 4 - Display Software Versions

Use Option 4 to display the current application image version stored on your hard disk.

Selection [123456789dnfrh]:5 
 
   
-----
NGA application version: 1.0
 
   
Selection [123456789dnfrh]: 
 
   

Option 5 - Reset Application Image CLI Passwords to Default

Use Option 5 to reset the password for users root and admin to their default values.

Option 6 - Change File Transfer Method

Use Option 6 to change the file transfer method. This option is only necessary if you change the file transfer method by mistake. Only FTP and http are supported.

Selection [123456789dnfrh]: 7
-----
Change file transfer method menu
The current file transfer method is ftp/http.
1 - Change to FTP/HTTP
r - return to main menu
 
   

Option 7- Send Ping

Use Option 7 to send a ping to determine if network connectivity exists. When prompted, enter the IP address or full domain name of the location to send the ping.

 
   
IP address to ping []: 172.20.122.91
 
Sending 5 ICPM ECHO_REQUEST packets to 172.20.122.91.
PING 172.20.122.91 (172.20.122.91) 56(84) bytes of data.
64 bytes from 172.20.122.91: icmp_seq=1 ttl=64 time=0.151 ms
64 bytes from 172.20.122.91: icmp_seq=2 ttl=64 time=0.153 ms
64 bytes from 172.20.122.91: icmp_seq=3 ttl=64 time=0.125 ms
64 bytes from 172.20.122.91: icmp_seq=4 ttl=64 time=0.102 ms
64 bytes from 172.20.122.91: icmp_seq=5 ttl=64 time=0.166 ms
 
--- 172.20.122.91 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4000ms
rtt min/avg/max/mdev = 0.102/0.139/0.166/0.025 ms
 
   

Option r- Exit and Reset Services Engine

Use Option r to reset the appliance prior to rebooting the newly installed application image.

Before using Option r, remove the recovery CD from the CD drive to enable the appliance to boot the application image.

Option h- Exit and Shutdown Services Engine

Use Option h to reset and shut down the appliance.

------------------------------------------------------------------------
Option h for recovery CD
Selection [123456789dnfrh]: h
About to exit and reset NGA.
Are you sure? [y/N] :y
Stopping internet superserver: inetd.
Stopping OpenBSD Secure Shell server: sshd. 
Stopping internet superserver: xinetd. 
Stopping internet superserver: xinetd-ipv4. 
: done. 
Shutting down NGA, part 1: 
Stopping klogd . . . 
Stopping syslogd . . .
Sending all processes the TERM signal... done.
Sending all processes the KILL signal... done.
Unmounting remote filesystems... done. 
Deactivating swap...done.
Unmounting local filesystems...done.
Starting halt command: halt
md: stopping all md devices.
Synchronizing SCSI cache for disk sdb: 
FAILED
  status = 1, message = 00, host = 0, driver = 08
  <6>sd: Current: sense key=0x5
    ASC=0x20 ASCQ=0x0
Synchronizing SCSI cache for disk sda: 
FAILED
  status = 1, message = 00, host = 0, driver = 08
  <6>sd: Current: sense key=0x5
    ASC=0x20 ASCQ=0x0
ACPI: PCI interrupt for device 0000:07:00.1 disabled
ACPI: PCI interrupt for device 0000:07:00.0 disabled
Power down.
acpi_power_off called
-----------------------------------------------------------------------------------------