Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Roles and Stored Procs II Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • Privilege to describe the table. Oracle
  • Goldengate Tutorial Oracle
  • Rename Oracle Instance Name Oracle
  • Good notes for shared pool Oracle
  • DBMS_JOB all example Oracle
  • pvm_pre_change.sql Oracle
  • Zip and unzip with tar Linux/Unix
  • setting prompt display with .profile Linux/Unix
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • Renaming Global Name GLOBAL_NAME Oracle
  • Consolidated Reference List Of Notes For Migration / Upgrade Service Requests -ID 762540.1 Oracle
  • plan10g.sql 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

  • Monitor and Trace Unix processes using truss Linux/Unix
  • ipcs -l Linux/Unix
  • Directory wise folder wise space usage Linux/Unix
  • find checksum of a file. Linux/Unix
  • Search and replace editor command in vi Linux/Unix
  • tuning commmand for cpu, ip and memory stats 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)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • tblwopk.sql tablewopk.sql Oracle
  • sid_wise_sql.sql Oracle
  • UNderstand and eliminate Latch contention. Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • 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
  • Resolving RMAN Hung Jobs Oracle
  • v$backup.status information Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme