UCS powertools
Hello community
We are fighting a problem and I hope that powershell cmdlets can help me track down.
In short, we move the MAC addresses that are of one FI to another and it is originally not necessary L2 convergence. When a virtual machine has problems, I can find it is MAC and then run the following command on each FI see the MAC to the learning of history "Show mac platform fwm info 0051.5600.0309 252'." "
Is there a way to take advantage of the poweshell tools to connect to nxos and compare the FWM news and identify the VM of the questions?
Thank you
Greetings.
I took a peak at the powertool to http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/msft_tools/powertools/ucs_powertool_book/ucs_pwrtool_bkl1.pdf guide
While I don't pretend to be an expert in programming, I don't think that there are classes and objects published for this API digging into this level. If there is an XML object so that you can usually access it. Since the VMware MACs will be dynamically drawn a VMware guest, it has nothing defined in UCSM configuration for reference for this.
What level of code is your UCSM to? There are a few bugs including a grouping bug that can cause the appearance of beat Mac (CSCuv00089) and a few bugs earlier in 2.21 level which fell mac learning.
Assuming that you don't actually have a couple of virtual machines to the sockets on the same MAC, you see all macs guestVM dynamically drawn on one of the veths that map to a VNIC and specific hosts/blades?
What is above your FI? I recently came across a case that had N9K with the removal of the arp on, which had a bug that also caused the appearance of the mac beats (N9Ks were "reflection" arp requests, making it appear that guestVM executives came from South-North direction.)
Thank you
Kirk...
Tags: Cisco DataCenter
Similar Questions
-
Assign the profile to a server blade using script
I had a UCS workshop this morning with one of my clients, and he asked me if there is a way to develop a script to remove the profle of one of the blades and re - assign a different profile for the same lame.
Thanks for your input in advance!
Should be possible.
Take a look at some of the scripts available on the Cisco Developer Network site, using the API of the UCS:
Examples (logon may be required to download):
Thank you
Michael
-
Hello
I'm working on the deployment of new virtual LANs to my UCS Central with the UCS PowerTool Central. Anyone know how I can configure vlan org permissions?
I know how I can put it on the console, but I can't find the cmdlet for powershell
Control console:
Connect with resources mgr
org MyOrg scope
create a vlan-enabled dmz-vlan-1234Thank you
Mike
Mike,
I think this will help. This is how you can set the permission of the org. We will use ' root/my_org' and 'myvlan_11' as an example:
Get-UcsCentralOrg-root | Get-UcsCentralOrg-name "my_org" - LimitScope | Add-UcsCentralFabricVlanReq-name 'my_vlan_11 '.
You can also use the following tool to help you establish a correlation between actions in the GUI to cmdlets.
HTH,
Wes
-
Y at - it a way to query all the WWPN's on my frame? I'm looking to automate certain zoning and Group creation.
I did some research on Google, but I don't get great results...
Thanks in advance!
Hi Jay,.
Ah ok I see that you use UCSM. You can use the Cisco UCS PowerTool to quickly retrieve information from name WWN (http://developer.cisco.com/web/unifiedcomputing/pshell-download) of all the blades in UCSM. The two commands below will provide you with the necessary information:
SE connect-Ucs
Get-UcsServiceProfile-instance of type | Get-UcsVhba | Select Dn, Addr, NodeAddr -
Addition of vNIC to vNIC connectivity LAN via UCS Central PowerTool (BETA) strategy
When I try to add a vNIC to a VNIC LAN connectivity strategy using the UCS Central Powertool (v0.94) I got the following error:
D:\Scripts > Add-UcsCentralVnic-VnicLanConnPolicy - name vmnic0 test
UcsCentralVnic add: ucc01:Policy org-root/lan-conn-pol-test is resolved remote NPS server. Create/delete/change operations are not allowed.On line: 1 char: 1
+ Add-UcsCentralVnic-VnicLanConnPolicy - name vmnic0 test
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: NotSpecified: (not identified-fail: String) [Add UcsCentralVnic], Exception
+ FullyQualifiedErrorId: 170, Cisco.UcsCentral.Cmdlets.AddUcsCentralVnic
everything I try, I still get the same error each time ("create/delete/change operations are not allowed").
I use 1.2(1a) version Central UCS and UCS plant PowerTool version 0.94 (BETA)
Maybe that post you your problem in https://communities.cisco.com/docs/DOC-53127 where are discussed other issues related to the UCS Center powershell.
-
Cannot get the list of Ports on server using Powertool
I try to get the list of Server Ports that have been activated on the FI-s using Powertool
I use the below command and I don't get nada
Get-UcsFabricServerCloud-Id "A" | Get-UcsServerPort - AdminState "enabled."
Have tried without the additional options with no luck
Get-UcsFabricServerCloud-Id "A" | Get-UcsServerPort
The following command gives me a good performance
Get-UcsFabricServerCloud-Id 'A '.
On a whim, I also tried the below with no luck
Get-UcsFiLanCloud-Id "A" | Get-UcsUplinkPort - IfRole 'server '.
Any help appreciated.
As for my other answer, you'd better start searching for the network element. In this case, I'm looking for ports that are of the type "ether" and have an Interface to 'server '.
PS C:\ucs > Get-UcsNetworkElement | Get-UcsFiModule-Id 1 | Get-UcsPortGroup-ether of Transport | Get-UcsFabricPort - IfRole Server | Select dn, peerdn, ifrole, operspeed | Format-Table
Dn PeerDn IfRole OperSpeed
-- ------ ------ ---------
sys/switch-A/slot-1/switch-ether/port-1 sys/chassis-1 /-1/tissu/port-1 10 Gbps server location
sys/switch-A/slot-1/switch-ether/port-2 sys/chassis-1/slot-1/fabric/port-2 Server 10 Gbps
sys/switch-A/slot-1/switch-ether/port-3 sys/chassis-1/slot-1/fabric/port-3 Server 10 Gbps
sys/switch-A/slot-1/switch-ether/port-4 sys/chassis-1/slot-1/fabric/port-4 Server 10 Gbps
sys/switch-B/slot-1/switch-ether/port-1 sys/chassis-1 /-2/tissu/port-1 10 Gbps server location
sys/switch-B/slot-1/switch-ether/port-2 sys/chassis-1/slot-2/fabric/port-2 Server 10 Gbps
sys/switch-B/slot-1/switch-ether/port-3 sys/chassis-1/slot-2/fabric/port-3 Server 10 Gbps
sys/switch-B/slot-1/switch-ether/port-4 sys/chassis-1/slot-2/fabric/port-4 Server 10 Gbps
Hope that helps. Let me know if you have any other questions.
Thank you
Eric -
Get links from speed negotiated CF using Cisco Powertool
I can get the speed of the uplinks to network on the FI-s Cisco with the command
Get-UcsFiLanCloud-Id "A" | Get-UcsUplinkPort - AdminState 'enabled ' | ForEach-Object {$_.adminspeed}
However, there is no option to get the speed negotiated in the rising Fibre Channel on the Cisco FI - s. There is no property AdminSpeed of the output of the command below
Get-UcsFiSanCloud-Id "A" | Get-UcsFcUplinkPort - AdminState "enabled."
Is it possible to get the negotiated speed of the CF links? If so, please provide the command powertool.
You can take a different approach to get them. I said that the 'network element' cmdlet to get all the IFS, specify the 'Module' I want to get the information of (id 1 = fixed ports, code 2 = the first slot for expansion into the FI, id 3 = the second extension in the FI slot, if present), specify the FC port groups, get all of these ports and then use a select statement to filter down. As you can see below, my FC ports are negotiated at 4gpbs.
PS C:\ucs > Get-UcsNetworkElement | Get-UcsFiModule-Id 1 | Get-UcsPortGroup-CF to Transport | Get-UcsFiFcPort | Select dn, nmdt, admintransport, adminstate, operspeed | Format-Table
DN Nmdt AdminTransport AdminState OperSpeed
-- ---- -------------- ---------- ---------
sys/switch-A/slot-1/switch-CF/port-31 fabric/san/A/phys-slot-1-port-31 Canadian forces active 4 Gbps
CF sys/switch-A/slot-1/switch-CF/port-32 fabric/san/A/phys-slot-1-port-32 active 4 Gbps
sys/switch-B/slot-1/switch-CF/port-31 fabric/san/B/phys-slot-1-port-31 Canadian forces active 4 Gbps
CF sys/switch-B/slot-1/switch-CF/port-32 fabric/san/B/phys-slot-1-port-32 active 4 Gbps
If you weren't aware, there is a large command called get-ucscmdletmeta. It will help to understand how things are defined in the XML of the UCS model.
Here are some example uses:
Get-UcsCmdletMeta-name ucsnetworkelement-tree
(I removed the output as it was very long, but it will give you the entire hierarchy of all classes of sup that are children of the network element, the names of XML classes for each and it suitable PowerShell verbs and names for query and manipulate classes.)
PS C:\ucs > Get-UcsCmdletMeta-name ucsfifcport
ClassId: FcPIo
Name: UcsFiFcPort
Verb: get
PipelineClassId: PortGroup {}
LimitScopePipelineClassId: {}
MoMeta: Cisco.Ucs.UcsMoMeta
-This result displays the available cmdlets to get information about an FC Port. You can see the PipelineClassID PortGroup watch, which means the classes / substantive PoSh that are pipelineable in this category
PS C:\ucs > Get-UcsCmdletMeta-noun ucsfifcport | Select mometa - ExpandProperty
ClassId: FcPIo
XmlTag: fcPIo
RN: port-[PortId]
MinVersion: 1.0 (1e)
Access: input-output
ChildClassId: {EventInst, FaultInst, EquipmentXcvr, FcErrStats...}
AccessPrivilege: {read only}
PropertyMeta: {AdminState, AdminTransport, ChassisId, Dn...}
-Here, you can see the metadata Object (MO) on the Port CF class. You can see it was added in UCSM 1.0 (1e) and needs only the 'Read only' privilege to see.
PS C:\ucs > Get-UcsCmdletMeta-noun ucsfifcport | Select mometa - ExpandProperty | Select propertymeta - ExpandProperty | FT - AutoSize
Name XmlAttribute Type MinVersion access restriction
----------- ---- ------------ ---- ---------- ------
Cisco.Ucs.UcsPropertyRestriction AdminState adminState System.String 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction AdminTransport adminTransport System.String 2.0(1m) ReadOnly
Cisco.Ucs.UcsPropertyRestriction ChassisId chassisId System.String 1.0 (1) ReadOnly
DN dn System.String 1.0 Cisco.Ucs.UcsPropertyRestriction (1e) ReadOnly
Encap encap System.String 1.0 Cisco.Ucs.UcsPropertyRestriction (1e) ReadOnly
Cisco.Ucs.UcsPropertyRestriction Nmdt Nmdt System.String 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction IfRole ifRole System.String 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction IfType ifType System.String 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction Lc lc System.String 2.0(1m) ReadOnly
Cisco.Ucs.UcsPropertyRestriction LicGP licGP 1.4 (1i) of System.UInt64 ReadOnly
Cisco.Ucs.UcsPropertyRestriction LicState licState System.String 1.4 (1i) ReadOnly
Cisco.Ucs.UcsPropertyRestriction settings regional locale System.String 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction Mode mode System.String 1.0 (1) ReadOnly
Model Cisco.Ucs.UcsPropertyRestriction model System.String 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction name Name System.String 1.0 (1e) ReadWrite
Cisco.Ucs.UcsPropertyRestriction OperSpeed operSpeed System.String 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction OperState operState System.String 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction PeerChassisId peerChassisId System.String 1.4 (1i) ReadOnly
Cisco.Ucs.UcsPropertyRestriction PeerDn peerDn System.String 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction PeerPortId peerPortId System.UInt32 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction PeerSlotId peerSlotId System.UInt32 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction PortId portId System.UInt32 1.0 (1e) Naming
Revision revision 1.0 System.String Cisco.Ucs.UcsPropertyRestriction (1e) ReadOnly
Cisco.Ucs.UcsPropertyRestriction Rn rn System.String 1.0 (1) ReadOnly
Series Cisco.Ucs.UcsPropertyRestriction series System.String 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction SlotId slotId System.UInt32 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction StateQual stateQual System.String 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction status System.String 1.0 (1e) ReadWrite
SwitchId switchId System.String 1.0 Cisco.Ucs.UcsPropertyRestriction (1e) ReadOnly
Transport Cisco.Ucs.UcsPropertyRestriction Transport System.String [] 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction Ts ts System.String 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction of type System.String 1.0 (1) ReadOnly
Cisco.Ucs.UcsPropertyRestriction UnifiedPort unifiedPort System.String 2.0(1m) ReadOnly
Cisco.Ucs.UcsPropertyRestriction UsrLbl usrLbl System.String 1.4 (1i) is ReadWrite
Cisco.Ucs.UcsPropertyRestriction seller seller System.String 1.0 (1) ReadOnly
Wwn wwn System.String 1.0 Cisco.Ucs.UcsPropertyRestriction (1e) ReadOnly
Cisco.Ucs.UcsPropertyRestriction XcvrType xcvrType System.String 1.4 (1i) ReadOnly
-In this example I show all the properties of the class Port FC. As you can see that operspeed is the property, you are more concerned.
Let me know if you have more questions!
Thank you
Eric -
Cloning of the areas of the UCS
All best practice how to clone areas UCS? I have install 5 areas of UCS, with of course field of specific IP addresses, resource pools?
XML Backup and then change in the editor is rather inconvenient?
See the configuration is a more appropriate way
Any suggestions are welcome
Walter.
Hi Walter,
My favorite way to "clone" areas is to make a backup of my domain name 'gold' - and uncheck "keep identities." In this way, then of the import, all ID references are the 'name' pool, but not the ID explicit.
Then the work necessary for individual areas are limitted to:
-Fill the pool of ExtMgmt
-Create blocks of ID, based on 'Field ID' and other local best practices. [Made easier with PowerTool]
HTH,
-Jeff
-
We received a S30 and somewhere along the line someone apparently had the brilliant idea of raid SSD and a hard disk of 1 TB in a single volume on the blue ports.
So in the boot order that one disc shows as "UCS: Intel Volume_0001" or something similar.
In the Advanced Configuration of UCS, the first two ports show how Intel Volume_0001.
I am assuming that they could not accomplish this in software because they have created the drives C and D, and a hidden partition on this volume.
Question is how did do that, I don't see any RAID quick post to make changes. I turned on all the relevant BIOS including settings disable the quick start, but all messages that appear are too fast to read.
CTRL + I or Ctrl + H seem to have no effect.
Thank you
Thank you, somehow they corrected, although they have to take it back to the warehouse. Since I don't know what was the exact solution I will mark this as the solution.
-
Hello all,.
We are looking for Cisco UCS for our ESX env. and I was wondering if someone was running vFoglight UCS and had problems.
Or if someone of Quest/Vizioncore knows of any problem or future integration planned with UCS.Thank you
Craig DieckCraig, I know of many clients running the Cisco USC with VMware and they are very happy. There is no known issue with vFoglight perspective. VFoglight hardware monitoring currently able to extract any platform SNMP information. If you are looking for a vFoglgith to pull information from the physical ESX servers directly (not SNMP) you will need to ask for a discussion of the roadmap with your representative local of the quest.
Inform the product manager for the platform you are using and what you want to be monitored and displayed...
-
Hi all
I am looking for logical UCS visio icon and can't seem to find them, such as 6100 fabric interconnect and 5108 chassis, like this
I found this link, but there are the icons of only physical, not logical.
http://www.Cisco.com/en/us/products/HW/prod_cat_visios.html
I also found this link, the PMS 3015 has many logical icons, but I couldn't find the above.
http://www.Cisco.com/Web/about/AC50/AC47/2.html
Just a suggestion, have a single Web page for logical and physical icons and clear descriptions, add dates for update and consolidation for the logic of the product icons. This will help to find the icons much easier.
Thank you
Ming
Hi Ming,
Thank you very much for your patience while we looked in the files icon. Here's an update.
- We checked the files in the zip file and they are not empty, but the designs are very small and if the drawing opens at about 30% of zoom, it would be easy do not agree on the drawing. Sorry for the inconvenience.
- In any case we are downloading a new zip with versions expanded drawings for the 6100 (interconnection of fabric) and 5108 (server chassis) so that they are more visible on the page. Of course, you can resize in Visio to what size you need.
- We contacted the owners of the areas of Visio files on the site of icons of network topology to http://www.cisco.com/web/about/ac50/ac47/2.html regarding:
-Download Visio stencils for the 6100 and 5108.
-Your comment to facilitate icons: have a single web page for logical and physical charms with clear descriptions, dates of update and groupings of products for logical icons.
Linda
-
UCS mini KVM connection failed or timeout
Hello world:
could you please help me solve the kvm cannot logint issure? try several ways and never configure IP KVM, according to the following
step "in the navigation pane, click the LAN tab, expand LAN > pools > root > IP Pools, and then select the Pool of IP ext-Mgmt.»
error message is the file attachment.
from: Xiachen
Hello
Which version are you running now?
It may be worth the upgrade of all mini system UCS.
Software can be downloaded from
https://software.Cisco.com/download/release.html?mdfid=283853163&CATID=2... (2B) & relind = AVAILABLE = rellifecycle & reltype = last
The MMIC software is the. B package
Software for the server products blade UCS B-Series
UCS-k9-bundle-b - series.3.1.2 b .B .bin17 SEP-2016 464.42 MB -
Impossible to archive ZIP Unzip UCS Manager 5.5
Hi all
I download the ZIP of UCS Director https://software.cisco.com/download/navigator.html?mdfid=284775897&i=rm 5.5 but while unzip this file, it says there are 734 PB of free space.
Need help.Thank you
Using 7zip to extract the zip file worked for me.
-
UCS C460 M2 - error 1902 during the firmware upgrade
Hello!
A few days ago, I could upgrade the firmware 1.5 (7 c) to 1.5(8a) and the BIOS to version 1.5.4a to 1.5.4b using file ucs-c460-huu - 1.5.8 has mapped via KVM using an old windows xp with java 1.7. In fact, this upgrade would allow access of latest java KVM, something that was lost a few months ago.
On Monday, I did the same procedure on an exact server and everything was fine, but this server cannot update firmware.
I get error 1902, described here:
https://Quickview.cloudapps.Cisco.com/QuickView/bug/CSCui18044
But there is not something to solve this problem.
Any ideas please?
Concerning
David
David,
A few steps to try:
-Turn off the server, remove the power supply and press and hold power for 30 seconds. Retry the upgrade.
-Restart the MMIC before the upgrade.
-Try the upgrade using a physical USB vs vMedia
Let me know what questions you have and please share the results.
Thank you
Wes
-
Cisco UCS 260 M 2 5.5 U3 - custom image and compatibility
TAC has a customer turned and pointed toward a compatibility table for an installed UCS - C 260M 2, stating that the firmware of the UCS and the latest version of Vmware is not supported.
They are suggesting that the client moves to fimware 1.5 (9) and they use a customized image of Cisco for Vmware.
This facility is for UC/EAC, so I have to make sure that the versions supported in the docwiki for these products as well is the Vmware version.
http://www.Cisco.com/Web/TechDoc/UCS/interoperability/matrix/matrix.html
The drop down menu shows Vmware 5.5 U3 is a supported version and I find that 5.5 is supported in the dockwiki. So far so good.
However, when I try to find a custom image for 5.5 U3 image only I find it:
https://my.VMware.com/Web/VMware/details?ProductID=353&downloadGroup=OEM...
VMware 5.5 U3a. The version of the driver specified on this page do not match driver versions indicating the interoperability matrix must be used.
First, is there a customized image of Cisco for 5.5 U3, could someone point me to this image so that these versions of the drivers are the same?
Secondly, can I use ISO customized Cisco to upgrade a vanilla install Vmware 5.1 U3?
-GDR
Greetings.
The Cisco Custom images are just a collection of pilots who were up-to-date at the time wherever it has been presented to VMware. It is expected that iso custom will exactly match the interoperability matrix (it could have at the time, it was created), but at least provide newer drivers than what is usually installed in the general VMware releases.
The interoperability matrix will list the specific driver, i.e. igb driver intel 1 GB network interface. Download you the version of the driver for VMware site and install adapt you to the requirements notified by the interoperability matrix.
You should be able to use a custom Cisco ISO to upgrade. When your custom installation ISO analyzes your existing system, it will see a higher version of the drivers/VIBs and update those. The Cisco with custom isos are simply the original VMware updated versions the drivers injected into them.
Thank you
Kirk...
Maybe you are looking for
-
Noise maps after installation NIVIDA GeForce graphics and sound on HP compac 7700 computer
Computer HP 7700 Compac, Win 7, 32 bit, card NIVIDA GeForce 310, StarTech sound car. Noise loud high frequency on the rare occasions necessary turn off the computer. Works OK for a while after switch on. Same thing happned with three other graphics
-
NSV triggered when receive the new value
Hai guys, hope everyone out there a great moment. I would like to know if there is a kind of trigger whenever we receive a new value in our shared variable in the network. Once triggered, then only i will read the shared variable in the network. Than
-
I have a 2000 hp laptop and I want to change the boot order, but everytime I try, it is asking administrator password what I do, and after trying 3 times it gives me a code 92774906
-
Strange orders in the log Configuration for VCS Expressway
Check my journal of VCS configuration, I found hundreds (perhaps many) of these commands: 2015 04-28 T 16: 14:23 - 03:00 "Elements UTCTime =" 2015-04-28 19:14:23, 928"Event ='System Configuration changed" node = "[email protected] / * /" detail ="xco
-
Computer does not recognize Galaxy S3 as a connected device
My computer (Windows 7 platform) previously wouldn't recognize my Samsung Galaxy S3 as a connection device, but can do no more. Everything was great until I connected the phone ATT my wife via the USB port to load upwards. My phone still load via U