1543-Apr9010578uen C
1543-Apr9010578uen C
Copyright
Disclaimer
The contents of this document are subject to revision without notice due to
continued progress in methodology, design and manufacturing. Ericsson shall
have no liability for any error or damage of any kind resulting from the use
of this document.
Contents
1 About This Document . .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. . 3
1.1 Purpose ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. . 3
1.2 Target Group .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. . 3
1.3 Prerequisites . .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. . 3
1.4 Typographic Conventions . ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. . 3
2 VNF-Lifecycle Manager System .. .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. . 4
3 Configuration Information . ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. . 5
3.1 OSS-RC Specific Configuration . ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. . 5
3.2 Cloud Resources Orchestration .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. . 7
4 License Installation . ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 13
5 Administering Workflows .. ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 13
5.1 Install Workflows . ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 13
6 System Backup and Restore . .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 14
6.1 Backup . ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 14
6.2 Changing Automatic Backup Schedule Configuration . .. ... ... .. ... .. ... ... .. 16
6.3 Restore . ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 18
7 Standard Maintenance Procedures ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 19
7.1 File System Maintenance . ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 19
7.2 Log Files and Dump Locations on Virtual Machine .. ... .. ... ... .. ... .. ... ... .. 21
7.3 Database Administration Tasks .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 22
7.4 Certificate Maintenance . .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 24
8 Logging and Tracing ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 24
A4 XSEIF R6
Ericsson Internal
SYSTEM ADMINISTRATION GUIDE 2 (30)
Prepared (Subject resp) No.
8.1 View Jboss Server Logs . .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 24
8.2 Add a log category in the JBOSS instance . .. ... ... .. ... .. ... ... .. ... .. ... ... .. 24
8.3 Change the log level of an existing log category in JBOSS Instance .. ... .. 25
9 Corrective Maintenance . ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 27
9.1 Unable to Connect to cloud manager . ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 27
9.2 ECM Certificate Error ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 27
10 Troubleshooting ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 28
10.1 VNF Lifecycle Manager UI Not Working . ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 29
11 Terminology . ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 29
12 References .. .. ... ... .. ... .. ... ... .. ... .. ... ... .. ... ... .. ... .. ... ... .. ... .. ... ... .. 30
Ericsson Internal
SYSTEM ADMINISTRATION GUIDE 3 (30)
Prepared (Subject resp) No.
1.1 Purpose
This document contains information for System Administration tasks for VNF
Lifecycle Manager (VNF-LCM) application in the OSS-RC system
The intended target groups for this document are the following:
• System Administrator
1.3 Prerequisites
Readers of this document must have root authority to perform the tasks listed. It
is also assumed that the readers of this document are familiar with the following:
• Is familiar with:
0 OSS-RC
0 PostgreSQL
0 VNF LCM Services - Other supporting services like Auto Start Service
are also deployed in JBOSS server. Auto Start Service listens to
OSS-RC Alarms and starts a workflow automatically on receipt of an
alarm matching a trigger criteria.
• VNFLAF-Services
• VNFLAF-DB
3 Configuration Information
VNF Lifecycle Manager need to connect with the OSS-RC to perform some
operations while executing the workflow.
/ericsson/pib-scripts/etc/config.py <read/create/update>
--app_server_address <hostname>:8080 --name=<paramName>
--value=<paramValue> --type=<paramType> --scope=GLOBAL
Use the command explained in sec. 3.1.1 to update the cloud Configuration
Parameters.
To install the certificate if it's not installed or expired; follow the steps mentioned
1. Using openssl utility download the cloud manager certificate from the
server
Note:
The command stores certificate under /tmp/ folder with file extension .cer,
this same file is used while installing the certificat in next steps
3. Use keytool util to import the certificate using the command $JAVAPA
TH/keytool -import -alias ca -file /tmp/ecm_cert.cer
-keystore /usr/java/jdk*/jre/lib/security/cacerts
-storepass changeit Here $JAVAPATH is the java bin directory path
For example:
Owner: [email protected],
CN=ecmapp.domain.com, OU=ECM, O=Ericsson, L=Piscataway,
ST=NJ, C=US
Issuer: [email protected],
CN=ecmapp.domain.com, OU=ECM, O=Ericsson, L=Piscataway,
ST=NJ, C=US
Certificate fingerprints:
MD5: 45:F4:EB:15:13:D0:AF:26:01:0B:4A:10:BE:BF:2A:12
SHA1: DE:A4:77:15:8A:43:4D:62:29:FA:9D:83:CC:D0:E6:BE:
D9:E5:FC:AE
SHA256: 11:A7:AD:B9:C1:20:BE:00:F4:25:3C:4D:18:5F:59:2
2:E3:52:CE:13:D4:77:20:7F:94:30:86:20:96:24:AF:E4
Version: 1
• For CEE :
3. Output:
Note: If certificate is not installed the output of the command results with no
details of certificate, on such case install the certificates by run steps
mentioned in sec. 3.2.2.
For example:
Owner: [email protected]
on.se, CN=ecmapp.domain.com, OU=ECM, O=Ericsson,
L=Piscataway, ST=NJ, C=US
Issuer: [email protected]
son.se, CN=ecmapp.domain.com, OU=ECM, O=Ericsson,
L=Piscataway, ST=NJ, C=US
Alias name: ca
Creation date: Apr 12, 2016
Entry type: trustedCertEntry
Owner: [email protected],
CN=ecmapp.domain.com, OU=ECM, O=Ericsson, L=Piscataway,
ST=NJ, C=US
Issuer: [email protected],
CN=ecmapp.domain.com, OU=ECM, O=Ericsson, L=Piscataway,
ST=NJ, C=US
Serial number: c74cdb4c97942206
Valid from: Mon Jul 06 04:53:11 EDT 2015 until: Tue Jul
05 04:53:11 EDT 2016
Certificate fingerprints:
MD5: 45:F4:EB:15:13:D0:AF:26:01:0B:4A:10:BE:BF:2A:12
SHA1: DE:A4:77:15:8A:43:4D:62:29:FA:9D:83:CC:D0:E6:BE:D9
:E5:FC:AE
SHA256: 11:A7:AD:B9:C1:20:BE:00:F4:25:3C:4D:18:5F:59:22:E
3:52:CE:13:D4:77:20:7F:94:30:86:20:96:24:AF:E4
Signature algorithm name: SHA1withRSA
Version: 1
Note: User must provide the correct alias name of the certificate, in the
example use, the value used is "ca" which is given at the time of
installation of certificate.
Then follow the steps mentioned in the sec. 3.2.2 to install the new certificate.
4 License Installation
Sentinel license be installed for the new VNF-Lifecycle Manager feature on
OSS-RC server.
Steps to check license
If the license is installed then command will result in the output as follows
5 Administering Workflows
• For installation, run the following command on the RPM which has the
workflows
For Example ,
For Example
Ericsson Internal
SYSTEM ADMINISTRATION GUIDE 14 (30)
Prepared (Subject resp) No.
cp /tmp/ERICvEPG-workflows_CXP12345678-1.0.1.rpm
/vnflcm-ext/backups/workflows/
• To check , what all workflow RPMs are already installed and their versions
, run the following command
For Example ,
ERICvEPG-workflows_CXP12345678-1.0.1-1.noarch
6.1 Backup
The standard cron job will be used to backup the VNF Lifecycle Manager data.
Each of vnflaf-service and vnflaf-db VMs have their own cron job.
• config : This will contain compressed file which has configuration files.
cd /opt/ericsson/ERICvnflafsgservice_CXP9032544/scrip
ts/admin
Ericsson Internal
SYSTEM ADMINISTRATION GUIDE 15 (30)
Prepared (Subject resp) No.
WEEKS_TO_KEEP=5
Caution!
The backups are stored on the same disk as where the current (or live) data of
the system is stored, hence it is highly recommended to transfer the backup
files periodically to an external storage. This will prevent loss of backup data on
disk failure.
Log Files
For each session, a log file is created. This log file is stored in a default location
/vnflcm-ext/current/logs/. The log holds all important actions taken
during the backup and restore process. It can be consulted after each run, to
be sure that the backup is finished as required.
In case of failure while taking the backup , user can check log file to see if there
are any "ERROR" message logged
For example: If Database back up failed due to some error, log file contains
message"[!!ERROR!!] Failed to produce database backup for
<<dbname>>
Do!
Flow for Manual Backup
cd /opt/ericsson/ERICvnflafsgservice_CXP9032544/scrip
ts/admin
./vnflafservices_backup.sh
• Note the directory in which the backup has been taken, for example ,
/vnflcm-ext/backups/vnflcm-2016-09-09-12-16/ shown above.
cd /opt/ericsson/ERICvnflafpersistencedb_CXP9032663/sh
./vnflafdb_backup.sh /vnflcm-ext/backups/vnflcm-2016-0
9-09-12-16/
Warning!
If additional workflows are installed on the server while backup activity is in
process, it may result in inconsistencies.
The system admin can change the frequency or the cron jobs' configuration
0 0 * * 0 /opt/ericsson/ERICvnflafsgservice_CXP9
032544/scripts/admin/vnflafservices_backup.sh 2>>
/vnflcm-ext/backups/logs/vnflaf_backup.err
Refer man page of crontab for valid options available man crontab
0 0 * * 0 /opt/ericsson/ERICvnflafsgservice_CXP9
032544/scripts/admin/vnflafservices_backup.sh 2>>
/vnflcm-ext/backups/logs/vnflaf_backup.err
crontab -e and edit the field 0 0 * * 0 , make the same changes as done
for vnflaf-services VM in step 3 above
Warning!
The cron jobs for vnflaf-service VM and vnflaf-db VM should be configured to
have the exactly same frequency. If a change in the frequency configuration is
made in the cnflaf-service VM, same change should be made in vnflaf-db VM.
Ericsson Internal
SYSTEM ADMINISTRATION GUIDE 18 (30)
Prepared (Subject resp) No.
6.3 Restore
This section describes the steps to be followed to restore the VNF LAF system
that was previously backed up.
Attention!
Before restore is performed , please be aware that the current state of system
like active workflow instance state, system configuration modified post previous
backup etc. will be lost on applying the restore.
It is recommended to ensure that there are no active workflow instances
executing and take a manual back up of the current system so that, it is
possible to roll back to current state if required.
See Manual Backup for steps to take backup
Do!
Flow for Restore
cd /opt/ericsson/ERICvnflafpersistencedb_CXP9032663/sh
Executing the above command it will restore the database backup taken
on date 2016-09-19 , taken at 12:16 hours.
cd /opt/ericsson/ERICvnflafsgservice_CXP9032544/scrip
ts/admin
Executing the above command, it will restore the services backup taken on
date 2016-09-09 , taken at 12:16 hours.
Attention!
Always provide same backup directory path to restore both vnflaf-db and
vnflaf-services otherwise there may be inconsistencies.
After successful execution of restore script, the System must be restored back
up and all the required services should be up and running.
This section describes the regular system administration tasks with regard to
file system maintenance and how often they are to be performed. It is important
that any file system is not allowed to reach 100% capacity as it can cause
system instability/outage.
Ericsson Internal
SYSTEM ADMINISTRATION GUIDE 20 (30)
Prepared (Subject resp) No.
Prerequisites
• The root password has already been changed in the installation process
and is known to System Administrator
The system administrator has checked and verified that the file system usage
is less than 80%.
Steps
From the console , execute df -lh command to check free disk space
/dev/mapper/VolGroup00-LogVol00
[root@vnflaf-services ~]#
From the console, execute df -lh command to check free disk space
/dev/mapper/VolGroup00-LogVol00
[root@vnflaf-db ~]#
3. If any file system has over 80% usage, then the system administrator must
clarify that the disk space usage is consistent with expectations otherwise
action needs to be taken to prevent the file system to continually grow
Context Description
Prerequisites
• The root password should have already been changed in the installation
process and must be known to System Administrator
Expected Result
The system administrator is able to view all generated logs and application
dump files. If the result is not expected , contact local Ericsson support.
Details
JBOSS Logs
As standard, most 3PP and system logs are available locally in /var/log
Along with this file two more logs file will be created with .out and .error
extensions. The .out extension file contains output information logged by the
script exection and .error contains any errors related to this task.
Dumps
All application memory and core dump files are located in /ericsson/oss/
dumps/
Ericsson Internal
SYSTEM ADMINISTRATION GUIDE 22 (30)
Prepared (Subject resp) No.
Context Description
This section describes the regular system administration tasks with regard to
database maintenance and how often they are to be performed. It is important
that database is monitored on a regular basis to have efficient database
performance.
Prerequisites
• The password to vnflaf-db VM and user accounts are known to the System
Administrator.
Expected Result
• Run su -
postgres
• Change to the
PostgresSQL bin
directorycd /opt/r
h/postgresql92/
root/usr/bin
This section describes the tasks related to the VNF Lifecycle Manager Licenses
and Certificates validity and expiry check
The latest jboss server logs of applications deployed are logged on to the log
file by name server.log. This log file can be read or viewed from path
/ericsson/3pp/jboss/standalone/log/.
[standalone@localhost:9999 /] /subsystem=logging/logger=
com.ericsson.oss.service.vnflaf:add(level=DEBUG)
[standalone@localhost:9999 /] /subsystem=logging/logger=
com.ericsson.oss.service.vnflaf:read-attribute(name=lev
el)
{
"outcome" => "success",
"result" => "DEBUG"
}
[standalone@localhost:9999 /] /subsystem=logging/logger=
com.ericsson.oss:read-attribute(name=level)
{
"outcome" => "success",
"result" => "INFO"
}
[standalone@localhost:9999 /] /subsystem=logging/logger=
com.ericsson.oss:write-attribute(name=level,value=DEBUG)
[standalone@localhost:9999 /] /subsystem=logging/logger=
com.ericsson.oss:read-attribute(name=level)
{
"outcome" => "success",
"result" => "DEBUG"
}
Ericsson Internal
SYSTEM ADMINISTRATION GUIDE 26 (30)
Prepared (Subject resp) No.
Note: It should be noted that recommended log level is INFO, when changing
to DEBUG for troubleshooting scenarios it is advised to revert to INFO
once troubleshooting is complete.
Currently , below listed logger categories are supported for which the log level
can be modified
• com.arjuna
• org.apache.tomcat.util.modeler
• org.jboss.as.config
• sun.rmi
• jacorb
• jacorb.config
• com.ericsson
• com.ericsson.oss
• com.ericsson.oss.services.vnflaf
• com.ericsson.nms
• org.camunda
• org.jgroups.protocols.UDP
• org.jgroups
• org.openliberty.openaz
• com.ericsson.oss.itpf.NETWORK_STATUS_LOGGER
• com.ericsson.oss.itpf.COMMAND_LOGGER
• com.ericsson.oss.itpf.ERROR_LOGGER
• com.ericsson.oss.itpf.EVENT_LOGGER
• com.ericsson.oss.itpf.SECURITY_EVENT_LOGGER
Supported Log Levels
List of log levels that are currently supported for log categories:
• all
• trace
Ericsson Internal
SYSTEM ADMINISTRATION GUIDE 27 (30)
Prepared (Subject resp) No.
• debug
• info
• warn
• error
• fatal
9 Corrective Maintenance
If Workflow are unable to connect to cloud manager (e.g. ECM) and are failing,
the /ericsson/3pp/jboss/standalone/log/server.log file will have
the ERROR logged , see for the ERROR string as follows
As a corrective action, check ECM host entry is added to hosts file. The hosts
file is present in the location:-
/etc/hosts
During the execution of Workflows which invokes ECM Rest call, there is a
possibility of failure in case valid ECM Certificate is not installed in jboss.
Ericsson Internal
SYSTEM ADMINISTRATION GUIDE 28 (30)
Prepared (Subject resp) No.
The invalid certificate error can be found in the server.logs of JBoss server .
The sample ERROR log to be checked in logs is as follows
To resolve the ECM invalid or no certificate found error, please follow the steps
mentioned in section 3.2.2 Install ECM Certificate
10 Troubleshooting
This chapter describes how to extract data that needs be sent to the local
Ericsson help desk. In the events of faults or problems being encountered with
the feature that cannot be solved as per the previous chapter.
2. Reproduce the fault after enabling the respective application logging level
to debug as described in this document.
3. Forward the/ericsson/3pp/jboss/standalone/log/server.log
file and the content of problem description using the normal fault reporting
procedure.
4. For workflow failure , collect the web console log, by selecting the
Tools->Web Developer->Web Console option in firefox browser as shown
as follows.
Ericsson Internal
SYSTEM ADMINISTRATION GUIDE 29 (30)
Prepared (Subject resp) No.
5. Copy the console log shown by first selecting the Console tab, right clicking
and selecting option copy.
11 Terminology
Table 7 Commonly Used Terminology list
12 References