Saturday, 24 December 2016

OCUM 7: DFM CLI Reference

I’m not sure if the dfm cli was in OnCommand Unified Manager for Clustered Data ONTAP version 6.0, when it came out 3+ years ago, but definitely it was in 6.3 (when the first Windows installable version was released), and likely it was in 6.2 (when the first Linux installable version was released). The dfm cli does exist in the VMware vSphere Appliance version, just trickier to get to.

1) Logging into dfm cli


dfm cli login -u {username} [ -p {password} ]


2) DFM CLI Commands List: Top Level Commands
In this section we list the available commands at top level (i.e. dfm ?). For detail please use the dfm cli.


dfm
dfm version

dfm aggr         
dfm alert        
dfm autosupport  
dfm cli          
dfm cluster      
dfm datasource   
dfm disk         
dfm event        
dfm fcptarget    
dfm igroup       
dfm interface    
dfm job          
dfm ldap         
dfm lun          
dfm option       
dfm physical     
dfm qtree        
dfm relationship 
dfm resource     
dfm run          
dfm ssl          
dfm storageclass 
dfm storageservice
dfm user         
dfm volume       
dfm vserver


3) DFM CLI Commands List: Second Level Commands
In this section we list the available commands down to second level (i.e. dfm {command} ?). For detail please use the dfm cli.


dfm alert add   
dfm alert create
dfm alert delete
dfm alert destroy
dfm alert disable
dfm alert enable
dfm alert list  
dfm alert modify
dfm alert test
dfm autosupport truststore
dfm cli login
dfm cli logout
dfm cluster list
dfm cluster node     
dfm cluster truststore
dfm datasource add  
dfm datasource list 
dfm datasource modify
dfm datasource remove
dfm disk list
dfm event ack   
dfm event list  
dfm event resolve
dfm fcptarget list
dfm igroup list
dfm interface list
dfm job list
dfm job wait
dfm job task
dfm ldap add    
dfm ldap delete 
dfm ldap find   
dfm ldap list   
dfm ldap template
dfm ldap test   
dfm ldap truststore
dfm lun list
dfm lun map
dfm option list
dfm option set
dfm physical summary
dfm qtree list
dfm relationship list
dfm resource lookup
dfm resource search
dfm run delete
dfm run status
dfm run wait 
dfm ssl server
dfm storageclass list
dfm storageservice cleanup   
dfm storageservice conform   
dfm storageservice destroy   
dfm storageservice list      
dfm storageservice subscribe 
dfm storageservice unsubscribe
dfm storageservice update    
dfm storageservice member     
dfm storageservice subscription
dfm user add  
dfm user list 
dfm user modify
dfm user remove
dfm volume list
dfm vserver list


3) DFM Option List
This is a list of the DFM options revealed by running the command ‘dfm option list’.


audit.volume.event.enable
auth.cache.duration
auth.cache.size
auth.ldap.GID
auth.ldap.UGID
auth.ldap.UID
auth.ldap.baseDN
auth.ldap.bindDN
auth.ldap.bindPass
auth.ldap.connect.timeout
auth.ldap.disableNestedGroupLookup
auth.ldap.enabled
auth.ldap.groupObjectClass
auth.ldap.member                 
auth.ldap.ssl
auth.ldap.userObjectClass
auth.ldap.version
autosupport.destination
autosupport.enabled
autosupport.fromAddress
backup.dir.path
backup.retention.count
custom.hostname
data.collector.settings.path
email.fromAddress
event.growthRate.minChangePct.aggregate
event.growthRate.minChangePct.volume
event.growthRate.sensitivity
event.purge.age
history.aggregate.analysis.interval
history.aggregate.consolidation.interval
history.cluster.consolidation.interval
history.clusternode.consolidation.interval
history.default.analysis.interval
history.default.consolidation.interval
history.flexvol.consolidation.interval
history.infinitevol.consolidation.interval
history.volume.analysis.interval
history.vserver.consolidation.interval
mail.smtp.host
mail.smtp.password
mail.smtp.port
mail.smtp.ssl
mail.smtp.username
maximum.supported.favorite
protection.snapmirror.threshold.lag.error.enabled
protection.snapmirror.threshold.lag.error.pct
protection.snapmirror.threshold.lag.warning.enabled
protection.snapmirror.threshold.lag.warning.pct
protection.wfa.hostIp
protection.wfa.hostPassword
protection.wfa.hostPort
protection.wfa.hostUser
protection.wfa.um.datasourceName                   
quotaEmail.address.generation.rules
quotaEmail.format.body
quotaEmail.format.from
quotaEmail.format.subject
rules.dynamic.annotations
snmp.outbound.trapHost
snmp.outbound.trapPort
snmp.outbound.v1.trapCommunity
snmp.outbound.v3.authenticationPassword
snmp.outbound.v3.authenticationProtocol
snmp.outbound.v3.privacyPassword
snmp.outbound.v3.privacyProtocol
snmp.outbound.v3.securityName
snmp.outbound.version
ssl.autosupport.verifyHostNames
ssl.host.verifyCertificates
ssl.host.verifyHostNames
ssl.ldap.verifyHostNames
ssl.wfa.verifyHostNames
terminalEventState.alertEnabled
threshold.aggrDaysUntilFull
threshold.aggrNearlyOvercommitted
threshold.aggrOvercommitted
threshold.aggrSnapshotFull
threshold.aggrSpaceFull
threshold.aggrSpaceNearlyFull
threshold.inodesFull
threshold.inodesNearlyFull
threshold.volDaysUntilFull
threshold.volQuotaNearlyOvercommitted
threshold.volQuotaOvercommitted
threshold.volSnapshotCount
threshold.volSnapshotFull
threshold.volSnapshotReserveDaysUntilFull
threshold.volSpaceFull
threshold.volSpaceNearlyFull
threshold.vserverNamespaceSpaceFull
threshold.vserverNamespaceSpaceNearlyFull
threshold.vserverSnapshotUsage
threshold.vserverSpaceFull
threshold.vserverSpaceNearlyFull
threshold.vserverStorageClassSnapshotUsage
threshold.vserverStorageClassSpaceFull
threshold.vserverStorageClassSpaceNearlyFull
wfa.datasource.db.port
wfa.datasource.db.user


APPENDIX: DFM Option List Default Ports


mail.smtp.port            25
protection.wfa.hostPort   443
snmp.outbound.trapPort    162
wfa.datasource.db.port    3306


No comments:

Post a Comment