Professional Documents
Culture Documents
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and
phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the
document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is
unintentional and coincidental.
© 2016 Cisco Systems, Inc. All rights reserved.
2
Preface
This section describes the audience and conventions of the Cisco PowerVu Network Center Data Backup/Restore
(PNCBMENU) User Guide. It also references related documentation and describes how to obtain documentation and
submit a service request.
Audience, page 3
Organization, page 4
Conventions, page 4
Audience
The audience of this guide includes users (operators) and service personnel who are responsible for the installation,
configuration, operation, monitoring, and service of the Cisco PowerVu Network Center (PNC).
To use this documentation, the user should have a basic knowledge of the technology used in relation to this product.
Service personnel should have additional skills and be familiar with cabling, electronic circuitry, and wiring practices.
This guide is intended for operators who are responsible for the configuration, remote operation, and maintenance of the
PNC.
3
Preface
Organization
Organization
This guide includes the following sections:
Installation, page 17
Conventions
This document uses the following conventions.
Conventions Indication
bold font Commands and keywords and user-entered text appear in bold font.
italic font Document titles, new or emphasized terms, and arguments for which you supply values are in
italic font.
[ ] Elements in square brackets are optional.
{x | y | z } Required alternative keywords are grouped in braces and separated by vertical bars.
[x|y|z] Optional alternative keywords are grouped in brackets and separated by vertical bars.
string A nonquoted set of characters. Do not use quotation marks around the string or the string will
include the quotation marks.
courier font Terminal sessions and information the system displays appear in courier font.
< > Nonprinting characters such as passwords are in angle brackets.
[ ] Default responses to system prompts are in square brackets.
!, # An exclamation point (!) or a pound sign (#) at the beginning of a line of code indicates a
comment line.
Note: Means reader take note. Notes contain helpful suggestions or references to material not covered in the manual.
Caution: Means reader be careful. In this situation, you might perform an action that could result in equipment
damage or loss of data.
Means danger. You are in a situation that could cause bodily injury. Before you work on any equipment, be aware of
the hazards involved with electrical circuitry and be familiar with standard practices for preventing accidents. Use
the statement number provided at the end of each warning to locate its translation in the translated safety warnings
that accompanied this device.
Regulatory: Provided for additional information and to comply with regulatory and customer requirements.
Related Documentation
These documents provide more information on the PNC and are available from the Cisco.com site:
4
Preface
Related Documentation
Cisco PowerVu Network Center SNMP Management Information Base User Guide
Release Notes for Cisco PowerVu Network Center Data Backup/Restore (PNCBMENU) Version 2.3
Subscribe to What’s New in Cisco Product Documentation, which lists all new and revised Cisco technical
documentation as an RSS feed and delivers content directly to your desktop using a reader application. The RSS feeds
are a free service.
5
Preface
Related Documentation
6
Backing Up the PNC Server
This section describes how to backup and restore data on the PNC server.
PNCBMENU Backup
The Solaris system (PNC server) backup is required to complete a hard disk crash recovery. We highly recommend that
you backup the PNC server on a weekly basis.
The PNCBMENU Version 2.3 supports the use of USB drive to backup and restore data on the PNC server. The USB drive
is supplied by the client, with a minimum of 4 GB and a maximum of 2 TB of storage. The PNC server must be running
Solaris 10. There are two types of backups: immediate or scheduled. An immediate or scheduled backup allows you to
overwrite or maintain multiple archived files.
The PNCBMENU continues to support the existing tape archive functionality. For details on using the tape drive for
backing up the PNC server, see Cisco PowerVu Network Center Control System Software Version 11.6 User Guide.
7
Backing Up the PNC Server
4. At the /v/emc prompt, type pncbmenu and press Enter. The PNCBMENU main menu is displayed.
8
Backing Up the PNC Server
— Immediate Backup - Saves all the data to the defined media type (USB, Tape, Local, or Local + Network),
according to the defined archive mode (Multiple or Overwrite). For more information, see Performing an
Immediate Backup, page 9.
— Immediate Restore - Restores the Informix, encoder settings, and PowerVu Management Platform data to the
PNC server. For more information, see Restoring the PNC Server, page 11.
— Schedule Backup - Define a backup schedule for one of the following media types: tape, USB media device,
local, or local + network. For more information, see Scheduling a Backup, page 9.
— Check scheduled backup status - View the status of the current backup schedule. For more information, see
Viewing a Scheduled Backup Status, page 10.
— Manage Backup/Restore Media Submenu - Ability to set the media type, archive mode, archive limit, and
network location. You can also format and/or unmount the USB media. For more information, see Managing the
Backup Media, page 13.
— Refresh/Clear Results - refreshes the PNCBMENU main menu, including the available free space indicator and
clearing the results status.
Note: If the USB device can only accommodate five archives or less, based on the size of the last archive, a low
space warning is displayed.
Note: If you are using USB for backup, ensure that only one USB backup drive is connected. Otherwise, the backup
operation will fail.
3. Type y and press Enter. The backup starts. If successful, the results are displayed, with the filename, time, and date
information. If you want to remove the USB drive, ensure that you unmount the USB drive first. For more information,
see Unmounting the USB Drive, page 15.
Note: Ensure that USB/local/network and tape backups are not running at the same time.
Scheduling a Backup
1. From the PNCBMENU main menu, type 3 and press Enter. The Media Type for Scheduled Backups is displayed.
9
Backing Up the PNC Server
Scheduling a Backup
2. To use the tape drive as the media type for the scheduled backup, type 1 and press Enter.
To use the USB drive as the media type for the scheduled backup, type 2 and press Enter.
Type 3 and press Enter to use the local drive on the current server (/v/emc/bin/pbmenu/archive) as the media type
for the scheduled backup.
Type 4 and press Enter to use the local drive and the defined network location as the media types for the scheduled
backup. For more information on defining the network location, see Setting the Network Location, page 16.
3. If the media type for immediate backup is USB, Local, or Local + Network, choose the archive method. To only keep
one archived file and remove all existing archived files, type 1 and press Enter. To keep multiple archived files, type
2 and press Enter. The number of archived files will depend on the size of the USB, local, or network drive, and the
maximum archive limit set. The Scheduling Submenu is displayed.
4. To schedule a daily backup, type 1 and press Enter. The Daily Schedule is displayed.
a. At the Enter hour prompt, enter the hour to run the daily backup and press Enter. For example, if you want to run
a daily backup at 12:13 everyday, enter 12. The time is based on the Eastern Standard Time, and a 24 hour clock
format is used.
b. At the minute prompt, enter the minute to run the daily backup and press Enter. For example, if you want to run
a daily backup at 12:13 everyday, enter 13. The final daily backup confirmation is displayed.
c. Type y to confirm. The schedule setting is displayed next to the Schedule Backup menu on the PNCBMENU main
menu screen. If the USB device is missing, a warning is displayed next to the schedule.
To schedule a weekly backup, type 2 and press Enter. The Weekly Schedule is displayed.
a. Type the first letter of the day on which you would like the backup to run and press Enter. For example, if you
want the backup to run every Wednesday, type w and press Enter.
c. At the Enter hour prompt, type the hour to run the weekly backup and press Enter. For example, if you want to
run a weekly backup at 12:13, type 12. The time is based on the Eastern Standard Time, and a 24 hour clock
format is used.
d. At the Enter minute prompt, type the minute to run the weekly backup and press Enter. For example, if you want
to run a weekly backup at 12:13, type 13. The final weekly backup confirmation is displayed.
e. Type y and press Enter to confirm. The schedule setting is displayed next to the Schedule Backup menu on the
PNCBMENU main menu screen. If the USB device is missing, a warning message is displayed next to the
schedule.
3. Type e to return to the PNCBMENU main menu. The scheduled backup is removed, without any recurring operations,
as indicated next to the Schedule Backup menu.
10
Restoring the PNC Server
This section describes how to restore data on the PNC server.
Restoring the database from an archived file requires the PNC server to stop running, which closes the PNC Client and
the causes the PowerVu Management Console web GUI to be unresponsive. If Local + Network is set as the media type
for backup/restore, the data is restored from the network only (not the local drive).
1. Ensure the USB device with the data you want to restore to the PNC server is inserted in the USB drive. If you are
restoring from a tape, ensure that the tape is inserted in the tape drive. If you are restoring from the network, ensure
that you are connected to the network drive.
2. Log in to the PNC server and access the PNCBMENU. For more information, see Accessing the PNCBMENU Main
Menu, page 7.
Note: If you are using USB for backup, ensure that only one USB backup drive is connected. Otherwise, the backup
operation will fail.
4. If you are restoring from a USB device or local drive, a list of archived folders is displayed. If you are restoring from
the network, a list of tar files is displayed. Choose the appropriate folder/file to start the restore. Ensure that the
archived folder used is for the current server. The host ID of the archived file must match the host ID of the server.
To determine the host ID of the server, type hostid and press Enter at the /v/emc/bin prompt. The host ID of the
archived folder is in the archived folder name. The folder uses the following convention:
PNC.backup.<yyyymmdd-hhmm>_<hostID>_NV<PowerVu Network Control Platform Version>_CR<PowerVu
Management Platform Version>.
6. The PNC server must be stopped prior to restoring data. If the PNC server is running, a message is displayed to
confirm that you want to stop the PNC server. Type y and press Enter.
11
Restoring the PNC Server
12
Managing the Backup Media
This section describes how to manage the backup media.
— Select (immed) Backup/Restore Media Type - allows you to change the immediate backup and restore media
type. For more information, see Selecting the Backup/Restore Media Type, page 14.
— Select (immed) Archive Mode - allows you to change the archive mode for immediate backup. For more
information, see Selecting the Archive Mode, page 14.
13
Managing the Backup Media
— Set maximum archive limit - sets the number of archived files allowed for the Multiple archive mode (5 to 30).
For more information, see Setting the Archive Limit, page 15.
— Set network location - sets the network location of the archived files, if applicable, in the following format:
<username>@<hostname or IP address>:<port number>/<path of the folder>. For more information, see
Setting the Network Location, page 16.
— Format USB Media (in UFS) - Opens a utility for formating the USB drive.to a UFS format. You will need the root
password to format the USB device. For more information, see Formatting the USB Drive, page 15.
— Unmount USB Media - Unmounts the USB drive so you can remove it from the USB port safely. For more
information, see Unmounting the USB Drive, page 15.
Note: Failure to unmount the USB drive before removing it from the USB port may result in data corruption.
2. From the Manage Backup/Restore Media Submenu, type 1 and press Enter.
3. Choose the media type for all immediate backups and restores.
— Type 1 and press Enter to set the media type to Tape (the archive mode is then set to Overwrite).
— Type 3 and press Enter to set the media type to the local drive.
— Type 4 and press Enter to set the media type to the local drive and the folder on the network.
— Type 5 and press Enter to unmount/eject the USB drive. You must unmount the USB drive prior to removing it
from the USB port, to avoid data corruption.
1. From the PNCBMENU main menu, type 5 and press Enter. For information on accessing the PNCBMENU main menu,
see Accessing the PNCBMENU Main Menu, page 7.
2. From the Manage Backup/Restore Media Submenu, type 2 and press Enter.
3. If the media type for immediate backup is USB, local, or local + network, choose the archive method. To only keep
one archived file and remove all existing archived files, type 1 and press Enter. To keep multiple archived files, type
2 and press Enter. The number of archived files will depend on the size of the USB drive and the configured maximum
archived limit.
14
Managing the Backup Media
1. From the PNCBMENU main menu, type 5 and press Enter. For information on accessing the PNCBMENU main menu,
see Accessing the PNCBMENU Main Menu, page 7.
2. From the Manage Backup/Restore Media Submenu, type 3 and press Enter.
3. Choose the maximum number of files allowed on the selected media type (USB, local, or local + network). You can
enter a range from 5 to 30 and press Enter. The new limit is displayed next to the Set maximum archive limit menu.
Note: If you reduce the number of archives, it will remove the oldest archived files that are outside of the new limit,
if applicable.
Note: Once formatted, all existing data on the USB drive is deleted.
1. From the PNCBMENU main menu, type 5 and press Enter. For information on accessing the PNCBMENU main menu,
see Accessing the PNCBMENU Main Menu, page 7.
4. At the Password prompt, type the root password and press Enter. A list of USB devices is displayed.
5. Type the number of the USB drive you want to format and press Enter. For example, 0 is the first device on the list.
6. At the Password prompt, type the root password and press Enter. A warning that all existing data will be lost if you
format the USB drive is displayed.
8. At the Password prompt, type the root password and press Enter.
9. At the construct a new file system prompt, type y and press Enter to confirm. The system proceeds to format the
USB drive.
10. At the Password prompt, type the root password and press Enter. The Manage Backup Media (immediate) Submenu
is displayed.
Note: If a console is accessing the USB directory, the unmount/eject command will fail.
1. From the PNCBMENU main menu, type 5 and press Enter. For information on accessing the PNCBMENU main menu,
see Accessing the PNCBMENU Main Menu, page 7.
15
Managing the Backup Media
2. Ensure that the console is currently not accessing the USB drive.
4. Type y and press Enter. The path and name of the connected USB drive is displayed.
5. From the Password prompt, type the root password and press Enter. The USB drive is unmounted. It is now safe for
you to remove it from the USB port.
To copy the archived file to a server, type cp -r <name of archived file> /v/emc/<folder location>. For example, cp -r
PNC.backup.20140708-1509 /v/emc/myarchives. To restore the file, copy the file back to the USB device prior to
restoring the data.
To rename an archived file, type mv <name of archived file> <new name of the archived file>. For example, mv
PNC.backup.20140708-1509 myarchive-20140708-1509. To restore a renamed archived file, rename the archive back
to the original name before you restore the data.
1. From the PNCBMENU main menu, type 5 and press Enter. For information on accessing the PNCBMENU main menu,
see Accessing the PNCBMENU Main Menu, page 7.
3. Enter the network location in the following format: <username>@<hostname or IP address>:<port number>/<path
of the folder>. The server will ping the network location to ensure that it can be reached.
If it cannot be reached, a message appears, confirming that you would like to set the network location, regardless
that it cannot be reached. Type y and press Enter to set to confirm. Otherwise, type n and press Enter.
If the network can be reached, the new network location is displayed next to the Set network location menu.
16
Installation
This section describes how to install the PNCBMENU tool.
Requirements, page 17
Requirements
The following items/settings are required prior to installing the PNCBMENU.
PNCBMENU installation file (pbmenuV23pkg_R2.3.1.tar). To obtain the installation file, you can download the file
from the Cisco website (www.cisco.com), or contact Cisco Services. Once you have the installation file, place the
file in the following PNC server directory: /v/emc/tmp.
If data replication is used, see Step 8 in Installing the PNCBMENU, page 18.
Ensure that the PNCBMENU version is compatible with the PNC server version, as described in Table 1 on page 17.
17
Installation
a. Open PuTTY.
b. In the Host Name field, enter the IP address of the PNC server.
d. Click Open.
4. At the /v/emc/tmp prompt, type tar -xvfp pbmenuV23pkg_R2.3.1.tar and press Enter to unpack the tar file.
5. At the /v/emc/tmp prompt, type installPncb.sh and press Enter. A message is displayed confirming that you want
to stop the PNC server and continue with the installation.
7. At the Please enter ROOT Password prompt, type the root password and press Enter. You may be prompted to enter
the root password several times, depending on the server set up and installation. Enter the root password until the
removing device settings prompt (Step 8) or the restart PNC prompt (Step 9) is displayed.
18
Installation
The script will first make a copy of the existing PNCBMENU and PNCBACKUP scripts, and then copy the new scripts
to the v/emc/bin directory. The script will also create/configure the onconfig.usb, onconfig.tape, and onconfig.local
files in the /usr/informix/etc directory. These are used to switch the ontape functionality to saving/recovering data
to /from USB, tape, or LOCAL/LOCALNET.
8. When a root password prompt for “Removing device settings files” is displayed, do one of the following:
If you are installing the PNCBMENU on a slave server of a data replication pair, you must keep the device settings
files by pressing Enter three times to fail the installation. Disregard the warning message that the installation is
incomplete. To complete the installation, restart the PNC server manually:
If you are installing the PNCBMENU on a normal server, or master server of a data replication pair, enter the root
password to remove the device settings files. Proceed to Step 9.
9. A message appears, confirming whether you want to restart the PNC server. Type y and press Enter. The PNC server
starts.
Important: If you are upgrading PNC with PNCBMENU Version 2.x, contact Cisco Services.
1. Ensure that the remote server or location, of where you save the archives, is set up for SSH.
a. Open PuTTY.
b. In the Host Name field, enter the IP address of the PNC server.
d. Click Open.
19
Installation
b. At the Enter file in which to save the key prompt, press Enter to use the default location.
5. Change the file/folder permissions and transfer them to the target location:
a. At the /v/emc prompt, type chmod 700 ~/.ssh and press Enter.
b. At the /v/emc prompt, type chmod 600 ~/.ssh/id _* and press Enter.
c. At the /v/emc prompt, type ssh <userid@IP address/hostname> “mkdir -p ~/.ssh” and press Enter.
d. At the Password prompt, type the password of the remote server or location and press Enter.
f. At the Password prompt, type the password of the remote server or location.
a. At the /v/emc prompt, type ssh <userid@IP address/hostname> “cat ~/.ssh/keys.tmp >>
~/.ssh/authorized_keys” and press Enter.
b. At the password prompt, type the password of the remote server or location and press Enter.
c. At the /v/emc prompt, type ssh <userid@IP address/hostname> “rm ~/.ssh/keys.tmp and press Enter.
d. At the /v/emc prompt, type ssh <userid@IP address/hostname> “chmod 700 ~/.ssh” and press Enter.
e. At the /v/emc prompt, type ssh <userid@IP address/hostname> “chmod 600 ~/ssh/*” and press Enter.
20
Installation
The PNCBMENU immediate restore must be performed on the Active server in a high availability pair. The restored
PowerVu Management Platform data can then be synchronized to the Standby server using high availability.
In a system with both high availability and full data replication, a sync operation from the Master to the Slave server will
update the restored data to the Slave server.
The following procedure assumes that the Active server is also the Master data replication server.
a. Open PuTTY.
b. In the Host Name field, enter the IP address of the PNC server.
d. Click Open.
4. At the $ prompt, type ./v/pnc/pnc/bin/pnc-tomcat.adm stop and press Enter to stop Tomcat.
5. At the $ prompt, type su - emcadmin and enter the password to log in to the PNC server as emcadmin.
6. At the /v/emc prompt, type pnc stop and press Enter to stop the PNC server.
7. As emcadmin, use the PNCBMENU to perform an immediate restore. For more information, see Restoring the PNC
Server, page 11.
8. At the /v/emc prompt, type pnc start and press Enter to start the PNC server.
10. At the $ prompt, type ./v/pnc/pnc/bin/pnc-tomcat.adm start and press Enter to start Tomcat.
11. Log in to the PNC Client and the PowerVu Management Console web GUI to verify that the data is restored.
21
Installation
a. Open PuTTY.
b. In the Host Name field, enter the IP address of the PNC server.
d. Click Open.
a. Log on to the PowerVu Data Replication (PDR) Client. For more information, refer to the Cisco PowerVu Network
Center Control System User Guide.
b. Choose File > Sync Now to start a sync operation from the Master to the Slave server.
22