Vous êtes sur la page 1sur 9

1.

Copying EMS Software to unique directory


2. Installing EMS (without hot standby mode)
3. Starting the EMS Services.
4. Launching EMS Application on Server itself
5. Launching EMS Application on remote clients.
6. Installing EMS (Hot stand by mode)



Note: Lines in pink color represent the commands to be entered by user
Lines in blue color represent the comment lines to understand.
Lines in black color represent the system generated lines.








EMS INSTALLATION PROCEDURE
2


STEP 1: COPYING EMS SOFTWARE
<Login as super user;>
<create a unique directory with any name in root and copy the EMS software tar file
into that directory.>
<Go to the EMS Softare tar file location>
[root@EMS-1 ~]#mkdir /root/ EMS4.2a9/
<Copy the EMS Software file into /root/ EMS4.2a9 folder >
[root@EMS-1 ~]#cp TejEMS_Release_4_2_a9.tgz / root/ EMS4.2a9/
<change to new EMS Software directory>
[root@EMS-1 ~]#cd / root/EMS4.2a9/
[root@EMS-1 EMS4.2a9]#
<Now untar the EMS Software tar file>
[root@EMS-1 EMS4.2a9]#tar -zxvf TejEMS_Release_4_2_a9.tgz
<To see the list of file after untar do list>
[root@EMS-1 EMS4.2a9]#ls -l
drwxr-xr-x 3 root root 4096 Sep 25 11:15 bin
drwxr-xr-x 3 root root 4096 Sep 25 11:14 data
drwxr-xr-x 3 root root 4096 Feb 26 07:23 docs
-rw-r--r-- 1 root root 15458146 Sep 25 11:14 ems.jar
drwxr-xr-x 2 root root 4096 Sep 25 11:14 install
drwxr-xr-x 2 root root 4096 Sep 25 11:14 java
drwxr-xr-x 2 root root 4096 Feb 26 07:24 libs
drwxr-xr-x 2 root root 4096 Sep 25 11:14 scripts
-rw-r--r-- 1 ems ems 77033849 Feb 25 05:44 TejEMS_Release_4_2_a9.tgz
drwxr-xr-x 2 root root 4096 Feb 26 07:24 web

3


STEP 2: INSTALLING EMS (WITHOUT HOTSTANDBY)

<To install EMS, change the directory to install in current directory.>
[root@EMS-1 EMS4.2a9]#cd install
[root@EMS-1 install]#
<To see list of files do list command>
[root@EMS-1 install]#ls -l
total 76
-rwxr-xr-x 1 root root 604 Sep 25 11:14 Cap_Utilization_Cron.sh
-rwxr-xr-x 1 root root 954 Sep 25 11:14 checkJ ava.sh
-rwxr-xr-x 1 root root 6044 Sep 25 11:14 ems_install.sh
-rwxr-xr-x 1 root root 1333 Sep 25 11:14 ems_settings.sh
-rwxr-xr-x 1 root root 2733 Sep 25 11:14 ems_uninstall.sh
-rwxr-xr-x 1 root root 2369 Sep 25 11:14 install_hotstandby.sh
-rwxr-xr-x 1 root root 27715 Sep 25 11:14 PMClientInstall.sh
-rwxr-xr-x 1 root root 653 Sep 25 11:14 setup_Cap_Utilization_Cron.sh
-rwxr-xr-x 1 root root 571 Sep 25 11:14 setup_DBBackup.sh
-rwxr-xr-x 1 root root 550 Sep 25 11:14 setup_mysqlcheck.sh
-rwxr-xr-x 1 root root 553 Sep 25 11:14 setup_mysqlhotcopy.sh
-rwxr-xr-x 1 root root 663 Sep 25 11:14 setup_virtual_ip_down.sh
[root@EMS-1 install]#




4


<Execute the following command to install EMS>
[root@EMS-1 install]#./ ems_install.sh
<After running the above command, installation starts, and it will prompt you for EMS
unique name>
*******************************************************
* *
TJ 5100 04.00.00 Installation
* *
*******************************************************
Verifying java installation....
J ava version Ok 1.6
Installing TJ 5100-04.02.00 at / opt/ ems
Please enter unique EMS Name [ex: EMS_1 or EMS-1] :<Enter the name of the EMS>
Initialising database...
Please specify root password for Database Server: <Enter iltwat>
<Here it may create the user ems if its not created during Linux installation, for that it
will prompt you to enter password; Simply type iltwat and for retype also use the
same i.e. iltwat .>
Do you want TejEMS Services to run at Startup [y]:y
Do you want to install TejEMS in Hot Standby mode [n]:n
<Here you no need to type y and n also if you press return (enter) key it will
take by default values.>

<Lastly you will get the message like EMS Installation completed successfully.>
<J ust do service ems start to start the EMS services.>








5


STEP 3: STARTING EMS SERVICE
[root@EMS-1 install]#service ems start
[root@EMS-1 install]#
<wait till 5 Minutes so that all services will get starts and check the EMS status>
[root@EMS-1 install]#service ems status
1 NamingService 4746 RUNNING
1 ClearChannel -1 NOT RUNNING
1 NotifyService 5952 RUNNING
1 DBDomain 6027 RUNNING
1 EMSCommonDomain 6118 RUNNING
1 TMFDomain 6239 RUNNING
1 PerformanceDomain 6375 RUNNING
[root@EMS-1 install]#
<Now copy some files to launch EMS and ON some services>
[root@EMS-1 install]# cp / opt/ ems/ release/bin/ .java.policy / root/
[root@EMS-1 install]# cp / opt/ ems/ release/bin/ .java.policy / home/ ems
[root@EMS-1 install]# cp / opt/ ems/ release/data/ conf/ jacorb.properties /root/
[root@EMS-1 install]# cp / opt/ ems/ release/data/ conf/ jacorb.properties /home/ems
[root@EMS-1 install]#chkconfig vsftpd on
[root@EMS-1 install]#service vsftpd restart
[root@EMS-1 install]#chkconfig telnet on
[root@EMS-1 install]#service sshd restart



6


STEP 4: LAUNCHING EMS APPLICATION ON SERVER
<Now you can launch the EMS from browser by typing http:/ / <server
ip>/web/ Ems.html (Ex: http/ / 192.168.21.52/web/ Ems.html)>
<First time while Launching EMS Application, Ems.jnlp file asks for software to open
here from browse option, select /usr/ java/ bin/javaws and click on open. It will
download java and opens one login authentication window. Default Username is
administrator and password is tejas server IP is <your server ip>and click on Apply.

STEP 5: LAUNCHING EMS APPLICATION ON REMOTE CLIENT
****Make sure that you are already installed jre-6u7-windows-i586-p-s.exe on windows
or jdk-6u7-linux-i586.bin on linux client and server is reachable.
<Open command prompt or Terminal(if linux) and ftp the EMS Server: This we have to
do only when your launching the EMS first time on clinet>
C:\ Documents and Settings\ lakshmaiah>ftp <server ip>(Ex: ftp 192.168.21.52)
<Provide User : ems >
<Provide Passowrd: iltwat >
ftp>cd / opt/ ems/ release/bin
ftp>mget .java.policy
<press y to download that file>
ftp>cd / opt/ ems/ release/data/ conf/
ftp>mget jacorb.properties
<press y to download that file>
ftp>bye;
<Now you can launch the EMS from browser by typing http:/ / <server
ip>/web/ Ems.html (Ex: http/ / 192.168.21.52/web/ Ems.html)>
Default Username is administrator and password is tejas server IP is <your server ip>
and click on Apply.


7



STEP 6: INSTALLING EMS IN HOTSTANDBY MODE
<FOLLOW STEP 1: to copy the EMS istallation files>
Requirements :
1. required 3 IPs, one for Master, one for Slave and other one is for Virtual IP.
2. Note down Eth0 MAC ID of both Master and Salve Server and the IPs assigned
to the interfaces.
Assume:
Eth0 MAC IP
Master 00:19:B9:23:0F:E8 192.168.21.52
Slave 00:19:B9:23:0F:D3 192.168.21.53
Virtual IP 192.168.21.54
8


<Execute the following command to install EMS in Hot standby mode>
root@EMS-1 install]# ./ ems_install.sh
*******************************************************
* *
TJ 5100 04.02.00 Installation
* *
*******************************************************
Verifying privileges...OK
Verifying java installation....
J ava version Ok 1.6
Installing TJ 5100-04.02.00 at / opt/ ems
Please enter unique EMS Name [ex: EMS_1 or EMS-1] :EMS-1 <Here you need type
your EMS name>
Initialising database...
Please specify root password for Database Server:
Do you want TJ 5100 Services to run at Startup [y]:<Press Enter key>
Do you want to install TJ 5100 in Hot Standby mode [n]: y
hotstandby.NMSdirectory=/ opt/ ems/release/
Type the Hot StanadBy EMS Machine IPs/ Names separated by comma
[Eg: 192.168.20.100,192.168.20.200] : 192.168.21.52,192.168.21,53 (here we have to
give master and slave ips separated with comma)
Enter the Hot standby priority of this EMS Server [0] : 9 <here higher the number it will
be the master, but number should be <=9. If you are giving 9 for master you can give
some other number less than 9 say 4 to slave server while installing EMS on slave
server>
Please enter the password for user ems : iltwat
Please enter the MAC Address of the NIC used for HotStandby : 00:19:B9:23:0F:E8 (This
is tha MAC address of Eth0 interface of this server)
9


Please enter the Virtual IP to be used for HotStandby : 192.168.21.54
Please enter the Ethernet Interface to be used for HotStandby(eth0/ eth1/ ..) : eth0
Please enter the Ethernet Interface Alias Number to be used for HotStandby : 1
******************************************************************
* Installation completed sucessfully!!! *
******************************************************************
[root@EMS-1 install]#
<Same procedure we have to follow in Slave Server to install the EMS. After
installation of EMS on Slave server, start only Master server EMS according to STEP 3:>
<we have to follow STEP 3 , 4 and 5 to launch EMS application, but only change is, we
have to use virtual ip instead of main server ip while launching EMS Application.>










Document made by:
Lakshmaiah.G
09886401921
mailto:lakshmaiah@india.tejasnetworks.com

Vous aimerez peut-être aussi