Quantcast
Channel: VMware Communities : All Content - VMware vCenter™
Viewing all 24426 articles
Browse latest View live

account locked

$
0
0

After upgraded 5.5 to 6.0 domain account is getting locked

 

Subject:

Security ID: SYSTEM

Account Name: HQ3PAXXX

Account Domain: ACCOUNTS

Logon ID: 0x3e7

 

 

Logon Type: 3

 

 

Account For Which Logon Failed:

Security ID: NULL SID

Account Name: admxxx

Account Domain: accounts.xx.corp

 

 

Failure Information:

Failure Reason: Unknown user name or bad password.

Status: 0xc000006d

Sub Status: 0xc000006a

 

 

Process Information:

Caller Process ID: 0x854

Caller Process Name: C:\Program Files\VMware\vCenter Server\VMware Identity Services\VMwareIdentityMgmtService.exe

 

 

Network Information:

Workstation Name: HQ3PAXXX

Source Network Address: -

Source Port: -

 

 

Detailed Authentication Information:

Logon Process: Advapi 

Authentication Package: Negotiate

Transited Services: -

Package Name (NTLM only): -

Key Length: 0

 

 

This event is generated when a logon request fails. It is generated on the computer where access was attempted.

 

 

The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.

 

 

The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).

 

 

The Process Information fields indicate which account and process on the system requested the logon.

 

 

The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.

 

 

The authentication information fields provide detailed information about this specific logon request.

- Transited services indicate which intermediate services have participated in this logon request.

- Package name indicates which sub-protocol was used among the NTLM protocols.


A general system error occurred retrieve ipmi sel request to host failed

$
0
0

Greetings,

 

I receive the following error when trying to view the hardware status of my ESXi 6.5 hosts via vCenter 6.5 appliance.

 

a general system error occurred retrieve ipmi sel request to host failed

 

This started to occur after I updated the drivers and providers for my MegaRAID cards in the ESXi hosts.  I did not receive this error prior to making these changes. I can monitor hardware status without any errors if I log directly into the ESXi hosts.

 

Any help would be much appreciated. Thanks!

vCenter 6.5 Image Builder stops working after changing certificates

$
0
0

I trying to change certificates on a vCSA 6.5 but after this is done, the Image Builder stops working.

 

I can't see any "Image Profiles".

 

I have added the "vSphere-HA-depot" for changing the certificate, and afterwards when i try to "Check the software depot for update" i get this error:

 

"

The last operation failed for the entity with the following error message.

 

Invalid Fault

 

Cause:

Cannot complete login due to an incorrect user name or password.

 

The solution was to use this KB for vCenter 6.0 After replacing the VMware vCenter Server certificates in VMware vSphere 6.0, the VMware vSphere Auto Deploy solution us…

 

just changed the com.vmware.rbd" with com.vmware.imagebuilder

Additional Time Series Retention - Details?

$
0
0

Does anyone have any more details about the new global option (I believe appeared in 6.6) called "Additional Time Series Retention"

 

This is all I could find but it doesn't contain the detail I'm looking for...

 

 

-Looking for the level of roll-ups...  monthly? weekly? daily? hourly? etc..

-Maybe sizing considerations for this data?

-How are roll ups stored... as point-in-time data slice? or averages from all data during the rollup period?

 

TIA.

getEntity() problems

$
0
0

Long story short, I need to get the entity for a VM.  I went through my books(which did not contain anything) and have been looking online.  Still missing something.

 

I am pulling in payload as I need it for additional stuff later in the script. Line 7 seems to run fine but I get an error in line 8.   Here is my error:  TypeError: Cannot find function getEntity in object . The only thing I can think of is that I am not getting the VC:VirtualMachine correct.  Any assistance would be greatly appreciated.

 

 

var executionContext = System.getContext();

var machine = payload.get("machine") ;

var vCACProps = machine.get("properties") ;

 

var vCACVmName = machine.get("name");

 

var vCACVms = Server.findAllForType("VC:VirtualMachine", "VirtualMachineName eq '" + vCACVmName + "'");

var vmEntity = vCACVms.getEntity();

Oracle VMware performance vrs Physical

$
0
0

I have a question about the
performance of running an Oracle database on a physical server verses a VM
server.  My DBA want a physical server as
he feels performance would be much better, especially with disks holding lots
and lots of files.  He wants to use iSCSI
to LUNS on a NetApp FAS8020 instead of VMDKs on a NFS data store. My feeling is
the performance difference would be negligible.
The network connection to the NetApp in either option would be 10GB.  I am looking for opinions for the two
solutions.  If he would see better
performance with LUNs over NFS or they would be about the same. I feel making
it a VM guest with allocated resources would offer a better solution for many
reasons. Part of his concern is the Linux CheckDisk funcition taking too long
to run with NFS (10TB in 15 disks) taking over a day to run on all disks, he
thinks LUNs would be quicker.

 

My recommended solution.

I talked with my NetApp
engineer, about creating the storage my DBA wants for his new server.  My DBA asked for 10 disks to be created. Five
of them on the NetApp SAS disks, 1 TB each for a total of 5 TB of storage.  Five of them on the NetApp SATA disks, 1 TB
each in size for a total of 5 TB of storage.
He also wanted to know if we be able to detach the disk from his new
server and reattach them to either of the two existing VM guest v00hubdb-clone
& v00hubdb-clone2 or vice versa.

 

If we used the s00Hubdb-new
as a physical server moving the disks between it and a different physical
server or virtual server and vice versa, as the DBA wants to be able to do,
would be more problematical, at the file structure of the disks are
different.  If we made it a VM guest,
moving the disk from one guest to another guest would be easy to
accomplish.  So if moving the disks
between servers is important having them all being VM guests, is the preferred
method.

 

We talked about having the
S00HUBDB-New as a physical server verses a VM Guest.  If we took the server the DBA just finished
with and used the VMware converter to do a P-to-V (physical to virtual)
conversion it would make life and utility of this server much easier.  So if we used the VMware Converter, the DBA
would not have to recreate the server.  We
would convert it to a virtual, store it on the NetApp, then install VMware on
the physical server add/regester the server (VM guest) to the new host, create
and attach the drives, and it would be ready to go.  We could reserve or allocate the resources our
DBA needs for that specific guest so it always has the resources he wants/needs
for it.  As performance seems to be his
biggest concern in wanting it to be a physical box.

 

If it was virtual we would be
able to move it to a different host if the physical host needed maintenance or
failed.  We could still keep it running
with a hit in performance, while the other host was being taken care of.  We would also gain all the normal VMware
advantages also.

 

In talking with my NetApp
engineer we could create either NFS shares or LUNs for this new physical server
and the difference in performance would be negligible.  However if we converted it to a VM and used
the NFS shares we already have it would make moving the disks around so much
easier. As we could just detach them from one server move the VMDK file the new
server’s folder then reattach them to the new server.  We could use the same process to move them
back if needed.

 

My DBA responded to the above proposal with
the following and my NA engineer’s response in in italics.

 

I do not want to convert this into a VM host. I do not want to use
vmdk files over an NFS link.

 

I want to move away from that method all together for certain Large
volume drive mappings (drives with millions of files)

 

I need the NetApp devices to be able to be added to the s00hubdb
physical box via the iSCSI hard disk setup.

Yes we can do this. We
can create LUNs on NetApp and present them to a physical host or virtual guest
host via iSCSI.

 

Lets just proceed with getting the 10 - 1 TB drives add. Thanks.

 

The other question I had about possibly moving one of those drives
at a later point back to a current VM, ... is not a need, but rather a question
I had about what was possible. The VMs have a full Linux install with the
ability of having iSCSI attachments as well. From a technical standpoint this
should be possible, but the VM guest would need access to the 10gb either. But
this is not a need right now. It was an idea I had about giving back some of
the space in use on v00hubdb-clone and clone2 at a later time, without having
to spend tons of hours re-organizing files later on down the road. Its not
worth wasting any more time on at this point. I will find another solution to
this later on.

 

If I’m understanding this
correctly we would have a LUN mapped to a particular Linux host “A”. Then later
you may want to move this LUN to Linux host “B”. We can do this. You can
dismount from Linux host “A” and then we unmap to Linux host “A” and map LUN to
Linux host “B”.

 

We can also clone a LUN from
Linux host “A” and then map the clone to Linux host “B”.

 

You Linux VM would just need
to have an virtual adapter installed on the VM that is connected to iSCSI
vlan.210. Currently the FAS8020 has two iSCSI LIFs (one on each node) that are
on vlan 210.

 

 

vRO with Hitachi storage

$
0
0

Hi,

 

There is one default workflow in Hitachi plug-in as Smart Provision a LUN / Datastore to ESXi Host Cluster, in which the datastore is being added to only one host in the cluster,

My requirement is to add the same datastore to all the other esxi host present in that Cluster.

If anyone has done something related to the same Please help me.

Thanks in Advance.:-)

Need help creating RestRequest to using token/sessionID agains vCenter 6.5 RestAPI

$
0
0

I am trying to test out the VCSA 6.5 Backup script with vRO available out there. Tested working using Curl, PowerShell, PowerShell using Invoke-RestMethod but can't get it to fully work in vRo. The problem I am having is authenticating using the session ID.

 

Part 1 - Obtain session ID using SSO Credentials:

Wth Curl: (Works)

 

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'vmware-use-header-authn: test' --header 'vmware-api-session-id: null' -u 'administrator@vsphere.local' -p 'Passw0rd!' 'https://10.158.47.99/rest/com/vmware/cis/session' --insecure

 

With PowerShell: (Works)

 

$Server = '10.158.47.99'

$Url = "https://${server}/rest/com/vmware/cis/session"

$secpasswd = ConvertTo-SecureString "Passw0rd!" -AsPlainText -Force

$creds = New-Object System.Management.Automation.PSCredential ("administrator@vsphere.local", $secpasswd)

#Invoke-RestMethod -Method POST -Uri $Url -Header @{ "X-ApiKey" = $apiKey }

$resp = Invoke-RestMethod -Method POST -Uri $Url -Credential $creds

$sessionID = $resp.Value

Write-Host "Session Requested -- $sessionID"

 

With VRO: (Works)

 

var requestType = "POST";

var operationUrl = "https://10.158.47.99/rest/com/vmware/cis/session"

var req = restHost.createRequest(requestType, operationUrl, "");

var resp;

resp = req.executeWithCredentials(ssoUser, ssoPassword);

var sessionid = JSON.parse(resp.contentAsString).value;

System.log("New Session id is :   " + sessionid);

 

 

Part 2 - Use Obtained sessionID to call https://vc/rest/appliance/recovery/backup/parts and get "backup parts information"

 

With Curl: (Works)

 

curl -sik -H 'Accept:application/json' -H "vmware-api-session-id:2b26afc12cd4b374d998e2d63b3b9573" -X GET https://10.158.47.99/rest/appliance/recovery/backup/parts

 

With PowerShell: (Works)

 

$headers = @{}

$headers.Add("Accept","application/json")

$headers.Add("vmware-api-session-id", $sessionID)

#$headers.Add("Authorization", "Basic $sessionID")

$Url = "https://${server}/rest/appliance/recovery/backup/parts"

$PartResponse = Invoke-RestMethod -Method GET -Headers $headers -Uri $Url

$PartResponse.value

 

 

With VRO: (Not Working)

 

var request = restHost.createRequest("GET", "https://10.158.47.99/rest/appliance/recovery/backup/parts", "");

request.setHeader("Accept", "application/json");

request.setHeader("vmware-api-session-id", sessionid);

System.log("fullurl -- " + request.fullUrl);

System.log("content-type  -- " +request.contentType);

System.log("getMethod  -- " +request.getMethod());

var resp2 = request.execute();

 

System.log("get parts list response code: " + resp2.statusCode);

System.log("get parts list response body: " + resp2.contentAsString);

 

VRO Log::

[2017-09-13 16:55:47.711] [I] New Session id is :   aab84e24f33916b86b90a7bae6991360

[2017-09-13 16:55:47.713] [I] fullurl -- https://10.158.47.99/rest/appliance/recovery/backup/parts

[2017-09-13 16:55:47.714] [I] content-type  -- null

[2017-09-13 16:55:47.715] [I] getMethod  -- GET

[2017-09-13 16:55:47.908] [I] get parts list response code: 403

[2017-09-13 16:55:47.909] [I] get parts list response body: {"type":"com.vmware.vapi.std.errors.unauthorized","value":{"messages":[{"args":[],"default_message":"Unable to authorize user","id":"vapi.security.authorization.invalid"}]}}

 

 

Code I am testing - contains code for backup part list but does not work: http://vmwarebits.com/vcenterbackup

Original Source Code - works but no backup part list:  how to authenticate for rest api with vCenter 6.5 appliance

 

Anyone know what I am doing wrong???

The VRO code seems to be a directly translation of the Curl and PowerShell Script......


Distributed switch config question

$
0
0

I have a XenDesktop dev environment sandboxed currently on 2 esxi hosts in a cluster.  I have a Distributed switch & port group named Test/Dev with no uplinks attached that all the dev vm's are attached to.

 

My problem is, the vm's can only communicate with one another if they are located on the same host.  A vm located on the opposite host, with the same Test/Dev dvs port group attached, cannot communicate with the vm's on initial host.  Which makes sense since there is no uplink, but what is the best way to configure this setup to work without the Test/Dev vm's on 192.168.1.0 subnet being able to communicate with my production network on 192.168.0.0?

 

Test/Dev has its own DHCP, DNS, DC, and am using Routing Services as a Default Gateway at 192.168.1.1.  My physical switches don't have vlan capabilities, can i possibly attach an uplink to it and use vlan tagging in vsphere on all the test/dev machines to isolate the network?

vRO AWS Plugin

$
0
0

Hi,

I have successfully installed "VMware vRealize Orchestrator Plug-In for Amazon Web Services 1.0.0.2" on our vRA environment and was able to add an amazon account as well.

 

Problem is that when executing the "Add Amazon Account" workflow, not all regions are picked up and added by the plugin.  i.e. us-east-2 is missing.

 

Looking at the Add Amazon account workflow in more detail, inside Get Endpoint URLs, the following script does not seem to get all regions and load to the endpoints array.

 

var regions = AWSRegionManager.findAllRegions();

endpoints = new Array();

for (var i = 0; i < regions.length; i ++) {

endpoints.push(regions[i].getEndpoint());

}

 

It smells like a bug for this aws vro plugin within "Add Amazon Account" workflow...

 

Anyone encountered this issue as well?

Got error vm pool Provisioning "Failed to lock the file"

$
0
0

Hi,

 

Please help on the below error, Still the machine cust state

error.JPG

 

cust.JPG

Check_MK and vCenter appliance

$
0
0

Hi All,

 

We have a vCenter Appliance server running (ESX 5.5). We want to monitor this server with check_mk (port 6556), but by default this server is firewalled.

I already modified /etc/vmware/appliance/firewall/vmware-vmca to include the following:

 

  {
    "direction": "inbound",
    "protocol": "tcp",
    "porttype": "dst",
    "port": "6556",
    "portoffset": 0
  }
  {
    "direction": "inbound",
    "protocol": "udp",
    "porttype": "dst",
    "port": "6556",
    "portoffset": 0
  }

 

 

After an initial reboot it all worked fine and I was able to communicate with the check_mk agent on port 6556. But all of a sudden it stopped working and I am unable to find the reason why.

Any help would be appreciated.

 

Richard.

Emails/Traps not sent when Alarm changes back to Green

$
0
0

I have set alarms for Network Uplink Redunduncy

When I shut one nic, I get the Red Alarm trap and email.

When I restore network connectivity, I get notified only from the Vcenter Events tab, and not by email:

 

http://prntscr.com/gleu46

FAILED: Unable to reconfigure the destination virtual machine. (98%)

$
0
0

Hi guys !

I have a physical server running Windows Server 2008 ( join domain ).

I has using VMware vCenter Converter Standalone ( Vesion: 6.1.1 ), I want to convert a physical server this to virtual system ( have vCenter anh 2 hosts )

When i was run VMware vCenter Converter Standalone to 98% that display FAILED: Unable to reconfigure the destination virtual machine like this picture.

I was attached file the log of job converter Failed this.

So can you help me fix and know why FAILED this ?

Thanks.

 

Capture.PNG

V center Installtion Error

$
0
0

Hi Guys ,

 

I'm tried to installed the vCenter in windows 2008 R2 .

 

Please check the attached document .

 

I have tried , stop the Vcenter related services and again start the services . But issue remains the same .

 

Answer will be appreciate those who share ASAP.

 

 

Regards ,

Dilipkumar


vsphere appliance log size

$
0
0

Hi,

 

How can I limit specific logging in vsphere server appliance?

 

For instance i have the default /storage/log 10G partition with almost 1G in /storage/log/vmware/vsphere-client/logs/access/.

Those are uncompressed .txt files dating back from almost a year ago.

Shouldn't there be logrotate and compression in place??

 

I already followed the KB#2143565 and loosened the sso logs. Is there a similar config for vsphere-client logging?

 

There are also other massive logs:

 

# du -h -d1 /storage/log/vmware/

1.2G    /storage/log/vmware/sso

15M     /storage/log/vmware/vsan-health

31M     /storage/log/vmware/vmware-sps

4.0K    /storage/log/vmware/netdumper

28K     /storage/log/vmware/rbd

3.9M    /storage/log/vmware/applmgmt

93M     /storage/log/vmware/invsvc

4.0K    /storage/log/vmware/vapi-endpoint

69M     /storage/log/vmware/vmcad

520M    /storage/log/vmware/sca

8.0K    /storage/log/vmware/vmafd

698M    /storage/log/vmware/vsphere-client

1.3M    /storage/log/vmware/rhttpproxy

72M     /storage/log/vmware/cm

1008M   /storage/log/vmware/vpxd

10M     /storage/log/vmware/syslog

11M     /storage/log/vmware/vsm

519M    /storage/log/vmware/vmafdd

32M     /storage/log/vmware/iiad

12K     /storage/log/vmware/vws

113M    /storage/log/vmware/eam

4.0K    /storage/log/vmware/vctop

4.0K    /storage/log/vmware/mbcs

60M     /storage/log/vmware/vmdird

68K     /storage/log/vmware/rsyslogd

29M     /storage/log/vmware/vapi

818M    /storage/log/vmware/cloudvm

2.0M    /storage/log/vmware/psc-client

45M     /storage/log/vmware/workflow

1.4G    /storage/log/vmware/vdcs

79M     /storage/log/vmware/perfcharts

764K    /storage/log/vmware/vpostgres

16K     /storage/log/vmware/vmdir

110M    /storage/log/vmware/cis-license

6.8G    /storage/log/vmware/

 

 

Thanks.

High VM Latency in Servers

$
0
0

Hi All,

 

In some of our VM's Latency is more than 20 ms .Whats needs to be done.

getting virtual machines names_vRO

$
0
0

I am trying to get virtual mchinesnames using vRO.

 

created following workflow.

 

put following code in scriptable task

 

var virtualmachines = VcPlugin.getAllVirtualMachines();

 

 

for each (virtualmachine in virtualmachines);

{

System.log("virtualmachine :" + virtualmachine.name);

}

 

However it is giving me only one virtual machine name .

 

please suggest what is the issue.

Server 2012 Inaccessible_Boot_Device after V2V from Hyper-V.

$
0
0

Trying to migrate 4 VMs from 2012 R2 Hyper-V Server to a mixed vSphere 6/6.5 cluster via VMware converter 6.1.1 . I have tried converting and choosing mutliple types of disk controllers and it doesn't seem to matter I get a BSOD on VM startup with an Inaccessible_Boot_Device.

 

Anyone have any other ideas?

 

Tried the steps in the following articles

 

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

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

 

These are all Gen1 Hyper V vms with IDE virtual disks.

 

I also tried this with no luck.

https://community.spiceworks.com/topic/1450429-inaccessible-boot-device-error-while-booting-windows-2012-r2

How to pull Vcenter user logs for one month

$
0
0

How to pull Vcenter user logs for one month

 

Example : one of the VC user logs

Viewing all 24426 articles
Browse latest View live


Latest Images

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