Professional Documents
Culture Documents
Qtest Step1 TC28
Qtest Step1 TC28
Qtest Step1 TC28
replication
"name": "tc28src",
"creationToken": "tc28src",
"region": "us-west2",
"serviceLevel": "extreme",
"quotaInBytes": 1099511627776,
"snapReserve": 25,
"protocolTypes": [
"NFSv3"
],
"snapshotPolicy": {
"enabled": true,
"hourlySchedule": {
"snapshotsToKeep": 10,
"minute": 5
},
"dailySchedule": {
"snapshotsToKeep": 10,
"hour": 0,
"minute": 5
},
"weeklySchedule": {
"snapshotsToKeep": 10,
"day": "Saturday,Sunday,Monday,Tuesday,Wednesday,Thursday",
"hour": 0,
"minute": 10
},
"monthlySchedule": {
"snapshotsToKeep": 10,
"daysOfMonth": "1,2,21,22,23,24,25,26",
"hour": 0,
"minute": 10
},
"exportPolicy": {
"rules": [
"access": "ReadWrite",
"allowedClients": "0.0.0.0/0",
"nfsv3": {
"checked": true
},
"nfsv4": {
"checked": false
},
"labels": [
"suman",
"api"
],
"network": "projects/90926858763/global/networks/systemic-qa-vpc"
Response:
{
"name": "/v2/projects/90926858763/locations/us-west2/operations/f9aca4d2-1092-
affe-6316-60a6b2e5c321",
"response": {
"@type": "type.googleapis.com/google.protobuf.Struct",
"AnyValue": {
"created": "2020-04-28T11:10:03.000Z",
"lifeCycleState": "creating",
"lifeCycleStateDetails": "Creation in progress",
"name": "tc28src",
"ownerId": "27f345ce-68cc-11ea-a96f-8e3ce64a2dd0",
"region": "us-west2",
"volumeId": "a345353a-c822-65a1-c0a8-29729b81599e",
"creationToken": "tc28src",
"exportPolicy": {
"rules": [
{
"access": "ReadWrite",
"allowedClients": "0.0.0.0/0",
"nfsv3": {
"checked": true
},
"nfsv4": {
"checked": false
}
}
]
},
"isDataProtection": false,
"jobs": [
{
"action": "create",
"created": "2020-04-28T11:10:03.491Z",
"jobId": "f9aca4d2-1092-affe-6316-60a6b2e5c321",
"objectId": "a345353a-c822-65a1-c0a8-29729b81599e",
"objectType": "Volume",
"state": "ongoing",
"stateDetails": "Job is in progress",
"workerId": "3ab20fa0-d38b-e5b0-282c-009ac16e6b8d"
}
],
"labels": [
"suman",
"api"
],
"mountPoints": [],
"network": "projects/90926858763/global/networks/systemic-qa-vpc",
"protocolTypes": [
"NFSv3"
],
"quotaInBytes": 1099511627776,
"securityStyle": "unix",
"serviceLevel": "extreme",
"snapReserve": 25,
"snapshotDirectory": true,
"snapshotPolicy": {
"dailySchedule": {
"hour": 0,
"minute": 5,
"snapshotsToKeep": 10
},
"enabled": true,
"hourlySchedule": {
"minute": 5,
"snapshotsToKeep": 10
},
"monthlySchedule": {
"daysOfMonth": "1,2,21,22,23,24,25,26",
"hour": 0,
"minute": 10,
"snapshotsToKeep": 10
},
"weeklySchedule": {
"day": "Saturday,Sunday,Monday,Tuesday,Wednesday,Thursday",
"hour": 0,
"minute": 10,
"snapshotsToKeep": 10
}
},
"storageClass": "hardware",
"usedBytes": 0
}
}
}
GET: https://cv-stage.us-east4.gcp.netapp.com/v2/projects/90926858763/locations/us-west2/Volumes/a345353a-
c822-65a1-c0a8-29729b81599e
Response:
{
"created": "2020-04-28T11:10:03.000Z",
"lifeCycleState": "available",
"lifeCycleStateDetails": "Available for use",
"name": "tc28src",
"ownerId": "27f345ce-68cc-11ea-a96f-8e3ce64a2dd0",
"region": "us-west2",
"volumeId": "a345353a-c822-65a1-c0a8-29729b81599e",
"zone": "us-west2-zone-1",
"creationToken": "tc28src",
"exportPolicy": {
"rules": [
{
"access": "ReadWrite",
"allowedClients": "0.0.0.0/0",
"nfsv3": {
"checked": true
},
"nfsv4": {
"checked": false
}
}
]
},
"isDataProtection": false,
"jobs": [],
"labels": [
"suman",
"api"
],
"mountPoints": [
{
"export": "/tc28src",
"exportFull": "10.241.19.20:/tc28src",
"instructions": "Setting up your instance\nOpen an SSH client and connect
to your instance.\nInstall the nfs client on your instance.\nOn Red Hat Enterprise Lin
ux or SuSE Linux instance:\nsudo yum install -y nfs-utils\nOn an Ubuntu or Debian inst
ance:\nsudo apt-get install nfs-common\n\nMounting your volume\nCreate a new directory
on your instance, such as \"/tc28src\":\nsudo mkdir /tc28src\nMount your volume using
the example command below:\nsudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=
3,tcp 10.241.19.20:/tc28src /tc28src\nNote. Please use mount options appropriate for y
our specific workloads when known.",
"protocolType": "NFSv3",
"server": "10.241.19.20",
"vlanId": 1003
}
],
"network": "projects/90926858763/global/networks/systemic-qa-vpc",
"protocolTypes": [
"NFSv3"
],
"quotaInBytes": 1099511627776,
"securityStyle": "unix",
"serviceLevel": "extreme",
"snapReserve": 25,
"snapshotDirectory": true,
"snapshotPolicy": {
"dailySchedule": {
"hour": 0,
"minute": 5,
"snapshotsToKeep": 10
},
"enabled": true,
"hourlySchedule": {
"minute": 5,
"snapshotsToKeep": 10
},
"monthlySchedule": {
"daysOfMonth": "1,2,21,22,23,24,25,26",
"hour": 0,
"minute": 10,
"snapshotsToKeep": 10
},
"weeklySchedule": {
"day": "Saturday,Sunday,Monday,Tuesday,Wednesday,Thursday",
"hour": 0,
"minute": 10,
"snapshotsToKeep": 10
}
},
"storageClass": "hardware",
"timezone": "UTC",
"usedBytes": 0
}
Create DP Volume
POST: https://cv-stage.us-east4.gcp.netapp.com/v2/projects/90926858763/locations/us-east4/
DataProtectionVolumes
Body:
"name": "tc28DP",
"region": "us-east4",
"creationToken": "tc28DP",
"serviceLevel": "extreme",
"network": "projects/90926858763/global/networks/systemic-qa-vpc",
"quotaInBytes": 1099511627776,
"snapReserve": 20,
"timezone": "America/Los_Angeles",
"exportPolicy": {
"rules": [
"access": "ReadWrite",
"allowedClients": "0.0.0.0/0",
"nfsv3": {
"checked": true
},
"nfsv4": {
"checked": false
},
"protocolTypes": [
"NFSv3"
],
"smbShareSettings": [
"encrypt_data"
],
"jobs": [
{}
],
"labels": [
"suman"
Response:
{
"name": "/v2/projects/90926858763/locations/us-east4/operations/855e536f-3ccc-
399d-95fc-d60aca180cfd",
"response": {
"@type": "type.googleapis.com/google.protobuf.Struct",
"AnyValue": {
"created": "2020-04-28T11:12:56.000Z",
"lifeCycleState": "creating",
"lifeCycleStateDetails": "Creation in progress",
"name": "tc28DP",
"ownerId": "a37693dc-fa6a-11e9-8d0f-ce0c0a2269f5",
"region": "us-east4",
"volumeId": "4ff756c0-57e6-a07e-78e4-64eb7a6782f8",
"creationToken": "tc28DP",
"exportPolicy": {
"rules": [
{
"access": "ReadWrite",
"allowedClients": "0.0.0.0/0",
"nfsv3": {
"checked": true
},
"nfsv4": {
"checked": false
}
}
]
},
"jobs": [
{
"action": "create",
"created": "2020-04-28T11:12:56.640Z",
"jobId": "855e536f-3ccc-399d-95fc-d60aca180cfd",
"objectId": "4ff756c0-57e6-a07e-78e4-64eb7a6782f8",
"objectType": "Volume",
"state": "ongoing",
"stateDetails": "Job is in progress",
"workerId": "6ec25b02-8c03-9460-08f0-9f9b7dd3803a"
}
],
"labels": [
"suman"
],
"network": "",
"protocolTypes": [
"NFSv3"
],
"quotaInBytes": 1099511627776,
"securityStyle": "unix",
"serviceLevel": "extreme",
"smbShareSettings": [
"encrypt_data"
],
"snapReserve": 20,
"timezone": "America/Los_Angeles",
"usedBytes": 0
}
}
}
GET: https://cv-stage.us-east4.gcp.netapp.com/v2/projects/90926858763/locations/us-east4/Volumes/4ff756c0-57e6-
a07e-78e4-64eb7a6782f8
Response:
{
"created": "2020-04-28T11:12:56.000Z",
"lifeCycleState": "available",
"lifeCycleStateDetails": "Available for use",
"name": "tc28DP",
"ownerId": "a37693dc-fa6a-11e9-8d0f-ce0c0a2269f5",
"region": "us-east4",
"volumeId": "4ff756c0-57e6-a07e-78e4-64eb7a6782f8",
"zone": "gcp-staging-zone",
"creationToken": "tc28DP",
"exportPolicy": {
"rules": [
{
"access": "ReadWrite",
"allowedClients": "0.0.0.0/0",
"nfsv3": {
"checked": true
},
"nfsv4": {
"checked": false
}
}
]
},
"isDataProtection": true,
"jobs": [],
"labels": [
"suman"
],
"mountPoints": [
{
"export": "/tc28DP",
"exportFull": "10.241.19.4:/tc28DP",
"instructions": "Setting up your instance\nOpen an SSH client and connect
to your instance.\nInstall the nfs client on your instance.\nOn Red Hat Enterprise Lin
ux or SuSE Linux instance:\nsudo yum install -y nfs-utils\nOn an Ubuntu or Debian inst
ance:\nsudo apt-get install nfs-common\n\nMounting your volume\nCreate a new directory
on your instance, such as \"/tc28DP\":\nsudo mkdir /tc28DP\nMount your volume using th
e example command below:\nsudo mount -t nfs -o rw,hard,rsize=65536,wsize=65536,vers=3,
tcp 10.241.19.4:/tc28DP /tc28DP\nNote. Please use mount options appropriate for your s
pecific workloads when known.",
"protocolType": "NFSv3",
"server": "10.241.19.4",
"vlanId": 1028
}
],
"network": "projects/90926858763/global/networks/systemic-qa-vpc",
"protocolTypes": [
"NFSv3"
],
"quotaInBytes": 1099511627776,
"securityStyle": "unix",
"serviceLevel": "extreme",
"snapReserve": 20,
"snapshotDirectory": true,
"storageClass": "hardware",
"timezone": "UTC-0",
"usedBytes": 266240
}
POST: https://cv-stage.us-east4.gcp.netapp.com/v2/projects/90926858763/locations/us-east4/VolumeReplications
Body:
"destinationVolumeUUID": "4ff756c0-57e6-a07e-78e4-64eb7a6782f8",
"sourceVolumeUUID": "a345353a-c822-65a1-c0a8-29729b81599e",
"remoteRegion": "us-west2",
"endpointType": "dst",
"name": "replicate_everything_25",
"replicationPolicy": "MirrorAllSnapshots",
"replicationSchedule": "10minutely",
"bandwidth": "64Mbps"
Response:
{
"createdAt": "2020-04-28T11:25:04.047Z",
"endpointType": "dst",
"healthy": true,
"jobs": [
{
"action": "create",
"created": "2020-04-28T11:25:04.049Z",
"jobId": "17d17141-5aba-64c0-ee75-e1d0f79d5e76",
"objectId": "c7f071f6-df94-9ebb-af26-11445a0b5d66",
"objectType": "VolumeReplication",
"state": "ongoing",
"stateDetails": "Job is in progress",
"workerId": "1c9f5bbb-6b85-96f7-002f-f620f164559b"
}
],
"lifeCycleState": "creating",
"lifeCycleStateDetails": "Creation in progress",
"mirrorState": "uninitialized",
"name": "replicate_everything_25",
"relationshipStatus": "idle",
"remoteRegion": "us-west2",
"replicationPolicy": "MirrorAllSnapshots",
"replicationSchedule": "10minutely",
"sourceVolumeUUID": "a345353a-c822-65a1-c0a8-29729b81599e",
"updatedAt": "2020-04-28T11:25:04.047Z",
"volumeReplicationUUID": "c7f071f6-df94-9ebb-af26-11445a0b5d66"
}
GET: https://cv-stage.us-east4.gcp.netapp.com/v2/projects/90926858763/locations/us-east4/VolumeReplications/
c7f071f6-df94-9ebb-af26-11445a0b5d66
Response:
{
"createdAt": "2020-04-28T11:25:04.000Z",
"destinationVolumeUUID": "4ff756c0-57e6-a07e-78e4-64eb7a6782f8",
"endpointType": "dst",
"healthy": true,
"jobs": [],
"lagTime": 252,
"lastTransferDuration": 3,
"lastTransferEndTime": "2020-04-28T12:30:03.000Z",
"lastTransferSize": 2376,
"lifeCycleState": "available",
"lifeCycleStateDetails": "Available for use",
"mirrorState": "mirrored",
"name": "replicate_everything_25",
"relationshipStatus": "idle",
"remoteRegion": "us-west2",
"replicationPolicy": "MirrorAllSnapshots",
"replicationSchedule": "10minutely",
"sourceVolumeUUID": "a345353a-c822-65a1-c0a8-29729b81599e",
"totalTransferBytes": 34328,
"totalTransferTimeSecs": 28,
"updatedAt": "2020-04-28T12:34:12.000Z",
"volumeReplicationUUID": "c7f071f6-df94-9ebb-af26-11445a0b5d66"
}
POST: https://cv-stage.us-east4.gcp.netapp.com/v2/projects/90926858763/locations/us-east4/VolumeReplications/
c7f071f6-df94-9ebb-af26-11445a0b5d66/Break
Response:
{
"name": "/v2/projects/90926858763/locations/us-east4/operations/7ceb9d84-287f-
dea4-8a05-6c71f5de4228",
"response": {
"@type": "type.googleapis.com/google.protobuf.Struct",
"AnyValue": {
"createdAt": "2020-04-28T11:25:04.000Z",
"destinationVolumeUUID": "4ff756c0-57e6-a07e-78e4-64eb7a6782f8",
"endpointType": "dst",
"healthy": true,
"jobs": [
{
"action": "break",
"created": "2020-04-28T12:41:13.591Z",
"jobId": "7ceb9d84-287f-dea4-8a05-6c71f5de4228",
"objectId": "c7f071f6-df94-9ebb-af26-11445a0b5d66",
"objectType": "VolumeReplication",
"state": "ongoing",
"stateDetails": "Job is in progress",
"workerId": "f1d630a0-028f-9ce6-5223-703b4c258b35"
}
],
"lagTime": 3,
"lastTransferDuration": 3,
"lastTransferEndTime": "2020-04-28T12:30:03.000Z",
"lastTransferSize": 2376,
"lifeCycleState": "updating",
"lifeCycleStateDetails": "Update in progress",
"mirrorState": "mirrored",
"name": "replicate_everything_25",
"progressLastUpdated": "2020-04-28T12:40:03.000Z",
"relationshipStatus": "transferring",
"remoteRegion": "us-west2",
"replicationPolicy": "MirrorAllSnapshots",
"replicationSchedule": "10minutely",
"sourceVolumeUUID": "a345353a-c822-65a1-c0a8-29729b81599e",
"totalProgress": 2376,
"totalTransferBytes": 34328,
"totalTransferTimeSecs": 28,
"updatedAt": "2020-04-28T12:40:03.000Z",
"volumeReplicationUUID": "c7f071f6-df94-9ebb-af26-11445a0b5d66"
}
}
}
GET: https://cv-stage.us-east4.gcp.netapp.com/v2/projects/90926858763/locations/us-east4/VolumeReplications/
c7f071f6-df94-9ebb-af26-11445a0b5d66
Response:
{
"createdAt": "2020-04-28T11:25:04.000Z",
"destinationVolumeUUID": "4ff756c0-57e6-a07e-78e4-64eb7a6782f8",
"endpointType": "dst",
"healthy": true,
"jobs": [],
"lastTransferDuration": 3,
"lastTransferEndTime": "2020-04-28T12:40:03.000Z",
"lastTransferSize": 2376,
"lifeCycleState": "available",
"lifeCycleStateDetails": "Available for use",
"mirrorState": "broken",
"name": "replicate_everything_25",
"relationshipStatus": "idle",
"remoteRegion": "us-west2",
"replicationPolicy": "MirrorAllSnapshots",
"replicationSchedule": "10minutely",
"sourceVolumeUUID": "a345353a-c822-65a1-c0a8-29729b81599e",
"totalTransferBytes": 36704,
"totalTransferTimeSecs": 31,
"updatedAt": "2020-04-28T12:41:17.000Z",
"volumeReplicationUUID": "c7f071f6-df94-9ebb-af26-11445a0b5d66"
}
From Src
POST: https://cv-stage.us-east4.gcp.netapp.com/v2/projects/90926858763/locations/us-west2/
VolumeReplications
Body:
{
"sourceVolumeUUID": "4ff756c0-57e6-a07e-78e4-64eb7a6782f8",
"destinationVolumeUUID": "a345353a-c822-65a1-c0a8-29729b81599e",
"remoteRegion": "us-east4",
"endpointType": "dst",
"name": "replicate_everything_25",
"replicationPolicy": "MirrorAllSnapshots",
"replicationSchedule": "10minutely",
"bandwidth": "64Mbps"
}
Response:
{
"createdAt": "2020-04-29T05:19:58.003Z",
"endpointType": "dst",
"healthy": true,
"jobs": [
{
"action": "create",
"created": "2020-04-29T05:19:58.006Z",
"jobId": "45efc246-3773-e196-77f1-d4d604777a62",
"objectId": "2ec40026-6158-bf8a-5a5b-d3c3f5fa5cc5",
"objectType": "VolumeReplication",
"state": "ongoing",
"stateDetails": "Job is in progress",
"workerId": "884d3f41-cad3-4130-ccfa-e487335a9887"
}
],
"lifeCycleState": "creating",
"lifeCycleStateDetails": "Creation in progress",
"mirrorState": "uninitialized",
"name": "replicate_everything_25",
"relationshipStatus": "idle",
"remoteRegion": "us-east4",
"replicationPolicy": "MirrorAllSnapshots",
"replicationSchedule": "10minutely",
"sourceVolumeUUID": "4ff756c0-57e6-a07e-78e4-64eb7a6782f8",
"updatedAt": "2020-04-29T05:19:58.003Z",
"volumeReplicationUUID": "2ec40026-6158-bf8a-5a5b-d3c3f5fa5cc5"
}
GET: https://cv-stage.us-east4.gcp.netapp.com/v2/projects/90926858763/locations/us-west2/VolumeReplications/
2ec40026-6158-bf8a-5a5b-d3c3f5fa5cc5
Response:
{
"createdAt": "2020-04-29T05:19:58.000Z",
"destinationVolumeUUID": "a345353a-c822-65a1-c0a8-29729b81599e",
"endpointType": "dst",
"healthy": true,
"jobs": [],
"lagTime": 55,
"lastTransferDuration": 4,
"lastTransferEndTime": "2020-04-29T05:30:04.000Z",
"lastTransferSize": 2376,
"lifeCycleState": "available",
"lifeCycleStateDetails": "Available for use",
"mirrorState": "mirrored",
"name": "replicate_everything_25",
"relationshipStatus": "idle",
"remoteRegion": "us-east4",
"replicationPolicy": "MirrorAllSnapshots",
"replicationSchedule": "10minutely",
"sourceVolumeUUID": "4ff756c0-57e6-a07e-78e4-64eb7a6782f8",
"totalTransferBytes": 106524395384,
"totalTransferTimeSecs": 492,
"updatedAt": "2020-04-29T05:30:55.000Z",
"volumeReplicationUUID": "2ec40026-6158-bf8a-5a5b-d3c3f5fa5cc5"
}
Try to Perform Resync of the original relationship from DP volume side (2)
POST: https://cv-stage.us-east4.gcp.netapp.com/v2/projects/90926858763/locations/us-east4/VolumeReplications/
c7f071f6-df94-9ebb-af26-11445a0b5d66/Resync
Response:
{
"name": "/v2/projects/90926858763/locations/us-east4/operations/857da4ea-3036-
8d25-0ee0-8e36cd535c75",
"response": {
"@type": "type.googleapis.com/google.protobuf.Struct",
"AnyValue": {
"createdAt": "2020-04-28T11:25:04.000Z",
"destinationVolumeUUID": "4ff756c0-57e6-a07e-78e4-64eb7a6782f8",
"endpointType": "dst",
"healthy": false,
"jobs": [
{
"action": "resync",
"created": "2020-04-29T05:34:14.603Z",
"jobId": "857da4ea-3036-8d25-0ee0-8e36cd535c75",
"objectId": "c7f071f6-df94-9ebb-af26-11445a0b5d66",
"objectType": "VolumeReplication",
"state": "ongoing",
"stateDetails": "Job is in progress",
"workerId": "806ad52e-44b3-acf2-6d0b-1cc68ef1fd87"
}
],
"lastTransferDuration": 3,
"lastTransferEndTime": "2020-04-28T12:40:03.000Z",
"lastTransferSize": 2376,
"lifeCycleState": "updating",
"lifeCycleStateDetails": "Update in progress",
"mirrorState": "broken",
"name": "replicate_everything_25",
"relationshipStatus": "idle",
"remoteRegion": "us-west2",
"replicationPolicy": "MirrorAllSnapshots",
"replicationSchedule": "10minutely",
"sourceVolumeUUID": "a345353a-c822-65a1-c0a8-29729b81599e",
"totalTransferBytes": 36704,
"totalTransferTimeSecs": 31,
"updatedAt": "2020-04-29T05:30:44.000Z",
"volumeReplicationUUID": "c7f071f6-df94-9ebb-af26-11445a0b5d66"
}
}
}
GET: https://cv-stage.us-east4.gcp.netapp.com/v2/projects/90926858763/locations/us-east4/VolumeReplications/
c7f071f6-df94-9ebb-af26-11445a0b5d66
Response:
{
"createdAt": "2020-04-28T11:25:04.000Z",
"destinationVolumeUUID": "4ff756c0-57e6-a07e-78e4-64eb7a6782f8",
"endpointType": "dst",
"healthy": true,
"jobs": [],
"lagTime": 5445,
"lastTransferEndTime": "2020-04-29T07:00:00.000Z",
"lifeCycleState": "available",
"lifeCycleStateDetails": "Available for use",
"mirrorState": "mirrored",
"name": "replicate_everything_25",
"relationshipStatus": "idle",
"remoteRegion": "us-west2",
"replicationPolicy": "MirrorAllSnapshots",
"replicationSchedule": "10minutely",
"sourceVolumeUUID": "a345353a-c822-65a1-c0a8-29729b81599e",
"totalTransferBytes": 36704,
"totalTransferTimeSecs": 32,
"updatedAt": "2020-04-29T07:00:45.000Z",
"volumeReplicationUUID": "c7f071f6-df94-9ebb-af26-11445a0b5d66"
}