10-25-2016 02:40 PM
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
Solved! Go to Solution.
10-25-2016 06:25 PM
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
10-25-2016 06:25 PM
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
11-24-2018 11:24 PM
This is working in UCS central. Thank you very much.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide