It is actually a big deal for us (possibly for others too).

This single requirement had the potential to spoil our SmartOS SDC
container adoption.

Have a workaround, but native time changing would be best.

In VMware we did not have difficulties with time as fat VM's allow this
obviously.

Maybe other cases will come out of the woodwork as SDC and container
adoption will be going up, I am sure we are not the only case..
 On Mar 23, 2015 4:20 PM, "Garrett D'Amore" <[email protected]> wrote:

> And how big a deal is this, in terms of load, etc.  Put another way, how
> much would having this in native zone instead of KVM help you out?  (What
> I’m trying to do is gauge cost-of-effort vs. benefit.   That said, you’re
> not (directly) my customer, and my employer doesn’t target that industry.
> That said, if the financial industry starts clamoring for this, you can bet
> I’ll be on it. :-)
>
> - Garrett
>
> On Mar 22, 2015, at 8:14 PM, Peter Toth <[email protected]> wrote:
>
> Yes sure, it is for the gaming industry, time based games/draws and
> availability flags for certain games/products. Also day end processing. A
> ton of stuff really..
> On Mar 23, 2015 3:04 PM, "Garrett D'Amore" <[email protected]> wrote:
>
>> Out of curiosity, can you share why running in a different time was
>> important for you?  It does strike me that we could probably build support
>> for this in the OS — changing the base offset at any rate, if there is a
>> compelling justification for it.
>>
>> - Garrett
>>
>> On Mar 22, 2015, at 6:19 PM, Peter Toth <[email protected]> wrote:
>>
>> Just a quick report back on this, for now I have managed to build a KVM
>> SmartOS instance and provision zones into it - it works like a charm.
>> On top of this I was able to just image the original zones in SDC and
>> point the virtual KVM SmartOS to look for images in SDC.
>>
>> Deploy the same SDC images and test them with time changes within KVM.
>>
>> I am amazed how straightforward this was!
>>
>> P
>>
>> On Fri, Mar 20, 2015 at 1:38 PM, Peter Toth <[email protected]>
>> wrote:
>>
>>> That's a very interesting one! Compiled it up on SmartOS and
>>> unfortunately core dumps.
>>> I am going to try it on a Linux box to verify whether it will work for
>>> our applications (tomcat, nginx, php-fpm).
>>>
>>> If it fails then I will try to set up a separate SmartOS box just for
>>> the time related tests...
>>>
>>> Thanks heaps!
>>> P
>>>
>>> On Fri, Mar 20, 2015 at 9:02 AM, Scott McWhirter <
>>> [email protected]> wrote:
>>>
>>>> There's also libfaketime, if it's just for a few processes.
>>>>
>>>> On Thu, Mar 19, 2015 at 12:59 PM, Peter Toth via smartos-discuss <
>>>> [email protected]> wrote:
>>>>
>>>>> Thanks Garrett, yes it needs to be a totally different time and
>>>>> SmartOS operating system.
>>>>> Seems that my only option is to build a KVM SmartOS machine (SmartOS
>>>>> inside SmartOS KVM).
>>>>>
>>>>> On Fri, Mar 20, 2015 at 8:47 AM, Garrett D'Amore <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> You can change the timezone (offset) but the global clock can only be
>>>>>> changed in the global zone.
>>>>>>
>>>>>> If you have some particular need to run in a totally different time
>>>>>> you can use kvm. The clock will still tick in synch with the global zone
>>>>>> but you can set any base time you like. This cannot be done in a native
>>>>>> zone.
>>>>>>
>>>>>> Sent from my iPhone
>>>>>>
>>>>>> On Mar 19, 2015, at 12:39 PM, Peter Toth via smartos-discuss <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> Is anyone aware of any method to fake/change time in a SmartOS zone
>>>>>> (non-global zone)?
>>>>>>
>>>>>> Thanks
>>>>>> P
>>>>>> *smartos-discuss* | Archives
>>>>>> <https://www.listbox.com/member/archive/184463/=now>
>>>>>> <https://www.listbox.com/member/archive/rss/184463/22103350-51080293>
>>>>>> | Modify <https://www.listbox.com/member/?&;> Your Subscription
>>>>>> <http://www.listbox.com/>
>>>>>>
>>>>>>
>>>>> *smartos-discuss* | Archives
>>>>> <https://www.listbox.com/member/archive/184463/=now>
>>>>> <https://www.listbox.com/member/archive/rss/184463/22984186-fca9c571>
>>>>> | Modify
>>>>> <https://www.listbox.com/member/?&;>
>>>>> Your Subscription <http://www.listbox.com/>
>>>>>
>>>>
>>>>
>>>
>>
>>
>



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to