Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all 195209 articles
Browse latest View live

How do you add an existing rdm to a VM using New-HardDisk?

$
0
0

Hi,

 

   I'm running powercli 5.0.1 build 581491 and i'm trying to write a powercli script to:

 

1) create an RDM

2) assign that RDM to VM1

3) assign the same RDM to VM2

 

I'm able to create the RDM and assign it to VM1, but I'm unable to use "New-HardDisk" to assign it to VM2.  Using the following command i'm able to create the RDM and assign it to VM1.

 

     New-HardDisk -VM VM1 -DiskType RawVirtual -DeviceName /vmfs/devices/disks/naa.60000970000192603729533030353531

 

While trying to assign it to VM2, i'm doing the following:

 

     New-HardDisk -VM VM2 -DiskPath "[san-datastore:1] vm1/vm1_1.vmdk"

 

And i get the following error:

 

     New-HardDisk : 6/6/2012 2:13:19 PM    New-HardDisk        Incompatible device backing specified for device '0'.

 

What i realized is that if i create a regular vmdk file, then use the New-HardDisk using the "-DiskPath" option, then the command works ok.  So my question is, what's the command to add an existing RDM to a VM?

 

Thanks in advance.


vSphere 6 on server 2012 R2 - Getting Flash Error #1009 and Crash

$
0
0

As the title state, Getting Flash Error #1009

See attached image.

 

I have 3 ESXi 6 hosts and running vCenter 6 on a VM and Platform Services on another and with vROPS and Infrastructure Navigator.

 

I get this in Firefox and IE. Chrome is not an option but then again neither is Firefox. I only use Firefox because IE can't even get a dang console up, just shows black screen.

I was originally running on the version of Flash that Server 2012 R2 came with when you enable the desktop experience. Then I kept getting the error. So I updated to whatever latest version Adobe had and I still get the same thing.

 

I also get the annoying Flash Crash error. See attached image.

Also, this is a raw build and all defaults were selected with the exception of havein the platform services on a separate VM.

 

This is getting REALLY ANNOYING!

 

Any ideas?

Mac OS 10.11 and VMware Fusion

$
0
0

Who's going to be the first guinea pig to see if the current version of Fusion will run on El Capitan? (Mac OS X 10.11)  :-)

 

Yes, yes, I know that VMware doesn't support beta OS versions;  I'm just hoping someone else tests it so I don't have to...

 

EDIT:  I'm curious to know about both as a Host and as a Guest, either separately or together.

 

Thanks!

 

-Joe

Copying/Moving VMs with snapshots

$
0
0

I need to copy and/or move VMs between ESXi servers that belong to different ESXi infrastructures and I need to keep existing snapshots.

All the methods I tested up to now (Veeam backup, export/import to OVA, VMware converter) allow copying the VMs but cause loose of snapshots.

Even copying files among datastores caused problems while attempting to revert to snapshots.

Now I am considering using an NFS share.

The idea is connecting two ESXi hosts to the same NFS share and the same NFS datastore in order to move VMs to/from the datastore hosted by the NFS host.

My questions are:

  • Is there any known issue if the same NFS datastore is accessed by ESXi hosts belonging to different vSphere infrastructures?
  • Have anybody tested a similar procedure
  • Can anybody suggest any alternate solution?

Regards

marius

vSphere Syslog Severities

$
0
0

Hello everyone,

 

Does anyone know how to change the severity of syslog for vSphere?  I'm pointing my hosts to a 3rd party syslog collector and i want to ignore the debug and informational logs.  The graph below displays all three VM hosts syslog information in a span of 10 minutes.  Is there a way to change this?

 

Thanks!

 

esxi 5.5 and 6.

 

2015-06-11_18-41-35.jpg

VMaWare Player 6.0.6 not Powering Up Images

$
0
0

Hello,

I have VMWare 6.06  and it will not start images. It goes to a black screen and then  just closes. Any help would be appreciated.

Log file attached.

MacBook 12inch 2015: Can't find Bootcamp partition, why?

$
0
0

I got MB 12inch 2015 and installed Win8.1 with bootcamp, making new VM with bootcamp. But VMware fusion said can't find Bootcamp partition. Of cause, Win8.1 can boot from bootcamp partition and I can use it. I also checked /Volumes/BOOTCAMP in OSX terminal. Why Fusion can't find Bootcamp partition? Any solution?

Below is results of diskutil command.

$ diskutil list

/dev/disk0

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *500.3 GB   disk0

   1:                        EFI EFI                     314.6 MB   disk0s1

   2:          Apple_CoreStorage                         249.4 GB   disk0s2

   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

   4:       Microsoft Basic Data BOOTCAMP                250.0 GB   disk0s4

/dev/disk1

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:                  Apple_HFS Macintosh HD           *249.0 GB   disk1

                                 Logical Volume on disk0s2

                                 004E22E3-0759-417F-8E0C-C703F376B675

                                 Unencrypted

VMWare 7.1.1 & OS X 10.10.3 crashes when iMac goes to sleep overnight

$
0
0

VMWare 7.1.1 is causing the OS X 10.10.3 to not wake up during sleep mode overnight.

I am running a late 2013, 27" iMac with 32MB of memory. 

 

I have 2 VMs, Windows 7 & Windows 10 beta.

I am running the VMs with 2 processors and 6GB of memory.

 

Either one of these Windows operating systems causes the iMac to crash when asleep overnight.

 

If VMWare is completely shut down (as well as all Windows OS), then the iMac does not crash when asleep overnight.

 

This has to be a VMWare issue.

I see similar posts for the last few years with Mavericks OS.

 

Does anyone have a solution for these crashes?

 

Here is some of the crash log:

xception Type:        EXC_BAD_INSTRUCTION (SIGILL)

Exception Codes:       0x0000000000000001, 0x0000000000000000

 

 

Application Specific Information:

libcoreservices: _dirhelper: 523: mkdir: path=/var/folders/nj/3tjgzm9n2s5630fw69dq9gbc0000gn/T/com.apple.internetaccounts/ modes[1]=0700: Permission denied

Could not obtain valid temporary directory for sandboxed app: Input/output error (5); returned size: 0

 

 

Application Specific Signatures:

_libsecinit_setup_sandbox():confstr(_CS_DARWIN_USER_TEMP_DIR...)

 

 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread

0   libsystem_secinit.dylib       0x00007fff8aaf751b _libsecinit_setup_app_sandbox + 905

1   libsystem_secinit.dylib       0x00007fff8aaf6b21 _libsecinit_initialize_once + 20

2   libdispatch.dylib             0x00007fff927afc13 _dispatch_client_callout + 8

3   libdispatch.dylib             0x00007fff927afb26 dispatch_once_f + 117

4   libSystem.B.dylib             0x00007fff8503aa9a libSystem_initializer + 131

5   dyld                           0x00007fff6f98cceb ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 265


VSA Cluster Status offline после перезагрузки

$
0
0

Всем привет!

Прошу знатоков помочь разобраться в такой ситуации:

Есть отказоустойчивый кластер на двух нодах по технологии VMWare vSphere Storage Appliance (VSA) (http://www.vmware.com/products/vsphere-storage-appliance) версии 5.5.2,

устанавливал с нуля в январе 2015г., ничего не менял, не обновлял, сервера не отключал, все работало.

В прошлые выходные возникла нужда выключить физически ноды. Завершил все виртуальные машины, перевел сам кластер в режим

обслуживания (Maintenance Mode), выключил сервера.

После включения, панель управления VSA Manager пишет, что VSA Cluster Status – offline, но при этом, VSA Cluster Service Status – online.

При этом, т.к. сам кластер в оффлайне, не доступны те виртуальные хранилища, на которых лежат рабочие виртуальные машины. В логах идет просто обращение по ip VSA Cluster и

timeout доступа по этому ip, и все. Сам этот ip не пингуется, хотя раньше, при работающем кластере, пинговался.

Пробовал разные перезагрузки, не помогло. Repair cluster тоже не доступен, т.к. сам кластер в оффлайне.

Прошу подсказать идеи, как починить данную проблему…

Заранее, спасибо…

VCAP-DCA 550 retirement date?

$
0
0

Hi,

 

I have started preparing for VCAP a few times now but every time life got in the way.

VMware is now changing the cert to VCIX and I wonder if it is worth continuing with VCAP. I am aware that you can use the VCAP cert towards VCIX but I am not sure whether I can complete VCAP before it retires all together. Has there a retirement date been set for VCAP-DCA 550?

 

Cheers

Подключение storage ESXi к Veeam для backup

$
0
0

Здравствуйте!

 

Прошу помощи советом по следующему вопросу:

 

1. Бюджет = 0 р., т.е. закупить что-либо нет возможности.

2. Если два двух-процессорных одинаковых сервера, по 4 Tb на каждом сервере.

3. Лицензия на vSphere Essentials Plus на 3 двух-процессорных хоста.

4. На каждом сервере по две виртуальные машины, с разными задачами, друг друга не дублируют.

 

Хочу сделать следующее:

1. На каждом из серверов, в одной из ВМ с Win поставлю Veeam BR Free.

2. Хочу, чтобы этот Veeam в качестве репозитория складывал backup ВМ на тоже хранилище, где и расположены ВМ,

и так перекрестно.

3. Это позволит иметь копии всех ВМ с двух серверов на каждом из серверов, и, в случае выхода из строя одного сервера, все ВМ поднимаются на другом.

 

Помощь нужна в способе подключения storage, на котором хранятся ВМ, к установленному в ВМ Veeam.

Как лучше расшарить и подключить данный storage к Veeam?

 

Заранее, спасибо за ответы...

 

PS: технологии с виртуальными программными storage и кластерами типа vMWare VSA просьба не предлагать - уже пробовал, сильно обжегся, больше не хочу...

Question on NIC Teaming for vMotion / VM vSwitch

$
0
0

Hi,

 

We are using vSphere 5.1 Enterprise Edition.

 

We also create separate vSwitch for Management / vMotion and VM.

 

Each vSwitch is assigned 2 NICs connected to different switch for redundancy.

 

We would like to know is it necessary for us to enable NIC Teaming for those vSwitches ?  Currently, we only enable NIC Teaming for VM vSwitch only.

 

Thanks

Client integration package woes in Web Client.....

$
0
0

I was using Firefox and it worked for a few weeks till today. I did no patching because my lab does not have internet connection.

Now I am getting the message "The Client Integration must be installed.....blah blah blah...."

It's already installed! and the "Add-on" in Firefox is set to "Always Enable".

I get this in Firefox, IE and Chrome.

 

I have removed the package and reinstalled and I get the same thing. I tried running the install as admin ad running the browsers with Run as Admin and the same thing.

 

This interface sucks big time and i'm getting pretty tired of these irritations of the web client.

 

Does anyone have any ideas on how to fix this other than rebuild?

 

Thanks

Shrink .vmdk thin provisioned virtual disk - ESXi 6

$
0
0

Hi, one month ago we upgraded our virtual infrastructure to vSphere 6. I want to know if it is possible now to shrink .vmdk thin provisioned virtual disk more easily than before when there were some workarounds like vmware converter. I am very familiar with PowerShell so I hope there is some easier and faster way to do shrinking with some PowerCLI cmdlet or script.

 

Which is the most efficient and recommended method for .vmdk shrinking at our disposal in vSphere 6? It is the fact shrinking is more dangerous than extending but nevertheless it should be straighforward process.

disabling mob using plink

$
0
0

There are options to disable mob on your esxi hosts (not to mention an excellent one from my colleague) using plink and batch file but i wanted to take a different approach which can be modified for some other stuff like this in future which can't all be done via powercli but requires vcli or shell.

Here is the mob disable command from

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1016039

vim-cmd proxysvc/remove_service "/mob" "httpsWithRedirect"

Task 1. create a text file on /tmp/file.txt using powershell/powercli and plink

task 2. append the command seen above using powershell/powercli and plink

(task 3. add quotes to the /mob and httpsWithRedirect using awk or sed or some other bash method via powershell/powercli and plink)


Is this impossible? If so then i will stick with what we have currently and if not then i would appreciate some help with this.


The recommendation doesn't make sense for SQL database VM

$
0
0

I set my SQL 2008 VM to 4GB. Nothing really running on it except a empty vCAC IAAS database.

vRCop recommends add vRAM to 18GB.

Remediation.PNG

But if you see my memory utilization on Windows level, it's only 1.xGB.

Does anybody know what's going on there?

I'm using vSphere 6.0 and Windows 2008 R2 VM.

WinPerf.PNG

Change VCSA 6 instance from static IP to FQDN

$
0
0

Hi All,

 

Simple question and probably downright ignorant but I'm playing around with VCSA 6 on an OVH server. As those of you aware of how OVH's network is setup getting networking up and running in a virtualized environment is always a pain and sometimes more art than science. Anyway, to cut a long story short I had to deploy VCSA 6 as a VM with a static IP. There's no easy way to do an out of box FQDN deployment with OVH as the VM will not be network capable at first boot (need to add static routes and change the default vNIC mac address to get it to work).

 

All if fine and well but I'd ideally like to change it to an FQDN for a few reasons but namely I hate using static IPs for appliances and I want to get proper certs installed and SSO working eventually.

 

Deployment: Deployed as a VM on an ESXi 6 host. Local SSO, local DB.

 

So here's the issue, can't seem to find an easy way to do this and very little documentation.

 

The FQDN is properly setup with reverse also pointing back to the same IP.

 

What I've tried so far:

 

1. Changed hostname, added entries in /etc/hosts to point to fqdn. Also changed the following parameter in VCSA web client - VCSA Instance/Advanced Settings "virtualcenter.fqdn" to point to FQDN

- Effect - not visible, still showing up as IP in the web client

 

2. Changed config.vpxd.hostnameUrl, sso.admin.uri, sso.groupcheck.uri, sso.sts.uri to FQDN. Also changed VirtualCenter.VimApiURL to FQDN (essentially replacing all instances of the static IP with a FQDN)

- Effect - disaster, could not get into webclient though appliance did boot without error, had to reinstall

 

Soooo, what's the proper way of doing this after experimentation

 

Appreciate any help.

registro ESXi 5.5 free

$
0
0

Bom Dia!

Estou iniciado no Vmware e virtualização.

Realizei o download do ESXI 5.5 e instalei em um comutador de testes, (o 6.0 não é compatível com o hardware).

Ao acessar o servidor com o VMware vSphere Client, apresenta a tela de avaliação (VMware Evaluation Notice), a ao clicar no link para adicionar a licença segue para o site da vmware, insiro a licença apresentada no momento do download mas apresenta o erro:

Unsuccessful Registration

The following key(s) cannot be registered

XXXXX-XXXXX-XXXXX-XXXXX-XXXXX The License key is already registered.

 

Como devo proceder?

vsphere upgrade suggestions req

$
0
0

Hello,

 

I am running vSphere 4.1 but now we want to upgrade it to 5.5. Because of some other restrictions I want to move to vSphere appliance and i can start it from scratch. I am having around 80 hosts and vcenter appliance is capable to run 100 hosts.

my plan is this...

 

1- Install vcenter appliance on one of the existing esxi host and then configure all the permissions and folders in vcenter appliance as I am having in vcenter server 4.1 (old).

2- add new license key of 5.5 into my ESXi and then remove them from old vcenter and add them into the new vcenter appliance with virtual machine up and running on esxi host.

3- update esxi 4.1 to 5.5 one by one and with the help of vmotion, I will be able to upgrade whole infra with out virtual machines downtime.

 

Q1- I think this will works but does any one see any problem with this plan?

Q2-anyone running 80-90 hosts with vsphere virtual center appliance  ( with embedded DB & SSO) - hows the performance ?

Q3- once I disconnect and remove host ESXi 4.1 from vcenter 4.1 with running VMs on it. can I add them with running VMs on host to vcenter 5.5 ?

Не удается сменить стандартные порты для vSphere (http и https)

$
0
0

Добрый день! Столкнулся с проблемой - необходимо сменить стандартные порты http (80) и https (443) для управления vSphere. Допустим, 80 порт сменить на 8080, а 443 - на 8081. Сделал все точно по инструкции, скачал файл proxy.xml (при помощи vifs.pl), добавил туда 2 строки:

Было:

<ConfigRoot>

<EndpointList>

    <_length>10</_length>

...

Стало:

<ConfigRoot>

<httpPort>8080</httpPort>

<httpsPort>8081</httpsPort>

<EndpointList>

    <_length>10</_length>

Загрузил файл обратно, перезагрузил хост полностью. Но он снова подключается по стандартному порту 443. Причем если задать порт 8081 в окне ввода IP-адреса (в vSphere) - долго ожидает отклика и в итоге не видит хост по порту 8081. В чем может быть ошибка? Спасибо.

Viewing all 195209 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>