"Flexible" Linux desktops remain marked as 'Used' despite being powered off

I remember reading in the release notes for VDI3 Patch #2 that non-Windows OS such as Linux should now be properly 'recycled' as well (I thought that this was why VirtualBox was upgraded from 2.0.8 to 2.0.10)
Either I am doing something wrong or there is still a bug ... But on the POC setup I am currently working on the recycling just never ever happens. Linux VM's are still being considered as being "in use" despite having been powered off. I played with the power management settings so the Linux VM should automagically go to 'sleep' after a few minutes of idle time. If I don't do that the Linux VM's are running forever. I also tried playing with the Kiosk timeout settings. The default was "12000" seconds, so for the sake of testing I put it as low as 300 seconds (= 5 minutes). But this too doesn't change anything.
So the big question here: How can I force VDI3 to consider Linux desktops as being "Idle" and thus "unused" so it would properly trigger the desktop recycling?
EDIT: Right now I am using this shell script as 'Workaround' ... You'd just need to add it to a "cron" job or something like that. Comments on improving this rig are welcome :-)
#! /usr/bin/bash
FLEXVDAPOOLS=`/opt/SUNWvda/sbin/vda pool-list | /usr/bin/tail +2 | /usr/bin/grep 'flexible' | /usr/bin/awk {' print $1 '}`
for POOL in $FLEXVDAPOOLS
    do
        export POOL
# The following line should countain exactly 10 x whitespaces between the words 'Powered Off' and 'Used' on the same line
        /opt/SUNWvda/sbin/vda desktop-delete `/opt/SUNWvda/sbin/vda pool-desktops $POOL | /usr/bin/grep 'Powered Off          Used' | /usr/bin/awk {' print $2 '}`
done
unset POOL.
Edited by DJ .... My workaround is working.

If the user powers off the desktop (instead of just logout),
then the desktop is not correctly detected as idle. Sorry, but this does not seem to be true. If the user really shuts down the VM then VDI3 does correctly detect the VM as being "idle" and initiates the recycling. What we did here is that we configured the Ubuntu VM's to go into hibernation after 15 minutes if they're idle. I know, I know: Hibernation doesn't work. That's not the point. The point is that VM's won't consume too many resources on the desktop provider if they are idle. To VDI and VirtualBox such a "hibernating" system appears to be "Powered Off" as well, so we assumed it would trigger the recycling too. But it just doesn't happen, such an auto-hibernated Ubuntu VM is still being considered as being "Used" ... which is kind of silly: How can it be "used" if it's "Powered Off"? Especially since we're talking about a flexible pool. By logic a VM can't be "used" in a flexible pool if it's "Powered Off". Hence my workaround above (customer is very happy with it).
I share Dirk's view ... this seems to be a bug. VDI should regard "Powered Off" VM's as being "Idle", especially if they are in a "flexible" pool.

Similar Messages

  • Hard Drive Light remains on even when system is powered off

    HP xw8600 Workstation running XP SP3
    In the past couple of weeks I am getting a lot of blue-screen errors with varying error codes, mostly pointing to problems with the C: drive. But what troubles me is that my hard drive activity light remains lit constantly, even when the system is powered off. The only way to make the light go out is to physically unplug the power cord from the computer. As soon as I plug the power cord back in, the HDD LED lights up.
    I have Googled, Yahooed, and Binged this problem to death, and gotten nothing but pages and pages of why the hard drive would be busy when the machine is powered up. But powered down?
    I ran HP's hardware diagnostics (found no problems, it never does) and have even disconnected the hard drive and moved it to another identical box (we have about 25 xw8600 boxes) and the problem did not follow. The HDD LED on this box remains lit with the power off and no hard drives connected.
    I should note that the power light functions properly, I have checked the wiring and it's not backwards.

    Hello WAVYTV, The symtoms you describe sound suspiciously like a faulty motherboard.
    There may be a possibility that you could also have a faulty power supply.
    Please click the White Kudos star on the left, to say thanks.
    Please mark Accept As Solution if it solves your problem.

  • Droid 3 shows 7 hours of battery use despite being off and charging overnite.

    I've recently experienced shortened battery life (Motorola Droid 3) and noticed that when I turn on the phone (after being charged while off) it shows that the battery has been running for 6,7 or 8 hours. Wouldn't that number reset after being charged and off?  Not sure what to do next…battery, charger or phone ? Any thoughts appreciated.

        phonz
    I completely understand how important it is to make sure your battery usage time is displaying correctly. When you charge your phone, do you charge it back to 100% before you disconnect it from the charger? With the phone powered on, can you charge to 100%, disconnect from the charger, and check how long the time on battery says?
    RuthW_VZW
    Follow us on twitter @VZWSupport

  • HT1476 ever since I upgraded to ios 7, the battery life is very short and I do not use my ipad all that much.l have been on the phone to apple 3 times, turning off all kinds of things I so not use and have powered off more than before but it is still poor

    ever since I upgraded to ios 7, my battery life is very short. I do not use the ipad all that much and have to charge it twice as much as before. I have been on the phone to Apple 3 times and turned off a number of things that I am not using and now power it off more regularly but still not happy with battery life. It is less than a year old and as I said, I don' t use it all that much

    My best bet would be to restore the phone. Back it up to itunes, and then reset it Factory settings. This way, any corrupt software will be removed, and you can start fresh. Make sure you back it up first. By the sounds of it, you are using the phone for business and probably need the data from it. Hope this helps!

  • AutoCorrect automatically changes words despite being turned off!

    We run MS Office 2013 and Outlook in our office on a MacBook Pro (Retina). I am having a consistent problem whereby when I type in any MS Office application it automatically changes I to We.
    I have done the following (and spoken to an IT consultant):
    Turned off Auto Correct in Edit on Outlook and MS Word.
    Tried to ensure there weren't global settings in Preferences set for this > There weren't.
    Can someone please help us as this is a very frustrating issue!
    Thanks in advance.
    Kind Regards,
    Michael.

    You might try looking/posting here.
    Microsoft Support – Office for Mac
    Microsoft Support – Office for Mac (2)

  • HT1386 podcasts not avaialbe via my iphone despite being downloaded off my library

    Since the last update I have this problem - my podcasts appear in my iTunes library and can be played there but on my phone they are listed but either shown in a grey colour that can't be clicked on or when in black I get "episode unavailable".  I've tried everything but can't seem to get a copy onto my iphone.  Really annoying!!  Any ideas? 

    Do whatever you can to get your stuff backed-up. If it comes on, make a quick back-up in iTunes.
    Make sure to save your pictures and transfer your purchased stuff from iTunes.
    Here and here:
    http://support.apple.com/kb/HT4083
    http://support.apple.com/kb/HT1848
    Then restore your iPhone and set it up as new. Most of the time problems like this are related to glitches in software or something. Could be hardware though.
    Just try a restore as soon as you can and don't restore from your back-up because it might happen again.

  • BW Bex Browser in SAP GUI for JAVA 6.40 R2.2 for Linux Desktops

    Hello,
    I am using SAP GUI for JAVA v 6.40 R2.2 on a Linux desktop. But during the installation it doesn't ask for BW Bex installation option (as in SAP GUI for Windows). Is it the case that BW Bex is not supported in Linux Environment? If it is then kindly suggest some way to install the same.
    Regards,
    Yashodhan

    Hi Yashodhan,
    the Business Explorer does not exist in the Linux environment.
    Best regards,
    Christian

  • Some read mail items remain marked as unread

    Some read mail items remain marked as unread (even after I've read them).
    I have to manually mark them as read.
    This doesn't happen to all mail items, just some.
    How can I fix this?

    A few discoveries I made this morning.
    One is that disabling GPGMail seems to solve the problem, or at least significantly reduce its occurrence.
    Another is that with GPGMail enabled, it seems to depend on how quickly one opens an email. I can't say for sure that this is a hard and fast rule, but messages staying unread seems to be more of a problem if you've just entered the folder or just been viewing another message and suddenly change to an unread one. It's as though GPGMail causes Mail to need some time to think things through.
    A third is that if you have multiple mail accounts, a workaround to reset the unread count exists. If a mail folder in Account One is having problems, you can switch to a folder in Account Two, possibly wait an interval of time (not sure what that interval would be), then switch back to your original Account One folder. That seems to force a refresh of the unread count, without needing a folder rebuild (with consequent loss of expanded threads, etc).
    However, for the time being, I've just disabled GPGMail. I can re-enable it as needed, by the looks of it, and it's not as though I've really needed to use it yet.
    I could wish, though, that Apple offered proper GPG support, or at least that they made enough of their API available that third parties could do a proper job instead of an ugly and somewhat broken hack. (I've also seen complaints that Apple like to change their API without telling anyone, just to keep third-party developers on their toes =P.) I suppose another problem is lack of available time. Which I also suffer from, so I don't think a "real solution" is forthcoming from this quarter, at least.

  • Cisco Finesse for Linux Desktop

    i've a customer (call center) runs Linux desktops and he needs to deploy Cisco Finesse latest version. i was wondering if it is supported over Linux or not??

    Hi,
    I have a CCX 10.5, and i use finesse with my Debian .
    It works perfectly with Iceweasel, Firefox, or Chromium .

  • SRSS 4.2 Kiosk for Virtual Linux Desktop?

    Hello All,
    I currently have SRSS 4.2 with SRWC 2.2 installed on Solaris 10 and I able to get everything working for a full virtual Windows XP desktop running on ESX 4U1in a kiosk session. My question then is, does SRSS 4.2 support full virtual Redhat/Linux desktops? If so, what is required? Is there and add-on that I need to install like SRWC for windows? Or can I simply enable the remote desktop feature in RHEL.
    Thank you all for your help.
    Edited by: henrydong9 on Mar 3, 2010 10:34 PM

    Hi All,
    After a few days of researching, then trial and error I was able to use this [http://blogs.sun.com/ThinkThin/entry/point_and_shoot_vdi1|http://blogs.sun.com/ThinkThin/entry/point_and_shoot_vdi1] as my kiosk session. I was then able to send a windows vm session to my DTU. For Redhat linux I installed this [http://xrdp.sourceforge.net/|http://xrdp.sourceforge.net/] , which enable me to use the windows remote desktop protocol, thus enabling me to use the linux vm session on my DTU. For your information, the xrdp so far logs in with a KDE desktop. I am looking into switching it to the GNOME desktop.
    Well that does it for me. I can now get either a windows or linux vm desktop to my DTU.
    Edited by: henrydong9 on Mar 5, 2010 11:13 PM
    Edited by: henrydong9 on Mar 5, 2010 11:13 PM
    Edited by: henrydong9 on Mar 6, 2010 7:28 PM

  • SAPGUI on linux desktop machine

    Hi Experts,
    i have installed SAPGUI 7.10 on linux i586 machine. In Suse linux desktop i am getting the printout of test page. But from SAPGUI print is not coming. i have configured with the below procedure.,
    Access method : U: print using  Berkeley protocol
    Device type : EPESCP9:EPSON ESC/P9-pin printer
    Host printer : FX-2175
    spool server : hostname
    device class : standard printer
    destination host: printer attached system ip addres
    Please give me  your suggessions
    regards
    Ramesh

    hi krishna,
    make sure that your LPD daemon is running well.
    For more clear explanation, please check my blog posting here (http://sapbasis.wordpress.com/2007/08/23/print-sap-documents-using-linux/)
    ardhian
    http://ardhian.kioslinux.com
    http://sapbasis.wordpress.com

  • Overscroll Glow / Overscroll Bounce with Linux Desktops?

    Hello fellow archers,
    you might be familiar with the Overscroll Bounce on iOS or the Overscroll Glow on Android.
    When you scroll a page/document it builds up momentum and kinetic energy, which causes the page
    to overshoot and bounce back at the end of the page.
    Is something like that already available for linux desktops? It would be enough for me
    if at least the scroll would keep on scrolling untill I stop it with my touchpad. Right
    now I'm two-finger scrolling on my synaptics touchpad, but it only scrolls as long as
    I'm sliding both fingers in one direction.
    Regards,
    blackout23
    Last edited by blackout23 (2012-02-20 21:13:14)

    I think I've got my touchpad to coast but it isn't exactly smooth and seamless. It rather stutters to a halt.
    Seems that we have to wait just a little longer.
    http://www.phoronix.com/scan.php?page=n … &px=OTUyNw
    Untill now even a continous motion on the touchpad is just a virtual click of a button which scrolls x pixles every time.
    https://chrome.google.com/webstore/deta … fkhb?hl=de
    This chromium extension works pretty good sofar. But systemwide that doesn't seem to be possible at the moment.
    I'll let other give the chance to discuss this before I mark this thread as solved.
    Last edited by blackout23 (2012-02-20 22:57:00)

  • How do I get messages to go back to an AIM account? It's only seeing the iPad's Facetime email address and not seeing the old AIM account name that is on my desktop. I am using my iMac using iChat to talk to a newer iMac that doesn't have iChat.

    How do I get messages to go back to an AIM account? It's only seeing the iPad's Facetime email address and not seeing the old AIM account name that is on my desktop. I am using my iMac using iChat to talk to a newer iMac that doesn't have iChat. We had this working using Messages and Facetime (on the new machine) talking to my existing iChat account. One day last week, when Facetime rang, my kids answered on the iPad. Dang! Now it's all fouled up! The new iMac won't see my AIM account name and shows that I'm offline, because the iPad is off. We were able to call using "most recent call" in Facetime, but now I can't go and control that new iMac remotely to help with some email concerns the user is having. I'm trying to not personalize this too much, but it's grandkids talking to Grandma and Mom and Dad trying to solve new machine hiccups. Normally, I could just go in via iChat and control the other machine and troubleshoot, but I can't do it with Facetime only. My buddy list doesn't see  the other computer even though we are connected on Facetime right now. My name is not highlighted for the other computer. What could have gone so wrong?
    Any help would be appreciated.

    How do I get messages to go back to an AIM account? It's only seeing the iPad's Facetime email address and not seeing the old AIM account name that is on my desktop. I am using my iMac using iChat to talk to a newer iMac that doesn't have iChat. We had this working using Messages and Facetime (on the new machine) talking to my existing iChat account. One day last week, when Facetime rang, my kids answered on the iPad. Dang! Now it's all fouled up! The new iMac won't see my AIM account name and shows that I'm offline, because the iPad is off. We were able to call using "most recent call" in Facetime, but now I can't go and control that new iMac remotely to help with some email concerns the user is having. I'm trying to not personalize this too much, but it's grandkids talking to Grandma and Mom and Dad trying to solve new machine hiccups. Normally, I could just go in via iChat and control the other machine and troubleshoot, but I can't do it with Facetime only. My buddy list doesn't see  the other computer even though we are connected on Facetime right now. My name is not highlighted for the other computer. What could have gone so wrong?
    Any help would be appreciated.

  • How can I get a pdf. to open in Safari, all i'm getting is a new window with a black, blank page, instead of the pdf., and I don't want to save the file to the desktop, Safari didn't use to do that, and I don't have Adobe in the internet plug in folder.

    How can I get a pdf. to open in Safari, all i'm getting is a new window with a black, blank page, instead of the pdf., and I don't want to save the file to the desktop, Safari didn't use to do that, and I don't have Adobe in the internet plug in folder.

    Hi
    Please take a look to this thread Re: Can I refresh the browser rather than open a new tab?

  • HT1848 How do I transfer the songs from my desktop to my iPad using the same iTunes account? I can only sync the other way. Thanks

    How do I transfer the songs from my desktop to my iPad using the same iTunes account? I can only sync the other way. Thanks

    DaisyDoodle,
    The songs on your Shuffle should still be in your iTunes library.  That means you should just be able to connect your Nano to the same iTunes library and sync it just as you would with your Shuffle. There is no limit to the number of iPods, iPads, or iPhones you can sync to one computer, iTunes library, or account.
    As for preparing the Shuffle for your husband, just restore it via iTunes and then let him sync it to his own iTunes library or if its the same iTunes library, let him configure it to sync only his content.
    Here are instructions on how to restore the Shuffle if need be.
    http://support.apple.com/kb/ht1481
    B-rock

Maybe you are looking for