Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • standard Monitoring – 1 Oracle
  • how to find OS block size Oracle
  • Oracle 10g for solaris 10 Oracle
  • logminer and my_lbu Oracle
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • Caching sequence in Memory Oracle
  • shutdown linux Linux/Unix
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • UTL_FILE test program Oracle
  • cold backup scripts to copy locally Linux/Unix
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • catall.sh Linux/Unix
  • EXTPROC Oracle

Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets.

Posted on 16-Sep-2008 By Admin No Comments on Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets.

[1] We have logserver as existing central monitoring server.

[2] need to establish other monitoring server same as logserver.

[3] so

login as oracle

copy ~/.ssh from logserver1 to dbmonitor.

on dbmonitor:

cd .ssh

cat id_dsa.pub id_rsa.pub > both_keys

then do the following for target servers. pls note that where ssh2 is installed the file will be ~/.ssh/authorized_keys2. Where ssh1 is installed the file will be ~/.ssh/authorized_keys.

oracle@dbmonitor*-/export/home/oracle/.ssh

==>cat both_keys | ssh keller2 “cat >> .ssh/authorized_keys2”

oracle@keller2’s password:

Permission denied, please try again.

oracle@keller2’s password:

oracle@dbmonitor*-/export/home/oracle/.ssh

==>cat both_keys | ssh keller2 “cat >> .ssh/authorized_keys”

oracle@keller2’s password:

oracle@dbmonitor*-/export/home/oracle/.ssh

==>cat both_keys | ssh keller4 “cat >> .ssh/authorized_keys”

oracle@keller4’s password:

oracle@dbmonitor*-/export/home/oracle/.ssh

==>cat both_keys | ssh keller4 “cat >> .ssh/authorized_keys”

oracle@keller4’s password:

oracle@dbmonitor*-/export/home/oracle/.ssh

==>cat both_keys | ssh liback “cat >> .ssh/authorized_keys2”

oracle@liback’s password:

oracle@dbmonitor*-/export/home/oracle/.ssh

==>cat both_keys | ssh liback “cat >> .ssh/authorized_keys”

oracle@liback’s password:

oracle@dbmonitor*-/export/home/oracle/.ssh

Then try to connect from dbmonitor to target box using ssh, it will not ask the password.

Linux/Unix, shell

Post navigation

Previous Post: Finding last recovered file on DR and remove all chanracters before any “/”
Next Post: When error comes for temporary tablespace with version <= 9i

Related Posts

  • note id 373303.1 Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • xargs use Linux/Unix
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • initUOCIOTTO.ora Oracle
  • temp_use.sql diplays usage of temp ts Oracle
  • create database link syntax Oracle
  • New OFA for 11g Oracle
  • get_vmstat_solaris Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • Order by with ROWNUM Oracle
  • longtx.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme