cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6578
Views
5
Helpful
6
Comments
Andrew Woolman
Level 1
Level 1

Symptoms

Cisco Prime is unresponsive. Web GUI will not load. Device doesn't respond to ping.

Diagnosis

Prime chassis is off.

Solution

Since the CIMC uses Flash you can no longer use your bowser. SSH to CIMC address instead.

 

  • show chassis detail

Chassis:
Power: off
Serial Number: xxxxxxxxxxxxxxxxxxx
Product Name:
PID : PI-UCS-APL-K9
UUID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Locator LED: off

 

  • scope chassis
  • power on
    • This operation will change the server's power state.
      Do you want to continue?[y|N]y

 

  • show chassis detail

Chassis:
Power: on
Serial Number: xxxxxxxxxxxxxxxxxxx
Product Name:
PID : PI-UCS-APL-K9
UUID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Locator LED: off

 

 

Comments
Leo Laohoo
Hall of Fame
Hall of Fame

@Andrew Woolman wrote:
Since the CIMC uses Flash you can no longer use your bowser.

Update the CIMC firmware so it does not use flash.

pogjeniffer
Level 1
Level 1

Cisco has included similar functionality in the CIMC CLI, instructions below:

 

esx01# scope cimc
esx01 /cimc # reboot
This operation will reboot the CIMC.
Continue?[y|N]y


The scope command above allows you to attach to a specific module, so in this instance we are attaching to the CIMC module.

 

Note: The two links below have quite a good bit of information on the CLI

<a href="https://homeofapk.com/">Best Apk</a>

RandallMarvin
Level 1
Level 1

Rebooting a server in CIMC is just like issuing the "reload" or "reboot" command, i.e. it bounces the server. If there are people using the services, then find a quiet time to do the reboot. If the server is not responding to GUI then raise a TAC case as it could be caused by a bug.

 

mykohlscharge

Andrew Woolman
Level 1
Level 1

@Leo Laohoo 
As I recall we ended up updating the firmware with TACs help. They had a backdoor into the CIMC GUI that didn't use flash and we were able to update the firmware from there.

Leo Laohoo
Hall of Fame
Hall of Fame

Thanks for the update, @Andrew Woolman.

Andrew Woolman
Level 1
Level 1

I knew I wouldn't have thrown it out.

Copy this into Powershell ISE, my notes say that you'll need Java installed. Hopefully someone finds it useful for when the Flash version won't load. 

 

 

$cimcIP = Read-Host 'Enter CIMC IP Address'

$cimcUsername = Read-Host 'Username?'

$cimcPassword = Read-Host 'Password?' -AsSecureString

$pw = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($cimcPassword))

[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

$Auth = @{uri = "https://$cimcIP/nuova";
Method = 'POST';
Body = "<aaaLogin inName='$cimcUsername' inPassword='$pw'></aaaLogin>";
}

[xml]$AuthXML = Invoke-WebRequest @Auth -UseBasicParsing

$AuthCookie = $AuthXML.aaaLogin.outCookie

$GetComputeAuthTokens = @{uri = "https://$cimcIP/nuova";
Method = 'POST';
Body = "<aaaGetComputeAuthTokens cookie='$AuthCookie'/>";
}

[xml]$GetComputeAuthTokensXML = Invoke-WebRequest @GetComputeAuthTokens -UseBasicParsing

$Token = $GetComputeAuthTokensXML.aaaGetComputeAuthTokens.outTokens -replace ",", "&tkn2="

$KVMurl = "https://$cimcIP/kvm.jnlp?cimcAddr=$cimcIP&cimcName=KVM&tkn1=$Token"
javaws "https://$cimcIP/kvm.jnlp?cimcAddr=$cimcIP&cimcName=KVM&tkn1=$Token"
Clear-Variable cimcIP
Clear-Variable cimcusername
Clear-Variable cicmpassword

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: