Questions about ESX + UPS Solutions and soft stop

Hello everyone.  I am very new to VMWare, so please pardon my beginner questions and I hope I have posted this in the correct location.

I am currently working as a developer for Tripp Lite.  Our companion based on SNMP ups (UPS) software product is the sequel to PowerAlert, and I received a few days worth of time to do more research on the possibility of supporting VMWare ESX/ESXi and stop the server.  I did some research on this last month, where I found the scripts by William Lam and an alternative SSH (http://vmwaretips.com/wp/2009/01/16/mass-vm-shutdown-script/).

I understand there are a few methods scripted to make judgment, which one can be found here: http://viops.vmware.com/home/docs/DOC-1341.  A second solution is to install APC PowerChute interface (available only on ESXi?) command line.

The main issues I have at the moment are:

1 can all install VIMA?  Is a closure that installs on VIMA and runs from this platform a viable, or is the command-line support interface option a must - have for the general user base?  VIMA and the developer (http://www.vmware.com/support/developer/vima/vima10/doc/vima10guide.pdf) Administrator's Guide leads me to believe that anyone can install VIMA, and that it just comes not preinstalled on servers that are provided with the interface of the console.

2 can. a person there will now be a licensing problem with the help of scripts to stop lamw? Speculate as to whether or not this issue affects most of the users? Initially, I found the related commentary here: http://www.engineering.ucsb.edu/~duonglt/vmware/ .  The comment was that a new revision of ESXi "may not allow write operations and require that the user purchases or licenses ESXi to take full advantage of the API of VI (read/write).  William Lam also said in another forum thread, "" If you use at least allowed Foundation or ESX classic, then this script will work. ". Please take a look at the documentation for more details. "What documentation is specifically intended and where I could see him again?

3. the VIMA Administrator's and Developer's Guide also shows you get a 64-bit Enterprise Linux when you install VIMA.  Does anyone know which kernel version is it? (I'm not any kind of expert on Linux kernels.)  The APC Linux software seems to be installable on the interface of the console; What kernel and the kernel version that would be based on?

It is type of a crazy thought, but in cases where the stop scripts will not work due to license issue, any who would consider even install on all virtual machines stop SNMP agent software and the configuration of the inverter to launch the stop on all virtual machines? (as an alternative to buying the ESX license...)   Or all the virtual machines share the same IP address?

Thanks in advance for reading and review.  The answers, suggestions, links etc. are much appreciated.

Xochitl djamal

Tripp Lite Software Engineer

(1) Yes, VMware VIMA is a free VAPP (Virtual Appliance), it is currently sinking a stripped down RHEL 5.2 x 86-64, it comes on pre-installation with the VI Perl Toolkit & RCLI (renamed to become vSphere SDK for Perl & vCLI) that uses the API VMware SDK and to communicate with hosts to vCenter/ESX (i)

(2) the license situation is also explained here http://vmetc.com/2009/03/31/esxi-u4-ends-free-version-read-and-write-access-from-the-rcli/ this is something vs VMware licenses something with my scripts, you also have some alternatives, including VMware VIX http://communities.vmware.com/thread/205815

3)

[vi-admin@vima ~]$ cat /etc/vima-release
VIMA 1.0.0 BUILD-124829

Copyright @ 1998-2008
VMware, Inc. All rights reserved. Protected by one or more of U.S. Patent Nos.
6,397,242, 6,496,847, 6,704,925, 6,711,672 , 6,725,289 ,6,735,601 ,6,785,886
,6,789,156 ,6,795,966 ,6,880,022 ,6,944,699 ,6,961,806 ,6,961,941 ,7,069,413
,7,082,598 ,7,089,377 , 7,111,086, 7,111,145, 7,117,481, 7,149,843, 7,155,558,
7,222,221, 7,260,815, 7,260,820, 7,269,683, 7,275,136, 7,277,998, 7,277,999,
7,278,030 , 7,281,102, 7,290,253, 7,356,679 ; patents pending.

VMware, the VMware "boxes" logo and design, Virtual SMP and VMotion are
registered trademarks or trademarks of VMware, Inc. in the United States and/or
other jurisdictions. All other marks and names mentioned herein may be
trademarks of their respective companies.
[vi-admin@vima ~]$ uname -a
Linux vima.primp-industries.com 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
[vi-admin@vima ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)

with the release of vSphere, a new version of vMA should also be discontinued which has some changes, but the underlying system of RHEL is exactly the same.

Currently, the ideal situation is to be able to install some type of management on VMware VIMA/vMA agent to monitor your UPS device, whatever that may be, and then use the VMware API to properly host and the VM (s) to stop. To be able to do this, you will need your ESX/ESXi product to be certified at least the license to the Foundation, otherwise the VI API is only read-only which means that you will not be able to perform all the operations that are useful against the VM (s) or guests. If you are looking to develop a management agent that will install on VMware which is probably an interesting feature of the 3rd part, I consider to communicate with VMware and more information as a partner. You can also develop your product on ubuntu or any UNIX/LINUX OS open and distribute a paralytic that can run out of the box after download.

The real witch hunt, this is how you'll be powering down of the VM (s) / hosts and even once, ideally, we would like to use the VI API, but you'll be govered by the VMware licensing policy and this is how you sell your product in order to ensure that your customers use at least the Foundation license and can not only use the FREE ESXi version and use your UPS utility and expect it to work.

I hope this puts you in the right direction =)

=========================================================================

William Lam

VMware vExpert 2009

Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

repository scripts vGhetto

http://Twitter.com/lamw

If you find this information useful, please give points to "correct" or "useful".

Tags: VMware

Similar Questions

  • A few questions about integration between POET and EBS

    Hi you
    I am a new bie BIEE. In those days, have a look at the POET architecture and BIEE components. In the next project, there is some work on the development of POET based on request of the EBS. I have a few questions about integration:

    (1) generally, the POET application and database server is decentralized with application and database EBS? Both BIEE 10g and 11g version can be integrated with EBS R12?

    (2) in the POET administration tool, the first step is to create arrays of physics. If the source application is EBS, is it still necessary to create the physical tables?

    (3) if the physical creation of tables is needed, how to transfer data from the source of BSE BIEE physical tables tables? What ETL tool is preferred for most of developers? generator for warehouse or Oracle data integration?

    (4) during the data transfer phase, there are many many large data to transfer, how to keep the entire? for example, it must transfer 1 million lines of source to physical tables BIEE database, when 50% is completed, users try to open the POET report, they can see the new data of 50% on the reports? is there some transaction in phase control ETL?

    could someone give some pointers for me? I am very appreciated if you can also provide any other information.

    Thanks in advance.

    (1) generally, the POET application and database server is decentralized with application and database EBS? Both BIEE 10g and 11g version can be integrated with EBS R12?

    You shud look at OBI request here that uses OBIEE as a tool for reporting with pre-built modules. 10g & 11g comes with different versions of the applications of BI that supports sources such as Siebel CRM, EBS, Peoplesoft, JD Edwards, etc...

    (2) in the POET administration tool, the first step is to create arrays of physics. If the source application is EBS, is it still necessary to create the physical tables?

    His independent of any source. It comes to OBIEE modeling to create the RPD with all the layers. If you build from scratch, then you will need to create all layers else if BI Apps is used so you can get pre-built RPD and other pre-designed components.

    (3) if the physical creation of tables is needed, how to transfer data from the source of BSE BIEE physical tables tables? What ETL tool is preferred for most of developers? generator for warehouse or Oracle data integration?

    BI apps comes with ETL pre-built mapping to use with the tools majorly with Informatica. Only applications BI 7.9.5.2 comes with ODI, but oracle has the intention of having only ODI for any other versions.

    (4) during the data transfer phase, there are many many large data to transfer, how to keep the entire? for example, it must transfer 1 million lines of source to physical tables BIEE database, when 50% is completed, users try to open the POET report, they can see the new data of 50% on the reports? is there some transaction in phase control ETL?

    User will see still old data because its good enable Cache and serving it after each load.

    See http://www.oracle.com/us/solutions/ent-performance-bi/bi-applications-066544.html...
    and a lot more docs on google

    Hope this helps

  • Questions about syncing wireless keyboard and mouse 5000?

    How can I sync my old 5000 for a new mouse 5000 keyboard and the receiver?

    Hello Eamon,

    Welcome to the Microsoft Community Forum.

    According to the description, I understand that you are facing problem when connecting the new Microsoft mouse USB dongle receiver with the old keyboard Microsoft Wireless 5000.

    I suggest you to contact the Microsoft Hardware support for assistance.

    How to contact Microsoft if you have questions about your hardware device.

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

    Thank you

  • Question about the composition settings and make

    I looked for an answer to my question, but had to ask at resort, sorry, it's pretty basic, but a direct response is needed I think.

    I imported a project in Premiere pro with two layers of still images with movement and applied effects. I work for a few weeks now, with variations on these pictures and had many number of exports of EI through the render queue.

    After you import the compositions of first CC my starting point; composition and other settings of composition parameters are all resolved HDTV 1080 25 but the set resolution in which I unfortunately now has, is defined as 'Half' (960 * 540)... New compositions also sets the default resolution somehow half...

    My question is about my previous exports and subsequently.  Together of the composition to "Half" resolution affect the quality of my compositions exported using the render module? So far, all my renders are 1080 p by default and no 960 * 540. These have been uprezed to 1080 of 960? ... - I have not changed any setting on the resolution in the rendering module - they all came out 1080 after.

    Thank you

    Together of the composition to "Half" resolution affect the quality of my compositions exported using the render module?

    N ° except if you change the settings of default rendering, which is "Best settings" in "current Configuration".

  • Question about removing a HOST and add it again with the other IP management

    Thanks in advance for your help.

    I have an environment with two centers of data/clusters inside my virtual Center 2.5

    One of her consistes of clusters on two ESXi 3.5 licensed nodes. Each of them has 2 VMKernel ports form management. One of them has an IP (A.A.A.1) with any VLAN, the other port is in VLAN111 and IP (B.B.B.1). The other host ESXi has A.A.A.2 and B.B.B.2 IP.

    The other cluster has two 3.5 ESX (not i) and they have a single port/IP managemente (in the VLAN111, which is the same as the other cluster)

    The first cluster appears associated with the virtual center with the No.-VLAN port (IP A.A.A.1 and 2). Is a problem for me because I need to access the first cluster of other machines having no visibility on the A.A.A.x subnet, but it has visibility to the VLAN111. If I connect to the virtual Center, he shows me the IP A.A.A.x but when I try to access them, I can't.

    I would like to do the following WITHOUT affecting the first cluster:

    -Remove each host in my Center Virtual (The VM will continue to work without problem?)

    -Add each host the virtual Center, but this time I'll add the IP VLAN111 (B.B.B.x)

    My question is if these will generate instabilities problems on my dock.

    Thanks in advance

    This process has worked for us when the old VC (2.5) ESX Servers moving again VC (4.0).

    1 undo the HA and DRS configuration on the farm.

    2. unplug all battery ESX servers.

    3 remove all ESX server farm servers.

    4. Add the ESX Server to new cluster in VC (4.0).

    5. configure the HA and DRS on the new farm.

    Used for over 700 ESX servers with zero impact.

  • Question about VMKernel iSCSI traffic and VLANS

    Hello

    This is a very fundamental question that I'm sure I know the answer too, but I want to ask him anyway just to reassure myself.  As a precursor to my question, the configuration of my ESX infrastructure is best described here: http://www.delltechcenter.com/page/VMware+ESX+4.0+and+PowerVault+MD3000i.  Or more precisely, we have two controllers MD3000i.  Each controller has two ports and each port is configured on two different subnets, with every subnet connected to the different switch.  ESX host are connected to two switches.  The only difference for the guide, is we have two MD3000i configured the same, connection to the same switches.  Each MD ports is configured on the same subnet, but different IP addresses.

    At present, we are in the process of upgrading our two iSCSI switches of humble Dlink DGS - 1224T to Cisco 2960 T of.  The switches have been and continue to be dedicated to iSCSI traffic, however, I'm trying to set up VLAN s on the side of the switch.  Originally, we used the default VLANS on switches, however, after you have added an another MD3000i, noted the Support Dell best practices is to separate each on its own subnet and VLAN MD3000i iSCSI traffic. This would result in iSCSI 4 VLANS, two on each switch and two for each MD3000i.  Firstly, is this in fact of good practices?

    Second, if I migrate preceding 4 iSCSI VLANS, as each switch port will actually be an access port, will there need to complete the VLAN ID field in the VMKernel configuration page? Presumably, this field is used when the tagging VLAN is used, but as our switches do not need any other rocking trunk (as they are dedicated to iSCSI traffic), there should be no need to fill?  I guess it would be prudent to keep the two existing subnets, create two new subnets and make changes to an MD3000i and connection of the ESX host.  Provided the switch and switch ports has been appropriate configured with VLAN on the right, the rest should be transparent and he wouldn't be Intel VLAN in all ESX hosts?

    Would be nice to get answers and thank you in advance!

    Gene

    (1) Yes, it is best practice for ESX iscsi, having an independent network and vlan for iscsi traffic.

    (2) No, there is no need to mention anything in the area of vlan, if you use an access port. Its a mandatory thing than a choice. If you supply the id vland with access port, it loses connectivity.

    Please explain a bit why you need to create two different virtual local networks for each MD3000i. You are going to use several on the same ESX box iscsi storage? Alternatively, you use only a single iscsi and use these 4 ports for the same single VMkernel interface?

    NUTZ

    VCP 3.5

    (Preparation for VCP 4)

  • Questions about close cache events and the defeat strategy "ALL".

    I use near cache, and try to determine what defeat strategy would be better for me. My cards before being highly volatile, I'm considering strongly using the strategy of "EVERYTHING" for at least some of my caches.

    This brings me some questions about the event cache stream closely when the strategy using ALL:

    (1) should I expect an event to be published from the back cover when an element is added? (i.e. putAll() called cache before)
    (2) should I expect an event to be published from the back cover when an item is deleted? (i.e. remove() called cache before)
    (3) should I expect an event to be published from the back cover when an element is expelled from the rear because of size constraints?
    (4) should I expect an event to appear from the back cover when an element is expelled from the rear due to the expiry?

    Hi Tom,

    near cache before cards do not store the entries inserted in the back cover, so if you have saved a listener on the front plane, you will get the notification to the listener on the plan before all the inserts in the back cover of other nodes.

    It's a little different for entries that have been asked by the local node through the near cache (not directly on the distributed back cache). If the cache almost didn't get call so far, then they will not go into the front plane, so it's the same as if inserted directly into the back cover. It is the starting of the near cache behavior. After the first EEG puts will be cached in the front plane. Once that puts is cached in the front plane, then the listener before card will see put through the cache close to the same node, but not of other nodes.

    Also, the cache near registers a listener lite, so it becomes not the input values changed, as the keys.

    A listener that you entered on the back cover will see each insertion, if you do not save a MapEventFilter or a MapEventTransformer custom with the listener. A MapEventFilter can filter inserts away (I think, the cache similar to that, too).

    Best regards

    Robert

  • Question about size of menu and shift video. no miracle solution? Need to send DVDs to the tm Editor

    Hello, so I edited a video to the top and made a dvd for the first time menu. I have connected all the buttons and makes nice nice however... I realized after doing the menus that the dvd is 720 x 480.

    I put the menus in there and since it worked, I thought that it would be "re - format video when the dimensions change.  Is it possible to do this job without create menus entirely?

    I ship this dvd to a customer in the morning, and I will re-start not rather the menu from scratch.  Here are the screenshots of the video when played

    Video has been exported to 720 x 480. and the menu that I believe has been 1920 x 1080

    Screen Shot 2016-07-04 at 9.11.03 PM.pngScreen Shot 2016-07-04 at 9.11.11 PM.png

    You say that the video is 720 x 480, but not if it is 4:3 or 16:9. It seems to be 16:9 image.

    Be sure to set the 16:9 menu. Because you used a 1920 x 1080, he should have recovered 16:9 by default, and for a DVD, even transcode to 720 x 480.

    So I don't know why it doesn't work. It may be a different size than you think. Use "Edit in photoshop" and let us know.

  • Question about fast display drivers and fixes

    Hello. I own a Toshiba Satellite A50-111 and I have two questions:

    1. the current version of the display on the site Web of Toshiba driver is 6.14.10.3722. However, on Intel version site Web 6.14.10.4277 is available (for Intel® 82852/82855 Graphics Controller). It is recommended to install the latest version of the manufacturer or of the most recent Toshiba Web site. I ask this because I believe some problems I'm coming with my laptop since the display driver (I currently installed the Toshiba one)

    2. in the drivers section, there are a number of quick fixes from Microsoft. My system is up to date in terms of patches from Microsoft. Should I install all these miracles?

    Thank you.

    Hello

    It is recommended to use the Toshiba driver because the drivers you can download from the Toshiba site are tested. You can install the driver provided by the producer of the graphics card, but there is no guarantee that it will work properly. You can try it. You may be lucky and it will work without any problem.

    If your system is up to date there is no need to install all the miraculous solution to all.

  • Qosmio G20: Question about networking & monitor in and Xbox

    Just bought a G20 last week and I'm in love. First laptop I've ever owned and its worth every penny.

    A few scarecrows.

    I never received an antenna adapter to connect my in arial, but I'm sure I sohuld of fact. In the quick start manual of what it listed everything that I should received in the pack, and who was listed. Was not enough one - if anyone knows a number to contact Toshiba and get one of these sent to me? Can't seem to find one anywhere.

    Second... I'm going to my brother's computer network. Novice course of network, it does not work that well. I'm not sure whether if we need a router? I just want to connect to his computer and use the internet through that. As you would with a network cable. So he bought himself a wireless network card... but we'll be buggered if we can get it too work. Any advice or a definitive guide... or do we this router after all?

    And thirdly, sorry for the long post, but I'm playing my Xbox by the G20, but I'm having no luck what so ever. I plugged the monitor using the three composite cards (white, yellow and red) but nothing that passes through. The only way I've seen a photo is when you set up a decoder and it happens in a small box when its analyses for channels... but I can't select to see and it seems s delay 1 second.

    Sorry for the post long-term... just try to make it all sorted.

    Thanks in advance for any help.

    Hello

    You are right that the Qosmio is a very nice unit.
    But I'm not sure about the antenna adapter. I found the information in the user manual that the antenna adapter is optional. In this case the adapter will not always come with the laptop, but you can ask that the Toshiba service partner.

    Well well, on the network connection: If you want to connect two computer, you need a crossover network cable if you don t use the router. In addition, two laptop computers must be in the same workgroup. In addition, you must manually set the IP address, the default gateway and the subnet mask in the internet protocol TCP/IP properties.

    On the Xbox:
    If you want to know more on the connection of MCE and Xbox, see this Microsoft Web site.
    http://www.Microsoft.com/windowsxp/mediacenter/Extender/mcefaq.mspx

    Check also questions other messages of the forum on the Xbox:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=9575&MessageID=33794#33794

    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=9756&MessageID=34462#34462

    Good luck

  • Questions about serial port read and write at the same time

    Hi I create a user interface for the communication serial port, where there are essentially 2 front panels, where the user enters commands one and the other where the prints of UART is delivered. I thought initially using a state machine but the reading and writing may be independent sometimes and so I can't rely on States. I searched a bit on the forum and he left me even more confused. Help, please.

    (1) in a thread that sessions visa duplicated has been used for writing and reading at the same time, is it recommendable? How will this affect performance?

    (2) essentially when the vi is reading data are it must constantly view as well, however, someone said that it takes too much memory to use shift registers, so how do I go about this? If using a State in queue after the loop of reading it affects the playback loop and be sequential?

    In addition anyway is to move the cursor to the latest data from the indicator

    (3) for the control of the user input, assumes that the user has entered an order in the control and press ENTER, then writing visa is launched, but if it comes in another string and press enter then write must be called again... is - it possible? will detect the previous commands in the control of compensation?

    (4) according to my understand the expectation for the event do not monopolize resources and writing can go in parallel, am I right?

    Thank you. I have attached a very basic vi which took me to the point, but I want to make it more robust. Please help especially in the part of the user interface.

    su_a,

    (1) you can have only one session to a port. Several UART can handle full duplex so performance is not affected.  At flow rates of high data and large amounts of data, buffering and latencies of BONE can become a problem.

    (2) who told you that shift registers using too much memory? Shift registers are usually the best way to transfer data from one iteration to another. String concatenation inside a loop (registry to offset or not) causes the chain to develop and may require re-allocation of memory.  Your VI never clears the string so its cold length become very large.

    Generally, you do not have an active cursor on an indicator.  If you want to always display the most recently received characters and turn on the vertical scroll bar use a property node to keep scrolls to the bottom.  This can be annoying for users if they attempt to manually move the scroll bar and find that the program continues to move it back automatically.

    (3) if the user has changed the value in the chain of command, when he hits enter the modified value event fires.  Simply strike brace does not change the value and does not trigger the event.  Not control need to be erased, but the value that he has to change.  If you want to send the same command again, have a button send a command may be a better choice.

    (4) write is a case of the event.  It is not in parallel with anything.  The structure of the event do not monopolize resources.  The other loop will run while it waits.

    The event loop will not stop when you press the STOP button. Probably it wll take two command: change events of value after JUDGMENT before any loop stops.  Replace the Timeout event (which never expires) with a STOP: value change event and a real wire of this judgment to the Terminal endpoint.  Remove the local variable.  Make mechanical locking when released.

    Lynn

  • my media player won't burn a disc. It gets about thirty percent through, and then stops

    I tried to burn a CD of mixes for my friend, and I got music files lined and ready. I put the blank CD - RW disc in and hit burn. It takes about thirty percent before it stopped, whenever I tried, and I even switched to a new drive and had the same results. I really need to make this CD, but I don't know why it does not burn.

    I tried to burn a CD of mixes for my friend, and I got music files lined and ready. I put the blank CD - RW disc in and hit burn. It takes about thirty percent before it stopped, whenever I tried, and I even switched to a new drive and had the same results. I really need to make this CD, but I don't know why it does not burn.

    =================================================
    A mix CD seems to indicate that the files can be
    various sources.

    Apparently, one or more of the files are causing the
    issue. Might be interesting to try to delete the files in a
    at a time and try again until you identify the problem
    file/s.

    Another alternative would be to copy all of the files
    to a new folder in your music folder and convert
    a different format... it would create new
    versions of the files that could burn successfully...

    There are to many converters available on the net...
    Some are free - some details... the following freeware
    is but one example. :

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Freemake - Free Audio Converter
    http://www.Freemake.com/free_audio_converter/
    (Windows XP / Vista / 7)
    (* Read * all * the installation screens... it)
    may be a few items you want to unmark *)

    When you have installed Freemake... Open Freemake
    and drag and drop your files music on the main screen.

    Or... Click left on the Audio button, then navigate to the
    your audio files are saved in the folder.

    Select (highlight) the files you want to import into
    Freemake and left, click on the button 'open '.

    When your music files are imported into Freemake,
    On the left, click on the WMA icon at the bottom of the screen.

    The "Output settings" screen opens.  Choose
    ' Save in ' file so you can find the converted files.

    On the left, click the "Convert" button and the files must be
    converted very quickly.

    That should do it...

  • Question about ESX ESXi (for Cist_o ACS 5.2) vs

    Hello world

    Thanks again for your help in advance. I don't know if I can cite another company name in VMWare here so I use "_".

    Currently we want to install Cist_o ACS 5.2, who need ESX3.5 or 4.0. I would like to ask... do you think if I use ESXi instead? Or I have to use directly at ESX (not i)?

    Also, I try to buy a Del_ server... for this purpose, and I can not want to install several Windows 2003/2008 for the application, the domain controller, print servers. What type of processor and RAM would you recommend (for a performance so so)?

    Finally, what is the difference between license and without license for ESX and ESXi respectively?

    Thank you very much for your help.

    Takami Chiro

    You can talk about Cisco

    You can not just replace with ESX ESXi - they are built on a different Foundation for the service console, which would probably not ACS funciton properly.  Contact cisco for the future on it, as all future versions of ESX (including the v5, the current version) are the 'i' version only.

    For the dell, its 100% depedent workload server.  If you have only a few users (less to, say 50), more a base quadcore with ~ 12 GB of RAM should be sufficient.

    ESXi is only available with a free license.  Here is the FAQ on the differences:

    http://www.VMware.com/products/vSphere-hypervisor/FAQ.html

  • Question about the memory consumed and active

    I have esx4.1 on three dl585 running. I have about 100 active vm running, and I have a small question.

    My vm is all 2008 r2 datacenter and I gave them 1 cpu and 4 GB of ram. When I recover a single virtual machine and look at the summary page, I see the bones of memory consumed host 4075 mb and the active guest memory 81 MB operating system. My question is can I reduce the host cunsumed memory to 2 GB without noticing a difference within the virtual machine?

    It looks like you can.   To be absolutely sure that you'd need monitor assets long enough to have a good idea of what the average is and what are the tops.

  • Question about Threads with WHILE and FOR

    Hi all

    I have a question on threads with a loop on this topic sentece.

    Have the following class:
    class test{
    
    bool foundThing;
    PararellSearch(string [] lista, string s2find){
    while(!foundThing)
    {
    for(int i=0;i<lista.length;i++){
    if(s2find==lista){
    foundThing = true;
    break;
    }
    }
    }
    }
    If I start 10 threads which are using the PararellSearch method to look into lista, each of them inits into a different point, and when some of them found the right word then set foundThing= true. It will stop WHILE and FOR loop in all the threads? 
    If not, how could I do it?
    
    Thanks a lot for your help.
    David.
    
    Edited by: user13553506 on 27-dic-2010 12:15
    
    Edited by: user13553506 on 27-dic-2010 15:54                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    When you post the code, you'll want to post a [url http://sscce.org] NBS so that it is clear that what you try to do it. For example:

    1. in the validation of code, put {code} before and after him, then he will be readable.

    2. the convention in Java must start with a capital letter class names, so test, could not test.

    3. the convention in Java is to start with lowercase letters, so parallelSearch, not PWhateverMisspellingYouHaveThere method names.

    4. There is no such thing as bool. It is a Boolean.

    5. it is a String, not string.

    6. never use == to compare the States of objects (such as the content of the strings). Use equals().

    To answer your question: If you create Test 10 objects, then, given that foundThing is an instance variable, there will be 10 variables entirely independent foundThing. An adjustment will not affect the other. In this case, the easiest thing to do would be to foundThing static, so that there is only one copy which is shared by the Test class as a whole. This isn't the only way, or even the best way in all cases, but you have enough other problems to face, so for now to keep things simple.

    Finally, when you have a variable that is shared by multiple threads, you need to either make all the access to this variable synchronized on the same lock (reads and writes), or you need to declare the volatile variable.

Maybe you are looking for