Dell PowerStore 3000X EMC PowerStore Service Scripts Guide - Page 48

Enable HA monitoring (svc_nas_enable_ha_monitoring), Example, Usage

Page 48 highlights

-Unjoin -exclusionfilter Do not generate an SMB hash file for files that match the exclusion filter. -audit {enable | Enable the generation of audits in the smbhash event log. disable} [-task] [service] [-access] -cleanup Clean up the SMB hash files for the specified file system. [-all | - unusedfor | -unusedsince Unjoin the specified machine from its AD domain. If dynamic DNS is employed, the entry is removed from AD and DNS. The password for the specified account with domain administrator privileges must be provided when prompted. Usage: svc_nas_cifssupport --server SERVERNAME | ALL -args="-Unjoin -compname -domain -admin " Example Use the following command to view the ACL for the smbshare share on the nas1 NAS server: svc_nas_cifssupport --server nas1 --args="-acl -share smbshare" nas1 :done ACL DUMP REPORT Share UID GID Rights : \\\\nas1\\smbshare : 0 : 1 : rwxr-xr-x Enable HA monitoring (svc_nas_enable_ha_monitoring) This script enables NAS HA services on the node that runs these services, and automatically brings up the NAS node. Usage Function Mode Usage Requires service user password? Requires root privileges? May cause data unavailability? May cause data loss? Scope Prerequisites Diagnostic Normal General use No No No No NAS node None 48 Service Commands

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74

-exclusionfilter
<filter>
Do not generate an SMB hash file for files that match the exclusion filter.
-audit {enable |
disable} [-task] [-
service] [-access]
Enable the generation of audits in the smbhash event log.
-cleanup
<fs_name> [-all | -
unusedfor <days>
| -unusedsince
<date>
Clean up the SMB hash files for the specified file system.
-Unjoin
Unjoin the specified machine from its AD domain. If dynamic DNS is employed, the entry is removed from AD and
DNS. The password for the specified account with domain administrator privileges must be provided when
prompted.
Usage:
svc_nas_cifssupport --server
SERVERNAME
| ALL -args="-Unjoin
-compname <comp_name> -domain <full_domain_name> -admin <admin_name>"
Example
Use the following command to view the ACL for the
smbshare
share on the
nas1
NAS server:
svc_nas_cifssupport --server nas1 --args="-acl -share smbshare"
nas1 :done
ACL DUMP REPORT
Share
: \\\\nas1\\smbshare
UID
: 0
GID
: 1
Rights
: rwxr-xr-x
Enable HA monitoring
(svc_nas_enable_ha_monitoring)
This script enables NAS HA services on the node that runs these services, and automatically brings up the NAS node.
Usage
Function
Diagnostic
Mode
Normal
Usage
General use
Requires service user password?
No
Requires root privileges?
No
May cause data unavailability?
No
May cause data loss?
No
Scope
NAS node
Prerequisites
None
48
Service Commands