Ot2.2 SD Maintandsupervi 8AL90511USAD 2 en
Ot2.2 SD Maintandsupervi 8AL90511USAD 2 en
Legal notice:
Disclaimer:
While efforts were made to verify the completeness and accuracy of the
information contained in this documentation, this document is provided “as
is”. To get more accurate content concerning Cross Compatibilities, Product
Limits, Software Policy and Feature Lists, please refer to the accurate
documents published on the Business Partner Web Site.
The CE mark indicates that this product conforms to the following Council
Directives:
- 2014/53/EU for radio equipment
- 2014/35/EU and 2014/30/EU for non radio equipment (including wired
Telecom Terminal Equipment)
- 2014/34/EU for ATEX equipment
- 2011/65/EU (RoHS)
Chapter 1
Reference documents
Chapter 2
Overview
Chapter 3
System Administration
Chapter 4
Maintenance portal
Chapter 5
Server monitoring
Chapter 6
Administration and troubleshooting commands
clean_logs_and_restart_udas.sh .................................................................... 73
dumpxs ........................................................................................................... 73
This document describes the tools and interfaces for the system administration, the
management and/or troubleshooting of the OpenTouch and its ecosystem (devices, users).
This chapter is solely concerned with ensuring that SLES is properly configured and that the
required services on the network are available to allow correct operation.
This does not cover the installation of SUSE Linux Enterprise Server and KVM packages on
the server, nor the process of ensuring compatibility with the system application software.
The installation of KVM virtualization packages requires SLES 12 (or higher) as operating
system. To install the SLES operating system and KVM packages, refer to the technical
documentation of the manufacturer (see:
https://www.suse.com/documentation/sled-12/pdfdoc/book_sle_admin/book_sle_admin.pdf).
The SLES OS is customized by ALE International. The release notes, available on the DVD,
allows to verify that the DVD is compatible for installation.
System administration features are:
- Installation of all the specific packages : otms, otmc, otbe, otvxxx, ost64, oms, oxesw, otas
- Network installation via PXE and NFS, compatible with ALEDS
- First login configuration (password and network)
- Boot Dvd installation
- Hardening
- Dependency integration for OpenTouch applications
- Firewall
- Coredump management
Only are described below:
- Installing packages
- Configuring the firewall
4.1 Overview
The aim of the maintenance portal is to provide a single interface for OpenTouch maintenance
and troubleshooting commands.
The maintenance portal provides:
- Clear identification and description of maintenance and monitoring operations
- Easy execution of the tools
Note:
The Appguard control center is compatible with Internet Explorer and Mozilla Firefox, Safari, Opera and
Google Chrome. On Chrome, a warning may be displayed when accessing the application (the NPAPI
plugin support has ended). Java release 7 (or later version) is mandatory.
4. Expand the tree structure to: System services > Security > SNMP Agent
5. Configure SNMP agent parameters:
• Engine ID: displays the SNMP Engine ID default value (read-only)
• Custom data engine ID: enter the OpenTouch node name
• SNMP agent port: displays the port number used by the OpenTouch node as SNMP
agent (read-only)
• Community name: enter the SNMP community name (defining the relationship
between the SNMP server and SNMP agent)
• V3 user name: enter the SNMP agent login name required for authentication with the
SNMP server
• V3 user password: enter the SNMP agent password required for authentication with
the SNMP server
• V3 user passphrase: enter the passphrase
6. Click the validate icon to apply your modifications
Note:
SNMP v2c may also be used.
This command returns everything that has been defined as SNMP data.
Filtering is possible. For example, to retrieve statistics on voice mail usage on a system using
SNMP v2c, the command:
/usr/bin/snmpwalk -v2c -c internal localhost .1.3.6.1.4.1.1729.200.149.1.1.114.112
can return:
SNMPv2-SMI::enterprises.1729.200.149.1.1.114.112 = Gauge32: 0
The OpenTouch generates alarms whenever fault conditions arise in the system.
These alarms can be notified to the OmniVista 8770 network management systems and/or
external hypervisors, using SNMP traps.
To enable alarm notification to the OpenTouch:
- Configure the OpenTouch server SNMP agent as specified: SNMP agent configuration
- Configure the OpenTouch server to send its alarms to the OmniVista 8770
- Configure alarm reception on the OmniVista 8770
5.3.1 Configure the OpenTouch server to send its alarms to the OmniVista
8770
1. Launch the OmniVista 8770 client and open the Configuration application
2. From the Networks tab, expand the tree structure and select the OpenTouch node
3. Access the contextual menu and click Configure
The OpenTouch configuration window opens
4. Expand the tree structure to: Eco system >IT Server
5. Access the contextual menu and select Create > SNMP Server
6. In the properties area, select the General tab and configure the following parameters:
• Display name: enter the name of the SNMP server
• FQDN: enter the FQDN of the OmniVista 8770 application
7. In the properties area, select the Configuration tab and configure the following SNMP
agent parameters:
• v.3 User name: enter the SNMP agent login name
• v.3 User password: enter the SNMP agent password
• v.3 User privacy passphrase: enter the passphrase
8. Click the validate icon to apply your modifications
Reminder:
Several SNMP hypervisors can be configured in the OpenTouch, making it possible to send alarms to
both an OmniVista 8770 and an external hypervisor.
5.4.1 Overview
The supervision tool provides supervision and maintenance features via a web interface.
You can access the Supervision tool:
- From a web browser: enter the address:
http://<server FQDN>/WebAdmin
Note:
If SSL is enabled you are automatically redirected to:
https://<server FQDN>/authenticationform/jsp/logonWeb.jsp
- From the OmniVista 8770 application: in the configuration window, right-click an
OpenTouch node and select WBM
A login/password is required to access the web admin home page. Access is limited to
declared OpenTouch administrators associated to WBM application.
Creating and modifying an administrator account can be performed:
- On the OmniVista 8770 (see the OpenTouch administrator manual for more details)
- On the web admin interface: menu System services > Security > Administrator
From the home page, you can access the pages to display:
- System status
- Application status
5.4.2 Description
The Supervision window is divided into panes. The left hand panes contains links to the
options: Home (for the homepage and login/logout), System status, Application status, and
Alarms.
6.1 listtool.sh
listtool.sh displays the available maintenance commands.
[root@tssf161 ~]# listtool.sh
Information Description
listerm.sh Displays user and devices information
getVersion Shows host and VM applications software versions
getHardInfo Shows host hardware information
getaluid Displays the ID of the hardware platform, used for the signature
of licenses
collectLicenses Collects all OpenTouch core, OmniPCX Enterprise VM and VM
licenses into one archive
Maintenance Description
ot-config.sh Toolbox grouping: HA activation; storage, ntp, dns forward con-
figuration; rehosting launching
otbr.sh Backup restore tool
reset-firstsetup.sh Resetting to factory setup
switchover.sh Manage the inactive partition
oxe_cmd Manage and give information on the OmniPCX Enterpriseand
its virtual machine
management_cmd Manage and give information on the OmniVista 8770 and its
virtual machine
oms_cmd Manage and give information on the OXE-MS virtual machine
CertificateTool.sh Select the level of network security for the OpenTouch
prepareUsbdisk Prepare and format the USB disk used for backup/restore
Troubleshooting Description
checkAll.sh This tools runs all other check tools and shows the statuses of
services
service Display the status, and start or stop a component
serverstatus Shows the High Availability status
ot-moni.sh Diagnosis and information on the host (partitions, load...)
checkClock.sh Diagnosis and information collection on Clock and NTP
checkCertificates.sh Diagnosis and information collection on Certificates
Troubleshooting Description
checkLicensing.sh Diagnosis and information collection on Licensing
checkdns Verifies the DNS configuration of the host
raidstatus_cmd Shows HDD raid status on physical servers
checkSystem.sh Checks the consistency between the bics.conf file and the
system configuration
Log Description
dla.sh Sets log level, resets and clears logs for a specific feature
loglevel.sh Sets the level of traces for several infra component
Logzipper.bin Collects the logs
netcapture.sh Manages (start, stop, list, zip, clean) tcpdump network traces
getSupport Collects logs from OpenTouch commands, syslog and applica-
tions including OpenTouch Business Edition VMs
Components Description
lmutil FlexLM (license service) management
See: lmutil .
routingConfigConsole.sh Martin: Collects, displays, changes and resets routing configur-
ation for a user
See: RoutingConfigConsole.sh
tsa_maintenance OTS: Gets information, used for standard users
clean_logs_and_restart_udas UDAS: Clean logs and restart
.sh
checkAcapi.sh Check if Acapi services are running
dumpxs.sh Configuration for extensible services
6.4.1 listerm
The listerm command is used to display information about users and devices. It can:
1. Dump user information
2. Dump device information
3. Dump users routing information
4. Dump current calls information
5. Dump SIP registration information
6. Dump Current telephony and routing events
The listerm command interfaces to interact with bash scripts.
The arguments for this command (listerm.sh [options]) are:
- -a or --all: Display the information about all users, devices, routing profiles and current
calls
- -c or --calls: Display the information about all current calls
- -d or --devices: Display the information about all devices
- -e or --events: Display the telephony and the routing events concerning a user
- -F or --filter: Use a search filter on a given information
- -h or --help: Show the help guide
- -r or --routing: Display the routing rules
- -s or --sip: Display the SIP registration information
- -u or --users: Display the information about all users
When no argument is sent to listerm, the menu mode starts. This mode allows the user to
perform advanced operations in a more interactive interface.
[root@otms-192 listerm]# ./listerm.sh
- 1 ALL
- 2 USERS
- 3 DEVICES
- 4 ROUTING
- 5 CALLS
- 6 EVENTS
- 7 SIP
The type of information can be selected to dump all information or to select a filter depending
of the type of information selected.
6.4.2 getVersion
This command shows host and VM applications software versions. Login as root.
The arguments for this command are:
- host: Get the application versions of the host
- applioxe Get the application versions of the OXE Virtual Machine
- applioms Get the application versions of the OMS Virtual Machine
- appliwin Get the application versions of the Management Virtual Machine
- all Get all the application versions
6.4.3 getHardInfo
The getHardInfo command shows hardware information. Login as root.
The arguments for this command are:
- all Get all the harware and id information
- hard Get hardware information
- id Get all id
- aluid Get only aluid
Note:
getHardInfo aluid command is same as getaluid
[root@tssf161 bin]# getHardInfo all
AluID
Unchanged ALUID=11841D789BD7EBBA4F0003604786C229
UtcDate=2014-09-26_13:20:56 (Aluid was set on utcDate=2014-09-15_11:16:23)
ID
- UUID: 35353736-3739-5A43-3334-313735424259
- Mac address: 40:A8:F0:75:BF:84
Server Type
- Manufacturer: HP
- Product Name: ProLiant DL320e Gen8
Chassis
- Manufacturer: HP
- Type: Rack Mount Chassis
Processor
- Family: Xeon
- Manufacturer: Intel
- Version: Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz
Memory
- Total Size: 19 GB, 19952 MB
Hard Drives
- Total Size: 1000.1 GB RAID
- 1 x RAID bus controller: Intel Corporation 6 Series/C200 Series Chipset
Family SATA RAID Controller (rev 05)
- 1 x RAID bus controller: Hewlett-Packard Company Smart Array Gen8
Controllers (rev 01) Ethernet
- 2 x Ethernet controller: Broadcom Corporation NetXtreme BCM5717 Gigabit
Ethernet PCIe (rev 10) USB
- 1 x USB controller: Intel Corporation 6 Series/C200 Series Chipset Family
USB Enhanced Host Controller #2
- 1 x USB controller: Intel Corporation 6 Series/C200 Series Chipset Family
USB Enhanced Host Controller #1
- 1 x USB controller: Hewlett-Packard Company Integrated Lights-Out
Standard Virtual USB Controller (rev 02)
6.4.4 getaluid
This command shows the ALU ID of the hardware platform.
[root@tssf161 bin]# getaluid
Unchanged ALUID=11841D789BD7EBBA4F0003604786C229
UtcDate=2014-09-26_12:51:05 (Aluid was set on utcDate=2014-09-15_11:16:23)
USB dongle control is not required anymore for the OpenTouch Business Edition on the
pre-integrated appliance server as of release 2.0 (new eLP declaration required for
OpenTouch Business Edition installed base).
This evolution of the licensing control for OpenTouch Business Edition also applies to an
OpenTouch Multimedia Services configuration pre-integrated on the appliance server:
OpenTouch Multimedia Services as of release 2.0 also uses the ALU ID (instead of MAC@
control in previous OpenTouch releases).
Notes:
- OTBE-V or OTMS-V configuration still require the usage of the USB dongle for licensing control
- When the OpenTouch Multimedia Services/OpenTouch Business Edition/OTMC server is ordered
directly from an HP reseller, the server is delivered with raw data, on which you must:
a. Set the BIOS parameters
b. Install from scratch the version and hotfix required
c. At next restart, cancel the post install and recover the ALU_ID using the script getaluid
6.4.5 collectLicenses
This tool gathers all OpenTouch Business Edition licenses (OpenTouch core, OXE VM,
Management VM, internal OFS) and stores them in one archive, such as:
/tmp/licenses-hostname-date.zip.
Licenses for other applications are not collected by this tool.
A <file> can be used to specify the output zip file path and name, for example:
/var/backup/licenses.zip
This archive can be used either for license backup, or to facilitate ordering of add-on of
features.
6.5.1 ot-config.sh
This command is a toolbox grouping various commands:
Arguments Description
--ha_active Enables High Availability (HA). The backup server has to be
operational
This command executes a procedure to verify the associated
services/systems for HA requirements and activates HA if
everything is OK
--recovery primary Adds a new server with the primary role (after it has crashed).
The server has to be operational
--recovery backup Adds a new server with the backup role (after it has crashed).
The server has to be operational
Arguments Description
--storage [help] Configures the storage media (local disk, USB disk or NFS)
for the backup/restore feature. The help argument displays
the other options of the storage action
Caution:
- Backup on the local disk is not recommended for the
OpenTouch Business Edition (if the system crashes, the
backup crashes with it).
- In a virtualized configuration with no /var/backup/ parti-
tion, backup must not be performed on the local disk.
See: Examples of backups (ot-config.sh --storage)
--ntp Configures the NTP feature on the host
See: Example of ot-config.sh --ntp
--forward Configures and activates DNS forwarders on the host
--dns Configures the DNS on the host and VMs in an OpenTouch
Business Edition
--rehost Rehosts the system
See: ot-config.sh --rehost
--rehost –suspend Rehosts the system and suspends operations in order to
move the servers to another place
See: ot-config.sh --rehost
--restart_ups Restarts the UPS services (when the OpenTouch is installed
with UPS
--cc_active Enables or disables the Contact Center applications on the
management VM and OmniPCX Enterprise VM
See: ot-config.sh --cc_active
--8770_active In an HA configuration, starts the OmniVista 8770 in local VM
and stops the remote OmniVista 8770.
When this command is launched, the remote OmniVista 8770
switches to standby. The local OmniVista 8770 switches to
active and a restore operation is launched with the last
backup, saved in: C:\8770_ARC\TWIN_BACKUP(rehosting
of the data is automatic, which means that all information with
hostname or IP address of the previous active OmniVista
8770 are modified in the database).
--oms_active Enables the OMS
When the OXE-MS is not activated at post-installation, it is
possible to activate it later with this command
--passwords Re-enters the server passwords
--external_flex Switches from an internal to an external flex `server
--check_system Checks the state of the system
This command is used to check the state of the system, the
host in case of HA (uses the serverstatus command), the
VMs in case of OpenTouch Business Edition (use the check
option of each VM script, such as: management_cmd,
oms_cmd or oxe_cmd).
--splitbrain Selects the preferred server in case of split brain
Arguments Description
--cloud Configures the cloud connect
Note:
The ot-config.sh--ntp command updates automatically the bics.conf file
configuration, the new remote IP address, the new router address and the new DNS may
not be reachable) at the moment when the rehosting operation is launched. You need to
physically move the servers from one location to another.
2. Launch the command: ot-config.sh --rehost--suspend. During this operation the
server (both servers in case of HA) are stopped.
3. Physically move the server and restart it in the new environment. The process resumes at
the step where it stopped.
Caution:
Once the process is launched there is no possibility for roll-back (cancellation of the rehosting
operation).
When rehosting restarts, the new network environment must operational for the operation to
finish successfully.
This can prove useful for lab tests before installing servers in a customer environment.
6.5.1.3.2 Status messages displayed on the console during rehosting operations
At system login, a message is displayed if rehosting is not over with an approximate remaining
time.
Previous rehosting is not ended
Time remaining less than: xx mn
WARNING: Rehosting is not ended. It is recommended to wait
At the end of the process, if all is OK, a message is displayed via the wall on all consoles:
Broadcast message from [email protected] (pts/4) (Tue Oct 29 13:16:29 2013):
INFORMATION: Rehosting is ended. You can execute any command.
At the end of a timeout of 75 minutes, if the operation is not finished a message is displayed
via the wall on all consoles. It is recommended to stop the consoles and verify operations. This
does not mean that all operations aborted, you may check each VM log files to find out where
a problem may have occurred:
Broadcast message from [email protected] (pts/4) (Tue Oct 29 10:53:30
2013):
WARNING: Rehosting delay (75 mn) is reached. Check the VMs.
6.5.2 otbr.sh
This is the backup/restore utility included in OpenTouch systems. This utility writes the backup
on the media (local disk or USB disk or NFS) configured in the OpenTouch system. This tool
can also be used to restore the database available in the configured media.
[root@tssf161]# otbr.sh [backup|restore] host (backup/restore host data)
[root@tssf161]# otbr.sh [backup|restore] VMoxe (backup/restore OXE virtual
machine)
[root@tssf161]# otbr.sh [backup|restore] VMwin (backup/restore Windows
virtual machine)
[root@tssf161]# otbr.sh [backup|restore] VMoms (backup/restore OMS virtual
machine)
[root@tssf161]# otbr.sh [backup|restore] VMall (backup/restore the 3 virtual
machines)
[root@tssf161]# otbr.sh [backup|restore] appliwin (backup/restore 8770 data)
[root@tssf161]# otbr.sh [backup|restore] appli8770 (backup/restore 8770
6.5.3 reset-firstsetup.sh
This command is used to reset the OpenTouch system/database to factory default settings.
This script can be used to re-configure the OpenTouch from the post installation wizard.
1. This command requests confirmation:
All data will be cleared. Post-installation will be resumed
Are you sure ? (Y)es/(N)o [Y]:
2. The available database is deleted, and the command configures the system to run the
post-installation wizard at the next boot.
In case of an OpenTouch Business Edition, reset-firstsetup.sh checks the virtual
machine connectivity before making any change:
--- An OXE vm is detected, checking vm requirements ---
vmOXE is running : OK
Checking vmOXE connectivity.
vmOXE connectivity is operational : OK
k2_oxepostinstall is installed in vmOXE (172.27.176.104).
vmOXE is installed.
OXE is not secured : OK
--- A management vm is detected, checking vm requirements ---vmManagement
is running : OK
Checking vmManagement connectivity.
icedev2mgmt.alcatel-lucent.com lookup succeeded : OK
172.27.176.106 ping succeeded : OK
Remote command on 172.27.176.106 succeeded : OK
vmManagement connectivity is operational : OK
--- An OMS vm is detected, checking vm requirements ---vmOMS is running :
OK
Checking vmOMS connectivity (172.27.176.105).
icedev2oms.alcatel-lucent.com lookup succeeded : OK
172.27.176.105 ping succeeded : OK
Remote command on 172.27.176.105 succeeded : OK
vmOms connectivity is operational : OK
If one or more commands cannot be triggered remotely, the reset process stops. Fix the issue
before launching the reset-firstsetup.sh script again.
6.5.4 switchover.sh
The switchover.sh command is used to switch partitions from active to inactive, where you
load the OpenTouch software. The active partition becomes inactive and vice versa when
running this script.
To switch partitions, log in as root and type switchover.sh.
The switchover.sh can be used with the following syntaxes:
- switchover.sh: (without any option) switch to the other partition without any data
duplication
- switchover.sh status: display information on installed versions on the different
partitions
- switchover.sh --datacopy: switch to the inactive partition with data duplication if the
version on the inactive partition is greater or equal to the version on active partition
- switchover.sh --help: display these help option
6.5.6 CertificateTool.sh
The certificate tool allows to select the level of network security for the OpenTouch:
- Network security disabled: a pre-loaded and generic Certificate Trust List is used
- Network security enabled: a customized certificate is used
When network security is enabled, the certificate tool allows to:
- Generate an internal autogenerated certificate
- Import a PKCS12 certificate
The certificate tool is automatically launched by the post-installation wizard. It can also be
launched manually, as described in the following paragraphs.
The certificate tool can be used:
- In console mode: the parameter -console
6.5.7 prepareUsbdisk
This tool is used to prepare/format the USB disk using for backup/restore. It must run as root:
[root@tssf161 otuser]# /opt/Alcatel-
Lucent/serviceability/bics_applications/bin/prepareUsbdisk -f
Please choose the format to use :
4 - FAT32
3 - NTFS-long (takes several hours)
2 - NTFS-quick
1 - EXT3
0 - Quit the current program.
Your choice : 1
You chose EXT3
All data will be erased on /dev/sdb1
Are you sure ? (Y)es/(N)o [N]: y
Disk is now formatted [ OK ]
Disk is now ready [ OK ]
6.6.1 checkAll.sh
The aim of this tool, which operates for all OpenTouch systems, when connected as root, is to
help troubleshooting by running all embedded diagnoses at once (checkCertificates.sh),
and verifying that all mandatory services are running, just as service opentouchd status
would do.
Use checkAll.sh -l to list auto-diagnoses tools embedded in this tool.
Example:
[root@tssf161]# checkAll.sh
================ Start checkAll.sh in version 2.1 build 20141209
===============
Troubleshooting
System Config [ OK ]
OXE VM [ OK ]
DNS [ OK ]
OMS VM [ OK ]
Certificates check failed with code 1: [FAILED]
For more details, run: checkCertificates.sh
Clock check failed with code 4: [FAILED]
For more details, run: checkClock.sh
Host Resources [ OK ]
Linux Config [ OK ]
Licensing check failed with code 2: [FAILED]
[FAILED] 02. The OT version (2.1.000.071) does not match the one in the
license (ICE_RELEASE=6 is 2.0 IT3 <= version < 2.1 IT5).
Please install a new valid license
[FAILED] 09. There are some (1) inconsistent features, this means that your
license does not match what is installed on your OT.
Please request a new adapted license.
The inconsistency is checked every night at 2:00 AM and 15 minutes after
the start of the CMS, thus new licenses will become consistent only 15
minutes after restart or tomorrow after 2:00 AM.
Inconsistent features: ICE_RELEASE.
8770 VM [ OK ]
Services
Nuance [ OK ]
OFS mySQL [ OK ]
OFS Tomcat [ OK ]
Acapi [ OK ]
ACS PostgreSQL [ OK ]
AMS Media Control [ OK ]
Apache [ OK ]
CMS [ OK ]
Connector 2007 [ OK ]
ECS [ OK ]
ICS Group [ OK ]
Lama [ OK ]
Maintenance Tool [ OK ]
Masc [ OK ]
OTS [ OK ]
PRS [ OK ]
Scorpio [ OK ]
Shrew [ OK ]
Solution Control [ OK ]
Tomcat [ OK ]
OFS Services [ OK ]
ACS Group [ OK ]
AMS Resource Manager [ OK ]
Chameleon [ OK ]
Config Proxy [ OK ]
CRS [ OK ]
Extensible Services [ OK ]
Flexlm [ OK ]
Martin [ OK ]
Message Broker [ OK ]
Mule [ OK ]
OMP [ OK ]
PMS [ OK ]
PostgreSQL Infra [ OK ]
SIP Server [ OK ]
UDAS [ OK ]
ACS [ OK ]
imap4fe [ OK ]
============================= Potential issue(s): 3
============================
[FAILED] Certificates check failed with code 1:
For more details, run: checkCertificates.sh
[FAILED] Clock check failed with code 4:
For more details, run: checkClock.sh
[FAILED] Licensing check failed with code 2:
[FAILED] 02. The OT version (2.1.000.071) does not match the one in the
license (ICE_RELEASE=6 is 2.0 IT3 <= version < 2.1 IT5).
Please install a new valid license
[FAILED] 09. There are some (1) inconsistent features, this means that your
6.6.2 Service
This command is used to display the status and to start/stop/restart OpenTouch services. It
must be launched as root. This command can be used as follows:
[root@tssf161 /]# service <service/service group name> status
All the necessary services for the OpenTouch operations are grouped into opentouchd. You
can verify the status/start/stop/restart of these services using the following command:
[root@tssf161 /]# service opentouchd status (or stop or start or restart)
You can use this command for any one of the services in the opentouchd group (for
example: flexlmd) or separately for services outside the opentouchd group (for example:
ntp) as follows:
[root@tssf161 /]# service flexlmd status (or start or stop or restart)
[root@tssf161 /]# service ntpd status (or start or stop or restart)
List of the OpenTouch services
- acapid
- alclrd
- apached
- cmsd
- connector2007d
- crsd
- ecsd
- imap4fed
- imsd
- lamad
- larkd
- liond
- mainttoold
- martind
- mascd
- otsd
- pmsd
- prsd
- scorpiod
- shrewd
- tomcatd
- udasd
6.6.3 Serverstatus
This command displays a consolidated view of the server statuses for a redundant pair of
OpenTouch servers.
The command can be invoked from any of the two servers, providing a status of the two
servers in the same output. The output provides a consolidated HA role for both servers
(Primary, Backup, Unknown). The static Primary or Backup type of server, as defined at post
installation, is also displayed.
The consolidated role depends on:
- The running state of OpenTouch components managed by the solution control. This
excludes, for example, the Fax server or the message broker. In case of groups (ICS or
ACS groups) only the top level status is taken into account
- The HA state of OT components
- The state of virtual IPs
- The state of DRBD replication
- The state of message broker cluster
A given host is an operational Primary when:
- All OpenTouch components are running properly on the host
- All components are Primary on this host
Exception: the Resource Manager is always Primary on the default Primary host
- All 9 service FQDN are mounted on this host
Exception: media service always is mounted on the default Primary host
- DRBD is operational with this host for all three partitions: ics group, postgresql5433,
oamp:
• Acting as Primary on this host
• If the partition is mounted
• With the proper state for cs, ds, p attributes
Note 1:
As the backup may be disconnected, the fact that DRBD replication is not operational is not a
relevant criterion.
A given host is an operational backup when:
- All OpenTouch components are running properly on the host
- All components are Backup on this host.
Exception: the Resource Manager is always Primary on the default Primary host
- All 9 service FQDN are not mounted on this host
Exception: media service is always mounted on the default Primary host, even if role is
Backup
- DRBD replication is operational with this host for all three partitions: ics group,
postgresql5433, oamp:
• Acting as Secondary on this host and Primary on the other
• If data replication is taking place from the remote host to this host
• If the partition is not mounted
- The message broker cluster contains two running nodes (primary and backup)
Note 2:
A correctly running message broker cluster is mandatory for operation of backup server and
consequent failover from primary to backup. It is not the case for the primary server, which can
operate regardless of the state of the cluster.
Theoretical role of a host :
When asserting the server role, the assumption is that it should have the same role as the
component in charge of the global switch over (i.e. FSM, Full Switch over Manager). In case of
inconsistency, the display is based on this assumption, and shows all the components that run
on the host with the wrong role. A given host is marked as unknown if any of the conditions is
not met, and the display states the reason why. A given pair of redundant hosts is an
operational HA pair if it has an operational Primary and an operational Backup
Examples:
- Status command on otmsp host:
otmsp# serverstatus
Checking solution control status... PRIMARY
Checking DRBD status... PRIMARY
Checking service IPs status... PRIMARY
Wed Dec 18 17:35:14 CET 2014
Local server otmsp static role is PRIMARY, current role is PRIMARY
Remote server otmsb static role is BACKUP, current role is BACKUP
- Status command on otmsb host:
otmsb# serverstatus
Checking solution control status... BACKUP
Checking DRBD status... BACKUP
Checking service IPs status... BACKUP
Wed Dec 18 17:37:21 CET 2014
Local server otmsp static role is BACKUP, current role is BACKUP
Remote server otmb static role is PRIMARY, current role is PRIMARY
- Status command on otmsp host with HA not ok:
otmsp# serverstatus
Checking solution control status... UNKNOWN
Checking DRBD status... UNKNOWN
Checking service IPs status... UNKNOWN
Wed Dec 18 17:35:14 CET 2014
Local server otmsp static role is PRIMARY, current role is UNKNOWN
Remote server otmsb static role is BACKUP, current role is UNKNOWN
Application issue(s):
- ICS_1 should be Backup but is Primary
- confserv_1 should be Backup but is Primary
- OMPInfra_1 should be Backup but is Primary
- SolutionControlServer_1 should be Backup but is Primary
DRBD issue(s):
- there is a mix of Primary and Secondary resources
- ics-group is Primary
- oamp is Primary
- postgresql5433 is Secondary
Service IP issue(s):
- the mounted IPs on this server don't correspond to PRIMARY or BACKUP
role
- HA_VOICE_SERVICE_IP (172.27.169.173) is not mounted
- HA_ICS_SERVICE_IP (172.27.169.174) is mounted
- HA_INFRA_SERVICE_IP (172.27.169.175) is mounted
- HA_DB_SERVICE_IP (172.27.169.176) is not mounted
- HA_SIP_SERVICE_IP (172.27.169.172) is not mounted
- HA_MEDIA_SERVICE_IP (172.27.169.178) is not mounted
- HA_LICENSE_SERVICE_IP (172.27.169.177) is not mounted
- HA_ACS_SERVICE_IP (172.27.169.179) is not mounted
- Status command on otmsp host and otmsb not running:
otmsp# serverstatus
Checking solution control status... PRIMARY
Checking DRBD status... PRIMARY
Checking service IPs status... PRIMARY
Wed Dec 18 17:35:14 CET 2014
Local server otmsp static role is PRIMARY, current role is PRIMARY
Remote server otmsb static role is BACKUP, current role is UNKNOWN
Application issue(s):
- remote server is down or LCA is not running
- Status command on otmsb host and otmsp not running:
otmsp# serverstatus
Checking solution control status... UNKNOWN
Checking DRBD status... BACKUP
Checking service IPs status... BACKUP
Wed Dec 18 17:37:21 CET 2014
Local server otmsp static role is BACKUP, current role is UNKNOWN
Remote server otmb static role is PRIMARY, current role is PRIMARY
Application issue(s):
- Local server is down or LCA is not running
6.6.4 Ot-moni.sh
Ot-moni.sh allows to display lot of information concerning the server:
- Monitoring hardware (Aluid, UUID, MAC address, server type, memory, hard disks)
- Monitoring partition
- Monitoring inodes
- Monitoring swap
- Monitoring virtualization
- Monitoring time
- Monitoring load
- Monitoring Ethernet
- Monitoring USB
- Monitoring NFS
- Monitoring DRBD
6.6.5 checkClock.sh
The aim of this tool is to gather clock and NTP information and verify the most common issues,
such as: no reliable NTP server. A file is created to collect all the information that can be sent
to technical support.
6.6.6 checkCertificate.sh
This command diagnoses and displays information related to the OpenTouch server
certificates. It verifies the consistency of Certificates on the host. A file is created to collect all
the information that can be sent to the technical support. Login as root.
[root@tssf161 bin]# checkCertificates.sh
6.6.7 checkLicensing.sh
This command provides diagnostic and information collection on licensing. Login as root.
The script can be used on OpenTouch Multimedia Services, OpenTouch Business Edition,
OTMC and on flexlm servers on any version.
6.6.8 checkdns
This tool is used to verify the DNS management on the OpenTouch and the resolution of
necessary hostnames.
It verifies forward/reverse resolution of all defined FQDNs (OpenTouch/OmniPCX
Enterprise//FlexLM) and the forward resolution OmniPCX Enterprise node name FQDN
(reverse resolution is not required for node name) with the DNS server.
Example of a successful DNS verification
[root@tssf161 /]# checkdns
Using external DNS1: 135.120.0.245
External DNS2 unused
DNS resolution of HOST: tssf161.fr.alcatel-lucent.com [ OK ]
Reverse resolution of HOST: 172.27.139.161 [ OK ]
DNS resolution of FLEXLM_SERVER: tssf161.fr.alcatel-lucent.com [ OK ]
Reverse resolution of FLEXLM_SERVER: 172.27.139.161 [ OK ]
FLEXLM_SERVER at 172.27.139.161 is reachable
DNS resolution of WIN:
tssf162.fr.alcatel-lucent.com [ OK ]
Reverse resolution of WIN:
172.27.139.162 [ OK ]
DNS resolution of OXE: tssf163.fr.alcatel-lucent.com [ OK ]
Reverse resolution of OXE: 172.27.139.163 [ OK ]
DNS resolution of OXE_NODENAME: node00106.fr.alcatel-lucent.com [ OK ]
6.6.9 raidstatus
Use this command to determine the current state of the raid unit. This command returns one of
the following statuses:
- DEGRADED: one hard disk has been removed or is out of order
- RECOVERING: resynchronization between master and slave hard disks (further to
desynschronization) is now starting
- OK: the unit is in optimal state
Hard disk problems (crash or failure) can also be detected on a server with Raid 1 hot swap:
- Led [!] in front of rack comes on (orange color)
- No more green led flashing on erroneous hard disk
- Logged information in the files /var/log/messages*
- Alarm appears on the management console
6.6.10 checkSystem
This command allows to verify the consistency between the bics.conf file and the system
configuration, it also allows to find network and VM issues.
6.6.11 checkCms
The tool allows to verify the consistency of the OpenTouch configuration service.
It displays the current status of the service and gives feedback on the latest data migration
when upgrading to a new version.
6.7.2 loglevel.sh
This command enables/disables logs for components.
Loglevel.sh component=<Component_Name> logger=<Logger_Name> level=>Level_name>
To find the name of the component: enter loglevel.sh list. They are:
- ams
- authenticationbasic
- authenticationform
- AMSResourceManager
- AMSMediaControl
- chameleon
- cmpa4fe
- cms
- configproxy
- connector2007
- crs
- ExtensibleServices
- eccnoe
- ecs
- lama
- martin
- masc
- metrics
- mpcnoe
- mule
- my_assistant
- my_phone
- my_messaging
- noe_teamwork
- ots
- otsControl
- my_phone_outlook_coupling
- perf
- pms
- prs
- prsControl
- sc
- scorpio
- shrew
- shrewControl
- SIPServer
- tomcat
- uda
- udas
- unifiedLogin
- voice_applications
- wbm
To find the logger for the component: enter loglevel.sh component=
<Component_Name> list.
Example:
[root@tssf161 ~]# loglevel.sh component=pms list
Component: pms
Logger : root, level: off
Logger : exceptions, level: off
Logger : protocoles, level: off
Logger : com.alcatel, level: INFO
Logger : com.alu, level: WARN
Examples of syntax:
loglevel.sh component=pms logger=* level=debug
loglevel.sh component=pms logger=com.alcatel level=debug
loglevel.sh component=pms logger=com.alu level=debug
6.7.3 logzipper
This tool is used to collect the entire logs available in the OpenTouch system in one archive.
By default, the archive is saved in /var/backup/tmp.
The collected log files are:
- /logs directory
- /var/log/ICE/InstallLog directory
- $ACAPI_HOME/log directory
- $ECC_HOME/version.txt file
- $OTS_HOME/dyn directory
- /logs directory in the inactive partition
- $DATA_HOME/bics/bics.conf file
- ECC_HOME/topology/topology.xml file
To collect all logs files, enter: logzipper.sh all
To collect log files for the last two days, enter: logzipper.sh 02 days
To collect log files for the last two weeks, enter: logzipper.sh 02 weeks
To collect log files for the last two months, enter: logzipper.sh 02 months
Example:
[root@tssf161 ~]# Logzipper.bin 02 days
Log Zipper
Initializing Log Zipper...
Searching for Java(tm) Virtual Machine...
........
Running Log Zipper...
no directory as parameter using default : /var/backup/tmp
Creating compressed file(s)...
Compressing
/mnt/inactive_partition/opt/Alcatel-Lucent/infra_services/acapi/log
Log files created since 2015-01-10 are collected.
Adding
_mnt_inactive_partition_opt_Alcatel-Lucent_infra_services_acapi_log.tgz
Compressing /mnt/inactive_partition/logs Log files created since 2015-01-10
are collected.
Adding _mnt_inactive_partition_logs.tgz Compressing
/mnt/inactive_partition/var/log Log files created since 2015-01-10 are
collected.
Adding _mnt_inactive_partition_var_log.zip
Compressing /mnt/inactive_partition/var/data/licenses Log files created
since 2015-01-10 are collected.
Adding _mnt_inactive_partition_var_data_licenses.tgz
Adding
_mnt_inactive_partition_opt_Alcatel-Lucent_infra_services_ots_dyn.notfound
Generating /mnt/inactive_partition/opt/Alcatel-Lucent/version.txt
Adding _mnt_inactive_partition_opt_Alcatel-Lucent_version.txt
Compressing /opt/Alcatel-Lucent/infra_services/acapi/log
Log files created since 2015-01-10 are collected.
Adding _opt_Alcatel-Lucent_infra_services_acapi_log.tgz
Compressing /logs Log files created since 2015-01-10 are collected.
Adding _logs.zip Compressing /var/log
Log files created since 2015-01-10 are collected.
Adding _var_log.zip Compressing /var/data/licenses
Log files created since 2015-01-10 are collected.
Adding _var_data_licenses.tgz
Adding _opt_Alcatel-Lucent_infra_services_ots_dyn.notfound
Generating /opt/Alcatel-Lucent/version.txt
Adding _opt_Alcatel-Lucent_version.txt
Make final file
Logzipper file created :
/var/backup/tmp/logs_tssf161_12-01-15_14h35m36s.tgz
6.7.4 netcapture.sh
The aim of this tool is to make the management of network traces easier and hide the
complexity of the tcpdump command. This tool works on OpenTouch as well as flexVM.
6.7.5 getSupport
The getSupport script collects logs from OpenTouch commands, syslog and applications
within virtual machines and puts them in a gzip file. Login as root.
This command can be run with the following options to collect necessary information:
- getSupport loghost to collect available log files whithin the host
- getSupport logvmOXE to collect available log files within vmOXE
- getSupport logvmManagement to collect available log files within vmManagement
- getSupport logallVM to collect available log files within all VMs
6.8.1 lmutil
This command is used for FlexLM (license service) management. Login as root
To read all the options available, enter: [root@tssf161 var]#
/opt/Alcatel-Lucent/platform/flexlm/lmutil or [root@tssf161 /]#
$FLEXLM_HOME/lmutil
Example:
[root@tssf161 /]# $FLEXLM_HOME/lmutil
usage:
lmutil lmborrow -status
lmutil lmborrow -purge
lmutil lmborrow -purge -status
lmutil lmborrow -clear
lmutil lmborrow {all|vendor} dd-mmm-yyyy:[time]
lmutil lmborrow -return [-c licfile] [-d display_name] [-fqdn] [- vendor
name] feature
lmutil lmdiag [-c licfile] [-n]
lmutil lmdown [-c licfile] [-q] [-all] [-vendor name] [-force] [-help]
lmutil lmhostid [-ptype (VMW|HPV|PHY|AMZN|LMB|VM)] [-ether|-internet
(v4|v6)|-user|-n|
-display|-hostname|-hostdomain|-string|-long|-uuid
-eip|-ami|iid|-flexid]
lmutil lminstall [-i infile] [-o outfile]
[-overfmt {2, 3, 4, 5, 5.1, 6, 7.1, 8}] [-odecimal] [-maxlen n]
[-odecimal] [-maxlen n]
lmutil lmnewlog [-c licfile] vendor new-file, or
lmutil lmnewlog [-c licfile] feature new-file
lmutil lmpath -status
lmutil lmpath -override {all | vendor } path
lmutil lmpath -add {all | vendor } path
lmutil lmremove [-c licfile] feature user host display
lmutil lmremove [-c licfile] -h feature host port handle
lmutil lmreread [-c licfile] [-vendor name] [-all]
lmutil lmswitchr [-c licfile] vendor new-file, or
lmutil lmswitchr [-c licfile] feature new-file
lmutil lmstat [-c licfile] [lmstat-args]
lmutil lmswitch [-c licfile] vendor new-file, or
lmutil lmswitch [-c licfile] feature new-file
lmutil lmver flexlm_binary lmutil -help (prints this message)
lmutil utility_name -help (display detailed usage information)
To read all the feature values from the licenses file, enter: [root@tssf161 flexlm]#
$FLEXLM_HOME/lmutil lmstat -i
Example:
Feature Version
#licenses Expires Vendor
_______ _________ _________ __________
______
K00010031
1.0 1 24-jun-2015 ALCFIRM
O000014434 1.0 1 24-jun-2015
ALCFIRM
ICE_RELEASE
1.0 6 24-jun-2015 ALCFIRM
ICE_BUSINESS_COMMUNICATION
1.0 1500 24-jun-2015 ALCFIRM
ICE_CONFERENCING 1.0 1500 24-jun-2015
ALCFIRM
ICE_DESKTOP_MM
1.0 1500 24-jun-2015 ALCFIRM
ICE_DESKTOP_STD 1.0 1500 24-jun-2015
ALCFIRM
ICE_ENCRYPTION
1.0 1500 24-jun-2015 ALCFIRM
ICE_GR_LOCK 1.0 2 24-jun-2015
ALCFIRM
ICE_HA
1.0 1 24-jun-2015 ALCFIRM
ICE_HA_PRIMARY 1.0 2 24-jun-2015
ALCFIRM
ICE_ICM_ACU_USER
1.0 1500 24-jun-2015 ALCFIRM
ICE_IMAP_SESSION 1.0 1000 24-jun-2015
ALCFIRM
ICE_MESSAGING
1.0 1500 24-jun-2015 ALCFIRM
…
To read the licenses status on the flexlm servern enter: [root@tssf161 flexlm]#
$FLEXLM_HOME/lmutil lmstat -a
Example:
[root@tssf161 flexlm]# $FLEXLM_HOME/lmutil lmstat -a
License server status: 27000@tssf161
License file(s) on tssf161: /var/data/licenses/140625-OTBE_HA_2.0_Eric-
OTBE2.0-HA-intflex-primary.ice:/var/data/licenses/alcotuc.lic: tssf161:
license server UP (MASTER) v11.12.0
Vendor daemon status (on tssf161):
ALCFIRM: UP v11.12.0
Feature usage info:
Users of K00010031: (Total of 1 license issued; Total of 1 license in use)
"K00010031" v1.0, vendor: ALCFIRM floating license mtcl tssf163 /dev/tty
(v1.0) (tssf161/27000 1901), start Wed 9/24 16:49
Users of K000014434: (Total of 1 license issued; Total of 0 licenses in
use)
Users of ICE_RELEASE: (Total of 6 licenses issued; Total of 0 licenses in
use)
Users of ICE_BUSINESS_COMMUNICATION: (Total of 1500 licenses issued; Total
of 2 licenses in use)
To read the dongle ID on the flexlm server, enter: [root@tssf161 flexlm]#
$FLEXLM_HOME/lmutil lmhostid –flexid
Example:
[root@tssf161 flexlm]# $FLEXLM_HOME/lmutil lmhostid –flexid
Copyright (c) 1989-2007 Macrovision Europe Ltd. and/or Macrovision
Corporation. All Rights reserved.
The FLEXnet host ID of this machine is "FLEXID=9-4c0ef9ed"
6.8.2 RoutingConfigConsole.sh
This tool is used to get more information about the users routing profiles and its managements.
To leave the console, enter: exit
6.8.2.3 getUser
Use this command to get a general overview of a user from the Martin cache and the
configuration in CMS.
Attribute: login or company phone.
This results in the following information:
- User configuration
- Routing state
- Profiles
- Nomadic number
- Routing rules
- OmniPCX Enterprise routing status
Non synchronized data is indicated.
Example:
6.8.2.4 resetUser
Use this command resetUser to reinitialize a user in the Martin cache.
This command removes the user in the Martin cache and re-creates her/him from her/his
configuration read in CMS. For Conversation users, this resets the current profile and removes
all custom profiles.
Attribute: login.
Example:
spy> resetUser atarac
user 'atarac' resetted
6.8.2.5 synchronizeUser
Use this command to synchronize a user in the Martin cache from her/his configuration read in
CMS.
Attribute: login.
Example:
spy> synchronizeUser atarac
user 'atarac' modified by synchronization on routing state
spy> synchronizeUser atarac
user 'atarac' let unchanged by synchronization
6.8.2.6 getProfiles
Use this command to list all profiles of a user from the Martin cache.
Attribute: login.
Example:
spy> getProfiles alegaulois
profile-id='0', profile-name='DEFAULT', presentation='<*OFFICE 32100>, <*PC
32101>, <*TABLET>, <*MOBILE>, <*VIDEO>, <HOME>, <OTHER>',
forward='<VOICEMAIL>, <USER>' current-device='32100'
profile-id='10', profile-name='VHE', presentation='<*OFFICE 32100>, <*PC
32101>, <*TABLET>, <*MOBILE>, <*VIDEO>, <HOME>, <OTHER>',
forward='<VOICEMAIL>, <USER>' current-device='32100'
profile-id='11', profile-name='PC', presentation='<*OFFICE 32100>, <*PC
32101>, <*TABLET>, <*MOBILE>, <*VIDEO>, <HOME>, <OTHER>',
forward='<VOICEMAIL>, <USER>' current-device='32101'
The asterisk (*) indicates that the option is available to the user.
6.8.2.7 applyProfileRoute
Use this command to apply a routing profile to a user.
Attribute: login, profile name or id.
Example:
spy> applyProfileRoute alegaulois 11
Profile applied
Note:
Use the getProfiles command to view profile numbers.
6.8.2.8 getXmlRules
Use this command to read the routing rules for a Conversation user from the Martin cache.
Attribute: login.
The routing rules must be synchronized with the routing rules stored in XS cache.
Example:
6.8.2.9 getManagers
Use this command to list all manager / assistant links from the Martin cache.
This retrieves the login of the active backup assistant and the filtering mode.
The filtering mode is one of:
- NO_FILTER (F0N0)
- ASSISTANT_NOTIFICATION (F0N1)
- FORWARD_TO_ASSISTANT (F1N0)
- MANAGER_NOTIFICATION (F1N1)
spy> getManagers
atarac principalAssistant=sbhansali backupAssistant=null
mode=NO_FILTER
myuasa principalAssistant=ruthaug backupAssistant=null mode=NO_FILTER
6.8.3 tsa_maintenance
This tool is used to connect and get information from the OTS (Open Telephony Service
connected to OXE using CSTA) component in the OpenTouch. This component is used for
(OXE/Standard) users.
Login as root.
Example:
6.8.4 clean_logs_and_restart_udas.sh
This tool is used to remove the UDAS logs available in the OpenTouch server and restart the
UDAS service.
Login as root.
6.8.5 dumpxs
This tool allows to dump configuration data for the extensible services component.
[root@myot165 toolexec]# dumpxs.sh
1)All 7)Miscs 13)RoutingRules(o)