If OVM CLI queries block as follows . . .
OS>
/usr/local/bin/sshpass -p <OvmPassword> ssh -p <OvmPort> admin@<OvmHost> "show server name=<NameOfTheVmToQueyFor>"
Permission denied, please try again.
Logon to the OVM host (<OvmHost> from above) as OS root user and restart the OVM CLI:
# service ovmcli stop
Stopping Oracle VM Manager CLI [ OK ]
# service ovmcli start
Starting Oracle VM Manager CLI [ OK ]
# service ovmcli status
Oracle VM Manager CLI is running...
Now you can retry the query from top:
OVM> show server name=<NameOfTheVmToQueyFor>
Command: show server name=<NameOfTheVmToQueyFor>
Status: Success
Time: 2018-01-26 12:17:23,011 CET
Data:
Status = Running
Role 1 = Utility
Role 2 = Vm
Ip Address = 159.*********
Maintenance Mode = Off
Inbound Migration Locked = No
Agent Login = oracle
Statistic Interval = 40
NTP Server 1 = b****************
NTP Server 2 = m******************
BIOS Vendor = HP
BIOS Version = P70
. . .
I hope it helps.
No comments :
Post a Comment