2014-06-25

disable memory balloning

http://dbakevin.blogspot.ro/2014/05/database-memory-exhausted-caused-by.html

Explanation for vmmemctl.sys:
Memory ballooning function is not related to shared/reserved setting in vmware properties.
Memory ballooning is handled through a driver (vmmemctl.sys) that is installed as part of the VMware Tools.
This driver is loaded in the guest OS to interact with the VMkernel and is leveraged to reclaim memory pages when ESX memory resources are in demand and available physical pages cannot meet. requirements.
When memory demands rise on the ESX host, the VMkernel will instruct the balloon driver to "inflate" and consume memory in the running guest OS,
forcing the guest operating system to leverage its own native memory management techniques to handle changing conditions.
Free pages are typically released first, but the guest OS may decide to page some memory out to its pagefile on the virtual disk.
The reclaimed memory is then used by ESX to satisfy memory demands of other running workloads, but will be relinquished back to the guest OS when memory demands decrease by "deflating" the balloon driver.
Balloon driver activity can be viewed either through VirtualCenter performance monitoring graphs or ESXTOP on the local host.



From the explanation, it is clear now that during issue period, memory exhausted on ESX global server, hence it grabs memory from guest OS namely our DB server. 



Below are the steps to check the ballooning from ESX host:
a. Run esxtop.
b. Type m for memory
c. Type f for fields
d. Select the letter J for Memory Ballooning Statistics (MCTL)
e. Look at the MCTLSZ value.
MCTLSZ (MB) displays the amount of guest physical memory reclaimed by the balloon driver.

Below are steps to disable memory balloon:
Disabling ballooning via the vSphere Client
To set the maximum balloon size to zero:
1. Using the vSphere Client, connect to the vCenter Server or the ESXi/ESX host where the virtual machine resides.
2. Log into the ESXi/ESX host as a user with administrative rights.
3. Shut down the virtual machine.
4. Right-click the virtual machine listed on the Inventory panel and click Edit Settings.
5. Click the Options tab, then under Advanced, click General.
6. Click Configuration Parameters.
7. Click Add row and add the parameter sched.mem.maxmemctl in the text box.
8. Click on the row next to it and add 0 in the text box.
9. Click OK to save changes.
To re-enable the balloon driver in a virtual machine:
1. Using the vSphere Client, connect to the vCenter Server or the ESXi/ESX host where the virtual machine resides.
2. Shut down the virtual machine if it is powered on.
3. SSH to the ESXi/ESX host. For more information, see Connecting to an ESX host using an SSH client (1019852).
4. Change directory to the datastore where the virtual machine's configuration file resides.
5. Back up the virtual machine's configuration file.
6. Edit the virtual machine's configuration file (virtual_machine_name.vmx) and remove this entry:
sched.mem.maxmemctl = "0"
7. Save and close the file.
8. Power on the virtual machine.
Note: You cannot remove the entry via the Configuration Parameters UI once it has been added. You must edit the configuration file (.vmx) for the virtual machine to remove the entry.
-------------------------------------------------------
Disabling ballooning via the Windows registry
To disable ballooning on the virtual machine:
Note: This procedure modifies the Windows registry. Before making any registry modifications, ensure that you have a current and valid backup of the registry and the virtual machine. For more information on backing up and restoring the registry, see the Microsoft Knowledge Base article 136393.
1. Log into the guest OS.
2. Click Start > Run, type regedit, and press Enter. The Registry Editor window opens.
3. Navigate to:
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VMMEMCTL
4. Change the Start key from 2 to 4.
5. Save the setting and restart the guest OS.
-------------------------------------------------------
Disabling ballooning via VMware Tools uninstallation/reinstallation
1. Uninstall VMware Tools from the guest OS.
2. Reinstall VMware Tools using the Custom Settings option, and deselect the Memory Control Drivers.

2014-06-23

happyness

Fericirea=Scop + Relații Sociale + Bunăstare materială + Sănătate

2014-06-18

ura

Violenţa extremă nu are justificare şi nici coordonate geografice. Suntem mai cruzi şi mai fără milă decât animalele, cu toţii, atunci când mintea lasă locul instinctului şi urii.   adevarul.ro

2014-06-17

recover a sql server database instance

http://www.mssqltips.com/sqlservertip/2682/recover-access-to-a-sql-server-instance/

netapp nvmem battery is below normal

http://www.vexperienced.co.uk/2011/12/28/nvram-problems-on-netapp-3200-series-filers/
UPDATE FEB 2012 – Netapp have just released a firmware update for the battery and confirmed that all 32xx series controllers shipped before Feb 2012 are susceptible to this fault. You can read more (including instructions for applying the update – it’s NOT click, click, next) via the official Netapp KB article. I’ll be applying this to my production controllers soon so I’ll let you know if I encounter any problems.


https://library.netapp.com/ecm/ecm_download_file/ECMM1280374

motor

Sper să îți înveți copii să fie atenți! Sper să le explici(și nu numai lor) că simpla deținere a cardului roz(denumit permis) în buzunar, reprezintă o obligație! Obligația de a fii atent la cei din jurul tău! Indiferent că sunt pe două, patru sau mai multe roți!  vladvlad

2014-06-15

changes

"Growth is often painful and scary. There is no growth without change; there is no change without fear or loss; and there is no loss without pain. We fear these losses, even if our old ways were self-defeating, because, like a worn out pair of shoes, they were at least comfortable and familiar.
Every change involves a loss of some kind: You must let go of old ways in order to experience the new. " ~ Rick Warren

2014-06-12

Incorrect scatter file format!

http://www.pandawillforum.com/archive/index.php?t-15904.html


"... youmust also remove the Chinese characters in the name of all! folders. Russian Win7 (maybe another too) does not understand the path to the files. "

2014-06-11

how to root and install goople play on lenovo a708t

I followed this tutorial ( in Malaysian language )
http://ctscomputer.blogspot.ro/2014/03/cara-root-lenovo-a880-dan-install.html

Prepare a computer with  windows 7 64 bit ( Admin privileges )  and install lenovo usb drivers from here : https://www.dropbox.com/s/o2pvhpk5fmk5xgn/Lenovo_Usb_Driver-1.0.8.rar

Download vroot on your computer : https://www.dropbox.com/s/x69bug2vr9ezw81/VRoot_1.7.3.4863_english_cid1005_7337ba1e_89.exe

Open it and after that connect your smartphone ( be sure to check usb debugging mode on the phone )

Root it

That's all


Do not install the recovery from the first link ... it does not work on lenovo a708t .

Recommended : install aptoide ( it is a similar google play application ) . Just go to m.aptoide.com ( from your phone ) and install the apk .



In order to install google play after you root-ed the phone, you need to do the followings

Check the link http://forum.xda-developers.com/showthread.php?t=1874285  and http://forum.xda-developers.com/showthread.php?t=1874285&page=2 :

The idea is simple : unzip the archive below, open root explorer ( download it from aptoide ) , mount r/w the system/app , copy the apk here , reboot the phone . Simple.


Thanks Gorelk, those gapps works perfectly now I can use play store I also add GoogleCalendarSyncAdapter.apk and GoogleContactsSyncAdapter.apk and can sync too  also I'll upload the apks Gapps CalendarSync ContactSync.
ATTACHED FILES
File Type: zipG-apks.zip - [Click for QR Code] (6.30 MB, 414 views)
File Type: apkGoogleCalendarSyncAdapter.apk - [Click for QR Code] (140.5 KB, 208 views)
File Type: apkGoogleContactsSyncAdapter.apk - [Click for QR Code] (156.3 KB, 197 views)