VMware Communities

Blog Posts

Blog Posts: 469
Statistics: blogs.main.brdcrmb.blogs.label 223 Blog Posts: 469   1 2 3 ... 32 Previous Next
Items per page
0

We have coded a fix to the session timeout issue that will allow sessions to remain active >24 hours, and we are testing it today, and will deploy it as soon as we can. I'll update here when I have an ETA for deploying the fix.

Currently sessions time out after 60 minutes, and if your session times out while you are composing a post, you will likely lose your post. Until the fix is deployed, please copy your posts to a clipboard before you submit them.

0 Comments Permalink
0

One of the most thrilling SAP events in EMEA is happening in Berlin. VMware invites you to meet our SAP alliance team in booth ER 2.13 at SAPPHIRE in Berlin from May 19-21. You can find us at the SAP ERP area in Hall 3, floor 2. Learn how you can use VMware technology as the infrastructure foundation for efficient business process management and continuous innovation based on SAP NetWeaver. Visit the VMware and HP booth at SAPPHIRE to participate in a drawing of exciting prices. You do not have to be present to win the price.

VMware has forged a strong, collaborative relationship with SAP AG to maximize the benefits for our joint customers. VMware is one of a very limited number of SAP Global Technology Partners, and VMware ESX is the only virtualization platform supported by SAP across both Windows and Linux for all environments, including production. VMware is also a charter member of the SAP Enterprise Virtualization Community, which unites leading virtualization
vendors to develop new strategies for business-process driven virtualization.

We look forward to talking with you at SAPPHIRE. At the VMware booth you'll see demos, customer case studies, product information and receive a CD containing the complete set of VMware SAP white papers and more.

Matthias


0 Comments Permalink
0

The May 9 - 11 infrastructure upgrade completed successfully. There is one outstanding issue and one usability improvement.

Outstanding Issue: Prior to the upgrade, login was required only once every 30 days as long as you didn't delete your VMware cookies. Following the upgrade, session timeout is 60 minutes, meaning you need to log in again after 60 minutes. We are working to restore the original functionality, but in the meantime it will be necessary to log in more frequently.

Usability Improvement: On your profile screen, e.g. http://communities.vmware.com/people/<your_username>, you can now update your VMware Store profile as well as your VMware Communities profile. Prior to the upgrade, you could only update your VMware Communities profile.

If you click "Edit Communities Profile" in the Actions box, you can edit the fields that show up in your VMware Communities profile, including your name, the email where watches are sent, and your signature.

If you click "Edit VMware profile / Change password" in the Actions box, you can edit your VMware Store profile. This is new, and should make it easier to maintain your VMware Store profile. Also new: you may now change the email address in your VMware Store profile.

profile.jpg

One thing to note: The email address in your Communities profile and the email address in your VMware Store profiles can be changed independently of each other:

  • + The email address in your Communities profile is where emails generated by VMware Communities watches (e.g. when you click "Receive email notifications" on a thread) are sent.
  • + The email address in your VMware Store profile is your VMware Store login name. If you update this email address, you will need to use the updated email address the next time you log in.

If you change your email address, please be sure to change the correct one.

0 Comments Permalink
0

Maintenance on VMware Communities (and other VMware Store functions) is now complete. VMware Communities participants are now able to log in, log out, and update their profiles.

0 Comments Permalink
0

We have recently been very busy with SAP activities and events, including SAP Virtualization Week in Palo Alto, SAP Sapphire Orlando, the completed VMware Site Recovery Manager project with SAP and NetApp at the SAP Co-Innovation Lab, and the announcement of the SAP Enterprise Virtualization Community. We're not done yet: SAP Sapphire Berlin happens in less than two weeks. All will be discussed shortly when we get a few minutes to write about them.

But first, I want to announce the VMware SAP Solutions Partner Community. We created this growing community of VMware consulting/SI partners specifically to address the needs of customers who want to virtualize their SAP environments. All partners have demonstrated their SAP and VMware expertise, and they are well-qualified to support our customers. We will work with them to extend best practices, develop new use cases, and build new solutions for virtualized SAP landscapes. The partners are also encouraged to collaborate with each other. In short, it's an outstanding group of diverse, qualified, and enthusiastic partners and VMware is very excited to work with them!

If your organization needs a service partner/integrator to assist you in virtualizing your SAP landscape, this is a great place to start. And if you are a service partner, consider joining the community!

Joachim

0 Comments Permalink
0

With the release of the 2U, 2-socket R805 and the 4U, 4-socket R905 (both AMD based servers) and the already existing 4U, 4-socket R900 (Intel based server) now is a really good time to be looking for a server to run your virtualization farm on. All three are excellent choices and could be the right server. To determine which one depends on lots of things. I'm looking for reasons to choose one over the other (let me know your thoughts). We will be putting together some information to help people decide here on TechCenter and hosting some chat sessions to enable discussion.

Specifically, I ran across this article from The Register that I think has a pretty good take on the R805/R905 Virtualization announcement from a couple of days ago. They point out all of the server options as well as the virtualizaiton services that were a part of the announcement on Tues.

Todd

0 Comments Permalink
1

Folks,

This is Steve from VMware CoDevelopment Engineering. I would like to share with you the client side Java APIs and some samples I have developed recently.

This API package:

  • Enables OO programming with a well defined managed object model
  • Reduces the need to use ManagedObjectReference
  • Hides the complexity of the PropertyCollector
  • Provides necessary utility classes to simplify VI SDK web interfaces
  • Keeps it small and simple
  • Leverages current VI SDK web services interface while keeping it intact

To get started with it, just download the zip file attached and include it in the classpath of your existing VI SDK projects. For new projects, please refer to Developer's Setup Guide: http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/visdk25setupguide.pdf

Now, you can new a Java project and kick off your first HelloVM as the following:

package com.vmware.vim25.mo.samples;

import java.net.URL;
import com.vmware.vim25.*;
import com.vmware.vim25.mo.*;
import com.vmware.vim25.mo.util.*;

public class HelloVM
{
public static void main(String[] args) throws Exception
{
String urlStr = "https://10.17.218.228/sdk";
String username = "administrator";
String password = "password";
ServiceInstance si = new ServiceInstance(new URL(urlStr), username, password, true);
Folder rootFolder = si.getRootFolder();
VirtualMachine vm = (VirtualMachine) rootFolder.getSubManagedEntitiesByType("VirtualMachine")[0];

System.out.println("Hello " + vm.getName());
si.getServerConnection().logout();
}
}

To run this program, you will need to change the urlStr, username, and password to your own environment. The urlStr can be pointing to either an ESX server or a VC server.

When you are done with your first HelloVM, let's talk a little more about general ways to use this APIs:

1. Always starts with a ServiceInstance with URL/username/password, or URL/sessionID:
ServiceInstance si = new ServiceInstance(new URL(urlStr), username, password, true);

2. From the ServiceInstance object, you can:

*Get its properties like capability:
Capability cap = si.getCapability();

*Get root folder object of the inventory tree.
Folder rootFolder = si.getRootFolder();

*Since property content (ServiceContent) only holds AboutInfo and ManagedObjectReferences to all different manager, we move the these info up by provide methods like getAboutInfo and various get*() methods to get manager objects directly.

*Get all different “manager” object or SearchIndex object:
SearchIndex searchIndex = si.getSearchIndex();
EventManager em = si.getEventManager();

3. With the manager objects returned from ServiceInstance object, you can do many different things. For example: list all the events with a VM by using EventManager.

4. From the root Folder,
  • You can navigate all the inventory tree:
rootFolder.getChildEntity();
  • All the items you see in the inventory tree is of type ManagedEntity.
  • You can test the exact type of a ManagedEntity b
if(me instanceof VirtualMachine){ }
  • You can call the methods defined on the exact subtypes of the ManagedEntity.
Task task = ((VirtualMachine)me).powerOffVM_Task();

To get help, you can find exact description of each managed object and its properties/methods in the VI SDK API reference. Just look for the managed object type and its method with the same name. Please skip the first _this parameter and the rest are the same except the difference of real type and ManagedObjectReference. The description should be applicable despite the difference.

You will find some samples inside the com.vmware.vim25.mo.samples package. As you will find out, the samples using this APIs are much shorter and more readable than the ones using VI SDK web service interfaces.

Please note that this is something experimental and not supported by VMware as a product. Let me know if you have any feedback.

1 Comments Permalink
0

I leave for vacation for a few days and all kinds of cool stuff is announced (although I did make it into the office a couple of times while on the beach). What I think is a really great server for virtualization is now on the website where you can configure and order it. The new PowerEdge r805 is not just a new version of the 2950 or 2970. It was designed with virtualization in mind and has the features to back it up. It has 16 memory DIMM slots, 4 embedded NICs, plus four more PCI slots, and is still only 2U.

I put together a couple of configurations on the website and the price for an r805 system with two top bin quad-core processors and 64 GB of RAM seems like a great deal to me. I guess that I'm still thinking about some of the old PowerEdge 8450 8-way servers that I tested with back in the day with a list price of over 50K, which was a good deal at the time.

Todd

0 Comments Permalink
0

Ok I’m definitely not
John Galt, but since this is my first post, I think it appropriate to give you
a little background about myself. After
all, why read and/or care about anything I have to say? ;)

I was introduced to VMware like so many others, through
Workstation back in 2002. At the time I
worked for a 2.8 billion dollar company and had just completed a major Microsoft
SMS 2.0 implementation. I was working
with a consultant that had it installed on his laptop PC and used it to demo
the product developed by his employer.


So then it goes something like this:
That’s a cool product, let me show the boss!
Boss likes it and says, “Why don’t you do some more research on this VMware
company and find out more?”
I do the research and discover VMware’s GSX and ESX product lines.
The rest is history. (Don’t you love
that line?)


I procured a copy of GSX, set it up and created three virtual
machines for one of our internal development teams.
Oh, and I never told anyone what I had done. (Bad boy!)


I used a whitepaper from VMware that describe how to use the
same base image for multiple VMs using redo logs. Worked great except when one needed to be
rebooted = NTFS no likey.


The dev team never caught on and six months later I finally
let them in on the secret. Virtual
machine? What’s that? Etc, etc… (I hate
giving end-users or customers reason, right or wrong, to blame all of their
ills on me!)


Bottom line = pilot successful. From there I got ESX 1.52 approved (now end
of 2003 or so), first one host, then two, then four - all with local disk.


Then VirtualCenter 1.0 and ESX 2.0 are released. Please Mr. IT Director, will you approve this
requisition for a SAN? No. But please?
No.
How about you get fired and
my team now reports to another director?
Will you, new Mr. IT Director, approve this SAN purchase? Yes!


Hosts grow to 16 (mixture of IBM 440s, 445s, 3650s, BladeCenter
blades); VMs to 500 (powered on) 600+ requisitioned; VMotions = 1000s, SAN (IBM
DS4500) = 16TB; every VMworld = attended; VCP2 = achieved. Life if good.


It’s now 2006 and my employer gets acquired by another company. Oh yeah, and the new management doesn’t like
any new technology much less virtualization.


Time to move on. So
here I am, embarking on a new implementation using ECM Celerra IP storage
(iSCSI), HP ProLiant DL380s, VMware VirtualCenter 2.5 and ESX 3i.


I thought I would use this blog to document the good, the bad and
the ugly of this next gen VI platform and maybe share some tips along the
way. The VMTN forums have been good to
me over the years so maybe I can add to the discussion.


That’s it for now. I
already have a list of technical stuff to publish. Stay tuned!

0 Comments Permalink
0

We are considering implementing VI3 VM's in our DMZ and are considering using our corporate SAN environment. Management is concerned about security of the SAN. Up to this point our security team would not allow our SAN fabric to extend into the DMZ connected servers. Is it unusual for organizations to connect DMZ servers to their corporate SAN infrastucture? Is there a real risk? Thanks everyone.

0 Comments Permalink
0

I'm pretty excited to be putting a new production cluster online next week. I'm putting up a 4 node production cluster with the following hardware:

  • 4 x HP BL680C with 4 quad-core Xeon CPUs
  • 40GB of RAM
  • Dual Emulex LP1150 HBAs
  • 4TB of Hitachi USP-V SAN Storage

New VC server and vRanger VCB Proxy server - BL460C with 2xdual-core Xeon and 4GB

All of this going in to complement our existing non-prod 6-node cluster of 6 x BL25P G2 blades with dual-core Xeons and 16GB of RAM

This work should keep me entertained and out of trouble for the next couple of weeks...

0 Comments Permalink
0


Marathon Technologies, que ya ofrecía una de las primeras soluciones de alta disponibilidad para XenServer en máquinas virtuales, ahora ha logrado integrar en mayor medida la solución de HA con el Hypervisor de Citrix.

Las dos empresas están trabajando para incluir Marathon everRun VM en la configuración XenServer e integrar el everRun Availability Center dentro XenCenter para que transparente se sincronice la configuración de HA en cada consola.

No está claro si esta integración será proporcionado por una versión especial de XenServer que solo Marathon Technologies puede revender (ya que la empresa tiene un acuerdo OEM), o si será un solución out of the box para cada solución XenServer que se venda a clientes en todo el mundo.

0 Comments Permalink
0

When using sql server 2005 express you get no performance data, for the past week, month or more.
This depends on the lack of sql server agent in express edition.

0 Comments Permalink
0

http://searchvmware.techtarget.com/tip/0,289483,sid179_gci1311854,00.html?track=NL-921&ad=638720&asrc=EM_NLN_3586418&uid=1924013#

Taking snapshots of your virtual machines is a useful way to preserve and restore ESX configurations; however, proper management is needed to avoid performance problems. In this tip, we'll explore advanced snapshot management topics. (For snapshot basics or to review how snapshots work, see my previous tip.)
Disk space and deleting multiple snapshots
It's important to plan ahead and allow for ample disk space on your VMware virtual machine file system (VMFS) volumes for snapshot files. A good rule of thumb is to allow for disk space of at least 25% of the virtual machine's (VM's) total disk size. But this amount can vary depending upon the type of server, how long you keep the snapshots, and if you plan on using multiple snapshots. If you plan on including the memory state with your snapshots, you'll also need to allow for extra disk space equal to amount of RAM assigned to the VM.

A VM with only one snapshot requires no extra disk space when deleting, or committing, it. (The term committing is used because the changes saved in the snapshot's delta files are now committed to the original virtual machine disk file, or VMDK.) But if you have multiple snapshots, you will need extra disk space available when deleting all snapshots. This is because of the way they are merged back into the original disk file.

For example, say you were to delete all snapshots on a VM with three snapshots. We'll call them Snap1, Snap2 and Snap3. First, Snap3 will be merged into Snap2, which will cause Snap2 to grow. Next, Snap2 will be merged into Snap1, which will also grow. Finally, Snap1 will be merged into the original disk file, which requires no extra disk space. The snapshot files are deleted when the original disk file is updated at the very end of the operation, rather than being deleted as each is merged into another. So having a VM with 20 GB of snapshots files could potentially require an additional 20 GB when committing them. If you have an ESX host that is low on disk space, this can use up all the disk space available on your datastore and prevent you from deleting your snapshots.

An alternate method of deleting multiple snapshots that requires less additional disk space is to delete the snapshots one by one, starting with the VMs farthest down the snapshot tree. This way, the snapshots grow individually when they are merged into the previous snapshot, and subsequently deleted. If a little more tedious, this method requires far less extra disk space.

Important: Don't run a Windows disk defragmentation while the VM has a snapshot running. Defragment operations change many disk blocks and can cause very rapid growth of snapshot files.

How long does it take to delete a snapshot?
When deleting snapshots through the VMware Infrastructure Client (VI Client), the task status bar can be misleading. Generally, the task status jumps to 95% complete fairly quickly, but you'll notice it will stay at 95% without changing until the entire commit process is completed. VirtualCenter has a 15 minute timeout for all tasks. Thus, even though your files are still committing, VirtualCenter will report that the operation has timed out.

One method for finding out when a task completes is to look at the VM's directory using the Datastore Browser in the VI Client. When the delta files disappear you know that the snapshot deletion has completed. (Starting with VirtualCenter 2.0.2 you can change the default 15 minute task timeout, see the VirtualCenter 2.0.2 release notes (task timeout value can be manually set in the vpxd.cfg file) for information on how to do this.)

Snapshots that have been active for a very long time (thereby becoming extremely large) can take a very long time to commit when deleted. The amount of time the snapshot takes to commit varies depending on the VM's activity level; it will commit faster if it is powered off. The amount of activity your ESX host's disk subsystem is engaging also affects the time the snapshot takes to commit.

A 100 GB snapshot can take 3-6 hours to merge back into the original disk. With ESX 3.5 it can take even longer because of a change to the consolidation algorithm (see VMware's support article, Consolidation of large or deeply nested snapshots). This can affect performance of both your VMs and ESX hosts. For this reason you should limit the length of time you keep snapshots and delete them as soon as you no longer need them.

Snapshots and metadata locks affect ESX performance
Snapshots have a negative impact on the performance of your ESX host and virtual machines in several ways. When you first create a snapshot, your VM activity will pause briefly; if you ping a VM while creating a snapshot you will notice a few timeouts. Also, creating a snapshot causes metadata updates, which can cause SCSI reservations conflicts that briefly lock your LUN. As a result, the LUN will be available exclusively to a single ESX Server host for a brief period of time.

If you've created a snapshot of a VM, and run the VM, the snapshot is active. If a snapshot is active, the performance of the VM will be degraded because ESX writes to delta files differently and less efficiently than it does to standard VMDK files. Because there is a lock on the metadata, nothing else can be written to the delta file when a write is made to the disk. Also, as the delta file grows by each 16 MB increment (discussed in part one of this series), it will cause another metadata lock. This can affect your VMs and ESX hosts. How big an impact on performance this will have varies based on how busy your VM and ESX hosts are.


Finally, deleting/committing a snapshot also creates a metadata lock. In addition, the snapshot you are deleting can create greatly reduced performance on its VM while the delta files are being committed; this will be more noticeable if the VM is very busy. To avoid this problem, it's better to delete large/numerous snapshots during off-peak hours when the host server is less busy.

Never expand a disk file with a snapshot running
You should never expand a virtual disk while snapshots are active. With ESX 3.0.x, you can only expand disks using the vmkfstools –X command; however, this command will not warn you that a disk has snapshots when you are trying to expand it. In ESX 3.5 you can also expand virtual disks through the VI Client which will allow you to expand a virtual disk with snapshots. The VI Client will report that the task completes successfully, but in truth it will not actually expand the disk file.

If you do expand a virtual disk using vmkfstools while a snapshot is active, the VM will no longer start and you will receive an error: "Cannot open the disk ".vmdk" or one of the snapshot disks it depends on. Reason: The parent virtual disk has been modified since the child was created." Fortunately there is a way to recover from this scenario, it is detailed in the VMworld 2007 presentation IO44: Top support issues and how to solve them – Batch 2.

Excluding virtual disks from using snapshots
If you have a VM with more then one disk and you wish to exclude a disk from being included in a snapshot, you must edit the VM's settings by changing the disk mode to Independent (make sure you select Persistent). The independent setting provides you the means to control how each disk functions independently, there is no difference to the disk file or structure. Once a disk is Independent it will not be included in any snapshots.

Additionally, you will not be able to include memory snapshots on a VM that has independent disks. This is done to protect the independent disk in case you revert back to a previous snapshot with a memory state that may have an application running which was writing to the independent disk. Since the independent disk is not reverted when the other disks are it could potential corrupt data on it.

Using snapshots to backup your VMs while they are running
Snapshots provide a great method to backup the raw VMDK files while the VM is powered on. All write operations are stopped on the original disk file, so it is safe to copy it to another storage volume. This is how backup applications like VMware Consolidated Backup and Vizioncore's vRanger function. They snapshot the VM, backup the disk file and then remove the snapshot when completed.

There are also some free user created scripts like VMBK which provide this functionality. These programs allow you to copy your VMDK files to local storage or to a network share to provide another recovery method for your important VMs.

ABOUT THE AUTHOR: Eric Siebert is a 25-year IT veteran with experience in programming, networking, telecom and systems administration. He is a guru-status moderator on the VMware community VMTN forum and maintains VMware-land.com, a VI3 information site.

0 Comments Permalink
0

Here are the links and articles for the past week:


Enjoy!

Posted by Gabriel Maciel

0 Comments Permalink
1 2 3 ... 32 Previous Next