cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2662
Views
0
Helpful
4
Replies

How to get UCS blade boot from SAN or local boot device

skukudala
Level 1
Level 1

Hi All,

How to get below details from powershell.

We are migrating SAN boot disk from old vmax ro new vmax, how to get if blades in UCS chassis are having boot from san or local boot.

Can we get UCS blade VNIC information with MAC address details.

Thank you in advance.

1 Accepted Solution

Accepted Solutions

Hi Srinivas,

You can look in to the DN value to get the exact blade and chassis details. Another thing you can try is filter the results only to see what is in order no 1 by running something like this.

Get-UcsChassis| Get-UcsBlade | Get-UcsBiosUnit | Get-UcsBiosBOT | Get-UcsBiosBootDevGrp | ? {$_.Order -eq 1} | Select DeviceName,Dn,Order

DeviceName      Dn                                    Order
----------      --                                    -----
LocalStorageAnysys/chassis-1/blade-1/bios/bdgep/bdg-11   
LAN            sys/chassis-1/blade-2/bios/bdgep/bdg-11   
LocalStorageAnysys/chassis-1/blade-3/bios/bdgep/bdg-11   
KVMVMediaCDD    sys/chassis-1/blade-5/bios/bdgep/bdg-11   
LocalStorageAnysys/chassis-1/blade-6/bios/bdgep/bdg-11   
KVMVMediaCDD    sys/chassis-2/blade-1/bios/bdgep/bdg-11   
LAN            sys/chassis-2/blade-5/bios/bdgep/bdg-11   

View solution in original post

4 Replies 4

sumbr
Level 4
Level 4

Hi Srinivas,

  1. To get the Actual Boot order for the server you can run the below cmdlet

         Get-UcsChassis | Get-UcsBlade | Get-UcsBiosUnit | Get-UcsBiosBOT | Get-UcsBiosBootDevGrp

         You can look for the order property for the blade you are interested to see if it is booting from Local or SAN.

     2. You can get the VNIC Mac address in couple of ways

  1. Get-UcsBlade | Get-UcsAdaptorUnit | Get-UcsAdaptorHostEthIf
  2. Get the associated Service Profile for the blade and then run the below cmdlet

     For ex:  $blade = Get-UcsBlade -Id 1

               Get-UcsServiceProfile -dn $blade.AssignedToDn | Get-UcsVnic |

Let us know if you need anything else on this.


Thanks,
Sumanth

Hi Sumanth,

Thank you for the help, for boot order i am getting bunch of information where i am unable to figure it out for which blade,

we have 8 chassis , in each chassis we have 8 blades , when i check the order property i have numbers with 1234 in repeat as below, how to find for which chassis which blade i have this information ?

thank you in advance.

Hi Srinivas,

You can look in to the DN value to get the exact blade and chassis details. Another thing you can try is filter the results only to see what is in order no 1 by running something like this.

Get-UcsChassis| Get-UcsBlade | Get-UcsBiosUnit | Get-UcsBiosBOT | Get-UcsBiosBootDevGrp | ? {$_.Order -eq 1} | Select DeviceName,Dn,Order

DeviceName      Dn                                    Order
----------      --                                    -----
LocalStorageAnysys/chassis-1/blade-1/bios/bdgep/bdg-11   
LAN            sys/chassis-1/blade-2/bios/bdgep/bdg-11   
LocalStorageAnysys/chassis-1/blade-3/bios/bdgep/bdg-11   
KVMVMediaCDD    sys/chassis-1/blade-5/bios/bdgep/bdg-11   
LocalStorageAnysys/chassis-1/blade-6/bios/bdgep/bdg-11   
KVMVMediaCDD    sys/chassis-2/blade-1/bios/bdgep/bdg-11   
LAN            sys/chassis-2/blade-5/bios/bdgep/bdg-11   

Thank you very much for the help i got required output now.

Review Cisco Networking for a $25 gift card

Review Cisco Networking for a $25 gift card