I did a quick check in the code and based on it only the first SR is returned. 
So if there are multiple local SR then all of them won't get discovered 
automatically.
Refer to method protected StartupStorageCommand initializeLocalSR(Connection 
conn) in CitrixResourceBase.java

> -----Original Message-----
> From: Kirk Kosinski [mailto:kirkkosin...@gmail.com]
> Sent: Tuesday, May 14, 2013 5:43 AM
> To: users@cloudstack.apache.org
> Subject: Re: multiple local primary storage for XenServer
> 
> Do your hosts each have more than one local SR?  Sorry I just want to be
> clear.  I know that one local SR per host is successfully detected when you
> add the host, but I am not sure about multiple local SRs per host.
> 
> Thanks,
> Kirk
> 
> On 05/13/2013 04:56 PM, Kirk Jantzer wrote:
> > For me, when I added the hosts, it added their local storage, this was
> > all done when creating a basic zone.
> >
> > Regards,
> >
> > Kirk Jantzer
> > (678) 561-5475
> > http://about.me/kirkjantzer
> > On May 13, 2013 7:50 PM, "Kirk Kosinski" <kirkkosin...@gmail.com> wrote:
> >
> >> Does it add all of the local SRs for a host as primary storage when
> >> you add the host, or do you have to add the SRs manually (PreSetup
> >> option or otherwise)?
> >>
> >> Kirk
> >>
> >> On 05/13/2013 04:17 PM, Kirk Jantzer wrote:
> >>> Kirk - totally possible, this is my lab setup. When you create your
> >>> zone, you have to check the box for 'local storage'. When you go to
> >>> add a host, it will add the hosts storage as primary storage. Also,
> >>> you'll need to recreate your compute service offerings to use local
> storage.
> >>>
> >>> Regards,
> >>>
> >>> Kirk Jantzer
> >>> http://about.me/kirkjantzer
> >>> On May 13, 2013 7:14 PM, "Kirk Kosinski" <kirkkosin...@gmail.com>
> wrote:
> >>>
> >>>> Has anyone every used more than one local primary storage on a
> >>>> XenServer host in CloudStack?  Do you add it in CloudStack using
> >>>> the PreSetup option or some other way?
> >>>>
> >>>> Thanks,
> >>>> Kirk
> >>>>
> >>>
> >>
> >

Reply via email to