Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all 178040 articles
Browse latest View live

MAC address conflict for the VM which is configure as new VM within vCloud director.

$
0
0

I do see a MAC address conflict for the VM which is configure as new VM  within vCloud director.

We are running on the following:

  • vCenter Server    : 5.5.0 Build 3142196
  • ESXi Server          : 5.5.0 Build 3116895
  • vCloud director  : 5.6.5.3814650

 

The process which I follow is below :

  1. Create a new VM in vSphere and attach the network label- dvPortGroup to the VM.
  2. The MAC address of the VM is automatic .
  3. Import the VM as template to vCloud director
  4. Install a VM within vApp using the template
  5. vSphere reports and MAC address conflict.
  6. The MAC address of the vcloud VM changes to manual .

 

Conclusion :

1.       Copying the VM to the vCloud director retains the NIC configuration (MAC address) as it creates a duplicate copy of the VM.

2.       While when we perform the move of the VM it retains the same configuration and vSphere is happy.

3.       When we deploy the VM from Template within vCloud director it retains the MAC address of the deployed VM if a NIC is present as it creates a duplicate copy of the VM.

 

To prevent duplicate MAC addresses within vCloud director below works:

Before we power on the deployed VM within vCloud director we should reset the MAC on the vCloud VM. But the Catalog VM will always has a MAC address conflict as it is a copy of the VM within vSphere. Best option will be to move the VM from vSphere to vCloud director and deploy the VM and make sure we reset the MAC and use the customize option.

 

Is this expected behavior ?

 


GRE tunnels on ESXi?

$
0
0

Basically, let's say I have a /24, and these IPs are accessible from a specific server.         

 

I'd like to run a GRE tunnel from that server to the ESXi host and then allow VMs to be made using those IPs as it's main IP.

 

Does ESXi or ESX support this?

Workstation 12 Player - Trouble Enabling Bridged Virtual Connection

$
0
0

While trying to setup Kali-Linux-2016-vm-amd64 via Workstation 12 Player on a Windows 7 host PC, I was unable to get a workable connection using the Bridged(Automatic) setting for the Network Adapter. VM Settings7.png

 

 

My understanding is that the Player should set up 3 virtual adapters during VMware install as follows:

 

VMnet0 - Bridged

VMnet1 - Host-Only

VMnet8 - NAT

Source - http://pubs.vmware.com/player-12-windows/index.jsp?topic=  %2Fcom.vmware.player.win.using.doc%2FGUID-8FDE7881-C31F-487F-BEF3-  B2107A21D0CE.html

 

I am able to get a workable connection to internet via NAT (Ping 8.8.8.8), but not with Bridged option.

 

I tried reinstalling Workstation Player, and the Kali-Linux VM from scratch with the same results.

 

I've tried 'adding' another Network Adapter via Virtual Machine Settings with same no connection results

 

I checked Network Connections on the Win 7 Host, and I notice 2 VMware Network adapters labeled VMnet1 and VMnet8, but nothing relating to an expected VMnet0. So I assume VMware tried and maybe failed to create the appropriate adapter for some reason.
VM Settings6.png

 

Looking for suggestions or resources to fix this no-connection Bridged issue.

 

Thanks for taking time to read my post.
Christopher

Made my VM partition too big, please help

$
0
0

Hello Everybody,

 

I am running Windows 7 on VMWare Fusion and apparently I have made my vmdk to big.  The VM frequently locks up and I have to reclaim space to make the VM work again.  I have shrunk the volume in the Windows VM disk utility but is there a way to shrink the vmdk so it is not taking up so much of the physical hard drive.  The slide bar in the VMWare library settings does not move.  This is the only thing that I can think is causing the lock ups.  I have tried to use converter but you can't download it on a MAC and I cannot communicate to the VM from another computer in the same subnet.  Does anyone have any thoughts on this, any methods that may help outside or rebuilding the VM?  Thanks so much everyone.

 

Brandon

Advice on changing SAN setup after upgrade to ESXi 5.5

$
0
0

I have inherited an older VmWare system that I want to look at changing the setup.

We have a HP MSA 2040 SAN that has been setup as below

12 x 4Tb SAS drives setup into 2 x Disk Pools of 16Tb each, RAID 6.

Then 30 x Volumes / LUN’s, ranging from 10 x 232Gb LUN’s for OS VMDK’s, and the remainder being 1.36Tb LUN’s to be used for Data VMDK’s.  All totalling around 28Tb on the SAN but allocated equally into the two Disk pools.

These are all split into 4 x groups although if I’m honest I’m not sure why.

 

So all in all it looks like it’s been setup for the best performance if you had each VMDK assigned to it’s own LUN etc, but it’s different to the SAN that I have had setup at my own site which only has 4 x Larger LUN’s, with <2Tb VMDK’s.  In my mind that’s easier to manage, expand, add and snapshot the VM’s.

 

In theory, could I have a bit of a VMDK tidy up, and remove any unused datastores from vSphere, remove from the SAN, then expand the remaining LUN’s to give them extra space and easier management?

And is that literally "remove the datastore from vSphere / the hosts", re-allocate within the SAN, and then do a storage scan with vSphere again to see the additional storage after expansion?

 

We have recently upgraded to ESXi5.5 so no longer have the 2Tb VMDK limit either, so if we were to recreate the larger File Server volumes, should we aim for a single larger VMDK, or still use multiple <2Tb and Span within windows?

NBD_ERR_NETWORK_CONNECT' (error code:2338)

$
0
0

Hi everybody,

 

I am trying to V2V a Windows Server 2003 machine.

I've been trying for hours, but it keeps failing.

 

Error in the logfile; NBD_ERR_NETWORK_CONNECT' (error code:2338)

 

I already tried;

- Downgrading and updating vSphere Converter.

- Changing my hosts file so it has the source and destination.

- Reboot my machines.

- Converting to VMware Workstations works! But when I import on the new ESX fails.

- Enabling and disabling 'Use proxy mode'.

 

Please see attached logfile.

For privacy reasons I renamed the hostnames, thank you for your understanding.

 

Who can help me in the good direction? Thanks!

vmware.vumautomation compare baseline

$
0
0

I got 2 baselines that I need to compare and show me what the different patches are

 

what cmdlet will do this?

Make ESXi keep SSH keys after reboot

$
0
0

I'm trying to get ESXi to keep SSH keys after reboot. Is there any way to do a stateful/diskful install of ESXi or some way to tell it to hold on to particular files? This whole "load everything into RAM" crap is ridiculous and is leaving us in a really shitty situation. The other option here is to find a way to make the API writeable on free ESXi but I doubt that will happen. Any guidance at all would be super helpful. I'm just trying to get the host to shutdown gracefully in the event of a power outage and UPS batteries start running too low and the only speed bump is that SSH keys won't stay through a reboot.


Storage DRS Anti-Affinity Rules by set Orchestrator workflow/action

$
0
0

Hi All,

 

Has anyone of you ever checked the vCenter SDK for how to create a  Storage DRS Anti-Affinity Rule for a specific VM?

 

Below is the code for how to add VM's to a VcCluster compute Anti Affinity Rule. But is there a lookalike code for a  Storage DRS Anti-Affinity Rule?

 

//Set rule spec attributes

affinitySpec = new VcClusterAntiAffinityRuleSpec();

affinitySpec.enabled = true;

affinitySpec.name = group_name;

affinitySpec.userCreated = true;

affinitySpec.vm = vms;

 

//Apply RuleSpec

var clusterRuleSpec = new Array(new VcClusterRuleSpec());

clusterRuleSpec[0] = new VcClusterRuleSpec()
clusterRuleSpec[0].operation = VcArrayUpdateOperation.add;
clusterRuleSpec[0].info = affinitySpec;

 

var clusterConfigSpec = new VcClusterConfigSpecEx();

clusterConfigSpec.rulesSpec = clusterRuleSpec;

 

task = cluster.reconfigureComputeResource_Task(clusterConfigSpec, true);

 

Thanks upfront for comments!

Upgrading Mirage questions?

$
0
0

Hi folks,

 

We will be upgrading from 5.0 to 5.8 soon.

 

I am still confused by how to backup our two Mirage storage volumes.

One is a secondary virtual hard disk on the VM.  650GB in use by CVDs.

Second is a W2K8R2 physical file server.  1TB in use by CVDs.

 

What is the best method to backup these storage volumes before upgrading?

I see in the 5.0 admin guide, there are specific recommendations to use block based backup.

 

Are we expected to have a separate storage of ~2TB to be able to backup this data before upgrade?

mirageupgrade.jpg

VmWare horizon7 session logout issue

$
0
0

Hi,

 

I am using Horizon client 7 (software version 4.5) with my MAC and I have a weird problem. When I am connected to my Linux VM and if my local machine where my Horizon client is running goes to sleep because of the inactivity, I lose connection to my Linux VM, which I am accessing through horizon client. This is of course normal. But the problem is, when I login again, I get the screen of my linux VM but my mouse pad does not work. It just hovers but simply does not select anything. I will have to reboot the linux machine by SSH from my local PC to correct this. Appreciate if anyone could assist me.

 

Thanks,

Rakesh

Rebooting Mirage Storage Volume?

$
0
0

Hi Folks,

 

We need to apply a Windows patch to a file server that our Mirage server uses as its storage Volume.

 

Is stopping the Mirage services all we need to do before rebooting it?

Why DRS disables POOLS

$
0
0

Hi folks, I have a question I know  what is DRS and Resource POOL, wondering why when we disable DRS it removes the resource Pools

Cannot upgrade from vCenter 6.0 to 6.5. I can't figure out how to fix the error(s)

$
0
0

Hello,

 

I have recently upgraded our vCenter server from 5.5 to 6.0.  This upgrade went really well and without issues.  Now I am trying to upgrade from version 6.0 to 6.5.  It get about 1/3 of the way through the install and fails.  When I check the error log, I get the information below.  I think it can be fixed with a SQL statement from the looks of it, but I do not know.  I have had a support case in with VMware since last Friday and they haven't even responed to me other than upload the log files which I did a week ago.  Any help/suggestions would be appreciated.  I have Dell coming in to update my environment on Monday but i need vCenter at 6.5 first.  Here is my error:

 

 

Error while executing .\Upgrade-v2015-to-v2016\mssql\validate_mssql.sql:199, reason: Cannot execute statement(rc=-1).

BEGIN

DECLARE @err_msg VARCHAR(2000)

DECLARE @err_msg_full VARCHAR(4000)

DECLARE @verid INT

 

 

 

SELECT @verid = (VER_ID / 10) * 10

   FROM VPX_VERSION;

 

 

SELECT TOP 30 @err_msg = COALESCE(@err_msg , '') + EXP_TC.TABLE_NAME + '.' + EXP_TC.COLUMN_NAME+ '; '

   FROM (SELECT T.NAME AS TABLE_NAME, C.NAME AS COLUMN_NAME

           FROM SYS.COLUMNS C

           JOIN SYS.TABLES T

             ON T.OBJECT_ID = C.OBJECT_ID

          WHERE T.NAME LIKE 'VPX%'

        ) AS ST1

  RIGHT JOIN MGRD_EXP_TABLES_COLUMNS EXP_TC

     ON EXP_TC.TABLE_NAME = ST1.TABLE_NAME

    AND EXP_TC.COLUMN_NAME = ST1.COLUMN_NAME

  WHERE ST1.TABLE_NAME IS NULL

    AND EXP_TC.TYPE = 'T'

  ORDER BY EXP_TC.TABLE_NAME,EXP_TC.COLUMN_NAME;

 

IF len(@err_msg) > 0

    SET @err_msg_full = ' Missing tables or columns: ' + @err_msg;

 

 

SET @err_msg='';

SELECT TOP 30 @err_msg = COALESCE(@err_msg , '') + EXP_TC.TABLE_NAME + '.' +EXP_TC.COLUMN_NAME+ '; '

   FROM (SELECT T.NAME AS TABLE_NAME, I.NAME AS INDEX_NAME

           FROM SYS.TABLES AS T

           JOIN SYS.INDEXES I

             ON T.OBJECT_ID = I.OBJECT_ID

          WHERE I.TYPE IN (1, 2)

        ) AS ST1

  RIGHT JOIN MGRD_EXP_TABLES_COLUMNS EXP_TC

     ON EXP_TC.TABLE_NAME = ST1.TABLE_NAME

    AND EXP_TC.COLUMN_NAME = ST1.INDEX_NAME

  WHERE ST1.TABLE_NAME IS NULL

    AND EXP_TC.TYPE = 'I'

  ORDER BY EXP_TC.TABLE_NAME,EXP_TC.COLUMN_NAME;

 

IF len(@err_msg)> 0

    SET @err_msg_full = COALESCE (@err_msg_full,'') + ' Missing indexes: ' + @err_msg;

 

 

SET @err_msg='';

SELECT TOP 30 @err_msg = COALESCE(@err_msg , '') + EXP_TC.TABLE_NAME + '.' +EXP_TC.COLUMN_NAME+ '; '

   FROM (SELECT OBJECT_NAME(PARENT_OBJECT_ID) AS TABLE_NAME,

                CASE OBJECT_NAME(OBJECT_ID)

            WHEN 'FK_VPX_EMAIL_REF_SERVER' THEN 'FK_VPX_EXT_EMAIL_REF_EXT_SERVER'

    WHEN 'FK_VETI_REF_EXT' THEN 'FK_VPX_EXT_TYPE_IDS_REF_EXT'

    ELSE OBJECT_NAME(OBJECT_ID) END  AS CONSTRAINT_NAME

           FROM SYS.OBJECTS

          WHERE TYPE_DESC IN ('CHECK_CONSTRAINT',

                              'FOREIGN_KEY_CONSTRAINT',

                              'PRIMARY_KEY_CONSTRAINT',

                              'UNIQUE_CONSTRAINT')

        ) AS ST1

  RIGHT JOIN MGRD_EXP_TABLES_COLUMNS EXP_TC

     ON EXP_TC.TABLE_NAME = ST1.TABLE_NAME

    AND EXP_TC.COLUMN_NAME = ST1.CONSTRAINT_NAME

  WHERE ST1.TABLE_NAME IS NULL

    AND EXP_TC.TYPE = 'C'

   

    AND EXP_TC.COLUMN_NAME <> 'FK_SN_VDEVICE_FILE_BACKING'

  ORDER BY EXP_TC.TABLE_NAME,EXP_TC.COLUMN_NAME;

 

IF len(@err_msg)> 0

    SET @err_msg_full = COALESCE(@err_msg_full,'') + ' Missing constraints: ' + @err_msg;

 

 

SET @err_msg='';

SELECT TOP 30 @err_msg = COALESCE(@err_msg , '') + ST1.TABLE_NAME + '.' + ST1.COLUMN_NAME + '; '

   FROM (SELECT T.NAME AS TABLE_NAME, C.NAME AS COLUMN_NAME

           FROM SYS.COLUMNS C

           JOIN SYS.TABLES T

             ON T.OBJECT_ID = C.OBJECT_ID

          WHERE T.NAME LIKE 'VPX%'

    AND T.NAME not in ('VPX_PREUPGRADE_VERIFICATION', 'VPX_FEATURE','VPX_INVT_REP', 'VPX_INVT_REP_VAL')

        ) AS ST1

   LEFT JOIN MGRD_EXP_TABLES_COLUMNS EXP_TC

     ON EXP_TC.TABLE_NAME = ST1.TABLE_NAME

    AND EXP_TC.COLUMN_NAME = ST1.COLUMN_NAME

  WHERE EXP_TC.TABLE_NAME IS NULL

    AND ST1.TABLE_NAME LIKE 'VPX%'

  ORDER BY ST1.TABLE_NAME,ST1.COLUMN_NAME;

 

IF len(@err_msg)> 0

    SET @err_msg_full = COALESCE(@err_msg_full,'') + ' Extra tables or columns: ' + @err_msg;

 

 

SET @err_msg='';

SELECT TOP 30 @err_msg = COALESCE(@err_msg , '') + ST1.TABLE_NAME + '.' + ST1.INDEX_NAME+ '; '

   FROM (SELECT T.NAME AS TABLE_NAME, I.NAME AS INDEX_NAME

           FROM SYS.TABLES AS T

           JOIN SYS.INDEXES I

             ON T.OBJECT_ID = I.OBJECT_ID

          WHERE I.TYPE IN (1, 2)

  AND T.NAME NOT IN  ( 'VPX_FEATURE','VPX_INVT_REP', 'VPX_INVT_REP_VAL')

        ) AS ST1

   LEFT JOIN MGRD_EXP_TABLES_COLUMNS EXP_TC

     ON EXP_TC.TABLE_NAME = ST1.TABLE_NAME

    AND EXP_TC.COLUMN_NAME = ST1.INDEX_NAME

  WHERE EXP_TC.TABLE_NAME IS NULL

    AND ST1.TABLE_NAME LIKE 'VPX%'

  ORDER BY ST1.TABLE_NAME,ST1.INDEX_NAME;

 

IF len(@err_msg)> 0

    SET @err_msg_full = COALESCE(@err_msg_full,'') + ' Extra indexes: ' + @err_msg;

 

 

SET @err_msg='';

SELECT TOP 30 @err_msg = COALESCE(@err_msg , '') + ST1.TABLE_NAME + '.' + ST1.CONSTRAINT_NAME+ '; '

   FROM (SELECT OBJECT_NAME(PARENT_OBJECT_ID) AS TABLE_NAME,

                 CASE OBJECT_NAME(OBJECT_ID)

            WHEN 'FK_VPX_EMAIL_REF_SERVER' THEN 'FK_VPX_EXT_EMAIL_REF_EXT_SERVER'

    WHEN 'FK_VETI_REF_EXT' THEN 'FK_VPX_EXT_TYPE_IDS_REF_EXT'

    END AS CONSTRAINT_NAME

           FROM SYS.OBJECTS

          WHERE OBJECT_NAME(OBJECT_ID) not in ('PK_VPX_FEATURE','PK_VPX_INVT_REP','FK_VPX_INVT_REP_VAL_REF_FEATID','FK_VPX_INVT_REP_VAL_REF_INVTID')

       AND TYPE_DESC IN ('CHECK_CONSTRAINT',

                              'FOREIGN_KEY_CONSTRAINT',

                              'PRIMARY_KEY_CONSTRAINT',

                              'UNIQUE_CONSTRAINT')

        ) AS ST1

  LEFT JOIN MGRD_EXP_TABLES_COLUMNS EXP_TC

    ON EXP_TC.TABLE_NAME = ST1.TABLE_NAME

   AND EXP_TC.COLUMN_NAME = ST1.CONSTRAINT_NAME

  WHERE EXP_TC.TABLE_NAME IS NULL

    AND ST1.TABLE_NAME LIKE 'VPX%'

   

    AND ST1.CONSTRAINT_NAME <> 'FK_VPX_SN_VDEVICE_FILE_BACKING'

  ORDER BY ST1.TABLE_NAME,ST1.CONSTRAINT_NAME;

 

IF len(@err_msg)> 0

    SET @err_msg_full = COALESCE(@err_msg_full,'') + ' Extra constraints:' + @err_msg;

 

 

 

SET @err_msg='';

SELECT TOP 30 @err_msg = COALESCE(@err_msg , '') + OBJECT_NAME(object_id) + '.' + name + '; '

FROM sys.stats c

WHERE user_created = 1

AND OBJECT_NAME(object_id) like 'VPX%'

 

IF len(@err_msg)> 0

    SET @err_msg_full = COALESCE(@err_msg_full,'') + ' User created statistics:' + @err_msg;

 

 

EXEC ('DROP TABLE MGRD_EXP_TABLES_COLUMNS');

 

  IF len(@err_msg_full)> 0

    BEGIN

    

     SET @err_msg_full = 'ERROR !' + Left(@err_msg_full,950);

     RAISERROR (@err_msg_full,16,1);

    END

END

^^^^^^^^^^

 

 

1 [42000](50000) [Microsoft][SQL Server Native Client 11.0][SQL Server]ERROR ! Extra tables or columns: VPX_POPULATED_COUNTERS.INSERTED_COUNTER_ID; VPX_POPULATED_COUNTERS.SC_COUNTER_ID; VPX_POPULATED_COUNTERS.SC_STAT_ID;

ERROR: Cannot execute statement(rc=-1).

BEGIN

DECLARE @err_msg VARCHAR(2000)

DECLARE @err_msg_full VARCHAR(4000)

DECLARE @verid INT

 

 

 

SELECT @verid = (VER_ID / 10) * 10

   FROM VPX_VERSION;

 

 

SELECT TOP 30 @err_msg = COALESCE(@err_msg , '') + EXP_TC.TABLE_NAME + '.' + EXP_TC.COLUMN_NAME+ '; '

   FROM (SELECT T.NAME AS TABLE_NAME, C.NAME AS COLUMN_NAME

           FROM SYS.COLUMNS C

           JOIN SYS.TABLES T

             ON T.OBJECT_ID = C.OBJECT_ID

          WHERE T.NAME LIKE 'VPX%'

        ) AS ST1

  RIGHT JOIN MGRD_EXP_TABLES_COLUMNS EXP_TC

     ON EXP_TC.TABLE_NAME = ST1.TABLE_NAME

    AND EXP_TC.COLUMN_NAME = ST1.COLUMN_NAME

  WHERE ST1.TABLE_NAME IS NULL

    AND EXP_TC.TYPE = 'T'

  ORDER BY EXP_TC.TABLE_NAME,EXP_TC.COLUMN_NAME;

 

IF len(@err_msg) > 0

    SET @err_msg_full = ' Missing tables or columns: ' + @err_msg;

 

 

SET @err_msg='';

SELECT TOP 30 @err_msg = COALESCE(@err_msg , '') + EXP_TC.TABLE_NAME + '.' +EXP_TC.COLUMN_NAME+ '; '

   FROM (SELECT T.NAME AS TABLE_NAME, I.NAME AS INDEX_NAME

           FROM SYS.TABLES AS T

           JOIN SYS.INDEXES I

             ON T.OBJECT_ID = I.OBJECT_ID

          WHERE I.TYPE IN (1, 2)

        ) AS ST1

  RIGHT JOIN MGRD_EXP_TABLES_COLUMNS EXP_TC

     ON EXP_TC.TABLE_NAME = ST1.TABLE_NAME

    AND EXP_TC.COLUMN_NAME = ST1.INDEX_NAME

  WHERE ST1.TABLE_NAME IS NULL

    AND EXP_TC.TYPE = 'I'

  ORDER BY EXP_TC.TABLE_NAME,EXP_TC.COLUMN_NAME;

 

IF len(@err_msg)> 0

    SET @err_msg_full = COALESCE (@err_msg_full,'') + ' Missing indexes: ' + @err_msg;

 

 

SET @err_msg='';

SELECT TOP 30 @err_msg = COALESCE(@err_msg , '') + EXP_TC.TABLE_NAME + '.' +EXP_TC.COLUMN_NAME+ '; '

   FROM (SELECT OBJECT_NAME(PARENT_OBJECT_ID) AS TABLE_NAME,

                CASE OBJECT_NAME(OBJECT_ID)

            WHEN 'FK_VPX_EMAIL_REF_SERVER' THEN 'FK_VPX_EXT_EMAIL_REF_EXT_SERVER'

    WHEN 'FK_VETI_REF_EXT' THEN 'FK_VPX_EXT_TYPE_IDS_REF_EXT'

    ELSE OBJECT_NAME(OBJECT_ID) END  AS CONSTRAINT_NAME

           FROM SYS.OBJECTS

          WHERE TYPE_DESC IN ('CHECK_CONSTRAINT',

                              'FOREIGN_KEY_CONSTRAINT',

                              'PRIMARY_KEY_CONSTRAINT',

                              'UNIQUE_CONSTRAINT')

        ) AS ST1

  RIGHT JOIN MGRD_EXP_TABLES_COLUMNS EXP_TC

     ON EXP_TC.TABLE_NAME = ST1.TABLE_NAME

    AND EXP_TC.COLUMN_NAME = ST1.CONSTRAINT_NAME

  WHERE ST1.TABLE_NAME IS NULL

    AND EXP_TC.TYPE = 'C'

   

    AND EXP_TC.COLUMN_NAME <> 'FK_SN_VDEVICE_FILE_BACKING'

  ORDER BY EXP_TC.TABLE_NAME,EXP_TC.COLUMN_NAME;

 

IF len(@err_msg)> 0

    SET @err_msg_full = COALESCE(@err_msg_full,'') + ' Missing constraints: ' + @err_msg;

 

 

SET @err_msg='';

SELECT TOP 30 @err_msg = COALESCE(@err_msg , '') + ST1.TABLE_NAME + '.' + ST1.COLUMN_NAME + '; '

   FROM (SELECT T.NAME AS TABLE_NAME, C.NAME AS COLUMN_NAME

           FROM SYS.COLUMNS C

           JOIN SYS.TABLES T

             ON T.OBJECT_ID = C.OBJECT_ID

          WHERE T.NAME LIKE 'VPX%'

    AND T.NAME not in ('VPX_PREUPGRADE_VERIFICATION', 'VPX_FEATURE','VPX_INVT_REP', 'VPX_INVT_REP_VAL')

        ) AS ST1

   LEFT JOIN MGRD_EXP_TABLES_COLUMNS EXP_TC

     ON EXP_TC.TABLE_NAME = ST1.TABLE_NAME

    AND EXP_TC.COLUMN_NAME = ST1.COLUMN_NAME

  WHERE EXP_TC.TABLE_NAME IS NULL

    AND ST1.TABLE_NAME LIKE 'VPX%'

  ORDER BY ST1.TABLE_NAME,ST1.COLUMN_NAME;

 

IF len(@err_msg)> 0

    SET @err_msg_full = COALESCE(@err_msg_full,'') + ' Extra tables or columns: ' + @err_msg;

 

 

SET @err_msg='';

SELECT TOP 30 @err_msg = COALESCE(@err_msg , '') + ST1.TABLE_NAME + '.' + ST1.INDEX_NAME+ '; '

   FROM (SELECT T.NAME AS TABLE_NAME, I.NAME AS INDEX_NAME

           FROM SYS.TABLES AS T

           JOIN SYS.INDEXES I

             ON T.OBJECT_ID = I.OBJECT_ID

          WHERE I.TYPE IN (1, 2)

  AND T.NAME NOT IN  ( 'VPX_FEATURE','VPX_INVT_REP', 'VPX_INVT_REP_VAL')

        ) AS ST1

   LEFT JOIN MGRD_EXP_TABLES_COLUMNS EXP_TC

     ON EXP_TC.TABLE_NAME = ST1.TABLE_NAME

    AND EXP_TC.COLUMN_NAME = ST1.INDEX_NAME

  WHERE EXP_TC.TABLE_NAME IS NULL

    AND ST1.TABLE_NAME LIKE 'VPX%'

  ORDER BY ST1.TABLE_NAME,ST1.INDEX_NAME;

 

IF len(@err_msg)> 0

    SET @err_msg_full = COALESCE(@err_msg_full,'') + ' Extra indexes: ' + @err_msg;

 

 

SET @err_msg='';

SELECT TOP 30 @err_msg = COALESCE(@err_msg , '') + ST1.TABLE_NAME + '.' + ST1.CONSTRAINT_NAME+ '; '

   FROM (SELECT OBJECT_NAME(PARENT_OBJECT_ID) AS TABLE_NAME,

                 CASE OBJECT_NAME(OBJECT_ID)

            WHEN 'FK_VPX_EMAIL_REF_SERVER' THEN 'FK_VPX_EXT_EMAIL_REF_EXT_SERVER'

    WHEN 'FK_VETI_REF_EXT' THEN 'FK_VPX_EXT_TYPE_IDS_REF_EXT'

    END AS CONSTRAINT_NAME

           FROM SYS.OBJECTS

          WHERE OBJECT_NAME(OBJECT_ID) not in ('PK_VPX_FEATURE','PK_VPX_INVT_REP','FK_VPX_INVT_REP_VAL_REF_FEATID','FK_VPX_INVT_REP_VAL_REF_INVTID')

       AND TYPE_DESC IN ('CHECK_CONSTRAINT',

                              'FOREIGN_KEY_CONSTRAINT',

                              'PRIMARY_KEY_CONSTRAINT',

                              'UNIQUE_CONSTRAINT')

        ) AS ST1

  LEFT JOIN MGRD_EXP_TABLES_COLUMNS EXP_TC

    ON EXP_TC.TABLE_NAME = ST1.TABLE_NAME

   AND EXP_TC.COLUMN_NAME = ST1.CONSTRAINT_NAME

  WHERE EXP_TC.TABLE_NAME IS NULL

    AND ST1.TABLE_NAME LIKE 'VPX%'

   

    AND ST1.CONSTRAINT_NAME <> 'FK_VPX_SN_VDEVICE_FILE_BACKING'

  ORDER BY ST1.TABLE_NAME,ST1.CONSTRAINT_NAME;

 

IF len(@err_msg)> 0

    SET @err_msg_full = COALESCE(@err_msg_full,'') + ' Extra constraints:' + @err_msg;

 

 

 

SET @err_msg='';

SELECT TOP 30 @err_msg = COALESCE(@err_msg , '') + OBJECT_NAME(object_id) + '.' + name + '; '

FROM sys.stats c

WHERE user_created = 1

AND OBJECT_NAME(object_id) like 'VPX%'

 

IF len(@err_msg)> 0

    SET @err_msg_full = COALESCE(@err_msg_full,'') + ' User created statistics:' + @err_msg;

 

 

EXEC ('DROP TABLE MGRD_EXP_TABLES_COLUMNS');

 

  IF len(@err_msg_full)> 0

    BEGIN

    

     SET @err_msg_full = 'ERROR !' + Left(@err_msg_full,950);

     RAISERROR (@err_msg_full,16,1);

    END

END

^^^^^^^^^^

 

 

1 [42000](50000) [Microsoft][SQL Server Native Client 11.0][SQL Server]ERROR ! Extra tables or columns: VPX_POPULATED_COUNTERS.INSERTED_COUNTER_ID; VPX_POPULATED_COUNTERS.SC_COUNTER_ID; VPX_POPULATED_COUNTERS.SC_STAT_ID;

VCSA 6.5 Web GUI Error

$
0
0

I have successfully upgraded my VCSA 6 to 6.5 - after the upgrade I was able to login and use the vsphere web client without issue.

 

I then upgraded my single ESXi 6 host to 6.5, which was successful.  After booting up the VCSA, after logging into the Vsphere client I get the following error:-

 

Could not connect to one or more vCenter Server systems:

https://FQDN:443/sdk

 

At this point the client is unusable.  I have tried stopping and restarting all services via SSH, and rebooting the VCSA, however nothing has helped.

 

I have also tried following the instructions here “Failed to verify the SSL certificate for one or more vCenter Server Systems” error in the vSphere Web Client (2050273) … - However I only see 1 Service ID, so there doesn't appear to be a duplicate entry..

 

Many thanks


Cannot complete login due to an incorrect user name or password

$
0
0

Hello everyone,

 

Not sure where to post this issue

 

I am unable to log into my VMware Vsphere client I keep getting the following message "Cannot complete login due to an incorrect user name or password" I have googled for the said issue but did not find any KB that would solve this for me. Hoe ever the following KB's that I found during my research did not help me:

 

 

1. https://recommender.vmware.com/solution/SOL-5192

2. https://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1003887

 

 

Can any body help me get over this issue.

 

 

Thanks in advance.

 

 

Regards,

Amey

Vsphere ESXi 6.5 external network connectivity lost on DL380Gen8

$
0
0

Dear,

 

Strange issue on my system DL380Gen8 (not on VMHCL). It looses all external connectivity. When I logon through the out of band interface (ILO) ; I can still ping all VM's and they are running.

However the external interfaces looses all connectivity (kernel + VMWare guest uplinks).

Restart management agents doesn't help.

When I look at my kernel log I see my NVMe card + NTG3 (network driver) complaining :

2017-02-01T01:23:39.574Z cpu9:68121)User: 3089: sfcb-smx: wantCoreDump:sfcb-smx signal:6 exitCode:0 coredump:enabled

2017-02-01T01:23:39.703Z cpu9:68121)UserDump: 3024: sfcb-smx: Dumping cartel 68117 (from world 68121) to file /var/core/sfcb-smx-zdump.002 ...

2017-02-01T01:23:41.992Z cpu9:68121)UserDump: 3172: sfcb-smx: Userworld(sfcb-smx) coredump complete.

2017-02-01T10:20:26.125Z cpu2:69084)nvme:nvmeCoreLogError:370:command failed: 0x43077bd885f0.

2017-02-01T10:22:27.081Z cpu2:68970)nvme:nvmeCoreLogError:370:command failed: 0x43077bd70bf0.

2017-02-01T10:24:28.580Z cpu2:68970)nvme:nvmeCoreLogError:370:command failed: 0x43077bd71370.

2017-02-01T10:26:31.329Z cpu2:69175)nvme:nvmeCoreLogError:370:command failed: 0x43077bd71970.

2017-02-01T10:28:32.559Z cpu2:69175)nvme:nvmeCoreLogError:370:command failed: 0x43077bd71f70.

2017-02-01T10:30:49.130Z cpu2:68998)nvme:nvmeCoreLogError:370:command failed: 0x43077bd72570.

2017-02-01T10:32:50.089Z cpu2:69195)nvme:nvmeCoreLogError:370:command failed: 0x43077bd72b70.

2017-02-01T10:34:53.349Z cpu2:69134)nvme:nvmeCoreLogError:370:command failed: 0x43077bd73170.

2017-02-01T10:36:54.443Z cpu2:69040)nvme:nvmeCoreLogError:370:command failed: 0x43077bd73770

2017-02-01T16:18:36.497Z cpu1:68999)WARNING: ntg3-throttled: Ntg3XmitPktList:372: vmnic0:TX ring full (0)

2017-02-01T16:18:45.193Z cpu22:65645)ntg3:vmnic0:Ntg3UplinkReset:665:Ntg3UplinkReset

2017-02-01T16:18:45.193Z cpu22:65645)ntg3:vmnic0:Ntg3UplinkQuiesceIO:647:Ntg3UplinkQuiesceIO

2017-02-01T16:18:45.193Z cpu22:65645)ntg3:vmnic0:Ntg3UplinkStartIO:623:Ntg3UplinkStartIO

2017-02-01T16:18:55.193Z cpu21:65645)ntg3:vmnic0:Ntg3UplinkReset:665:Ntg3UplinkReset

2017-02-01T16:18:55.193Z cpu21:65645)ntg3:vmnic0:Ntg3UplinkQuiesceIO:647:Ntg3UplinkQuiesceIO

2017-02-01T16:18:55.193Z cpu21:65645)ntg3:vmnic0:Ntg3UplinkStartIO:623:Ntg3UplinkStartIO

2017-02-01T16:19:05.195Z cpu21:65645)ntg3:vmnic0:Ntg3UplinkReset:665:Ntg3UplinkReset

2017-02-01T16:19:05.195Z cpu21:65645)ntg3:vmnic0:Ntg3UplinkQuiesceIO:647:Ntg3UplinkQuiesceIO

2017-02-01T16:19:05.195Z cpu21:65645)ntg3:vmnic0:Ntg3UplinkStartIO:623:Ntg3UplinkStartIO

2017-02-01T15:50:50.684Z cpu9:68980)WARNING: NetPort: 1932: failed to disable port 0x2000005 on vSwitch0: Busy

2017-02-01T15:50:50.684Z cpu9:68980)NetSched: 701: 0x2000002: received a force quiesce for port 0x2000005, dropped 727 pkts

2017-02-01T15:50:50.685Z cpu9:68980)NetPort: 1879: disabled port 0x2000005

2017-02-01T15:50:50.688Z cpu9:68980)Vmxnet3: 17265: Disable Rx queuing; queue size 256 is larger than Vmxnet3RxQueueLimit limit of 64.

2017-02-01T15:50:50.688Z cpu9:68980)Vmxnet3: 17623: Using default queue delivery for vmxnet3 for port 0x2000005

2017-02-01T15:50:50.688Z cpu9:68980)NetPort: 1660: enabled port 0x2000005 with mac 00:50:56:a4:3e:25

2017-02-01T15:50:50.699Z cpu9:68980)NetPort: 1879: disabled port 0x2000005

2017-02-01T15:50:50.701Z cpu9:68980)Vmxnet3: 17265: Disable Rx queuing; queue size 256 is larger than Vmxnet3RxQueueLimit limit of 64.

2017-02-01T15:50:50.701Z cpu9:68980)Vmxnet3: 17623: Using default queue delivery for vmxnet3 for port 0x2000005

2017-02-01T15:50:50.701Z cpu9:68980)NetPort: 1660: enabled port 0x2000005 with mac 00:50:56:a4:3e:25

2017-02-01T15:50:56.216Z cpu0:68971)WARNING: ntg3-throttled: Ntg3XmitPktList:372: vmnic0:TX ring full (0)

 

 

when I restart the box, all goes fine again for sometimes 1 day, 1 week... unclear... somebody an idea?

HA/Replication or Stretched Cluster

$
0
0

Need your guys' guidance on a DA/DR project I'm working on. From what I understand, there are 3 possible ways to create an offsite backup for VMware: Replication/HA, Stretched Cluster, and Site Recovery Manager (too expensive for us). Any advice on which one is better for the situation described below?

 

 

2 sites with 3 hosts at each location: (2) R630's and (1) PowerVault SAN)

- Each site has identical hardware/software/VMs, etc.

- We don't have a lot of requirements, other than the recovery site needs to come up within a few minutes of the primary site going down. Saving money trumps ease of use & recovery time

- We have a redundant 1GB/s L2 (possible 10 gig if needed) connection between both sites

 

 

-If I went with Replication/HA, would I need another vCenter at site 2? If not, would I just use the vSphere client to manage the VMs at the recovery site temporarily?

-Will I need to buy & install additional ESXi on the recovery site hosts for both Replication/HA and Stretched Cluster methods?

-Which one is easier to initially setup?

-Will I need vSAN?

-And lastly, do I need to buy an OS (Win Server 2016) for each logical processor to run ESXi on?

 

Thanks guys

new-vm menu option

$
0
0

trying to create a new-vm menu

 

it will create a VM based on which folder I choose from the menu

 

 

[int]$RemoteOffice= 0

while ( $RemoteOffice-lt 1 -or $RemoteOffice -gt 4 ){

  Write-host "1. SF"

  Write-host "2. SD"

  Write-host "3. AST"

  Write-host "4. Quit and exit"
 
[Int]$RemoteOffice= read-host "Please enter an option 1 to 4..."
}

 

I dont know if I need to use the switch option here

 

after user selects the office name

 

it will create VM

 

new-vm -Name machinename

 

I also need to select the hard disk from a datastore name

After RDM resize script shows old disk size instead of new

$
0
0

Hi All,

 

After RDM resize, below script still shows the old size but in the guest, I can see the new size capacity.

 

RDM is presented as Physical currently

 

Get-VM db1 | Get-HardDisk | where {"RawPhysical","RawVirtual" -contains $_.DiskType} | Select @{N="VM";E={$_.Parent.Name}},Name,CapacityGB,ScsiCanonicalName

 

Please help

 

Thanks

Madhusudan

Viewing all 178040 articles
Browse latest View live


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