I tried this to move the whole /var/lib/one/ directory to my data store. however after doing this and mounting it back to the opennebula server and nodes the whole system crashed :/ nothing worked anymore... What I did was with the command rsync -aHvz /var/lib/one/ root@datastore :/var/lib/one then deleted the /var/lib/one directory on the frontend and mounted it back so what did I do wrong?
On Fri, May 2, 2014 at 2:41 PM, Campbell, Bill < [email protected]> wrote: > That sounds correct. If you share the /var/lib/one directory among > nodes, then the datastores that you create will be shared as well. > > You can have individual datastores mounted, (for example, system > datastore 0, datastore 100, etc.) and if using the 'shared' transfer > manager driver you will need to have them mounted on opennebula node and > hypervisor nodes. > > ------------------------------ > > > *Bill Campbell *Infrastructure Architect > > Axcess Financial Services, Inc. > 7755 Montgomery Rd., Suite 400 > Cincinnati, OH 45236 > > ------------------------------ > *From: *"Christophe Duez" <[email protected]> > *To: *"Bill Campbell" <[email protected]> > *Cc: *"opennebula" <[email protected]> > *Sent: *Friday, May 2, 2014 2:49:42 AM > > *Subject: *Re: [one-users] NFS VM deployment keep getting same error over > and over > > Hello, > What I think I should do and did is moving the entire /var/lib/one > directory to my data store. > then I removed the /var/lib/one directory on my frontend and mounted the > /var/lib/one directory on my data store. > after that i changed the mounting pad for my nodes to that from the data > store instead of that one from the frontend. > is this correct? > > > On Thu, May 1, 2014 at 11:37 PM, Christophe Duez < > [email protected]> wrote: > >> Hello, >> Sorry but I don't really understand you. >> I need to directly connect the hypervisors (my kvm nodes) to the nfs data >> storage? >> OR >> I have to move my entire /var/lib/one directory to my data storage and >> connect my frontend and backends to it? >> sorry >> kind regards >> >> >> >> On Thu, May 1, 2014 at 11:16 PM, Campbell, Bill < >> [email protected]> wrote: >> >>> The system datastore will also need to be shared. Images will be >>> copied (or linked if using persistent images) to the system datastore when >>> you deploy. >>> >>> Typically in a shared/NFS environment, we see the /var/lib/one >>> directory shared among the host and the hypervisors, then any additional >>> nfs mounts you may have shared at the respective directories (like you have >>> currently). >>> >>> So what I would recommend is either creating a NFS export for your >>> system datastore and connecting the hypervisors to it, or creating a NFS >>> export for the entirety of the /var/lib/one directory. >>> >>> >>> http://docs.opennebula.org/4.6/administration/storage/system_ds.html#system-ds >>> >>> >>> ------------------------------ >>> >>> >>> *Bill Campbell *Infrastructure Architect >>> >>> Axcess Financial Services, Inc. >>> 7755 Montgomery Rd., Suite 400 >>> Cincinnati, OH 45236 >>> >>> ------------------------------ >>> *From: *"Christophe Duez" <[email protected]> >>> *To: *"Bill Campbell" <[email protected]> >>> *Cc: *"opennebula" <[email protected]> >>> *Sent: *Thursday, May 1, 2014 5:08:39 PM >>> *Subject: *Re: [one-users] NFS VM deployment keep getting same error >>> over and over >>> >>> >>> Hello, >>> I have a CentOS server that runs NFS >>> I added a data storage with following template: >>> NAME = nfs_images >>> DS_MAD = fs >>> TM_MAD = shared >>> >>> it is linked via >>> datastore:/var/nfs /var/lib/one/datastores/100 nfs rw,sync,hard,intr 0 0 >>> where datastore is my CentOS datastore server >>> >>> Is that the information you searched? >>> All my progress is logged in >>> my_commands.pdf<https://dl.dropboxusercontent.com/u/1178273/All%20commands.pdf> >>> So I have a tutorial at final >>> >>> Kind regards >>> >>> >>> On Thu, May 1, 2014 at 10:38 PM, Campbell, Bill < >>> [email protected]> wrote: >>> >>>> Sure, I can try to help. >>>> >>>> How are your datastores configured? What transfer manager are you >>>> using, shared or ssh? >>>> >>>> ------------------------------ >>>> >>>> >>>> *Bill Campbell *Infrastructure Architect >>>> >>>> Axcess Financial Services, Inc. >>>> 7755 Montgomery Rd., Suite 400 >>>> Cincinnati, OH 45236 >>>> >>>> ------------------------------ >>>> *From: *"Christophe Duez" <[email protected]> >>>> *To: *"opennebula" <[email protected]> >>>> *Sent: *Thursday, May 1, 2014 4:20:23 PM >>>> *Subject: *[one-users] NFS VM deployment keep getting same error over >>>> and over >>>> >>>> >>>> Hello, I'm keep getting the same error. >>>> can anyone please help me! >>>> I really really need help.... >>>> http://pastebin.com/nF5JaWuZ >>>> >>>> Thank you in advance >>>> >>>> >>>> _______________________________________________ >>>> Users mailing list >>>> [email protected] >>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>>> >>>> >>>> *NOTICE: Protect the information in this message in accordance with the >>>> company's security policies. If you received this message in error, >>>> immediately notify the sender and destroy all copies.* >>>> >>> >>> >>> >>> -- >>> Kind regards, >>> Duez Christophe >>> Student at University of Antwerp : >>> Master of Industrial Sciences: Electronics-ICT >>> >>> E [email protected] >>> L linkedin >>> duez-christophe<http://www.linkedin.com/pub/duez-christophe/74/7/39> >>> >>> >>> *NOTICE: Protect the information in this message in accordance with the >>> company's security policies. If you received this message in error, >>> immediately notify the sender and destroy all copies.* >>> >> >> >> >> -- >> Kind regards, >> Duez Christophe >> Student at University of Antwerp : >> Master of Industrial Sciences: Electronics-ICT >> >> E [email protected] >> L linkedin >> duez-christophe<http://www.linkedin.com/pub/duez-christophe/74/7/39> >> > > > > -- > Kind regards, > Duez Christophe > Student at University of Antwerp : > Master of Industrial Sciences: Electronics-ICT > > E [email protected] > L linkedin > duez-christophe<http://www.linkedin.com/pub/duez-christophe/74/7/39> > > > *NOTICE: Protect the information in this message in accordance with the > company's security policies. If you received this message in error, > immediately notify the sender and destroy all copies.* > -- Kind regards, Duez Christophe Student at University of Antwerp : Master of Industrial Sciences: Electronics-ICT E [email protected] L linkedin duez-christophe<http://www.linkedin.com/pub/duez-christophe/74/7/39>
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
