Purpose: View the Status of the newly started SyncIQ Job with Amount of NETWORK BYTES transfered, Current THROUGHPUT, No of Workers Assigned, Current CPU UTILIZATION
Modify Attributes in Script:
1. <PolicyName>
2. <PolicyID>
3. <Replication Name>
# get the Policy ID for the Sync Policy Name
IsilonCluster1-2# isi sync policies view --policy=<PolicyName> | grep -i ID
ID: <bxxxxxxxxxxxxxxxxxxxxxxxxxxxa>
#get the Replication Name with the Sync Policy ID
Syntax: isi_repstate_mod -ll pol_id - (list reps in a directory)
IsilonCluster1-2# isi_repstate_mod -ll <bxxxxxxxxxxxxxxxxxxxxxxxxxxxa>
<bxxxxxxxxxxxxxxxxxxxxxxxxxxxa>_snap_rep_base - Replication Name
<bxxxxxxxxxxxxxxxxxxxxxxxxxxxa>_select_238749
Syntax (list all Worker Entries): isi_repstate_mod -wa pol_id rep_name - (print all work entries)
Script:
IsilonCluster1-2# while true;do print "*******START******";print "======================";date;print "======================";print "/-SYNC JOB VERBOSE VIEW";print "======================";isi_classic sync job rep -v <PolicyName>;echo " ";print "======================";print "/-NETWORK BYTES(look for a change every run)";print "======================";isi_classic sync job rep -v <PolicyName> | grep -A4 "Bytes:";echo " ";print "======================";print "/-SYNC JOB VIEW THROUGHPUT";print "======================";isi_classic sync job rep;echo " ";print "======================";print "/-MAX WORKERS";print "======================";isi_repstate_mod -wa <PolicyID> <Replication Name> | grep workitem | wc -l;echo " ";print "======================";print "/-CPU UTILIZATION";print "======================";isi statistics system list --nodes=all;print "======================";print "*******FINISH******";sleep 300;done
Output:
*******START******
======================
Thu Aug 30 08:30:58 PDT 2018
======================
/-SYNC JOB VERBOSE VIEW
======================
Policy name: PolicyName
Action: sync
Sync Type: initial
Job ID: 1
Started: Wed Aug 29 21:33:12 PDT 2018
Run time: 10:57:46
Status: Running
Details:
Directories:
Visited on source: 117198
Deleted on destination: 0
Files:
Total Files: 1708005
New files: 1708005
Updated files: 0
Automatically retransmitted files: 0
Deleted on destination: 0
Skipped for some reason:
Up-to-date (already replicated): 0
Modified while being replicated: 0
IO errors occurred: 0
Network errors occurred: 0
Integrity errors occurred: 0
Bytes:
Total Network Traffic: 8.6 TB (9482042338352 bytes)
Total Data: 8.6 TB (9471597284558 bytes)
File Data: 8.6 TB (9471597284558 bytes)
Sparse Data: 0B
Phases (1/3):
Treewalk (STF_PHASE_TW)
Start: Wed Aug 29 21:37:39 PDT 2018
End: N/A
Start: Wed Aug 29 21:33:24 PDT 2018
End: Wed Aug 29 21:37:39 PDT 2018
======================
/-NETWORK BYTES(look for a change every run)
======================
Bytes:
Total Network Traffic: 8.6 TB (9483514244073 bytes)
Total Data: 8.6 TB (9473067646801 bytes)
File Data: 8.6 TB (9473067646801 bytes)
Sparse Data: 0B
======================
/-SYNC JOB VIEW THROUGHPUT
======================
Name | Act | St | Duration | Transfer | Throughput
--------------+------+---------+----------+----------+-----------
PolicyName | sync | Running | 10:57:53 | 8.6 TB | 1.8 Gb/s
======================
/-MAX WORKERS
======================
36
======================
/-CPU UTILIZATION
======================
Node CPU SMB FTP HTTP NFS HDFS Total NetIn NetOut DiskIn DiskOut
---------------------------------------------------------------------------------
All 6.4% 7.4M 0.0 457.1 395.1k 0.0 7.8M 73.6M 272.8M 328.4M 292.7M
1 2.6% 67.8k 0.0 0.0 2.9k 0.0 70.7k 5.6M 19.5M 423.4k 52.4k
2 3.2% 23.1k 0.0 0.0 391.2k 0.0 414.3k 6.3M 21.2M 5.3M 432.5k
3 3.5% 45.6k 0.0 457.1 48.9 0.0 46.1k 5.7M 19.8M 379.2k 272.0k
...........................................
24 14.8% 0.0 0.0 0.0 0.0 0.0 0.0 6.4M 23.3M 35.6M 11.8M
25 15.1% 4.3M 0.0 0.0 0.0 0.0 4.3M 5.0M 31.3M 15.9M 12.1M
---------------------------------------------------------------------------------
Total: 26
======================
*******FINISH******
Modify Attributes in Script:
1. <PolicyName>
2. <PolicyID>
3. <Replication Name>
# get the Policy ID for the Sync Policy Name
IsilonCluster1-2# isi sync policies view --policy=<PolicyName> | grep -i ID
ID: <bxxxxxxxxxxxxxxxxxxxxxxxxxxxa>
#get the Replication Name with the Sync Policy ID
Syntax: isi_repstate_mod -ll pol_id - (list reps in a directory)
IsilonCluster1-2# isi_repstate_mod -ll <bxxxxxxxxxxxxxxxxxxxxxxxxxxxa>
<bxxxxxxxxxxxxxxxxxxxxxxxxxxxa>_snap_rep_base - Replication Name
<bxxxxxxxxxxxxxxxxxxxxxxxxxxxa>_select_238749
Syntax (list all Worker Entries): isi_repstate_mod -wa pol_id rep_name - (print all work entries)
Script:
IsilonCluster1-2# while true;do print "*******START******";print "======================";date;print "======================";print "/-SYNC JOB VERBOSE VIEW";print "======================";isi_classic sync job rep -v <PolicyName>;echo " ";print "======================";print "/-NETWORK BYTES(look for a change every run)";print "======================";isi_classic sync job rep -v <PolicyName> | grep -A4 "Bytes:";echo " ";print "======================";print "/-SYNC JOB VIEW THROUGHPUT";print "======================";isi_classic sync job rep;echo " ";print "======================";print "/-MAX WORKERS";print "======================";isi_repstate_mod -wa <PolicyID> <Replication Name> | grep workitem | wc -l;echo " ";print "======================";print "/-CPU UTILIZATION";print "======================";isi statistics system list --nodes=all;print "======================";print "*******FINISH******";sleep 300;done
Output:
*******START******
======================
Thu Aug 30 08:30:58 PDT 2018
======================
/-SYNC JOB VERBOSE VIEW
======================
Policy name: PolicyName
Action: sync
Sync Type: initial
Job ID: 1
Started: Wed Aug 29 21:33:12 PDT 2018
Run time: 10:57:46
Status: Running
Details:
Directories:
Visited on source: 117198
Deleted on destination: 0
Files:
Total Files: 1708005
New files: 1708005
Updated files: 0
Automatically retransmitted files: 0
Deleted on destination: 0
Skipped for some reason:
Up-to-date (already replicated): 0
Modified while being replicated: 0
IO errors occurred: 0
Network errors occurred: 0
Integrity errors occurred: 0
Bytes:
Total Network Traffic: 8.6 TB (9482042338352 bytes)
Total Data: 8.6 TB (9471597284558 bytes)
File Data: 8.6 TB (9471597284558 bytes)
Sparse Data: 0B
Phases (1/3):
Treewalk (STF_PHASE_TW)
Start: Wed Aug 29 21:37:39 PDT 2018
End: N/A
Start: Wed Aug 29 21:33:24 PDT 2018
End: Wed Aug 29 21:37:39 PDT 2018
======================
/-NETWORK BYTES(look for a change every run)
======================
Bytes:
Total Network Traffic: 8.6 TB (9483514244073 bytes)
Total Data: 8.6 TB (9473067646801 bytes)
File Data: 8.6 TB (9473067646801 bytes)
Sparse Data: 0B
======================
/-SYNC JOB VIEW THROUGHPUT
======================
Name | Act | St | Duration | Transfer | Throughput
--------------+------+---------+----------+----------+-----------
PolicyName | sync | Running | 10:57:53 | 8.6 TB | 1.8 Gb/s
======================
/-MAX WORKERS
======================
36
======================
/-CPU UTILIZATION
======================
Node CPU SMB FTP HTTP NFS HDFS Total NetIn NetOut DiskIn DiskOut
---------------------------------------------------------------------------------
All 6.4% 7.4M 0.0 457.1 395.1k 0.0 7.8M 73.6M 272.8M 328.4M 292.7M
1 2.6% 67.8k 0.0 0.0 2.9k 0.0 70.7k 5.6M 19.5M 423.4k 52.4k
2 3.2% 23.1k 0.0 0.0 391.2k 0.0 414.3k 6.3M 21.2M 5.3M 432.5k
3 3.5% 45.6k 0.0 457.1 48.9 0.0 46.1k 5.7M 19.8M 379.2k 272.0k
...........................................
24 14.8% 0.0 0.0 0.0 0.0 0.0 0.0 6.4M 23.3M 35.6M 11.8M
25 15.1% 4.3M 0.0 0.0 0.0 0.0 4.3M 5.0M 31.3M 15.9M 12.1M
---------------------------------------------------------------------------------
Total: 26
======================
*******FINISH******
No comments:
Post a Comment