I noticed that  vmadmd is in maintenance

svcs | grep vmad
maintenance    10:44:56 svc:/system/smartdc/vmadmd:default

When I try to clear the maintenance mode and then restart the vmadm service, the same error occurs

[root@ /usbkey]# svcadm clear svc:/system/smartdc/vmadmd:default
[root@ /usbkey]# svcadm restart svc:/system/smartdc/vmadmd:default
[root@ /usbkey]# svcs | grep vmad
online         13:16:16 svc:/system/smartdc/vmadmd:default
[root@ /usbkey]# vmadm info 5dde3fc6-5f0c-4f51-bb33-77f0f36c000f
Unable to get VM info for VM 5dde3fc6-5f0c-4f51-bb33-77f0f36c000f: socket hang up
[root@ /usbkey]# vmadm info 5dde3fc6-5f0c-4f51-bb33-77f0f36c000f
Unable to get VM info for VM 5dde3fc6-5f0c-4f51-bb33-77f0f36c000f: connect ECONNREFUSED

At this point I don't know how to get vmadmd to restart with the new admin address.

I'm going to reboot the machine with a static ip address for the admin_ip so hope to not see this again.

On 15/10/2015 12:13, William Ratcliffe wrote:
in my /usbkey/config I have

admin_ip=dhcp

When the admin interface gets reassigned a new ip observed the following

1. First running
vmadm info 5dde3fc6-5f0c-4f51-bb33-77f0f36c000f vnc
to get the vnc number address and port number - the old ip address is shown in the vnc parameters

2. Reboot vm to (I hope) refresh the vnc details.
vmadm reboot 5dde3fc6-5f0c-4f51-bb33-77f0f36c000f
vmadm list (its now running)

3.
vmadm info 5dde3fc6-5f0c-4f51-bb33-77f0f36c000f

l "vmadm info" commands give the ECONNREFUSED error.
Unable to get VM info for VM 5dde3fc6-5f0c-4f51-bb33-77f0f36c000f: connect ECONNREFUSED


I'll make the admin_ip static. However how do you restart the services without restarting the machine? and/or refresh the vnc connection details in this instance.

Thanks
On 30/09/2015 09:09, Alessio Ciregia wrote:
http://www.listbox.com

*smartos-discuss* | Archives <https://www.listbox.com/member/archive/184463/=now> <https://www.listbox.com/member/archive/rss/184463/27709494-c1d4d27e> | Modify <https://www.listbox.com/member/?&;> Your Subscription [Powered by Listbox] <http://www.listbox.com>





-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to