[Users] [vdsm] [Engine-devel] Fwd: the procedure of storage-related

Ayal Baron abaron at redhat.com
Mon Apr 29 07:40:14 UTC 2013



----- Original Message -----
> hi,
> maybe i do not make you understand me fully. i am reading vdsm code, but it
> is hard for me to understand StorageDomain,StoragePool. before stoargeD(P)
> can work, engine must prepare many things.
> i want to know the call flow (process) which must be done to make storageS(P)
> work.
> 1.for example, what funcitons you should call if make a stoargeDomain work.
> poolConnectStorageServer->poolCreate->poolConnect->domainCreate->domainActivate.
> thanks

The setup flow is:

1. connectStorageServer (this connects the host to storage. i.e. either performs a 'mount' or iscaiadm command)
2. createStorageDomain (only required once)
3. createStoragePool   (only required once)

Once you have the pool, on all hosts you perform:
1. connectStorageServer
2. connectStoragePool

And on one (and only one) of the hosts:
1. spmStart

> 
> 
> 
> At 2013-04-28 17:40:29,"Vered Volansky" <vered at redhat.com> wrote:
> >
> >
> >----- Forwarded Message -----
> >> From: "Vered Volansky" <vered at redhat.com>
> >> To: "bigclouds" <bigclouds at 163.com>
> >> Sent: Sunday, April 28, 2013 12:39:31 PM
> >> Subject: Re: [Engine-devel] the procedure of storage-related
> >> 
> >> Hi,
> >> 
> >> Find my answers below.
> >> 
> >> Best Regards,
> >> Vered
> >> 
> >> ----- Original Message -----
> >> > From: "bigclouds" <bigclouds at 163.com>
> >> > To: "engine-devel" <engine-devel at ovirt.org>
> >> > Sent: Saturday, April 27, 2013 8:40:56 AM
> >> > Subject: [Engine-devel] the procedure of storage-related
> >> > 
> >> > hi,all
> >> > 1.i am now not very familar with the right procedure of storage,
> >> >     please give me a simply introduction of their concept and relation.
> >> >     help
> >> >     me out
> >> >  
> >> > StoragePool,StorageDomain
> >> > image,volume
> >> 
> >> You should find the following link helpful:
> >> http://www.ovirt.org/Vdsm_Storage_Terminology
> >> 
> >> As per your other questions, you might find the following guide helpul:
> >> http://www.ovirt.org/Quick_Start_Guide#Configure_Storage
> >> 
> >> Of not, please rephrase them as they're not clear enough and I'd rather
> >>  not
> >> guess.
> >> 
> >> 
> >> >  
> >> >  
> >> > 2.please help me confirm.
> >> > i find only one place call mount command, which is
> >> > poolConnectStorageServer.
> >> > if poolConnectStorageServer is before create and active
> >> > StoragePool,StorageDomain?
> >> >  
> >> > 3.if attach is just modify metadata, not anything else?
> >> >  
> >> > 4.sp.py, deactivateSD
> >> >   if i deactivate ISO storage,it finally umount masterDir, why  ?
> >> >   if masterDir is not  mastersd?
> >> > thanks
> >> > 
> >> > 
> >> > 
> >> > _______________________________________________
> >> > Engine-devel mailing list
> >> > Engine-devel at ovirt.org
> >> > http://lists.ovirt.org/mailman/listinfo/engine-devel
> >> > 
> >> 
> >_______________________________________________
> >Engine-devel mailing list
> >Engine-devel at ovirt.org
> >http://lists.ovirt.org/mailman/listinfo/engine-devel
> 
> 
> 
> _______________________________________________
> vdsm-devel mailing list
> vdsm-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
> 



More information about the Users mailing list