netstat -ano | grep 7002
RSA Replication (Replica) [SHUTDOWN]
netstat -aon traceroute <IP address of primary> traceroute <IP address of replica> nslookup <IP address of primary> nslookup <IP address of replica> nslookup <FQDN of primary> nslookup <FQDN of replica> tcpdump tcp port 7002
rsaadmin@marge:~> cd /opt/rsa/am/server rsaadmin@marge:/opt/rsa/am/server> ./rsaserv status all RSA Database Server [RUNNING] RSA Administration Server with Operations Console [RUNNING] RSA RADIUS Server Operations Console [RUNNING] RSA Runtime Server [RUNNING] RSA RADIUS Server [RUNNING] RSA Console Server [RUNNING] RSA Replication (Primary) [RUNNING] rsaadmin@marge:/opt/rsa/am/server> ./rsaserv restart all Stopping RSA RADIUS Server: ** RSA RADIUS Server [SHUTDOWN] Stopping RSA Runtime Server: *** RSA Runtime Server [SHUTDOWN] Stopping RSA Console Server: ** RSA Console Server [SHUTDOWN] Stopping RSA Replication (Primary): ** RSA Replication (Primary) [SHUTDOWN] Stopping RSA Database Server: * RSA Database Server [SHUTDOWN] Stopping RSA RADIUS Server Operations Console: ** RSA RADIUS Server Operations Console [SHUTDOWN] Stopping RSA Administration Server with Operations Console: ** RSA Administration Server with Operations Console [SHUTDOWN] Starting RSA Administration Server with Operations Console: Starting RSA Database Server: ************* RSA Administration Server with Operations Console [RUNNING] Starting RSA RADIUS Server Operations Console: *\ RSA Database Server [RUNNING] ************* RSA RADIUS Server Operations Console [RUNNING] Starting RSA Runtime Server: ***************************** RSA Runtime Server [RUNNING] Starting RSA RADIUS Server: * RSA RADIUS Server [RUNNING] Starting RSA Console Server: * Starting RSA Replication (Primary): *** RSA Replication (Primary) [RUNNING]***************** RSA Console Server [RUNNING] rsaadmin@marge:/opt/rsa/am/server>
rsaadmin@marge:/opt/rsa/am> cd ../server rsaadmin@marge:/opt/rsa/am/server> ./rsaserv replica_replication Stopping RSA Replication (Replica): / RSA Database Server [RUNNING] RSA Replication (Replica) [SHUTDOWN] Starting RSA Database Server: Starting RSA Replication (Replica): *** RSA Replication (Replica) [RUNNING] rsaadmin@marge:/opt/rsa/am/server>
java.lang.RuntimeException: exception occurred while attempting to read file to apply /opt/rsa/am/replication/p2r_sweeps_to_apply/p2r_sweep_781748.sql.gz
at com.rsa.replication.ApplyThread$1.doWork(ApplyThread.java:66)
at com.rsa.replication.AutoFileCloser.<init>(AutoFileCloser.java:28)
at com.rsa.replication.ApplyThread$1.<init>(ApplyThread.java:55)
at com.rsa.replication.ApplyThread.applyChangesFromFileToDatabase(ApplyThread.java:71)
at com.rsa.replication.ApplyThread.applyInsideTransaction(ApplyThread.java:50)
at com.rsa.replication.ApplyThread.apply(ApplyThread.java:36)
at com.rsa.replication.ApplyP2R.workIfNeccessary(ApplyP2R.java:69)
at com.rsa.replication.ReplicationRunnable.work(ReplicationRunnable.java:73)
at com.rsa.replication.util.ServiceCallable.work(ServiceCallable.java:110)
at com.rsa.replication.util.ServiceCallable.runMainLoopUnsafe(ServiceCallable.java:99)
at com.rsa.replication.util.ServiceCallable.runMainLoop(ServiceCallable.java:80)
at com.rsa.replication.util.ServiceCallable.call(ServiceCallable.java:42)
at com.rsa.replication.util.ServiceCallable.call(ServiceCallable.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:139)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:909)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException:Not in GZIP format
at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:141)
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:56)
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:65)
at com.rsa.replication.ApplyThread$1.doWork(ApplyThread.java:60)
gunzip p2r_sweep_781748.sql.gz
md5sum p2r_sweep_781748.sql.gz Primary: 5e8b30233bee8c0943a7f91a72464d9a p2r_sweep_781748.sql.gz Replica: 8d356e6dd7cd35ae76d1c291b62f655b p2r_sweep_781748.sql.gz
cd /opt/rsa/am/replication/p2r_sweeps_to_propagate/
put p2r_sweep_781748.sql.gz.sha256
put p2r_sweep_781748.sql.gz
homer:/opt/rsa/am/replication/p2r_sweeps_to_propagate/tmp # sftp rsaadmin@marge
Connecting to marge...
Password: <enter password>
sftp> cd /opt/rsa/am/replication/p2r_sweeps_to_apply
sftp> put p2r_sweep_781748.sql.gz.sha256
Uploading p2r_sweep_781748.sql.gz.sha256 to /opt/rsa/am/replication/p2r_sweeps_to_apply/p2r_sweep_781748.sql.gz.sha256
p2r_sweep_781748.sql.gz.sha256 100% 64 0.1KB/s 00:00
sftp> put p2r_sweep_781748.sql.gz
Uploading p2r_sweep_781748.sql.gz to /opt/rsa/am/replication/p2r_sweeps_to_apply/p2r_sweep_781748.sql.gz
p2r_sweep_781748.sql.gz 100% 1634 1.6KB/s 00:00
sftp> exit
rsaadmin@marge:/opt/rsa/am> cd /opt/rsa/am/server rsaadmin@marge:/opt/rsa/am/server> ./rsaserv restart all
rsaadmin@marge:/opt/rsa/am/server> ./rsaserv status Running as rsaadmin... RSA Database Server [RUNNING] RSA Administration Server with Operations Console [RUNNING] RSA RADIUS Server Operations Console [RUNNING] RSA Runtime Server [RUNNING] RSA RADIUS Server [RUNNING] RSA Console Server [RUNNING] RSA Replication (Replica) [RUNNING]