Wednesday, June 18, 2014

No-License or License File is Missing or Corrupted issue - CM 6.3



No-License: License File is Missing or Corrupted issue in CM 6.3


MES
Avaya Aura® System Platform - vsp-patch-6.3.1.08003.0                     
Services VM                                                               
Avaya Aura® System Manager (SMGR)    - 6.3.2.4.1492           
Avaya Aura® Session Manager (SM)         - 6.3.2.0.632028          
Avaya Aura® Presence Services (PS)        - 6.2.0.0.0182         
Avaya Aura® Communication Manager (CM)  - 06.3-03.0.124.0  
Avaya Aura® Application Enablement Services  - 6.3.1.0.19


Error Snapshot in CM


dadmin@COOP-AVAYA-CM> statuslicense -v
CommunicaMgr License Mode: No License
System Administration Is Blocked.
Contact Your Service Representative Immediately.
    License File is Missing or Corrupted
    Incompatible WebLM Version.
checking application CommunicaMgr version R016x.03.0.124.0
checking application Messaging version 6.3
Messaging License Mode: ERROR
Messaging System Administration Will Be Blocked in Approximately 30 Days.
WebLM server used for License:
https://XXX.XXX.XXX.XXX:52233/WebLM/LicenseServer
Module ID is 1
System ID is 1

Resolution's of issue 

CM patch 03.0.124.0-21053 (FP3) is compatible with MES 6.2.2 with FP3, also see below Release notes for MES 6.2.2 FP3 compatible versions https://downloads.avaya.com/css/P8/documents/100175449
Page 11.
The background of the problem is that in MES the WebLM server is installed on System Manager, and that version of WebLM server is not compatible with the installed CM patch.





Sunday, June 8, 2014

How to change time in CM 5.1


Login to Webpage using CM IP Address 

1) https://CM IP address
2) Go to Server maintenance mode
3) Under Server there will be option Server Date/Time
4) Put time time and date in below format
  MM/DD/YYYY
  HH:MM (use 24 hrs format)
  Select your time zone
5) Click on submit

Note:- if your phone are not update time from CM then use below process.

1) Login to CM
2) Command
   change system-perameters features
    system update time on station displays = Y

Then reboot your IP phone to get time and date information from Server. 


Thursday, May 22, 2014

Using ARS to restrict outgoing calls

Using ARS to restrict outgoing calls


With ARS, you can block outgoing calls to specific dialed strings. For example, you can restrict
Users from making international calls to countries where you do not do business,
Security alert:
To prevent toll fraud, deny calls to countries where you do not do business. The following
Countries are currently concerns for fraudulent calling.
Country code country code
IRAQ – (000 + 964 + Local Number)
South Korea (000 + 82 +Local Number)  
To prevent callers from placing calls to Iraq (964):

Procedure

1. Type change ars analysis location 1 0
2. Press Enter
a. Enter 000 (international access)
b. Enter the country code (964)
The system displays the ARS Digit Analysis Table screen.
3. Move to a blank Dialed String field.
Skip to Step 6 to deny calls to this dialed string
If the dialed string is already defined in your system, the system displays the cursor
in the appropriate Dialed String field.
4. Enter 000964 in the Dialed String field.
5. Enter 10 in the Total Min and 23 in Total Max fields.
6. Enter deny (denied) in the Route Pattern field.
7. Enter intl in the Call Type field.
8. Press Enter to save your changes

How to Upgrade Avaya Call Recoder Patch CSCM 10 Patch 101

How to Upgrade Avaya Call Recoder Patch CSCM 10 Patch 101


11)      Login to Web portal and check Current Version of CSCM 
22)      Login to CLI using Root/Password
33)      Service CSCM stop (Service impacting command )
44)      Open WIN SCP and login using witness user only
55)      Go to path /opt/witness/tomcat5525/shared/lib/
66)      Copy cscmmain.jar and cscmres.jar to your local PC for backup or roll back
77)      Copy cscmmain.jar and cscmres.jar from the patch package to the location where the previous version was /opt/witness/tomcat5525/shared/lib/
88)      Go to path /opt/witness/tomcat5525/webapps/  copy Root.war to your local PC for backup or roll back
99)      Copy root.war  from the patch package to the location where the previous version was  /opt/witness/tomcat5525/webapps
110)   Go to CLI prompt
111)   Type #cd  /opt/witness/tomcat5525/shared/lib/
112)   Type #ll
113)   Replace file permission should be 


14)   Run command #cdmod 644 *
115)   Go to opt/witness/tomcat5525/webapps
116)   Type #cd opt/witness/tomcat5525/webapps and perform below command
117)   Start CSCM service
118)   Check in WEB Portal and verify patch version
219)   Monitor ACR activities   

Friday, February 24, 2012

Core Nagios Installation


How to install Nagios Monitoring Tool


Step:- 1
Install Http, Gcc, Glibd-common, Gd, Gd-devel's 
# http, php, gcc, glibc-common gd gd-devel's all packeges will
yum -y install httpd php gcc glibc-common gd gd-devel

Step:- 2
# New user and group created then and set it the secondory
 

# Group of new useruseradd -m nagios
passwd -d nagios

# New group is created
groupadd nagcmd
 

# Apache and new user are added in that group
usermod -a -G nagcmd nagios
usermod -a -G nagcmd apache
 
Step:- 3
# Extract nagios tar
 
tar xvzf nagios-3.2.0.tar.gz
cd nagios-3.2.0
 
Step:- 4
# Run the exicutable file with adding new group./configure --with-command-group=nagcmd
 
Step:- 5
# Bind configuration with system
make all
make install
make install-init
make install-config
make install-commandmode
make install-webconf
 
Step:- 6
# Set password for accessing nagios by user
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
 
Step:- 7 
# Service of http is started
service httpd restart
 
Step:- 8
# Extract plugin of nagios
tar xvzf nagios-plugins-1.4.13.tar.gz
cd nagios-plugins-1.4.13
 
Step:- 9
# Run the exicutable file with adding new group and user./configure --with-nagios-user=nagios --with-nagios-group=nagios
 
Step:- 10
# Bind plugin with system configurationmake
make install

Step :- 11
Start nagios Service service nagios start
chkconfig nagios on

Step:- 12
# Varified that nagios i sworking or any error /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Step:- 13
# Verver address adding in configuration file of http
vi /etc/httpd/conf/httpd.conf
 
Step:- 14
Restart Nagios and Httpd Services
service httpd restart
service nagios restart
 
Step:- 15
# Nagios is going to be started..........firefox http://localhost/nagios

Monday, February 20, 2012

Hard Disk Clone with "dd"


Hard Disk Clone

Suppose you have a 40GB hard disk and a removable hard disk whose capacity is 60GB, and you want to backup all the files from the hard disk to the removable disk. With "dd", it is a very easy task. Again, suppose your hard disk's Unix device name is /dev/sda and the removable disk is /dev/sdb. The following command can copy all the content from /dev/sda to /dev/sdb:
dd if=/dev/sda of=/dev/sdb
Here, if=... sets the source and of=... sets the destination. "dd" doesn't care of the contents of the hard disk. It just reads bytes from /dev/sda and writes them into /dev/sdb. It doesn't know what are files. So, the hard disk file system and how many Partitions it has are not important. For example, if /dev/sda is splitted into three partitions, the /dev/sdb will have the samepartitions. i.e. "destination" is completely same with "source".
Notice: to execute "dd" you should login as "root" or switch to "root" using "su" command. And you must be careful, a small mistake may cause a serious problem!

Making a Hard Disk Image File

Most of time you don't want to make a complete duplication of your hard disk. You may prefer to creating an image file of the hard disk and save it in other storage devices . The following command will create an image file "disk1.img" in your user's directory from /dev/sda:
dd if=/dev/sda of=~/disk1.img
Since you have created an image file, you can compress it with "gzip" or "bzip2":
dd if=/dev/sda | gzip > disk.img.gz
dd if=/dev/sda | bzip2 > disk.img.bz2
You can save much storage space with compression. But it will take very long time.

Partition Clone

Backing up a hard disk partition is much similar to backing up a whole hard disk. The reason is that Unix/Linux uses device name, such as /dev/sda1, /dev/sda5... to indicate the partitions. For example, if you want to create an image file from the first partition of /dev/sda, use "dd" like this:
dd if=/dev/sda1 of=~/disk2.img
Also, you can compress the image file:
gzip disk2.img
By the way, you can copy a partition to another partition completely, just set "of" to thepartition's device name. For example:
dd if=/dev/sda1 of=/dev/sdb5
This command will copy all the contents from /dev/sda1 to /dev/sdb5. You must be sure that the capacity of /dev/sdb5 is larger than /dev/sda1.

Restoring from an Image File

To restore a partition or a hard disk from an image file, just exchange the arguments "if" and "of". For example, restore the whole hard disk from the image file "disk1.img":
dd if=disk1.img of=/dev/sda
Restore the first partition of /dev/sda from the image file "disk2.img":
dd if=disk2.img of=/dev/sda1

Thursday, September 8, 2011

MySql Database file backup and Restore



1) tacking Mysql database file backup

#mysqldump -h localhost -u root -pmypassword databasename > dumpfile.sql


(Before restoring backup create blank Database file and then restore data 




2)Command for restore Mysql database form backup file


#mysql -h hostname -u username -pthepassword databasename < dumpfile.sql

Tuesday, September 6, 2011

A "live" view of a logfile on Linux


A "live" view of a logfile on Linux

This approach works for any linux operating system, including Ubuntu, and is probably most often used in conjunction with web development work.
#tail -f /var/logfile.log
This will give you a scrolling view of the logfile. As new lines are added to the end, they will show up in your console screen.



As with all linux apps, Ctrl+C will stop it.