Recently, some customers have asked me about the impact of SSH modification on oracleRAC. I have also read the documents about this problem and it has no impact on the running of the oracleRAC,
Recently, some customers have asked me about the impact of SSH modification on oracle RAC. I have read the relevant materials and it does not affect the running of oracle RAC. However
Recently, some customers have asked me about the impact of SSH modification on Oracle RAC. I have read the relevant materials and it has no impact on the running of oracle RAC, but "speaking" is not powerful.
Today, we are relatively idle. We will test SSH throughout the entire process, record the test process, and share it with you.
Part I. Status collection before testing
1. The database version is two node RAC of 11.2.0.4, namely node111g and node211g.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0-64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
2. The cluster status is normal.
[Grid @ node111g ~] $ Crsctl status res-t
--------------------------------------------------------------------------------
Name target state server STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
Ora. DATA. dg
ONLINE node111g
ONLINE node211g
Ora. DGROUP_01.dg
ONLINE node111g
OFFLINE node211g
Ora. FRA. dg
ONLINE node111g
ONLINE node211g
Ora. LISTENER. lsnr
ONLINE node111g
ONLINE node211g
Ora. LISTENER_TEST.lsnr
ONLINE node111g
ONLINE node211g
Ora. OCR. dg
ONLINE node111g
ONLINE node211g
Ora. VOTE3D. dg
ONLINE node111g
OFFLINE node211g
Ora. asm
ONLINE node111g Started
ONLINE node211g Started
Ora. gsd
OFFLINE node111g
OFFLINE node211g
Ora. net1.network
ONLINE node111g
ONLINE node211g
Ora. ons
ONLINE node111g
ONLINE node211g
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
Ora. TEST_SCAN1.lsnr
1 ONLINE node111g
Ora. cvu
1 ONLINE node211g
Ora. node111g. vip
1 ONLINE node111g
Ora. node211g. vip
1 ONLINE node211g
Ora. productname
1 ONLINE node211g
Ora. orcl. db
1 ONLINE node111g Open
2 ONLINE node211g Open
Ora. orcl. romi. svc
1 ONLINE node111g
Ora. orcl. test. svc
1 ONLINE node211g
2 ONLINE node111g
Ora. scan1.vip
1 ONLINE node111g
3. In the SSH configuration file, the default SSH port is 22, which is mentioned in the file. We do not recommend modifying the default value, !!! I just want to change it. What should I do ??
[Root @ node111g ~] # More/etc/ssh/sshd_config
# $ OpenBSD: sshd_config, v 1.73 2005/12/06 22:38:28 reyk Exp $
# This is the sshd server system-wide configuration file. See
# Sshd_config (5) for more information.
# This sshd was compiled with PATH =/usr/local/bin:/usr/bin
# The strategy used for options in the default sshd_config shipped
# OpenSSH is to specify options with their default value where
# Possible, but leave them commented. Uncommented options change
# Default value.
# Port 22
# Protocol 2, 1
Protocol 2
# AddressFamily any
# ListenAddress 0.0.0.0
# ListenAddress ::
......
[Root @ node111g ~] #
[Root @ node211g ~] # More/etc/ssh/sshd_config
# $ OpenBSD: sshd_config, v 1.73 2005/12/06 22:38:28 reyk Exp $
# This is the sshd server system-wide configuration file. See
# Sshd_config (5) for more information.
# This sshd was compiled with PATH =/usr/local/bin:/usr/bin
# The strategy used for options in the default sshd_config shipped
# OpenSSH is to specify options with their default value where
# Possible, but leave them commented. Uncommented options change
# Default value.
# Port 22
# Protocol 2, 1
Protocol 2
# AddressFamily any
# ListenAddress 0.0.0.0
# ListenAddress ::
# HostKey for protocol version 1
# HostKey/etc/ssh/ssh_host_key
# HostKeys for protocol version 2
# HostKey/etc/ssh/ssh_host_rsa_key
# HostKey/etc/ssh/ssh_host_dsa_key
# Lifetime and size of ephemeral version 1 server key
# KeyRegenerationInterval 1 h
Part II Actual modification Part