12-15-2015 04:03 PM
In UCS Manager, there is a tab on each server and Service Profile called "VIF Paths", how can I see this information from the UCS PowerTool or the CLI?
Thanks,
Bryan
12-16-2015 08:08 AM
Hi Bryan,
You can use the below cmdlet to get the VIF path for the server or service profile from the UCS PowerTool.
Get-UcsServer | Get-UcsFabricLocale | Get-UcsFabricPath
Let me know if this helps.
Thanks,
Sumanth
12-16-2015 01:57 PM
Hi Sumanth,
I would never have guessed it would be that cmd! However, I tried it and it doesn't give me the details of the paths. Here is the output:
PowerTool C:\> Get-UcsServer | Get-UcsFabricLocale | Get-UcsFabricPath
CType : mux-fabric
ChassisId : 3
Enacp : virtual
Id : 1
Locale : chassis
Name :
NsSize : 30
Sacl :
Side : left
SwitchId : A
Transport : ether
Type : lan
Dn : sys/rack-unit-1/fabric-A/path-1
Rn : path-1
Status :
XtraProperty : {}
Ucs : pocucs3
CType : mux-fabric
ChassisId : 4
Enacp : virtual
Id : 1
Locale : chassis
Name :
NsSize : 30
Sacl :
Side : right
SwitchId : B
Transport : ether
Type : lan
Dn : sys/rack-unit-1/fabric-B/path-1
Rn : path-1
Status :
XtraProperty : {}
Ucs : pocucs3
Is there another cmd you can recommend?
I also posted another question about obtaining details from a RAID Controller, can you help with that question too?
Thanks,
Bryan
12-17-2015 07:35 AM
Hi Bryan,
I think you need one more cmdlet, get-ucsfabricpathep. So:
get-ucsblade <blade ref, could be pndn, slot, etc> | Get-UcsFabricLocale | Get-UcsFabricPath | Get-UcsFabricPathEp
The UCS (and UCS Central) power tools are very powerful but the documentation is essentially non-existent. A great way to try and pick apart what you need is to use the Get-UcsCmdletMeta (and Get-UcsCentralCmdletMeta) and the -tree option. I used the following command to find what you needed (with a bit of trial and error!)
If you run a help get-fabricpath it tells you that it uses the type "FabricPath" which is what I used for the class below.
Get-UcsCmdletMeta -ClassId FabricPath -tree
FabricLocale (UcsFabricLocale) (Get)
|-FabricPath (UcsFabricPath) (Get)
|-DcxVc (UcsDcxVc) (Get)
| |-FaultInst (UcsFault) (Get)
| |-SwCmclan (UcsSwCmclan) (None)
| |-SwNetflowMonitorRef (UcsSwNetflowMonitorRef) (None)
| |-SwUlan (UcsSwUlan) (Get)
| |-SwVlan (UcsSwVlan) (Get)
| | |-FabricNetflowIPv4Addr (UcsFabricNetflowIPv4Addr) (None)
| | |-FaultInst (UcsFault) (Get)
| |-SwVsan (UcsSwVsan) (Get)
| |-SwFcZoneSet (UcsSwFcZoneSet) (None)
| |-SwFcServerZoneGroup (UcsSwFcServerZoneGroup) (None)
| |-SwZoneInitiatorMember (UcsSwZoneInitiatorMember) (None)
| |-SwFcZone (UcsSwFcZone) (None)
| |-SwZoneTargetMember (UcsSwZoneTargetMember) (None)
|-FabricPathConn (UcsFabricPathConn) (Get)
| |-FabricPathEp (UcsFabricPathEp) (Get)
| |-PortTrustMode (UcsPortTrustMode) (Get)
|-FabricPathEp (UcsFabricPathEp) (Get)
|-PortTrustMode (UcsPortTrustMode) (Get)
10-13-2016 03:24 AM
get-ucsserver | Get-UcsFabricLocale | Get-UcsFabricPath | Get-UcsDcxVc | select dn,switchid,operstate,adminstate,vnic,linkstate | where { $_.vnic } | sort dn | ft
10-18-2016 04:33 PM
Boris,
Thank you for responding!! I just returned from vacation and I will try this out very soon.
I can't wait, I'm very excited to see if this works.
Thanks,
Bryan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide