-
Notifications
You must be signed in to change notification settings - Fork 33
dx_ctl_namespace
dx_ctl_namespace [-engine|d <delphix identifier> | -all ]
-namespacename namespace
-action delete|failover
[-skip]
[-smart yes|no]
[-help|?]
[-debug ]
Control a replicated namespace - delete or failover
Delphix Engine selection - if not specified a default host(s) from dxtools.conf will be used.
-
-engine|d Specify Delphix Engine name from dxtools.conf file
-
-all Display databases on all Delphix appliance
-
-configfile file Location of the configuration file. A config file search order is as follow:
-
configfile parameter
-
DXTOOLKIT_CONF variable
-
dxtools.conf from dxtoolkit location
-
-namespacename namespace Specify a namespace name for action
-
-action delete|failover Specify an action to run with namespace name
- delete - to delete an existing namespace
- failover - to failover an existing namespace
- -skip To skip confirmation - handle with care
- -smart yes|no Use Delphix smart failover
- -help Print this screen
- -debug Turn on debugging
Failover namespace
dx_ctl_namespace -d replica -action failover -namespacename ip-10-110-215-98-1
Going to failover namespace - ip-10-110-215-98-1
Are you sure (y/(n)) - use -skip to skip this confirmation
y
Failing over replicated namespace ip-10-110-215-98-1
Waiting for all actions to complete. Parent action is ACTION-11
Namespace failed over
Failover namespace skipping confirmation and using a smart failover option
dx_ctl_namespace -d replica -action failover -namespacename ip-10-110-215-98-3 -skip -smart yes
Going to failover namespace - ip-10-110-215-98-3
Failing over replicated namespace ip-10-110-215-98-3
Waiting for all actions to complete. Parent action is ACTION-30
Namespace failed over
Deleting namespace
dx_ctl_namespace -d replica -action delete -namespacename ip-10-110-215-98-3
Going to delete namespace - ip-10-110-215-98-3
Are you sure (y/(n)) - use -skip to skip this confirmation
y
Deleting replicated namespace ip-10-110-215-98-3
Waiting for all actions to complete. Parent action is ACTION-31
Namespace deleted
Delphix