Skip to content

Commit 9d34d37

Browse files
authored
Update README.md
1 parent 7443fb1 commit 9d34d37

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

python/README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,41 @@ If replication is not specified, both the source and target protection groups ar
2222
If the JSON file does not specify authentication credentials, the code will try to read the OS variables FA_HOST and API_TOKEN for authentication to the source Flash Array.\
2323
If the JSON file does not specify authentication credentials, the code will try to read the OS variables FA_HOST_TGT and API_TOKEN_TGT for authentication to the target Flash Array.\
2424

25+
# Excluding Volumes in the Protection Group
26+
27+
In some scenarios you may with to exclude volumes from the snapshot-copy. For example, VVOLs include a config VVOL that must NOT be overwritten. In this example, the JSON file allows the user to specify source volumes in the protection group that will NOT be sync'd to target volumes in the target protection group.
28+
29+
# A Worked Example
30+
<code>
31+
[oracle@gct-oradb-demo-dev01 py]$ python fa_pg_snap.py -f fa27b.json -n dec051652 -r -s gct-oradb-demo-prd01-pg -x
32+
============
33+
fa_pg_snap.py 1.0.0 started at 2025-12-05 16:54:31.063118
34+
============
35+
connecting to Flash Array:sn1-x90r2-f06-27.puretec.purestorage.com
36+
connected
37+
============
38+
connecting to Flash Array:sn1-x90r2-f06-33.puretec.purestorage.com
39+
connected
40+
============
41+
determining if snapshot dec051652 exists for source pg:gct-oradb-demo-prd01-pg
42+
snapshot dec051652 exists
43+
source protection group:gct-oradb-demo-prd01-pg
44+
target protection group:Not Defined
45+
============
46+
querying the volumes for protection group:gct-oradb-demo-prd01-pg
47+
gct-oradb-demo-prd01-data-00
48+
gct-oradb-demo-prd01-data-01
49+
gct-oradb-demo-prd01-fra-00
50+
gct-oradb-demo-prd01-fra-01
51+
============
52+
excluding:{'volume_id': 'xxdd246ff7-9104-71cd-0320-8915f47aa77e'}
53+
excluding:{'volume_id': 'dd246ff7-9104-71cd-0320-8915f47aa77e'}
54+
============
55+
listing the volumes for snapshot:dec051652
56+
name:sn1-x90r2-f06-27:gct-oradb-demo-prd01-pg.dec051652.gct-oradb-demo-prd01-data-00 size:120.0 GB
57+
name:sn1-x90r2-f06-27:gct-oradb-demo-prd01-pg.dec051652.gct-oradb-demo-prd01-data-01 size:120.0 GB
58+
name:sn1-x90r2-f06-27:gct-oradb-demo-prd01-pg.dec051652.gct-oradb-demo-prd01-fra-00 size:40.0 GB
59+
name:sn1-x90r2-f06-27:gct-oradb-demo-prd01-pg.dec051652.gct-oradb-demo-prd01-fra-01 size:40.0 GB
60+
============
61+
program terminated
62+
</code>

0 commit comments

Comments
 (0)