EtherAssure NetComplete Training - Session 4 - SystemAdmin
EtherAssure NetComplete Training - Session 4 - SystemAdmin
EtherAssure NetComplete Training - Session 4 - SystemAdmin
Training
System
Administration
Training
Session 4 System Administration Training
NetComplete system
Element Management System (EMS)
Ethernet Test and Troubleshooting Solution - NetAnalyst NGT
Ethernet Performance Monitoring (PM)
ESAM (JMEP mediator software)
QT600/vQT probes
JMEP smart SFP, MA100
Packet Portal system
System Manager
PRE (IV mediator software)
PDG
LivePM
MTS3800 / HST3000
Recommended Configuration
PC CPU Core 2 Duo 2.8 GHz or higher
Memory - 2 GB or higher
Disk Storage - At least 40 MB free
Graphic Card - Support 1280 x 1024 resolution with 256 colors or more
Monitor
Keyboard and mouse required
Ethernet T&T
(NGT)
Application Server
When an Active or
NetAnalyst NGT Passive test is
invoked, a single
Session License Session License
seed is used.
License is downloaded from Viavi Central site, requiring JMEP serial number and
initial Commercial order (to get access to the site)
The Viavi Solutions Software Center will use the Redemption Input file to create
an Activation File for the specific JMEPs. The Activation File is also known as
the Redemption Output File.
You will receive an email with the Activation File attached. Save this Activation
File and save it on your local computer
2015 Viavi Solutions, Inc. | Viavi Confidential and Proprietary Information 16
Redemption file example
The available feature and measurement depends on the installation License keys.
Refer to Viavi Support for upgrading your software and your licences
(Optional) Execute this command to wait for the entire system to start :
/ada/startup/npiu_27_cws wait-started
Sample Output:
Sample Output:
Note : some ERROR could be seen, but not affecting your system. Check with your Viavi
support
If you have lost the root password, use the steps in the QT_600 Installation
Guide around page 28 Resetting the root password. This has to be done
from the local console port on the QT.
If you have lost the admin or http passwords, use the steps in the QT_600
Installation Guide around page 29 Configuring the QT-600-10 security
settings. This must be done from the local console port on the QT.
chronyc sourcestats
root@QT600:~> chronyc sourcestats
210 Number of sources = 2
Name/IP Address NP NR Span Frequency Freq Skew Offset Std Dev
==============================================================================
PTP0 0 0 0 +0.000 2000.000 +0ns 4000ms
10.129.181.124 9 5 137m -0.010 0.047 -323ns 74us
chronyc sources
root@QT600:~> chronyc sources
210 Number of sources = 2
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
#? PTP0 0 2 0 10y +0ns[ +0ns] +/- 0ns
^* 10.129.181.124 3 10 377 58 -52us[ -135us] +/- 8880us
chronyc tracking
root@QT600:~> chronyc tracking
Reference ID : 10.129.181.124 (10.129.181.124)
Stratum :4
Ref time (UTC) : Fri Nov 4 11:05:49 2016
System time : 0.000065516 seconds slow of NTP time
Last offset : -0.000082856 seconds
RMS offset : 0.000068960 seconds
Frequency : 47.219 ppm slow
Residual freq : -0.010 ppm
Skew : 0.025 ppm
Root delay : 0.006316 seconds
Root dispersion : 0.001578 seconds
Update interval : 1029.7 seconds
Leap status : Normal
2015 Viavi Solutions, Inc. | Viavi Confidential and Proprietary Information 37
Check QT600 Twamp synchronization
NetAnalyst NGT user adatdce uses a CRON job which runs at 1am which creates a backup tar file of the
following directories and stores the gunzip tarball file at /ada/NA_backups :
0 1 * * * /ada/netanalyst/src/scripts/NANGT_databackup -q -c 2>&1
-/ada/netanalyst
-/data
-Services.xml
-qt600_service_parameters.xml
-test_products
-User stored test scripts (baselines)
-Group stored test scripts (baselines)
-test_setup
-User stored test xml files
To manage the Oracle flash recovery area for your NetComplete system, first review
the following sections and items in the Oracle Database Backup and Recovery User's
Guide, 11g Release 2 (11.2), Part Number E10642-01 provided by the Oracle
Corporation:
The Fast Recovery Area in Chapter 3
Overview of the Fast Recovery Area in Chapter 5, up through table 5-2 and also
How Oracle Manages Disk Space in the Fast Recovery Area
0919 NetComplete 3.8 Administrator Training 2015 Viavi Solutions, Inc. | Viavi Confidential and Proprietary Information 45
Adjusting the size of the flash recovery area - on DS
The size of the flash recovery area can be adjusted by the database administrator by setting the value of
database parameter db_recovery_file_dest_size
(syntax: db_recovery_file_dest_size = integer [ K | M | G ]).
For example, the following commands will list the current value of db_recovery_file_dest_size and then
immediately change its value:
ORACLE_SID=dbsid sqlplus /nolog
connect / as sysdba
show parameter db_recovery_file_dest_size
alter system set db_recovery_file_dest_size=54g;
Exit
After changing the value in the database, change the value of the corresponding NetComplete
system parameter in $BASE_DIR/parms/NTCdbserver_parms.
On the EDS, using an editor, update system parameter NTC_DB_FLASH_SIZE. In this example, the value
would be set to 54
Backup script could be ordered as Service to save and export to other server :
To restore a backup:
Stop MS/AS/DS, using /ada/startup/npiu_ini stop
Log as adatdce on DS Server
If Linux OS :
tar zxvf BackupNTCdb_YYYYMMDD.tar.gz
If SunOS :
gtar -zxvf BackupNTCdb_YYYYMMDD.tar.gz
Restart DS/AS/MS, using /ada/startup/npiu_ini start
2015 Viavi Solutions, Inc. | Viavi Confidential and Proprietary Information 48
Daily Backup of Oracle
To create a backup
Log as adatdce on DS Server
If Linux OS :
tar zcvf Backup_DiagAdminOracle_YYYYMMDD.tar.gz /ada/NTCdb/diag
/ada/NTCdb/admin
tar zcvf Backup_fraOracle_YYYYMMDD.tar.gz /ada/db1/flash_recovery_area
YYYYMMDD is the current day date
To restore a backup:
Stop MS/AS/DS, using /ada/startup/npiu_ini stop
Log as adatdce on DS Server
tar zxvf Backup_DiagAdminOracle_YYYYMMDD.tar.gz
tar zxvf Backup_fraOracle_YYYYMMDD.tar.gz
Restart DS/AS/MS, using /ada/startup/npiu_ini start