Friday, January 18, 2013

How to install BPPM client on Linux server

Dear Friendz,

Thanks and appreciate your views and visits. A bit of work i did today on BPPM installation. steps and work done is given in detailed below.

What is BPPM :- it is a monitoring tool, which is to monitor the incidents on on any kind of server. It has a patroling agent which monitors the parameter on the server/,


1st Step :- we need to create an image on any linux box. and that same image will be copied to other servers through scp or winsc or using any tool which you use. I copied the same through

#scp -rp /tmp/image/ 192.168.2.23:/tmp/

this image is tranferred then we need to perform below steps.

2nd :- for creation of Image, we need to download the gzip file from BPPM site with specific version of OS like 6.2 incase of mine.
3. gunzip or unzip the same.
4. that will extract some files named as setup.sh.
5. chnage the permission of the file using
chmod 777 setup.sh
6. now run the same and that will open a window and will ask you to open the same through web browser.
you need to click and enter some details about root and its password and patrol user credentials too.
7. some more window will open, you can go with default option in image installation window.
8. once image is created successfully.
9. create patrol user account with

uid=201(patrol) gid=190(patrol)
10.
Steps for installation of BPPM on the Linux server.

 

 

1.       Copy the image folder from /tmp folder using scp or winscp. Then

 

Mount the DVD  of 6.2 64 bit and then install below packages.

 

First step :-  #yum clean all

                        #yum update all

 

Install below packages on the server.

 

#[root@ /]# yum install libstdc++.so.5* compat-libstdc++-33* -y

 

Loaded plugins: product-id, refresh-packagekit, security, subscription-manager

Updating certificate-based repositories.

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package compat-libstdc++-33.i686 0:3.2.3-69.el6 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

==============================================================================================================================

Package                               Arch                   Version                          Repository                Size

==============================================================================================================================

Installing:

compat-libstdc++-33                   i686                   3.2.3-69.el6                     Server                   189 k

 

Transaction Summary

==============================================================================================================================

Install       1 Package(s)

 

Total download size: 189 k

Installed size: 716 k

Is this ok [y/N]: y

 

 

·         Create patrol user if not created already with below details.

#useradd –m –d /home/patrol –s /bin/bash

#passwd patrol

Password should be :- xxxxxxxxxxx

 

 

·         After this.  We have to run the ./install.sh from /image folder in /tmp location. After successful installation. We have to do below steps.

 

 

After installation, below are the post installation steps.

 

Check the shell of Patrol user, if correct then leave else.

 

If found shell other than /bin/bash for patrol user then Change it to:-

 

#usermod –s /bin/bash patrol :----- to get into proper directory of patrol user or login into it.

 

 1)  cd /opt/bmc/Patrol3

 2)  ./agent_configure.sh -d  (run as root only)

 3)  ./b1config9000.sh   (run as root ONLY)

 4)   chmod 777 /usr/adm    (run as root)

 5)   su - patrol  (switch to patrol user)

 6)  ./PatrolAgent -p 3181  (run as patrol)

 

cd /opt/bmc/Patrol3

./agent_configure.sh -d 

./b1config9000.sh  

chmod 777 /usr/adm

su - patrol    

./PatrolAgent -p 3181

 

That is it.

 

[patrol@Patrol3]$ ps -ef |grep -i 3181

patrol   22681     1  0 21:56 ?        00:00:00 PatrolAgent -p 3181

patrol   22713 22628  0 21:58 pts/1    00:00:00 grep -i 3181

[patrol@ Patrol3]$

 



 

2 comments:

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.