You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Yiping Zhang <yz...@marketo.com> on 2015/01/13 23:43:26 UTC

urgent help needed: primary storage became unplugged after xenserver roboot

Hi,  All:

I need some urgent help in restoring my CS instance (version 4.3.1).

After patching xenserver 6.2,  I rebooted the pool master (I have two xen hypervisors).  After the pool master comes back, the SR for the primary storage  became “unplugged”, and shown as broken in XenCenter.  The volume is not mounted on pool master host any more.

How do I get it back without losing any data ?

Thanks for all helps.

Yiping



Re: urgent help needed: primary storage became unplugged after xenserver roboot

Posted by Keerthiraja SJ <sj...@gmail.com>.
It can be fixed. I too had same issue when I did the patch on xenserver.

The problem is after you apply patch you might lost the mount point
information for example

cat /opt/cloud/bin/heartbeat
/var/run/sr-mount/42d66763-9251-ab84-8717-8f5e9dcedc09

So just simply add mount point information on /opt/cloud/bin/heartbeat.

Where can I find that?

 cd /var/run/sr-mount/
ls -ltrh
total 60K
drwxr-xr-x 3 root root 56K Jan  8 09:01 42d667 (you might see a log
directory) so place that into the /opt/cloud/bin/heartbeat

after that mount manually and do the rescan in xencenter.

You issue might get resolve.

Thanks,
Keerthi

On Wed, Jan 14, 2015 at 3:17 PM, Yuri Kogun <yk...@outlook.com> wrote:

> We had a similar problem before. It turned out to be a unsupported
> combination of cloudstack + xenserver (we did run 4.2.1 with xenserver 6.2
> sp1) . Please check you have all required patches applied on the Xen box.
>
> Best regards
> Yuri
>
> ----------------------------------------
> > From: cgeiger@it1solutions.com
> > To: users@cloudstack.apache.org
> > Subject: RE: urgent help needed: primary storage became unplugged after
> xenserver roboot
> > Date: Wed, 14 Jan 2015 00:18:54 +0000
> >
> > I seem to recal there were some clouds tack files overwritten with
> updates. I'd try redeploy it in cloudstack. I would also take a pool backup
> first.
> > Also check the XS logs for errors. /var/log/messages and /var/log/SMlog
> >
> >
> > Sent from my Verizon Wireless 4G LTE smartphone
> >
> >
> > -------- Original message --------
> > From: Yiping Zhang <yz...@marketo.com>
> > Date: 01/13/2015 5:43 PM (GMT-05:00)
> > To: users@cloudstack.apache.org
> > Subject: urgent help needed: primary storage became unplugged after
> xenserver roboot
> >
> > Hi, All:
> >
> > I need some urgent help in restoring my CS instance (version 4.3.1).
> >
> > After patching xenserver 6.2, I rebooted the pool master (I have two xen
> hypervisors). After the pool master comes back, the SR for the primary
> storage became “unplugged”, and shown as broken in XenCenter. The volume is
> not mounted on pool master host any more.
> >
> > How do I get it back without losing any data ?
> >
> > Thanks for all helps.
> >
> > Yiping
> >
> >
> >
>

RE: urgent help needed: primary storage became unplugged after xenserver roboot

Posted by Yuri Kogun <yk...@outlook.com>.
We had a similar problem before. It turned out to be a unsupported combination of cloudstack + xenserver (we did run 4.2.1 with xenserver 6.2 sp1) . Please check you have all required patches applied on the Xen box. 

Best regards 
Yuri 

----------------------------------------
> From: cgeiger@it1solutions.com
> To: users@cloudstack.apache.org
> Subject: RE: urgent help needed: primary storage became unplugged after xenserver roboot
> Date: Wed, 14 Jan 2015 00:18:54 +0000
>
> I seem to recal there were some clouds tack files overwritten with updates. I'd try redeploy it in cloudstack. I would also take a pool backup first.
> Also check the XS logs for errors. /var/log/messages and /var/log/SMlog
>
>
> Sent from my Verizon Wireless 4G LTE smartphone
>
>
> -------- Original message --------
> From: Yiping Zhang <yz...@marketo.com>
> Date: 01/13/2015 5:43 PM (GMT-05:00)
> To: users@cloudstack.apache.org
> Subject: urgent help needed: primary storage became unplugged after xenserver roboot
>
> Hi, All:
>
> I need some urgent help in restoring my CS instance (version 4.3.1).
>
> After patching xenserver 6.2, I rebooted the pool master (I have two xen hypervisors). After the pool master comes back, the SR for the primary storage became “unplugged”, and shown as broken in XenCenter. The volume is not mounted on pool master host any more.
>
> How do I get it back without losing any data ?
>
> Thanks for all helps.
>
> Yiping
>
>
>
 		 	   		  

RE: urgent help needed: primary storage became unplugged after xenserver roboot

Posted by Conrad Geiger <cg...@it1solutions.com>.
I seem to recal there were some clouds tack files overwritten with updates.  I'd try redeploy it in cloudstack.  I would also take a pool backup first.
Also check the XS logs for errors.   /var/log/messages and /var/log/SMlog


Sent from my Verizon Wireless 4G LTE smartphone


-------- Original message --------
From: Yiping Zhang <yz...@marketo.com>
Date: 01/13/2015 5:43 PM (GMT-05:00)
To: users@cloudstack.apache.org
Subject: urgent help needed: primary storage became unplugged after xenserver roboot

Hi,  All:

I need some urgent help in restoring my CS instance (version 4.3.1).

After patching xenserver 6.2,  I rebooted the pool master (I have two xen hypervisors).  After the pool master comes back, the SR for the primary storage  became “unplugged”, and shown as broken in XenCenter.  The volume is not mounted on pool master host any more.

How do I get it back without losing any data ?

Thanks for all helps.

Yiping




[SOLVED]: urgent help needed: primary storage became unplugged after xenserver roboot

Posted by Yiping Zhang <yz...@marketo.com>.
Doing ³repair² Ÿrom xencenter give me following error:

Error code: SR_BACKEND_FAILURE_73
Error parameters: , NFS mount error [opterr=mount failed with return code
32], 


Looking at /var/log/SMlog,  I see a NFS mount error, because the cmd tried
to mount "server:/path/<uuid>² instead of just ³server:/path² !

So I manually mounted NFS volume on the hypervisor, then did a ³repair² in
XenCenter, and the SR became available !

Looks to me XenCenter repair has a bug!!!

Yiping

On 1/13/15, 2:51 PM, "Somesh Naidu" <So...@citrix.com> wrote:

>I believe you could try repair from XenCenter. It gets the PBD get
>plugged most often than not.
>
>-----Original Message-----
>From: Yiping Zhang [mailto:yzhang@marketo.com]
>Sent: Tuesday, January 13, 2015 5:43 PM
>To: users@cloudstack.apache.org
>Subject: urgent help needed: primary storage became unplugged after
>xenserver roboot
>
>Hi,  All:
>
>I need some urgent help in restoring my CS instance (version 4.3.1).
>
>After patching xenserver 6.2,  I rebooted the pool master (I have two xen
>hypervisors).  After the pool master comes back, the SR for the primary
>storage  became "unplugged", and shown as broken in XenCenter.  The
>volume is not mounted on pool master host any more.
>
>How do I get it back without losing any data ?
>
>Thanks for all helps.
>
>Yiping
>
>


RE: urgent help needed: primary storage became unplugged after xenserver roboot

Posted by Somesh Naidu <So...@citrix.com>.
I believe you could try repair from XenCenter. It gets the PBD get plugged most often than not.

-----Original Message-----
From: Yiping Zhang [mailto:yzhang@marketo.com] 
Sent: Tuesday, January 13, 2015 5:43 PM
To: users@cloudstack.apache.org
Subject: urgent help needed: primary storage became unplugged after xenserver roboot

Hi,  All:

I need some urgent help in restoring my CS instance (version 4.3.1).

After patching xenserver 6.2,  I rebooted the pool master (I have two xen hypervisors).  After the pool master comes back, the SR for the primary storage  became "unplugged", and shown as broken in XenCenter.  The volume is not mounted on pool master host any more.

How do I get it back without losing any data ?

Thanks for all helps.

Yiping