login vsi company logo login vsi company logo 250x40
header-01.jpg

Forum Announcement

The Login VSI forum has been disabled and now only serves as an archive. If you would like to submit a new support ticket, please send an email to support@loginvsi.com.

Adding Launchers with Random names in DNS

  • Robinson
  • Robinson's Avatar Topic Author
04 Sep 2014 21:25 #2138

Hi there, first time poster :)

I need to set up a testing environment for 3000 concurrent connections(XenApp Shared Desktops on Vmware). My colleagues have kindly setup 100 launcher machines for me. Each machine is registered in DNS with a default Windows computer name (e.g. WIN-7K57M8D9TC7). Is there a quick way to get these 100 machines into my launcher list without doing it one by one?

Any suggestions would be appreciated - If I have to enter them manually so be it, but if there's an easier way!

thanks

Please Log in to join the conversation.

More
04 Sep 2014 22:48 #2139

Hello,

Do you have any way of retrieving just the launchers? Are that all added to a specific OU or something like that? The code below was used to get VM names from System Center virtual machine manager and put their hostnames into the launcher.ini file. You could perhaps use something like that.

$VMs = get-vm -VMMServer VMMServer -name PVVSI*
 
foreach ($VM in $VMs)
{
$name = $VM.ComputernameString.replace('.domain.local','')
add-content launcher.ini "[$name]`n"
add-content launcher.ini "Capacity=50`n"
add-content launcher.ini "Disabled=0`n"
add-content launcher.ini "CMLaunch=0`n"
add-content launcher.ini "Notes=`n"
}

Please Log in to join the conversation.

  • Robinson
  • Robinson's Avatar Topic Author
04 Sep 2014 22:57 #2140

Excellent, thanks for that - this has got a few cogs spinning in my head - I was trying to find where the launcher config was stored.

Please Log in to join the conversation.

Start Delivering the Best End User Experience Today

Request a Demo

Login VSI, Inc.

3945 Freedom Circle
Suite 670
Santa Clara, CA 95054

Phone: +1 408 899 7418

Login VSI B.V.

De Entree 85
1101 BH Amsterdam
The Netherlands

Phone: +31 20 705 1200