Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • shutdown linux Linux/Unix
  • Pending Distributed Transations Oracle
  • age_alert.ksh aging out alert.log Linux/Unix
  • Implementing Listener Security Oracle
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • .profile Linux/Unix
  • SYSOPER Mystery Oracle
  • GSQ.sql Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • Read CSV file using PySpark Python/PySpark
  • purge_trc.sh Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Find_table_size.sql Oracle
  • Roles and Stored Procs II 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

  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • More info about /proc folder and its relation with processes. Linux/Unix
  • SAN Linux/Unix
  • scp with ssh2 Linux/Unix
  • checking redhat linux version Linux/Unix
  • on IBM-AIX for display Linux/Unix

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • S3 Basic info AWS
  • oracle 10g on linux Linux/Unix
  • sql_plan9i.sql Oracle
  • How to stop OCSSD Daemon Oracle
  • xargs use Linux/Unix
  • Good links for x$ tables in oracle. Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme