Time for more UCS Scripting! This time to configure Syslog. The script is pretty straightforward, but nice to have to easily set up Syslog across multiple UCS domains. Pre-Requsites UCS Powertool Link to Script Set-UcsSyslog.ps1 Preparing to Execute the Script The script is pretty straight forward, just need to define a few variables seen below and then you execute the script. I will walk you through the process. 1# UCS PowerTool Script that to set Syslog 2# @davidstamen 3# http://davidstamen.
Read MoreTime for more UCS Scripting! This time to enable SNMP. The script is pretty straightforward, but nice to have to easily set up SNMP across multiple UCS domains. Pre-Requsites UCS Powertool Link to Script Set-UcsSnmpConfiguration.ps1 Preparing to Execute the Script The script is pretty straight forward, just need to define a few variables seen below and then you execute the script. I will walk you through the process. 1#Define Variables 2$cred = Get-Credential 3$domains = "ucs01.
Read MoreIn the midst of rolling out Cisco ACI, we have a need to automation creation of filters to apply to contracts. I tried to use the ACI-PowerTool for this task, however it doesnt seem to work with the newer code we are on. So I went back and attempted to use the ansible modules and it worked flawlessly, below is a sample playbook that will create a filter and add the associated filter entries.
Read MoreFor conformity, we like to set the UCS Equipment labels to match the Service Profile Name. This allows us to match it quickly without having to dig down into the assigned profile. This script will set the UsrLbl and Name fields on the equipment tab to match the name of the Service Profile. Pre-Requsites UCS Powertool Link to Script Set-UCSEquipmentLabel.ps1 Preparing to Execute the Script The script is pretty straight forward, just need to define a few variables seen below and then you execute the script.
Read MoreAutomation, Automation, Automation! I had to download some support bundles for every chassis in our multiple zones. Instead of manually going through the GUI, I figured why not script it! This script will connect to each UCS domain and automatically generate a support bundle and download it for each chassis. Pre-Requsites UCS Powertool Link to Script Create-UCSTechSupport.ps1 Preparing to Execute the Script The script is pretty straight forward, just need to define a few variables seen below and then you execute the script.
Read MoreIt’s patch time! That means time to upload the firmware bundles to all my UCS domains. Instead of doing it manually I figured i would create a quick script to do that for me. Pre-Requsites UCS Powertool Link to Script UploadUCSFirmware.ps1 Preparing to Execute the Script The script is pretty straight forward, just need to define a few variables seen below and then you execute the script. I will walk you through the process.
Read MoreIm finally getting to dive back in to working with UCS. My latest task with my project of configuring 9 UCS Domains, was configuring the Policy Backup and Export. See below on how to automate this process! Pre-Requsites UCS Powertool Link to Script Set-UCSPolicyBackupandExport.ps1 Preparing to Execute the Script The script is pretty straight forward, just need to define a few variables seen below and then you execute the script. I will walk you through the process.
Read MoreIm finally getting to dive back in to working with UCS. My latest task with my project of configuring 9 UCS Domains, was swapping out certificates. The first few I did via the GUI, and I thought can this be scripted? Well the answer is yes! See below for information on executing the script. Pre-Requsites UCS Powertool Link to Script AddUCSCert.ps1 Preparing to Execute the Script The script is pretty straight forward, just need to define a few variables seen below and then you execute the script.
Read MoreWe are currently working on some Cisco ACI Integration and wanted to add a large VLAN Pool to a UCS Configuration. Since currently Cisco UCS does not allow selecting multiple VLAN’s easily when adding to a VLAN Group or vNIC Template, we now have a pretty decent script that will do it for you. The script can be found here. 1# PowerCLI Script for adding VLAN to VLAN Group and vNIC Template 2# @davidstamen 3# http://davidstamen.
Read MoreBuilding out some new servers today I came across an issue where the servers would have no network connectivity even though the vNICs were properly tagged and assign a VLAN ID. Upon further research, I noticed that “Native VLAN” was not selected. This is a must for any operating system that does not do VLAN Tagging such as ESXi. So remember to set the VLAN to Native if using an operating system that does not support VLAN tagging!
Read More