Several deployments / increment

After doing some work with some of the guys over another here->Create the VM model , I'm curious to know if I can convert this script being able to deploy multiple virtual machines from him at the same time.  I know typically you use something as a loop to do this and just increment through the commands, but I didn't know if there was another way since all the information is not as easy as an increment.  We use a dedicated so DHCP mac address, name of the virtual machine will probably be the fields which change.  If I need to paste the code again below, just let me know, thanks!

mattboren - update: I look at our original thread and took note of the portgroup - vs - networkname and used here since I remembered similar error.  Thanks again for your help.  Here is my final product which seems to work very well.

Script:

$csv = "C:\ANT_VMs.csv" of import-Csv - UseCulture | %{

{foreach ($line in $csv)

$oNewVM = new-VM-name $_. Name - model $_. Model - ResourcePool (Get-Cluster $_.) Cluster | Get - ResourcePool - name 'Resources') - Datastore $_. Data store - OSCustomizationspec $_. Customization

$oNewVM | Get-NetworkAdapter | Together-NetworkAdapter -NetworkName $_. PortGroup-confirm: $false | Together-NetworkAdapter - MacAddress $_. MacAddress - StartConnected: $true - confirm: $false

$oNewVM | Owner of the whole Annotation-CustomAttribute-value of $_. Owner

Start-VM $oNewVM

}

}

Example CSV:

Model Name Cluster Data store DiskFormat Customization PortGroup MacAddress Owner
LabCloud_w2k12 VM-d01148 Cloud - lab group III (FID 30) 8000-10kSP1-LUN02 Thin LabCloud_w2012R2 vNet 10.108.26 00:50:56:2 c: 1 b: 67 zzz

Tags: VMware

Similar Questions

  • Several deployments of a Standalone WLS motion

    Hey guys,.

    We use Jdev version 11.1.1.7 (11g Release 1).

    I'm working on a project with another colleague of mine.  The nature of the project requires us to do all our tests through a standalone WLS who has been implemented.

    We run in the test questions as we walk on the toes of the other when redeploy us to test our code.  We tried several versions running on the server, but we run into a few problems because of the structure of our applications.

    The configuration is the following:

    We have only one application of the ADF who manages the newspaper in and maintenance of account screens.

    This application makes calls remote taskflow to another application that contains several projects and taskflows in each project.

    Our application uses also SOA and BPM processes and human task runs as well as MDS.

    We were able to deploy multiple versions of all applications separately, but when the newspaper in the application makes a call to demand access to a taskflow, is not always call the correct deployed application.

    We gave to each instance of each application a unique name (for example, Login_1, Login_2, Forms_1, Forms_2, SOA_1, SOA_2).

    Is it possible to install?  Thanks for reading.

    Run multiple instances of WLS.

    We tried several versions running on the server, but we run into a few problems because of the structure of our applications.

    Not several versions but multiple instances are needed. Create a separate WLS domain for each user.

  • Several deployments VM referencing a CSV file - what are csv headings?

    Hi all

    I'm having some difficulty with a CSV file and the creation of multiple virtual machines of script and I was wondering if anyone could help please?

    I have a CSV file with the following headers:

    Name of the server, ESX host, Datastore, NumCPU, MemoryGB, DiskGB, name, disk storage Format, the network ID

    Test-SVR10, 192.168.1.50, ds_01, 1, 4, 40, the VM, slim network, winnetstandardguest

    What I need to add is the type of network adapter (I have a mixture of vmxnet3 and e1000 to deploy) and several discs by VM.

    The script that I have is:

    "c:\scripts\vm-list.csv" import-csv - useculture | %{

    new-vm-name $_. "' Server name '-VMHost $_. "" The ESX host "Datastore-$_. Data store - NumCPU $_. NumCPU - MemoryGB $_. MemoryGB-DiskGB $_. "" DiskGB "-NetworkName $_. "" Network name "DiskStorageFormat-$_. "" The disk storage Format '-ID $_. ID

    }

    If I was typing this one line at a time. (or by using a batch file I think) I could use - DiskGB 10,20,30 adding several drives on the virtual computer, but I can't seem to add in the CSV file, and the error message says something about - parameter which I don't understand.

    I guess it's a case of getting the column headers correct for the information I need to add. Is there a list of topics CSV somewhere?

    It might be interesting to note that I am simply provide the hull of the virtual machine is deployed - are there no need to use a customization script or clone an existing virtual machine / deploy from an existing template.

    See you soon.

    The New-VM cmdlet can handle a table of values for the DiskGB parameter.

    Don't know how you set the disk sizes in the CSV file, but if you placed in the single column, it should be read as a string.

    But you can convert this string to an array.

    For example:

    If you entered '10/20/30' in the DiskGB column in the CSV file, you can do $_. DiskGB.Split('-') for a picture with the 3 values.

  • Several buttons increment counters - bolt moves too early

    Hi all

    Yet once I can't figure out where I'm going wrong - the Pro can spot what I'm doing wrong and put me on the right path?

    Here's what I'm trying to do:

    The learner enters the text in TEBs on a previous screen. The content is stored in variables user and displayed on the screen that you see in the screenshot. The learner must then click on the buttons on the right based on the content they had put in the BER.

    Each press of the button is to success action: increment v_button 1

    I have display at the same time, the number of all buttons in the blue legend on the bottom.

    Now my question: the display of the counties, but I can't get the screen to pause until hits of the learner 'MOVE ON' button on the bottom.

    I played with break/no pause button, put a box to click in the upper left corner with no other function to stop the slide (which usually work around works, but not here)-nothing works. After the duration of 5 sec slide, because the learner has clicked on at least one of the buttons on the right, the bolt moves.

    :-(

    Hope someone can figure it out on my screenshot shady what the h... is wrong in my settings/timeline?

    screenshot timeline.png

    In the hope,.

    Anja

    Hello Anja,

    The four buttons on the right have no suspension, so the reading head will continue. Set to take a break and have this point of suspension before the button move. Attempted to create a small example, here's the timeline. Four unmarked buttons have the action to increment home not with a simple gesture, but with a tip action: Expression v_counter = v_counter + 1

    Why this advanced action, because it also stops the playhead so you don't add to continue as the second statement. Considering that action simple increase will also allow the playhead to continue. This example works very well for me: you can click on the four buttons as many times as you want, at the head of reading remains to 3 dry (these buttons pause). And when the user clicks the button move which is set to go to the next slide, this will be done. I hope that's what you wanted?

    Lilybiri

  • several virtual centres, centralized database?

    Hi all

    I try to extend our current infrastructure and would like to know if you know of any documentation concerning several deployments of virtual center. I think that when installing vcenter he ask if this EGG will be part of an existing VC. My question is simple how it is?, and how the database will be configured?, do I need to deploy a database in the new virtual server Center or it will get all the data to the remote site?

    i.e. I have a server VC in Houston and want to have another VC server in London, but using the same data from houston, but I just want to be able to log on to a local server of vc in London.

    Thanks for any info.

          • If you find this or any other answer useful please consider awarding points by scoring the correct or helpful answer *.

    Looks like you want to vCenter Linked Mode, where you can connect to an instance of vCenter and others. Databases are my distinct knowledge and local preference in each instance for performance reasons, only the vCenter service are interconnected.

    There is a section on the modes in the Manual: http://www.vmware.com/pdf/vsphere4/r40/vsp_40_admin_guide.pdf

    There are also some best practical information here: http://viops.vmware.com/home/docs/DOC-1521

    I hope that helps!

  • Two applications of CVI each calling another version of TestStand

    We have a Test Manager software written in LabWindows CVI.

    A version of the Test Manager wrote in a version more old of the CVI and calls TestStand 3.x.

    A newer version was written in CVI 7.x and also calls TestStand 3.x.

    The latest version of the Test Manager is written in the most recent CVI and the last TestStand.

    We want to install and run the old versions and the new versions on the same PC.

    Will this work?  How the old (and new) Test Manager will select the appropriate version of TestStand?

    For example, we want to execute CVI 7.x and later with TestStand 3.x and with the latest version of TestStand.

    I read the posts earlier to have several deployments of TestStand (or versions) on the same PC.  This case is not quite the same, given that the application calls TestStand and not the opposite.

    Thank you

    RayR

    I don't know which posts, you reference, but they should apply to your situation. The editor interfaces and operator of sequence are not TestStand. They both call the TestStand engine. Because you can only have a single engine was active at a time, you will need to have your high-level program go to the correct. There are a few files of commands here that should help you. Of course, you can run your manager different test programs at the same time.

  • Important: Redundancy lost for BE6K UCS C220 M3S PSU_REDUNDANCY

    Hello team,

    We have several deployments based on servers UCS C220 M3 (the famous BE6K) UA.

    I'm not derived from systems, I'm a guy of the voice.

    In fact, the UCS BE6K C220 M3 comes by default with a single power supply.

    However, in the MMIC, we find many times that an alert is triggered for the redundancy of power and the system LED turns into continuous light.

    Here's the warning: PSU_REDUNDANCY: PS redundancy sensor, redundancy Lost said

    We do not understand why this alert is triggered when we already know that the BE6K server contains only a power supply?

    What is a real problem or a false alarm?

    How we clear this alert?

    In fact the system LED is orange isn't bodes well from the perspective of the customer. As well as when let us it stay in the State of the orange light, we would be not only a more serious problem (and real) can happen?

    The MMIC version is: 1.5.4f

    Please notify.

    Unfortunately not (that I know) but if you go to loopholes in the Server tab, you should be able to view a summary of alerts and check what is happening.

    If it is useful, please rate... If it answers your question, please mark as well for future users.

    -Kenny

  • Compatibiity ISE and wireless

    We are preparing to improve our controllers wireless 7.2.110 to 7.6.130. When I check the ISE compatibility matrix, it does not specifically list 7.6 code WLC as supported by 1.1.4 ISE or ISE 1.2. I guess that's, given 7.5 is listed as supported in the matrix of 1.2. You can check that WLC code 7.6.130 is supported in 1.1.4 AND 1.2.1 ISE ISE?

    Yes. I've done several deployments of ISE with WLCs 7.6 running. That being said, stay away from 7.5. It is not a good code and it is full of questions.

    Thank you for evaluating useful messages!

  • I need a Switch

    I am currently a student working on a project that got designig a network for a small business. So I was hoping that someone could suggest what turned off, I have to use the range of Cisco products. I'm going to need about 285 ports spread across 5 floors. So I think I'm going to need a combination of 24- and 48-Port switches. the network is 100 Mbps. Some of these ports are going to be for Voip, going to need a VLAN. I'm new on this isn't so sure what information you need exactly. I also need a gateway router that can handle both VoIP. Any help would be greatly appreciated.

    Thank you

    gebewick

    Let's see if I can be useful. Can you answer a few questions first on this network that you design?

    (1) what kind of applications will run on the network other than the voice?

    (2) what type of permit VOIP PBX will deploy you? (The manufacturer makes a difference because many of them use proprietary protocols)

    (3) usually 258 ports require several deployments of enterprise-level, do you know how many connections to the LAN and voice by floor connections?

    (4) what type of uplinks will be necessary between switches? Fiber or copper? 1 G or 10G maybe?

    That should be enough to start. Let me know if you have any questions.

  • Cisco ISE 1.2 & Cisco WLC 5508 v7.6

    Hi all

    We intend to upgrade our WLC to 7.6 to fix a bug with FlexConnect customer ACL but I just saw on the ISE Cisco compatibility table which it recommended only up to the WLC 5508 v7.5...

    Cisco told me to avoid 7.5 as it is in a State of defferred if anyone know or are running in a laboratory or production, ISE1.2 with a WLC v7.6 n 5508?

    I wish I knew rather questions of people know before hand than to have to go through a software update, and then restore.

    Thank you all

    Mario Rosa

    Definitely stay away from 7.5. I've done several deployments with the WLCs 7.6 running. The two main issues that I touched were:

    CSCue68065 - in this bug FlexConnect ACL does not work unless you have a regular (non FlexConnect) ACL created with exactly the same name

    CSCuo39416 - CWA does not not on FlexConnect APs. It would apply to you if you have older models APs

    I hope this helps!

    Thank you for evaluating useful messages!

  • AD authentication environment VCSe, VCSC and TMS

    Hello

    We have VCSe, VCSC and TMS work with commissioning on the VCSC through TMS.

    VCS, Version 6.1, 13.1 TMS

    Movi (4.3) external Clients have registration with the VCSC. VCSe does proxy registration.

    Users have been configured on the MSDS. There is still no configured AD authentication.

    Everything works fine.

    We now want to configure AD authentication.

    There are several deployments to do, but for me, some of them are not so sure than others.

    I need a top secure deployment.

    I need ideas to make the deployment.

    Thank you

    Martin

    Hi Martin,

    I understand perfectly what you want, but I do not understand why. When you set a directory of provisioning in TMS to be integrated with AD, users are imported automatically according to the 'search string', that you are configuring. But passwords are not imported from AD, basic information only from users are imported. When any user try to connect, TMS challenge for authentication in real time.

    For me it is not a problem, because the MSDS do not save passwords in its own database. Is this a problem for you? Why?

    If you try to do it only because you want to limit which users are allowed to use the customer Movi, if your problem is the following, so you can solve it by using a 'search filter' in the configuration directory configuration, so that you afin que vous serez will be able to import only users who belong to a specific group, for example.

    Please, explain to me why you want to do.

    Paulo Souza

  • Help with installation of the 1:1 Nat IP agent

    Hi all
    We have several deployments of our application in the different data centers around the world.  Most of them are in Vmware ESX deployments.  All these virtual machines are aware of their private IP (class C subnet).  The hosting provider, and then maps a public IP address to the private IP address with their infrastructure via a 1:1 NAT IP.  So, when I set up the client in our ESX servers, he can see the private IP address.  However when it connects to our server, hyperic to office, it reports incorrect to the hyperic server IP address since it sends the class C IP, not accessible to the public IP address.  Is it possible to replace the IP address of the agent so that it binds to the private IP address, but it sends the public IP address on our server?

    Thank you
    Todd

    Hello

    After having configured agent.properties and configure firewall rules, you rerun HQ - agent.sh installation?

    See you soon,.
    Mirko

  • Heartbeat vs HA

    Hello

    This really sounds like a stupid question, but I was struggling with it.

    A vCenter server is placed on a cluster of several hosts, configured with HA.

    It's done given that HA works in this scenario, and it's one that I have tested on several deployments - HA brings the server elsewhere, and then it runs. All this who is down in the meantime, are things like the DRS.

    So, what is Heartbeat?

    I tried to research it but it's hard to get through the sales pitch. I get VMware statements with questions like "can you afford for all of your infrastructure to go magically offline because you buy Heartbeat" but they reflect reality.

    In a complete scenario of DR, the push is for SRM, which as far as I can see reprised this role.

    I intend to invest some time lab on Heartbeat - I noticed it is now in the plan Director VCP5, but, I feel like I need to know what I'm trying to achieve before I build it.

    Heartbeat provides 'instant' failover with no downtime while HA there will be a brief interruption - this is the big difference.

  • First Pro CC hangs whenever I open a version of a project

    I have a 3 month project that I worked and now I can't open any version of it without it crashing when I open the project. Or... Crashing when I click on the main sequence to display it in the timeline panel.  I have several saved incrementally versions and nothing will work.

    I have a MacBook Pro of the retina 16 GB of 2012. I have not upgraded to the mavericks, won't.

    Hi abbotta911,

    Please do not uninstall all CUDA drivers. Please mention the version of the drivers for the NVidia card. Also, go to the link below and try to update the drivers to the latest version and then restart the machine and try to revive the project.

    http://www.nvidia.com/object/Mac-driver-archive.html

    Kind regards

    Vinay

  • Related clones - they are destroyed once the user disconnects?

    Hello

    I was wondering if install you Clones related, are they dynamically created and destroyed as users connect and disconnect or stay around and take a storage space?

    Thank you

    HCC says:

    One thing I'm a little surprised, it seems that the clones take about 1 GB of space in my case as I put 512 MB of RAM and then use also 384 MB or space for something else.  The other thing, that I'm surprised is the amount of storage required for the deployment of this linked clone.  Basically you need to Parent virtual machine with snapshots and basically a duplicate of this one folder called something like «replica...» "and then of course my clones.

    This is for performance.   by putting a replica on each logical unit number you reduce it strain to the master drive.  and if you do only a small amount of clones you see so much storage recording under when you increase the number

    > It does seem like a very clean deployment or a huge space saver.

    It is a statement of eronous, lager numbers do you the more great saving you gain

    > I'm not exactly sure how other like Citrix or make this a several deployments.

    Exactly in the same way

    About storage needs is the AD / DNS clean which adds to the time of administration.  I'm sure that VMware will try to clean up and streamline some of these questions (I hope).

    Short of running a remove script area when the device is disconnected, not much you can do really.

    On another note: I'm looking to find instructions on creating a VM XP skeleton with the basics required for AD, Antivirus, Office, Outlook, VMware, NAS & Netowrk sharing etc.  I really want to get as small as possible without removing too many features.  It must be useful for the normal user...?

    Do the search on the forums there are ateast 40 threads on this topic.

    If you have found this device or any other answer useful please consider useful or correct buttons using attribute points

    Tom Howarth

    VMware communities user moderator

    Blog: www.planetvm.net

Maybe you are looking for

  • I have to refresh each page at least three times to get it?

    It happens almost every time, when I open the new link, it does not appear if I refresh and wait until it appears, on the other hand I don't have this problem in google chrome

  • Impossible to use the keys FN on my Satellite S50T-A-10Z

    H? I have a Toshiba Satellite S50T-A-10Z. I've recently updated the BIOS. After the update, I realized that I can not use the FN keys. And also I can't turn off my keyboard background light. Before the update, I was able to do by pressing on FN + z.

  • Can satellite A30 - I use a similar motherboard?

    Hello! It is long since I have been on this forum and I missed a lot. I want to ask you a few views of experts if there are possibilities to replace a different motherboard for an old unit that is no longer supported as Satellite A30 - 921. If ever,

  • my laptop shows me a message, solve a problem with your computer

    I m using hp compaq computer laptop

  • Styler DVD

    Hello.  I have window 8.1 and have found that I can't make a record.  I want to make dvd and/or cd with audio and video.   Someone suggested that I get a styling dvd to do.  One suggestion is possible as a brand that is easy to use for a newbee IE me