Cisco Systems 10200 Telephone User Manual


 
3-22
Cisco BTS 10200 Softswitch Operations and Maintenance Guide, Release 6.0.x
OL-16000-07
Chapter 3 Monitoring and Backing Up the BTS
Exporting Provisioned Data
Step 2 Schedule the FTP process.
a. Do this on the primary and secondary EMSs:
Log in as
oracle, or su – oracle and enter the following command: crontab –e
b. Add the following line to the Oracle crontab on the primary EMS.
#
# FTP backup files from primary (optic
al1) to /opt/backup directory of ftpserver.
#
0 6 * * * /opt/oracle/admin/scripts/ora_ftp_backup.ksh optical1 ftpserver /opt/backup >
/opt/oracle/tmp/ora_ftp_backup.log 2>&1
c. Replace ftpserver with the correct host name of the remote FTP server. Replace /opt/backup with
the correct target directory name, if they are different.
Note The 0 6 *** /opt/oracle/admin/scripts/ora_ftp_backup.ksh ………
ora_ftp_backup.log 2>&1 are all typed in the same line.
d. Edit the oracle crontab on secondary EMS site by replacing optical1 with optical2.
Step 3 Verify the backup files, enter:
cd /opt/oraback EMS systems
cd /opt/backup Remote FTP system
Using SFTP to Setup File Transfer
The following steps generate an SSH key from the primary EMS. Key files are copied to the secondary
EMS and remote SFTP server. On the remote SFTP server the "oracle" user is created for login.
Step 1 Generate SSH secure key from primary EMS:
a. Login to the primary EMS:
# su - oracle
# /opt/BTSossh/bin/ssh-keygen -t rsa
b. Generating public/private rsa key pair.
c. Enter file in which to save the key (/opt/orahome/.ssh/id_rsa).
d. Enter passphrase (empty for no passphrase).
e. Enter same passphrase.
Your identification has been saved in /opt/orahome/.ssh/id_rsa.
Your public key has been saved in /opt/orahome/.ssh/id_rsa.pub.
The key fingerprint is: d8:4f:b1:8b:f4:ac:2f:78:e9:56:a4:55:56:11:e1:40 oracle@priems79
f. Enter:
# ls -l /opt/orahome/.ssh
-rw-------1 oracleorainst1675 Mar 10 15:42 id_rsa
-rw-r--r--1 oracleorainst397 Mar 10 15:42 id_rsa.pub
Step 2 From the secondary EMS, sftp both "id_ssa" and "id_rsa.pub" files from the primary EMS to the
secondary EMS /opt/orahome/.ssh directory. Make the files with "oracle:orainst" ownership.
Step 3 Login to the secondary EMS: