You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SoftLayer/CLI/block/replication/disaster_recovery_failover.py
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -8,18 +8,22 @@
8
8
fromSoftLayer.CLIimportexceptions
9
9
10
10
11
-
@click.command()
11
+
@click.command(epilog="""Failover an inaccessible block/file volume to its available replicant volume.
12
+
If a volume (with replication) becomes inaccessible due to a disaster event, this method can be used to immediately failover to an available replica in another location.
13
+
This method does not allow for fail back via the API. To fail back to the original volume after using this method, open a support ticket.
14
+
To test failover, use SoftLayer_Network_Storage::failoverToReplicant instead.""")
12
15
@click.argument('volume-id')
13
16
@click.option('--replicant-id', help="ID of the replicant volume")
14
17
@environment.pass_env
15
18
defcli(env, volume_id, replicant_id):
16
19
"""Failover an inaccessible file volume to its available replicant volume."""
click.secho("""WARNING:Disaster Recovery Failover a block volume to the given replicant volume.\n"""
20
-
"""* This action cannot be undone\n"""
21
-
"""* You will not be able to perform failback to the original\n"""
22
-
"""* You cannot failover without replica""",fg='red' )
22
+
click.secho("""WARNING : Failover an inaccessible block/file volume to its available replicant volume."""
23
+
"""If a volume (with replication) becomes inaccessible due to a disaster event, this method can be used to immediately failover to an available replica in another location."""
24
+
"""This method does not allow for fail back via the API."""
25
+
"""To fail back to the original volume after using this method, open a support ticket."""
26
+
"""To test failover, use SoftLayer_Network_Storage::failoverToReplicant instead.""",fg='red' )
23
27
24
28
ifnot (formatting.confirm('Are you sure you want to continue?')):
Copy file name to clipboardExpand all lines: SoftLayer/CLI/file/replication/disaster_recovery_failover.py
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -8,18 +8,22 @@
8
8
fromSoftLayer.CLIimportexceptions
9
9
10
10
11
-
@click.command()
11
+
@click.command(epilog="""Failover an inaccessible block/file volume to its available replicant volume.
12
+
If a volume (with replication) becomes inaccessible due to a disaster event, this method can be used to immediately failover to an available replica in another location.
13
+
This method does not allow for fail back via API. If you wish to test failover, please use SoftLayer_Network_Storage::failoverToReplicant.
14
+
After using this method, to fail back to the original volume, please open a support ticket""")
12
15
@click.argument('volume-id')
13
16
@click.option('--replicant-id', help="ID of the replicant volume")
14
17
@environment.pass_env
15
18
defcli(env, volume_id, replicant_id):
16
19
"""Failover an inaccessible file volume to its available replicant volume."""
click.secho("""WARNING : Disaster Recovery Failover should not be performed unless data center for the primary volume is unreachable.\n"""
20
-
"""* This action cannot be undone\n"""
21
-
"""* You will not be able to perform failback to the original without support intervention\n"""
22
-
"""* You cannot failover without replica""",fg='red' )
22
+
click.secho("""WARNING : Failover an inaccessible block/file volume to its available replicant volume."""
23
+
"""If a volume (with replication) becomes inaccessible due to a disaster event, this method can be used to immediately failover to an available replica in another location."""
24
+
"""This method does not allow for fail back via the API."""
25
+
"""To fail back to the original volume after using this method, open a support ticket."""
26
+
"""To test failover, use SoftLayer_Network_Storage::failoverToReplicant instead.""",fg='red' )
23
27
24
28
ifnot (formatting.confirm('Are you sure you want to continue?')):
0 commit comments