Several cloning for vCenter vCenter vCenter

I hope I can express this question, so please forgive me if I cannot explain in detail the scenario, but here goes:

We originally had a single vCenter Server (physical Mahcine) with two visible in it data centers, one in New Jersey and the other in SC. We decided to do two new virtual vCenters one with a data center called NJ and the other with a data center called SC. In our old vcenter, we had a script automated CLI power who cloned a machine in the datacenter of SC, to remove the NIC card, he converted to model and then cloned it on the side of the data center NJ over the WAN. The script looked a little like this:

######################

SE connect-VIServer vCenter

######################

$Temp = get-Template-name "SERVER_CLONE_TODAYSDATE" <-this exists in the SC data center

$VMHOSTNJ = "hostname1 - 1.domainname.com.

######################

New-model - $(get-modèle $Temp)-name "SERVER_CLONE_TODAYSDATE" - location NJ - VMHost Datastore - NJ_DS_04 - DiskStorageFormat $VMHOSTNJ - thin confirm: $false

In the past when this script would go on a single vcenter who managed two data centers, if clone the model to the data center of NJ in the root folder. Now with the new game by being a vCenter in New Jersey and a vCenter in SC operating in linked mode, so that I can not get the deployment script the model over the WAN. I get the error:

New-model: 30/10/2013-11:05:19New-modelThe arguments must be from the same server.

I have njvcenter Connect-VIServer - AllLinked and scvcenter Connect-VIServer - AllLinked in the script now, but still can not overcome this barrier of the cloning of the model on the WAN. I enabled Set-PowerCLIConfiguration-DefaultVIServerMode - multiple user scope.

Is there a way to any act of brilliance script that someone can provide that may allow for me to continue with this automated process of new in any of these two related vcenters?

I tried a few variables such as parameters:

$VMHOSTNJ = get-VMHost "hostname.domainname.com" - Server njvcenter

$NJDATASTORE = get-Datastore NJ_DS_05 - Server njvcenter

$NJFOLDER = get-folder "~ SC to NJ cloning"-Server njvcenter

And then placed them in my script in an effort for the script to run the clone of the scvcenter, but know to turn to the njvcenter for the - location - data store - VMHost

If it's confusing, I apologize if you have questions ask away, we want to get to a two purposes of failover vcenter environment, however the script reduces the time more then an hour on which would take nearly 4 hours to complete manually. Any help would be greatly appreciated!

When you have no storage shared between the vCenters, take note of KB2013516

Tags: VMware

Similar Questions

  • Problem with OpenManage integration for vCenter - OMSA status: update required

    Hello

    We have a problem with the configuration of OpenManage integration on a vSphere 5.5 U2 Cluster. We have deployed IMO for vCenter v 2.3.0 build 290 aircraft, and we have installed manually OMSA VIB v7.4.0.2 on our 5.5. U2 ESXi hosts.

    The question we face is respect for vSphere host - when we start the Wizard "Fix Non compliant vSphere Host" it displays the correct version of the OMSA - 7.4.0.2 but OMSA status is "required update".

    Whe test us the connection to hosts using "Test the connection profile", it hangs at 0% and will be never finished.

    Also in the OpenManage integration in vSphere Client "Frimware" tab option is grayed out.

    Please indicate how we can make this work?

    Concerning

    Milan

    Well, I did some research more and found that ESXI 5.5 U1 and U2 don't are not supported by OMSA right now.

    FTP://FTP.Dell.com/manuals/all-products/esuprt_software/esuprt_virt_solutions/Dell-Mgmt-plugin-for-VMware-Center-2.3_Release%20Notes_en-us.PDF

    ESXi 5.5 U1 and U2 are supported only for the OMIVV on the servers of 12th and 13th generation who are capable of out-of-band management and require no OMSA must be installed on the host system. We intend to add a supported of the OMSA version at a later date.

    Thank you

  • How to change the MOB OpenManage integration for vCenter Server registration

    A few months back, I've updated our installation of the vCenter for v2 plugin, now called OpenManage integration for vCenter Server. When you perform the upgrade, we have kept the old base done vs a new installation. During the upgrade process, we deployed the new device under a new name of the computer.

    Everything works well except that we noticed an annoying thing. Registration of the plugin is the former name of the server instead of the name of the new server-oriented. It is validated by looking at the web page MOB: http://vcenter Server/fmt drilling then down through:

    Content--> Extension Manager--> extensionList ["com.dell.plugin.OpenManage_Integration_for_VMware_vCenter"] --> server--> URL string

    The configuration of the appliamnce shows the correct new name of the device and the administration console is accessible via the new name for the device. The only place where we see the old name of the device is in the MOB config.

    We tried to remove the plugin and added, but still cannot change the value of server URL to reflect the new name of the device. Until we solve this problem, I work around the problem by keeping just the DNS entry for the old name of the server in DNS.

    Anyone know who to change the property MOB for the URL of the server?

    I solved the problem.

    I found the following article that shows how to upgrade the extension. I just cut and paste into my current values with the URL of update and now all is good.

    http://KB.VMware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=2060127&sliceId=1&docTypeID=DT_KB_1_1&dialogID=236869583&StateID=0%200%20236885165

  • How to allocate disk space for vCenter server logs

    Hello

    I plan to level 4.1 to 5.5 U2d vCenter on the customer site. One of the conditions set out in the vSphere upgrade guide is:

    "In vCenter Server 5.x, the default size for vCenter Server connects is larger than in vCenter Server 4.x. make sure that the disk space allocated for the log folder is sufficient for this increase 450MB."

    My question is how to allocate disk space for the log file and where can I find the disk space allotted to file papers to vCenter 4.1 existing?

    Just see the free space on the partition where the vCenter server logs are stored. If it is insufficient, increase the size of the virtual disk and then increase the file system to the guest OS.

  • SQL Server edition full for vCenter Server 6.0

    Hello

    Just learn that vCenter 6.0 does not support SQL Server Express.

    We intend to use SQL Server 2008R2 as the database of vCenter Server 6.

    We would like to ask for your opinion if we should use the full 32-bit or 64-bit SQL Server Edition?  For SQL Server Express, 64 - Bit is used, I think that we need to use 64 bits one, is this correct?

    Your opinion is requested.

    Just learn that vCenter 6.0 does not support SQL Server Express.

    The Windows 6.0 vCenter dropped the integrated SQL Express, BUT instead, it comes with a SQL database vPostgres shipped to replace it with similar restrictions. You don't need to install your own SQL server if you're ok with these limits. See the following article:

    vSphere 6 - clarify misinformation. VMware vSphere Blog - VMware Blogs

    Databases are supported for installing windows SQL 2008 R2, 2012 and 2014, Oracle 11g and 12 c as well as the possibility of using an embedded database vPostgres on windows vPostgres is limited to 20 guests and 200 VMs. Upgrades where SQL express is installed will be converted to vPostgres. The vCenter Server Appliance supports the vPostgres shipped to full scale, the host of 1000 and 10,000 virtual computers and is the database recommended for vCenter server unit. Oracle 11g and c 12 external databases are also supported for this version, look for these to drop in the future releases.

    It is also possible to keep an existing SQL Express DB when you perform an upgrade:

    VMware KB: Upgrade vCenter Server 6.0 without migration of the SQL database to vPostgres

    If you use your own SQL server to go with a 64-bit version and stick them on products VMware interoperability Matrices.

  • Cannot find a service record for vCenter service with the host name "IP address"

    After upgrading to vCenter native 5.5 to vSphere Client device everything works, but not all orders for PowerCLI.

    After a command gives me error under VMware vSphere PowerCLI 6.0 Release 1

    Get-TagCategory: 13.07.2015 16:50:48 Get-TagCategory could not find a service record for vCenter service with host name 10.x.x.x

    In Zeile:2 Zeichen:1

    + Get-TagCategory

    + ~~~~~~~~~~~~~~~

    + CategoryInfo: ObjectNotFound: (:)) [Get-TagCategory], VimException)

    + FullyQualifiedErrorId: ViCore_InventoryServiceProxy_GetInventoryServiceInfo_NoVcRegistration, VMware.VimAutomation.ViCore.Cmdlets.Commands.Tagging.GetTagCategory

    does anyone have a solution or an idea for this problem?

    Best

    Marco

    I have exactly the same problem. Are there solutions yet?

    Best regards

    René

    Found the solution in the database (2127028).

  • I would like to download the license for Vcenter 5.5

    Hello:

    We recently purchased a new (HP DL380 Gen9) ESXi host and that host will work with Version 5.5 Update 2.  I was asked my our VMware consultant to connect to our VMware account and get the license for Vcenter 5.5 .  I can log on to the account; but, how to the license for Vcenter 5.5?

    Then the license "vCenter Server 5 Essentials" should be sufficient. You should be able to download vCenter 5.5 from here (but don't forget to take the update correct level: 5.5, 5.5 U1 or U2 5.5): VMware vSphere 5: Private Cloud Computing, server and data center virtualization

    And you should think about upgrading 5.1 hosts after that vCenter device is installed and configured.

  • Setting up Certification Authority (CA) signed certificates for vCenter Server Appliance 6

    Hi all

    Recently, I managed to migrate to vCenter Server Appliance 6. 5.5, there was a large KB (2057223) on Configuring Certificate Authority (CA) signed certificates for vCenter Server Appliance. I tried to do as it says configure the certificate for v6.

    Unfortunately, I understand that some services such as lighttpd are changed in version.

    Can anyone provide a new instruction for the v6?

    Thank you

    Thank you. That helped me to see the idea. However, the explanation in the pages that was not complete. I had to search for more.

    This blog helped me solve my problem with the generated certificate:

    http://longwhiteclouds.com/2015/03/22/vSphere-6-using-Vmca-as-a-subordinate-CA/

  • Get the number of vCPU (hearts by shocket) for vCenter VM

    Hello..

    I'm changing vCPU number scale using a script. I succeeded when the number of cores by shocket is 1, but this does not work if the number of cores, it's more than one, so I want to check the number of cores per VM shocket.

    Please help me get number of vCPU (hearts by shocket) for vCenter VM. Answer as soon as possible it's urgent...

    Thank you!!

    Looking for: vm.config.hardware.numCoresPerSocket where vm is an VC:VirtualMachine object.

    Your total number of cores would be (numCoresPerSocket x numCPU)

    Check this for some more tips: numCoresPerSocket

  • Management Pack for vCenter Hyperic 5.8, where?

    Hi guys.

    Do you know where to find the management to vCenter Hyperic 5.8 Pack?

    I vCloud Suite 5 Enterprise and I installed vCops 5.8 and vFabric Hyperic 5.8, but I can't find the Management Pack for vCenter Hyperic 5.8.

    The Exchange Vmware Solutions site offers only 5.7 release for download

    Greetings.

    You will find this VMware VMware Solution Exchange Management Pack: https://solutionexchange.vmware.com/

  • What happens IF we replace the default certificates for vCenter 5.1?

    Does anyone have specific vmware documents indicating what happens IF we replace the default certificates for vCenter 5.1 SSO, inventory, Web Client etc... services?

    I found this below at page 19 of https://www.vmware.com/files/pdf/products/vCenter/VMware-vCenter-Server-Single-Sign-On.pdf

    Certificates update

    When you install the vCenter Single Sign-On, each component that registers with it - including

    vCenter Single Sign-On himself - uses SSL to communicate between components and saved solutions.

    By default, SSL certificates are generated automatically by VMware installation and upgrade process

    and are sufficient for the operational security for most VMware customers.

    Some clients prefer to use their own self-signed or purchased SSL certificates. A tool has been developed to

    help the insertion of these certificates after vCenter Server installation. Because of the additional knowledge

    required to create and install self-signed certificates, we recommend that you review the following knowledge of VMware

    basis of articles:

    "Deployment and using the tool to automate SSL certificate.

    (VMware 2041600 knowledge base article)

    "Generation of certificates for use with the VMware Certificate SSL automation tool"

    (VMware 2044696 knowledge base article)

    In 10 years your vCenter starts (because of expiry of the certificate).

    Your users will see pesky warnings of SSL certificate when connecting components.

    Apart from that all traffic is always secure and encrypted with certificates by default, you have simply a chain of trust for them.

  • Requirements of ports for vCenter Server 5.1 - SysLog Collector

    Hi all

    Has anyone installed a SysLog collector?

    My book of vmware by Lowe mentions little on the ports for it.

    During the installation of the server, he gave me a list of ports.

    I accepted all the flaws, except that I changed the ports http to 81 and 8081 because IIS is installed (vmware docs say to use one port other than 80, if IIS is already installed)

    Now, during the installation of the SysLog collector it asks which http port I use.

    The vmware docs nothing mentioned on the syslog http port is my book. The vmware for TCP docs show that.

    ESXi Syslog Collector8001TCPESXivCenter Server

    Network syslog server

    Just use port 81 as the http port I have set up for vcenter server? The web interface won't connect through this port? There will be a conflict?

    I used netstat and port 82 is not used. Should I use?

    The other settings works ok?

    There is no firewall involved; vCenter server and the VMs system will reside on the same site

    Thanks in advance

    port 81, that is according to the third screenshot! 8081 is for Tomcat!

  • Configuration of SQL 2008 R2, Enterprise Edition for vCenter Server 5.1

    Greetings to all seasons.

    Kind of a newbie here. That's my lab environment.

    I have always used the vCenter Server install Simple option that also installs the shipped Microsoft SQL 2008 R2 Express edition.

    Now, I do an eval of vSphere 5.1 and I want to manually configure a database server using the Microsoft SQL 2008 R2 Enterprise Edition.

    I know how to install the database server and it works. But I do not know how exactly set up a database for vCenter Server.

    I looked at the guide Configuration / Installation of vSphere and I don't seem to be able to follow the preparation vCenter Server databases section, because I'm not a person to the database. Y at - it any other guide or a blog, I can follow? I searched a lot and found everything I was looking for. Thought I would ask here.

    Here are the virtual machines I have.

    Lab - DC1 (domain controller)

    Lab - DC2 (domain controller)

    Lab-SQL1 (SQL 2008 R2, Enterprise Edition)

    Lab-SQL2 (SQL 2008 R2 Enterprise - subsequently configure failover clustering)

    Lab-VC1(vCenter Server 1)

    Any help is appreciated!

    Happy holidays.  Here is a link to another site with a nice installation guide for SQL 2008 for VMware.  Version 4.x, published in lonesysadmin.net was very helpful, so I'm sure that the 5.x update (have not read through it again) must be all too packed with useful tips.

    http://lonesysadmin.NET/2011/10/06/how-to-install-Microsoft-SQL-Server-2008-R2-for-VMware-vCenter-5/

  • Flex Builder for vCenter plug-in development

    Hello

    I use currently a version track Flex builder available for vCenter-Extension development. We do you use Flex if often, should I buy Flex builder (Flash Builder 4.6) license for the development of a plugin-vCenter. Ask yourself what are cost-benefit vs specifically for the development of vCenter plug-in that I can point to for justification to our society.

    Some of the tools provided by VMware are clean enough, such as the project creation wizard vSphere-Web-Client which has Flex-Plugin. This has a dependency on Flex/Flash builder?

    Thank you!

    (do not forget to post your vSphere Client Web plugin questions on this other forum dedicated to this platform):

    ( http://communities.vmware.com/community/vmtn/developer/forums/vspherewebsdk?view=discussions&start=0)

    If you are developing a serious plugin I recommend to get the license of Flash Builder (or try a few days without it to see the difference).  As the doc to install SDK says:

    "Adobe Flash Builder is not required to compile Flex code (the Flex compiler is included with the Flex SDK, see how it is used by Ant scripts provided with examples of the software development kit), but you should install it to enjoy the debugger and have a better development of experience within Eclipse.

    The project creation wizard is an Eclipse plugin that does not rely on Flash Builder.

  • Is there a converter Plug In for vCenter Server 5?

    Hello

    We have just implemented the vCenter Server 5 and get that some 4.1 ESX servers migrated to host ESX 5.

    Previously, there's a Service guided Consolidation (converter Plug In) vCenter for vCenter Server.  Is there a similar product for vCenter Server 5 or use the stand-alone converter in the future?

    Thank you

    With vSphere 5 there is no available plugin more. Just use the vCenter Converter Standalone.  André

Maybe you are looking for