cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3369
Views
0
Helpful
2
Replies

How can I acknowledge a pending reboot in UCS Central with PowerTool?

Alan N
Level 1
Level 1

In the past I have been able to acknowledge reboots for blades in a domain with:

Get-UcsServiceProfile "xxx" | Get-UcsLsmaintAck | Set-UcsLsmaintAck -AdminState "trigger-immediate" -Force

But when I try to use it with the ucs central commands for a ucs central profile it doesn't work.  It acts like it works with no error but it never is acknowledged.

Get-UcsCentralServiceProfile "xxx" | Get-UcsCentralLsmaintAck | Set-UcsCentralLsmaintAck -AdminState "trigger-immediate" -Force

Running Get-UcsCentralServiceProfile does show the AdminState changed but nothing happens.

PowerTool C:\> Get-UcsCentralServiceProfile "xxx" | Get-UcsCentralLsmaintAck

Acked              : 1969-12-31T18:00:00.000

AckedBy            :

AdminState         : trigger-immediate

AutoDelete         : no

ChangeBy           :

ChangeDetails      :

ChangeMode         : 256

Changes            :

ConfigIssues       :

DeploymentMode     : timer-automatic

Descr              :

Disr               :

IgnoreCap          : no

Modified           : 1969-12-31T18:00:00.000

Name               :

OldPnDn            : compute/sys-1010/chassis-1/blade-1

OperScheduler      :

OperState          : untriggered

PolicyLevel        : 0

PolicyOwner        : local

PrevOperState      : untriggered

Scheduler          :

TriggerConfigState : none

UcsCentral         : lil-ux-smpuc1

Dn                 : org-root/org-VMware/ls-xxx/ack

Rn                 : ack

Status             :

XtraProperty       : {}

This is with ucs central 1.5.1b or ucs central 1.4.1

1 Accepted Solution

Accepted Solutions

thomsonac
Level 4
Level 4

Hi Alan,

I wrote this about a year ago (so several PowerTool versions ago so they might be a dedicated cmdlet now).  Give it a shot.

            Get-UcsCentralComputeRequirement -Name <global service profile> | Get-UcsCentralComputeInstance | Get-UcsCentralLsmaintAck | Set-UcsCentralLsmaintAck -AdminState "trigger-immediate" -Force

-Alex

View solution in original post

2 Replies 2

thomsonac
Level 4
Level 4

Hi Alan,

I wrote this about a year ago (so several PowerTool versions ago so they might be a dedicated cmdlet now).  Give it a shot.

            Get-UcsCentralComputeRequirement -Name <global service profile> | Get-UcsCentralComputeInstance | Get-UcsCentralLsmaintAck | Set-UcsCentralLsmaintAck -AdminState "trigger-immediate" -Force

-Alex

This is working in UCS central. Thank you very much.

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:

Cisco UCS X-Series Energy Efficiency Offer