Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerStore Service Scripts Guide

Cluster management (svc_cluster_management)

This service script enables service providers to attach, detach, and view the status of each appliance in a cluster. If an appliance in a two-appliance cluster fails or can no longer communicate with the other appliance, the remaining appliance becomes unmanageable.

You can ask your service provider to detach the failed appliance from the cluster and restore the ability to manage the remaining appliance. Once the issue with the appliance is resolved, you can use the prep-attach and attach commands to reattach the appliance back into the cluster.

Usage

FunctionRecovery
ModeNormal
UsageService
Requires service user password?N/A
Requires root privileges?Yes
Might this cause data unavailability?Yes
Might this cause data loss?No
ScopeAppliance
PrerequisitesNone

Format

svc_cluster_management [-h] [e] [-n <value>] {GetClusterStatus,DetachFailedAppliance,PrepReattachAppliance,ReattachAppliance,MovePrimaryAppliance}  

Optional arguments

QualifierDescription
-h, --helpShow the help message and exit.
-e, --eligibility_checkShow the nodes that are eligible to be the cluster primary node.
-n, --nodeidSpecify the node that becomes the new cluster primary node.

Actions

ActionDescription
GetClusterStatusDisplay current cluster status.
DetachFailedApplianceDetach a failed appliance.
ReattachApplianceReattach an appliance.
PrepReattachAppliancePrepare an appliance for reattachment.
MovePrimaryApplianceMove the primary role to a different appliance.
NOTE:Do not run perform the MovePrimaryAppliance action if the data path is offline or in a read-only mode. Performing the action at those times results in a loss of cluster management.

Positional arguments

QualifierDescription
-nShow the help message and exit.

Example

The following example shows the node with the ID 4 being designated as the primary cluster appliance:
svc_cluster_management MovePrimaryAppliance -n 4

Remove and reattach an appliance

  1. If a two-appliance cluster has a failed appliance, you can use the svc_cluster_management script to detach the appliance and reattach it when the problem is resolved.
    svc_cluster_management status
    ---CLUSTER STATUS---
    
    local is primary: False
    master id: 0
    
    ---APPLIANCE LIST---
    id: 2
    name: appliance_j8xxmd2
    ip address: fd73:51fc:80d:0:201:4471:dcbb:4bce
    online: False
    id: 1
    name: appliance_j8y1nd2
    ip address: fd73:51fc:80d:0:201:4432:1df9:41da
    online: True
  2. Detach the failed appliance: svc_cluster_management detach
    svc_cluster_management detach
    detach failed appliance success!
  3. Prepare to attach the appliance back to the cluster: svc_cluster_management prep_attach
    svc_cluster_management prep_attach
    prep reattach appliance success
  4. Attach the appliance back to the cluster: svc_cluster_management attach
    svc_cluster_management attach
    reattach appliance success

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\