Hey, did you saw the notice 'data loss warning'?
Sorry, no "how to use these list VM" now.
All I post was just a way to return slaves to pre-installed state to
allow them rejoin pool (new pool).
You can try to scavenge VM data from storage (which should stay intact,
I think) but that require deep digging in VHD, LVM and so on.
Which SM did you use?
04.10.2012 15:08, claytonly ?????:
Thanks for George's response. It does work and 'xe vm-list' returns no
errors.
However, I got another problem. 'xe vm-list' only displayed
controlling domain VM, other vms have all gone! How can I use these
lost VMs? Many thanks!
2012-10-04
------------------------------------------------------------------------
claytonly
------------------------------------------------------------------------
*???:*xen-api-request
*????:*2012-10-02 20:00
*??:*Xen-api Digest, Vol 77, Issue 4
*???:*"xen-api"<xen-api@lists.xen.org>
*??:*
Send Xen-api mailing list submissions to
xen-api@lists.xen.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
or, via email, send a message with subject or body 'help' to
xen-api-requ...@lists.xen.org
You can reach the person managing the list at
xen-api-ow...@lists.xen.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Xen-api digest..."
Today's Topics:
1. after reinstall ubuntu on master (claytonly)
2. monitoring of VM (Anand J)
3. Re: after reinstall ubuntu on master (George Shuklin)
----------------------------------------------------------------------
Message: 1
Date: Tue, 2 Oct 2012 18:47:49 +0800
From: "claytonly"<clayto...@163.com>
To: "xen-api"<xen-api@lists.xen.org>
Subject: [Xen-API] after reinstall ubuntu on master
Message-ID: <3fdd2a92.d5b.13a2116c342.coremail.clayto...@163.com>
Content-Type: text/plain; charset="utf-8"
hello,everyone
for some reason, I have reinstall ubuntu and xpc-xapi on master, and all slaves in pool have been deleted. But when I run 'xe vm-list' on slave, there comes the error
"The master says the hosts is not know to it. Perhaps the Host was deleted from the master's database? Perhaps the slave is poiting to the wrong master?"
After that ,I try to add the slave to the new pool, it doesn't work. what should i do? Many thanks!
clayton
2012-10-02
claytonly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xen.org/archives/html/xen-api/attachments/20121002/1c92026b/attachment.html>
------------------------------
Message: 2
Date: Tue, 2 Oct 2012 16:20:52 +0530
From: Anand J <anandsbj1...@gmail.com>
To: xen-api@lists.xen.org
Subject: [Xen-API] monitoring of VM
Message-ID:
<cafqqp+avykewy6n0h-plk60cjt8cd13dtn_c4e5ct26srro...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
hi I am anand.
I am very beginner to xcp and i want to monitor the virtual machine (like
cpu usage, storage, status of vm).
so which all API should i use to get those... please suggest me.
thanks
regards
ANAND
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xen.org/archives/html/xen-api/attachments/20121002/72d60500/attachment.html>
------------------------------
Message: 3
Date: Tue, 02 Oct 2012 15:40:49 +0400
From: George Shuklin <george.shuk...@gmail.com>
To: xen-api@lists.xen.org
Subject: Re: [Xen-API] after reinstall ubuntu on master
Message-ID: <506ad2c1.4090...@gmail.com>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
Every slave has /etc/xcp/pool.conf wich points to master. To fix (well,
actually broke down leftovers of previous pool):
(DATA LOSS WARNING)
0) sudo -s
1) /etc/init.d/xcp-xapi stop
2) rm /var/lib/xcp/state.db
3) echo master >/etc/xcp/pool.conf
4) /etc/init.d/xcp-xapi start
02.10.2012 14:47, claytonly ?????:
> hello,everyone
> for some reason, I have reinstall ubuntu and xpc-xapi on master, and
> all slaves in pool have been deleted. But when I run 'xe vm-list' on
> slave, there comes the error
> "The master says the hosts is not know to it. Perhaps the Host was
> deleted from the master's database? Perhaps the slave is poiting to
> the wrong master?"
> After that ,I try to add the slave to the new pool, it doesn't work.
> what should i do? Many thanks!
> clayton
> 2012-10-02
> ------------------------------------------------------------------------
> claytonly
>
>
> _______________________________________________
> Xen-api mailing list
> Xen-api@lists.xen.org
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xen.org/archives/html/xen-api/attachments/20121002/2fdca68c/attachment.html>
------------------------------
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
End of Xen-api Digest, Vol 77, Issue 4
**************************************
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api