OCUM 7.2: DFM CLI and UM CLI Reference +

Last year I posted: OCUM 7: DFM CLI Reference. There’s a ‘um cli’ and a ‘dfm cli’ which are slightly different. Here’s the breakdown for OnCommand Unified Manager 7.2. I’ll present the ‘um cli’ first since the ‘dfm cli’ is hardly changed from the OCUM 7 post (there are more items in the ‘dfm option list’ than in 7.0).

Contents:

1) UM CLI
2) DFM CLI
3) OnCommand API Services

1) UM CLI

1.1) Logging into um cli


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


1.2) UM CLI Commands List: Top Level


COMMANDS
um version

CATEGORIES
um aggr
um backup
um cli
um cluster
um cluster node
um datasource
um disk
um event
um lun
um option
um qtree
um quota user
um run
um svm
um volume


1.3) UM CLI Commands List: Second Level


um aggr list
um backup restore
um cli login
um cli logout
um cluster list
um cluster node list
um datasource add
um datasource list
um datasource modify
um datasource remove
um disk list
um event ack
um event list
um event resolve
um event assign
um lun list
um option list
um option set
um qtree list
um quota user list
um run cmd
um run query
um svm list
um volume list


Note: ‘um option list’ and ‘dfm option list’ outputs are identical (see 2.4 below).

2) DFM CLI

2.1) Logging into dfm cli


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


2.2) DFM CLI Commands List: Top Level Commands


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


2.3) DFM CLI Commands List: Second Level Commands


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


2.4) 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
autosupport.proxy.auth
autosupport.proxy.enabled
autosupport.proxy.host
autosupport.proxy.password
autosupport.proxy.port
autosupport.proxy.username
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.flexgroup.consolidation.interval
history.flexvol.consolidation.interval
history.infinitevol.consolidation.interval
history.volume.analysis.interval
history.vserver.consolidation.interval
initialSetupComplete
mail.smtp.host
mail.smtp.password
mail.smtp.port
mail.smtp.ssl
mail.smtp.starttls
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
service.restart.schedule.enabled
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.clusterFabricPoolLicenseCapacityLimit
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
um.connection.password
um.connection.port
um.connection.server.name.or.ip
um.connection.username
um.ha.enabled
wfa.datasource.db.port
wfa.datasource.db.user


2.5) DFM Option List Default Ports


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


3) OnCommand API Services

REST API is taking over the world. OnCommand Unified Manager 7.2 does not have a RESTful API (please correct me if I’m wrong), but there is a solution that allows using REST with OCUM, ONTAP, and more - OnCommand API Services. OnCommand API Services 1.2 is available to download at http://mysupport.netapp.com/NOW/download/software/oncommand_api/1.2/  for RHEL 6.5, 6.6, 6.7, 7.0; and the free CentOS 6.6, 6.7, 7.0.

Image: OnCommand API Services overview (slightly out-of-date picture since OPM functionality is built into OCUM 7.2)

Comments