Thursday, November 27, 2008

Installing Grid Control on RHEL

login as: root
root@194.81.224.45's password:
Last login: Sat Aug 30 13:16:10 2008 from 192.171.171.145
[root@qasim ~]# df -h
This command will show mount points and their usage and availability.
[root@qasim ~]# uname -a
Linux qasim 2.6.9-42.0.0.0.1.ELsmp #1 SMP Sun Oct 15 14:02:40 PDT 2006 i686 i686 i386 GNU/Linux
(This command showed the Operating System and Version)
[root@qasim home]# useradd -d /home/gridora -m -g dba gridora
(This user created the user gridora and created a home folder for it)

You need to create a folder on which you will install Grid Control.You should create this folder through root and then assign and give write permissions on this folder by following commands:
[root@qasim ~]#mkdir ORAGRID
[root@qasim ~]# chown –R gridora:dba ORAGRID
[root@qasim ~]#chmod 777 ORAGRID
You need to update the /etc/oraInst.loc with current Inventory and dba group.

Now you need to run VNC server by this command
[root@qasim ~]#vncserver


[gridora@qasim ~]$ vncserver

You will require a password to access your desktops.

Password:
Verify:
After VNC server is launched.You need to search vnc server port.You will find this port by following commands:
[gridora@qasim ~]$ ps -ef|grep vnc
gridora 8342 1 1 18:59 pts/2 00:00:00 Xvnc :2 -desktop qasim:2 (gridora) -httpd /usr/share/vnc/classes -auth /home/gridora/.Xauthority -geometry 1024x768 -depth 16 -rfbwait 30000 -rfbauth /home/gridora/.vnc/passwd -rfbport 5902 -pn
gridora 8348 1 0 18:59 pts/2 00:00:00 vncconfig -iconic
gridora 8379 8307 0 19:00 pts/2 00:00:00 grep vnc


vnc server is running on port 2.So add this port to 580 and it will become 5802.
Now open the browser and in there write the server name which is qasim in our case and after the : write the port number which will be 5802 in this case.
It will ask the username and password which was created and it will be only for this session. In there go to the path and run the runInstaller which will launch installation.



Important
*** The log file is created at /u02/GRIDORA/oraInventory/logs/installActions2008-08-30_07-26-19PM.log
*** Before starting installation in VNC if you will switch user it will not work bcoz it has been started for only one user.

No comments:

Post a Comment