Finally, I figured out what is going on:
CTRL + s : Causes terminal freeze (scroll lock ON)
CTRL + q : Cases unfreeze terminal (equivalent to scroll lock OFF)
DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog.
You may use the commands/method/scripts on your own responsibility.
Note: The blog is best viewed with 1680x1050 pixel settings.
CTRL + s : Causes terminal freeze (scroll lock ON)
CTRL + q : Cases unfreeze terminal (equivalent to scroll lock OFF)
[root@linux01 ~]# lsof -w -n -i tcp:22
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sshd 2410 root 3u IPv4 6134 TCP *:ssh (LISTEN)
sshd 1639 root 3u IPv4 1637600475 TCP 10.20.30.99:ssh->10.20.50.231:35263 (ESTABLISHED)
sshd 9592 root 3u IPv4 3266851044 TCP 10.20.30.99:ssh->10.20.50.231:44621 (ESTABLISHED)
sshd 10119 root 3u IPv4 3006017510 TCP 10.20.30.99:ssh->10.20.50.231:62445 (ESTABLISHED)
sshd 13909 root 3u IPv4 739010581 TCP 10.20.30.99:ssh->10.20.40.88:35215 (ESTABLISHED)
sshd 24696 root 3u IPv4 273846126 TCP 10.20.30.99:ssh->10.20.40.89:39529 (ESTABLISHED)
sshd 24900 root 3u IPv4 352035868 TCP 10.20.30.99:ssh->10.20.40.88:59163 (ESTABLISHED)
sshd 25662 root 3u IPv4 982162556 TCP 10.20.30.99:ssh->10.20.40.89:65096 (ESTABLISHED)
sshd 27358 root 3u IPv4 982169152 TCP 10.20.30.99:ssh->10.20.40.89:65097 (ESTABLISHED)
# rpm -qa | grep -i tftp
tftp-server-0.49-2
tftp-0.49-2
# cat /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
per_source = 11
cps = 100 2
flags = IPv4
}
# chkconfig --list | grep -i tftp
tftp: on
# service xinetd status
xinetd (pid 2374) is running...
# cat /etc/inetd.conf | grep -i tftp
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
# inetconv -i /etc/inetd.conf
inetconv: Notice: Service manifest for 100235/1 already generated as /var/svc/manifest/network/rpc/100235_1-rpc_ticotsord.xml, skipped
tftp -> /var/svc/manifest/network/tftp-udp6.xml
Importing tftp-udp6.xml ...Done
# svcs -a | grep -i tftp
online 8:20:39 svc:/network/tftp/udp6:default
# rsh filer02 options snapmirror
snapmirror.access host=*
snapmirror.checkip.enable off
snapmirror.delayed_acks.enable on
snapmirror.enable on
snapmirror.log.enable on
snapmirror.vbn_log_enable off (value might be overwritten in takeover)
#
#
# rsh filer02 snapmirror initialize -S filer01:vol01 filer02:vol02
Transfer started.
Monitor progress with 'snapmirror status' or the snapmirror log.
#
#
# rsh filer02 snapmirror status
Snapmirror is on.
Source Destination State Lag Status
filer01:vol01 filer02:vol02 Uninitialized - Transferring (180 MB done)
#
#
# rsh filer02 snapmirror status
Snapmirror is on.
Source Destination State Lag Status
filer01:vol01 filer02:vol02 Source - Idle
#
#
NOTE: At this stage, the snapmirror refresh can be setup using /etc/snapmirror.conf file. The file looks like below. In this example, data is getting refreshed every 0th minute of every hour:
#
#
# rsh filer02 rdfile /etc/snapmirror.conf
filer01:vol01 filer02:vol02 - 0 * * *
#
#
When cutover is needed, do the following:
1) Disable entries from /etc/snapmirror.conf
#
#
# rsh filer02 snapmirror quiesce filer02:vol02
#
#
# rsh filer02 snapmirror break filer02:vol02
#
#
At this stage, delete any extra snapshots which might not be needed anymore.
#
#