[one-users] Change one.db path [was ONE sunstone locking randomly]
Andreas Calvo Gómez
andreas.calvo at scytl.com
Tue Jan 22 03:02:30 PST 2013
Hello,
Is there any way to place the one.db sqlite file in another directory?
(so it is outside the NFS shared path)
Thanks
On 14/01/13 15:32, Andreas Calvo Gómez wrote:
> We will try it under our maintenance schedule.
>
> However, stopping and starting daemons shows the following warnings:
> [root at opennebula ~]# /etc/init.d/opennebula-occi stop &&
> /etc/init.d/opennebula-sunstone stop && /etc/init.d/opennebula stop &&
> /etc/init.d/httpd stop
> Stopping OCCI Server daemon: occi-server stopped
> [ OK ]
> Stopping Sunstone Server daemon: sunstone-server stopped
> [ OK ]
> Stopping OpenNebula daemon: oned and scheduler stopped
> [ OK ]
> Stopping httpd: [ OK ]
> [root at opennebula ~]# service opennebula start && service
> opennebula-sunstone start && service opennebula-occi start && service
> httpd start
> Starting OpenNebula daemon: Stale .lock detected. Erasing it.
> [ OK ]
> Starting Sunstone Server daemon: sunstone-server started
> [ OK ]
> Starting OCCI Server: Stale .lock detected. Erasing it.
> occi-server started
> [ OK ]
> Starting httpd: httpd: Could not reliably determine the server's fully
> qualified domain name, using opennebula.scytl.net for ServerName
> [ OK ]
>
> Any hint about those lock files detected?
>
> Thanks
> On 11/01/13 14:51, Carlos Martín Sánchez wrote:
>> Hi,
>>
>> I guess you are referring to the old documentation, right? I found
>> the warning about sqlite and NFS in the 3.2 archives [1]. It should
>> be enough if you move the one.db file and create a symlink.
>>
>> Regards
>>
>> [1]
>> http://opennebula.org/documentation:archives:rel3.2:sfs#considerations_limitations
>> --
>> Carlos Martín, MSc
>> Project Engineer
>> OpenNebula - The Open-source Solution for Data Center Virtualization
>> www.OpenNebula.org <http://www.OpenNebula.org> |
>> cmartin at opennebula.org <mailto:cmartin at opennebula.org> | @OpenNebula
>> <http://twitter.com/opennebula>
>>
>>
>> On Fri, Jan 11, 2013 at 2:30 PM, Andreas Calvo Gómez
>> <andreas.calvo at scytl.com <mailto:andreas.calvo at scytl.com>> wrote:
>>
>> Carlos,
>> We are exporting the whole /var/lib/one directory as per the
>> documentation, which helps to maintain all the cloud by sharing
>> the same ssh public keys and configuration.
>>
>> Do you think placing the SQLite database in a non-NFS directory
>> will make things better?
>>
>>
>> On 11/01/13 14:09, Carlos Martín Sánchez wrote:
>>> Hi,
>>>
>>> Are you exporting only the shared datastores, or the whole
>>> /var/lib/one location?
>>> In older versions we advised to share /var/lib/one to make the
>>> ssh configuration easier, but NFS would make the sqlite DB
>>> misbehave.
>>>
>>> Regards
>>> --
>>> Carlos Martín, MSc
>>> Project Engineer
>>> OpenNebula - The Open-source Solution for Data Center
>>> Virtualization
>>> www.OpenNebula.org <http://www.OpenNebula.org> |
>>> cmartin at opennebula.org <mailto:cmartin at opennebula.org> |
>>> @OpenNebula <http://twitter.com/opennebula>
>>>
>>>
>>> On Thu, Jan 10, 2013 at 11:45 AM, Andreas Calvo Gómez
>>> <andreas.calvo at scytl.com <mailto:andreas.calvo at scytl.com>> wrote:
>>>
>>> Hello,
>>> We've been using ONE for some time now, and it worked
>>> flawlessly.
>>>
>>> A month ago, we switched from GFS to NFS to shared storage,
>>> because GFS is really difficult to maintain and operate.
>>>
>>> We found out that Sunstone is becoming inactive randomly:
>>> while the WEBUI seems to be working, users cannot log in and
>>> logged users cannot operate (launch VNC, start/stop VMs, ...).
>>> However, there are no references to an error or lockup
>>> either in sunstone logs (both .log and .error) or in ONE logs.
>>>
>>> Any hint or point to track down this behaviour?
>>>
>>> ONE version is 3.8.1 under CentOS 6.3.
>>>
>>> Thanks
>>>
>>> --
>>> Andreas Calvo Gómez
>>> Systems Engineer
>>> Scytl Secure Electronic Voting
>>> Plaça Gal·la Placidia, 1-3, 1st floor · 08006 Barcelona
>>> Phone: + 34 934 230 324 <tel:%2B%2034%20934%20230%20324>
>>> Fax: + 34 933 251 028 <tel:%2B%2034%20933%20251%20028>
>>> http://www.scytl.com
>>>
>>> NOTICE: The information in this e-mail and in any of its
>>> attachments is
>>> confidential and intended solely for the attention and use
>>> of the named
>>> addressee(s). If you are not the intended recipient, any
>>> disclosure,
>>> copying,
>>> distribution or retaining of this message or any part of it,
>>> without the
>>> prior
>>> written consent of Scytl Secure Electronic Voting, SA is
>>> prohibited and
>>> may be
>>> unlawful. If you have received this in error, please contact
>>> the sender
>>> and
>>> delete the material from any computer.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>> --
>> Andreas Calvo Gómez
>> Systems Engineer
>> Scytl Secure Electronic Voting
>> Plaça Gal·la Placidia, 1-3, 1st floor · 08006 Barcelona
>> Phone:+ 34 934 230 324 <tel:%2B%2034%20934%20230%20324>
>> Fax:+ 34 933 251 028 <tel:%2B%2034%20933%20251%20028>
>> http://www.scytl.com
>>
>> NOTICE: The information in this e-mail and in any of its attachments is
>> confidential and intended solely for the attention and use of the named
>> addressee(s). If you are not the intended recipient, any disclosure,
>> copying,
>> distribution or retaining of this message or any part of it, without the
>> prior
>> written consent of Scytl Secure Electronic Voting, SA is prohibited and
>> may be
>> unlawful. If you have received this in error, please contact the sender
>> and
>> delete the material from any computer.
>>
>>
>
> --
> Andreas Calvo Gómez
> Systems Engineer
> Scytl Secure Electronic Voting
> Plaça Gal·la Placidia, 1-3, 1st floor · 08006 Barcelona
> Phone: + 34 934 230 324
> Fax: + 34 933 251 028
> http://www.scytl.com
>
> NOTICE: The information in this e-mail and in any of its attachments is
> confidential and intended solely for the attention and use of the named
> addressee(s). If you are not the intended recipient, any disclosure,
> copying,
> distribution or retaining of this message or any part of it, without the
> prior
> written consent of Scytl Secure Electronic Voting, SA is prohibited and
> may be
> unlawful. If you have received this in error, please contact the sender
> and
> delete the material from any computer.
--
Andreas Calvo Gómez
Systems Engineer
Scytl Secure Electronic Voting
Plaça Gal·la Placidia, 1-3, 1st floor · 08006 Barcelona
Phone: + 34 934 230 324
Fax: + 34 933 251 028
http://www.scytl.com
NOTICE: The information in this e-mail and in any of its attachments is
confidential and intended solely for the attention and use of the named
addressee(s). If you are not the intended recipient, any disclosure,
copying,
distribution or retaining of this message or any part of it, without the
prior
written consent of Scytl Secure Electronic Voting, SA is prohibited and
may be
unlawful. If you have received this in error, please contact the sender
and
delete the material from any computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130122/f73e78f3/attachment-0002.htm>
More information about the Users
mailing list