Quantcast
Channel: VMware Communities : Discussion List - vSphere SDK for Perl
Viewing all 1577 articles
Browse latest View live

How to Put Blu-ray Disc/Folder/ISO file to Surface Pro 2?

$
0
0

This gudie will share you the experience on how to transfer Blu-ray movies to Surface Pro 2 for playing on the go, the easy way to convert Blu-ray disc/folder/ISO files to Surface Pro 2 MP4 format so that you can playback it on Surface Pro 2 smoothly.

 

Q: "For software that has to be loaded from a blu-ray movie, how will I get my software on the Surface Pro? Will I have to use an external blu-ray drive whenever I want to watch blu-ray movie on Surface Pro 2? Or is some other method involved??"

 

A: Surface Pro is just a laptop without a keyboard. You can plug in a disk drive or any of the other peripherals that can be connected to any Windows computer. You could connect an external Blu-ray drive to play a blu-ray disc; but you don't have to so this every time when you want to play Blu-ray movie on Surface Pro 2 as it's inconvenient. In my way, I'd prefer to rip Blu-ray disc to MP4 format that works perfect on Surface Pro 2 for playback.

 

If you want to transfer Blu-ray movies to Surface Pro 2, a professional powerful ripping program will help you a lot. Pavtube Blu-ray to Surface Pro 2 Converter is such a tool with the easiest workflow to help you rip off Blu-ray disc/ISO/folder protection, then convert the decrypted movie to MP4 format with best video settings for Surface Pro 2. Get Blu-ray to Surface Pro 2 Converter for Mac here; well support Mac Mavericks!

 

Note: Now Buy! You can get 30% off on Thanksgiving Hot Deals, don‘t miss it!

 

 

Tutorials: How to transfer Blu-ray to Surface Pro 2?

 

Step 1. Run Blu-ray to Surface Pro 2 Converter; load Blu-ray.

 

This converter does not only support Blu-ray disc/folder/ISO, but also able to convert DVD disc/folder/ISO/IFO files. Your ISO image file would be recognized automatically so there's no need to run virtual drive to mount it any more.

 

 

Step 2. Choose format.

 

Click the drop-down list besides "Format" list, you can find many presets and columns for different devices and programs. Let's switch to "Windows" column and select "Microsoft Surface Windows RT/Pro H.264 Video (*.mp4)" as the best preset for Surface Pro 2. (For Surface 2 users, refer the guide: How to copy Blu-ray movies to Surface 2 for playback easily)

 

Or you can enter "Surface" in the small search box at bottom right corner.

 

 

Step 3. Adjust specs or edit video before conversion (Optional).

 

If you want to customize output video size, bitrate, frame rate and others, just click "Settings" to enter profiles settings window.

 

And you can click the pencil-like icon on the top to crop, trim, edit audio/subtitles/ or add watermarks before conversion.

 

Step 4. Start conversion.

 

Now hit the big red "Convert" to start converting Blu-ray movies to Surface Pro 2 MP4 with best settings for playback.

 

After the conversion, you can get the converted Blu-ray rips in .mp4 format by tapping the Open button.

 

How to transfer media files to Surface Pro 2?

 

To see how much storage space you have:

1. Open the Settings charm, tap or click Change PC settings.

2. Tap or click General.

Scroll down to Available storage, to see how much storage space you have.

Or don't move files to Surface. Store them in the cloud instead using your files on SkyDrive. This way you can access your files from other computers or your phone.

 

You can pick using one of the following methods to transfer video to Surface Pro 2

- Connect to a networked computer

- Use a USB flash drive or a memory card -- microSD, microSDHC, or micro SDXC cards all work with Surface.

 

Connect to a network computer

 

Surface can access music, pictures, videos, and documents on computers that are part of your home network. To see the files and folders that have been shared on your network, go to the Start screen and open File Explorer. Shared items appear under HomeGroup or Network.

 

 

Use a USB flash drive or memory card

You can also move files to Surface, by copying them to a USB flash drive or memory card (microSD, microSDHC, or micro SDXC cards all work with Surface) and then adding the files to Surface. Here's how:

 

1. Copy files onto a USB flash drive or memory card on your other computer.

2. Insert the USB flash drive or memory card into Surface.

3. Tap or click the notification that appears in the upper-right corner of the screen.

 

 

4. Tap or click Open folder to view files.

File Explorer opens.

 

 

5. Select the files or folders you want to add to Surface, tap or click Home, and then tap or click Copy to.

6. Select a location. For example, choose Documents if the flash drive or memory card contains documents.

 

Related Articles:

Microsoft Surface Videos and Movies Playback Tips

Transfer MKV, AVI, VOB, Tivo, WMV, MPG, MTS, FLV/F4V videos to Surface 2

How to copy Blu-ray movies to Surface 2 for playback easily

How to sync iTunes M4V movies to Surface 2 & Surface Pro 2

How to Put 1080p Videos, DVD, Blu-ray movie to Surface 2 & Surface Pro 2

Watch DVD movies on Surface Pro 2 and Surface 2

Play Digital Copy movies on Surface Pro 2 and Surface 2

 

Source: http://mediaconverting.blogspot.com/2013/11/transfer-blu-ray-to-surface-pro-2.html


Getting status of vmhba

$
0
0

My ESXi server has a Dell PERC H710P mini controller. Is there anyway to get the status of the array attached through the perl sdk?

 

Trying to get the status. ie.. OK, degraded, etc...

 

Kevin

Best IDE for vSphere SDK for Perl under linux (with autocomplete)

$
0
0

Hello,

What's the best IDE to use vSphere SDK for Perl under linux ?

I've tried to use Komodo , however for some reason autocomplete doesn't work for me ...

Maybe someone has had the same issue and knows how to fix this?

Thanks a lot!

How to get USB list in ESX-Server?

$
0
0

How can I get USB list in a ESX-Server ?

Bug in SDK: StandbyGuest() no longer asynchronous in 5.5?

$
0
0

Hi,

 

I'm implementing an emergency shutdown script for the UPS controller and found a possible regression/bug/change in 5.5 when using the StandbyGuest() method. As per documentation this should start a standby procedure inside the guest and return immediately to the caller. In all my recent tests on vcenter appliance 5.5, vMA 5.5 or my local linux machine the method blocks until the suspend is finished.

 

Sadly I deleted my previous vcenter 5.1 instance and I'm not aware of a safe possibility to downgrade my current environment.

 

Does anybody know of such changes or has experienced the same in his environment?

Can someone please check the behavior in his environment?

 

Attached is my simplified script - please try it, if you like.

 

Thank you

Nikolaus

Attaching and detaching hardisk from one VM to another and reuse the existing data.

$
0
0

Dear All,

 

I would like to know if following scenario is possible and if it does how to do it with vSphere SDK.

 

We have 2 VM's, having two drives A and D. A drive being used for OS and D being used data and many other stuff. We wanted to know can we remove the Drive 'D' from VM 'A' and place it to VM 'B' and use the existing data without disk being format. How to do this task. Please suggest.

 

Regards,

Nilesh

How to add a SR-IOV device to VM?

$
0
0

I'm trying to reconfigure the VM with following code:

 

sub create_sriov_network_spec {   my ($vm_view, $operation, $physical_backing_info, $virtual_backing_info) = @_;   my $config_spec_operation;   my $device;      $config_spec_operation = VirtualDeviceConfigSpecOperation->new('add');      my $backing_info = VirtualSriovEthernetCardSriovBackingInfo->new(        #physicalFunctionBacking => $physical_backing_info,        virtualFunctionBacking => $virtual_backing_info,        #virtualFunctionIndex => 0,      );      $device = VirtualSriovEthernetCard->new(        key => -1,        #backing => $backing_info,        sriovBacking => $backing_info      );      my $devspec = VirtualDeviceConfigSpec->new(operation => $config_spec_operation,                                                 device => $device);      return $devspec;
}
sub get_config_spec {  my $device_specs = [];  my $sriov_infos = $env_browser_view->QueryConfigTarget(host => $host_view)->sriov;  my $physical_info = @$sriov_infos[0];  my $physical_device = $physical_info->pciDevice;  my $virtual_info = @$sriov_infos[1];  my $virtual_device = $virtual_info->pciDevice;  my $physical_backing_info = VirtualPCIPassthroughDeviceBackingInfo->new(    deviceId => $physical_device->deviceId,    id => $physical_device->id,    vendorId => $physical_device->vendorId,    systemId => $physical_info->systemId,    useAutoDetect => 'true',    deviceName => '',  );  my $virtual_backing_info = VirtualPCIPassthroughDeviceBackingInfo->new(    deviceId => $virtual_device->subDeviceId,    id => $virtual_device->id,    vendorId => $virtual_device->subVendorId,    systemId => $virtual_info->systemId,    useAutoDetect => 'true',    deviceName => '',  );  my $network_spec = VMUtils::create_sriov_network_spec($vm_view, 'add', $physical_backing_info, $virtual_backing_info);  push(@$device_specs, $network_spec);  VirtualMachineConfigSpec->new(deviceChange => $device_specs);
}

But it always fails with error: Invalid configuration for device '0'.

I'm not sure which parameters are necessary, which ones are optional. Please help. Thanks.

Please help clarify below statement made on vsphere SDK.

$
0
0

Dear All,

 

I would appreciate your quick help and response to justify usage of vSphere SDK for creation/deletion of VM.

 

We use vSphere SDK API and written our script to perform creation/deletion/guesos customization of VM's, Till now everything was working fine, suddenly we see our query to Vcenter server web service reports below error message very frequently

 

Error connecting to server at https://dev-vcenter.company.com/sdk/webService: Connection refused

 

I have been told that creation/destroy of VM by querying to vCenter server webservice is not meant for this and there is another product cloud director should be used. I would like to know if this is true.

 

Also why we are getting such connection refused to vcenter server.

 

Please help us this is very urgent to move forward.

 

Regards,

Nilesh Jaiswal


How to refresh/reload folder view after CreateFolder?

$
0
0

The objective:

 

I want to create VMs automatically using the Perl SDK. Therefore I need to create a folder path for creating the VM in the last subfolder finally.

 

Checking and creating folders is working. My problem is that when a (defined) folder does not exist on a certain level, I am going to create it but the view of the current folder is not updated. I need to refresh or reload in a certain way, but I do now know. The 'reload' method is not doing what I want.

 

Any idea or suggestions on how to recursively create some folders?

 

Thanks in advance.

Util::connect(); problem

$
0
0

hello to fellow members i am new to Perl sdk

 

problem : Util::connect($url, $username, $password);

 

when i am using above function in a script i am unable to connect to vcenter  however i am running script.pl --url --username -- passwd its working  when i use the above method it would prompt for a username and paswd

coul any one help on this issue , Would be of great help thank you

What is the lifespan of snapshot.

$
0
0

Dear All,

 

We create VM from snapshot, We would like to know what is the lifespan of snapshot created from VM or after how many days we should re-create snapshot again.

 

-Nilesh

vCenter Linked Mode and Perl SDK

$
0
0

Hello,

our VMware environment is divided into two physical locations represented as two vCenter instances. Both vCenters are linked together. I think its called "Linked Mode"?

 

Is it possible to use the Perl SDK in a Linked Mode too? Currently I have to manually query both our vCenters and then sort the output myself.

 

1) How can I configure Perl SDK so I only have to authenticate once against our Linked mode environment?

 

2) How can I construct queries against the API so results will include objects in both vCenters? Ie. if I execute a "Vim::find_entity_views(view_type => 'VirtualMachine') " query I would like to get all "VirtualMachine" objects in both vCenters so I can avoid executing two seperate queries and then subsequently combining the results?

 

Thanks!

Thomas Willert

truncated responses from requests.

$
0
0

I.m using the simpleclient. I have tried with both --entity HostSystem and --entity VirtualMachine are getting truncated responses. I have altered the die in VICommon.pm at line 2210 to use Dumper to print both the request and response. It seems that response is being chunked and I suppose the code is not properly handling this. Here's the response:

 

SOAP request error - possibly a protocol issue: $VAR1 = bless( {

                 '_content' => '<?xml version="1.0" encoding="UTF-8"?>

   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

                     xmlns:xsd="http://www.w3.org/2001/XMLSchema"

                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

   <soapenv:Body>

<RetrieveProperties xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this>

<specSet><propSet><type>VirtualMachine</type><all>0</all></propSet><objectSet><obj type="Folder">group-d1</obj>

<skip>0</skip><selectSet xsi:type="TraversalSpec"><name>folderTraversalSpec</name><type>Folder</type><path>childEntity</path><skip>0</skip><selectSet><name>folderTraversalSpec</name></selectSet><selectSet><name>datacenterHostTraversalSpec</name></selectSet><selectSet><name>datacenterVmTraversalSpec</name></selectSet><selectSet><name>datacenterDatastoreTraversalSpec</name></selectSet><selectSet><name>datacenterNetworkTraversalSpec</name></selectSet><selectSet><name>computeResourceRpTraversalSpec</name></selectSet><selectSet><name>computeResourceHostTraversalSpec</name></selectSet><selectSet><name>hostVmTraversalSpec</name></selectSet><selectSet><name>resourcePoolVmTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>datacenterDatastoreTraversalSpec</name><type>Datacenter</type><path>datastoreFolder</path><skip>0</skip><selectSet><name>folderTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>datacenterNetworkTraversalSpec</name><type>Datacenter</type><path>networkFolder</path><skip>0</skip><selectSet><name>folderTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>datacenterVmTraversalSpec</name><type>Datacenter</type><path>vmFolder</path><skip>0</skip><selectSet><name>folderTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>datacenterHostTraversalSpec</name><type>Datacenter</type><path>hostFolder</path><skip>0</skip><selectSet><name>folderTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>computeResourceHostTraversalSpec</name><type>ComputeResource</type><path>host</path><skip>0</skip></selectSet><selectSet xsi:type="TraversalSpec"><name>computeResourceRpTraversalSpec</name><type>ComputeResource</type><path>resourcePool</path><skip>0</skip><selectSet><name>resourcePoolTraversalSpec</name></selectSet><selectSet><name>resourcePoolVmTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>resourcePoolTraversalSpec</name><type>ResourcePool</type><path>resourcePool</path><skip>0</skip><selectSet><name>resourcePoolTraversalSpec</name></selectSet><selectSet><name>resourcePoolVmTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>hostVmTraversalSpec</name><type>HostSystem</type><path>vm</path><skip>0</skip><selectSet><name>folderTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>resourcePoolVmTraversalSpec</name><type>ResourcePool</type><path>vm</path><skip>0</skip></selectSet></objectSet></specSet></RetrieveProperties></soapenv:Body></soapenv:Envelope>

',

                 '_uri' => bless( do{\(my $o = 'https://vc.net.ccci.org:443/sdk/webService')}, 'URI::https' ),

                 '_headers' => bless( {

                                        'cookie2' => '$Version="1"',

                                        'user-agent' => 'VI Perl',

                                        'soapaction' => '"urn:vim25/test"',

                                        'content-type' => 'text/xml',

                                        'cookie' => 'vmware_soap_session="525eab47-2416-2cb5-ba1f-dc0b1c8d3072"',

                                        'content-length' => 3141,

                                        '::std_case' => {

                                                          'cookie2' => 'Cookie2',

                                                          'soapaction' => 'SOAPAction',

                                                          'cookie' => 'Cookie',

                                                          'if-ssl-cert-subject' => 'If-SSL-Cert-Subject'

                                                        }

                                      }, 'HTTP::Headers' ),

                 '_method' => 'POST',

                 '_uri_canonical' => bless( do{\(my $o = 'https://vc.net.ccci.org/sdk/webService')}, 'URI::https' )

               }, 'HTTP::Request' );

 

$VAR1 = bless( {

                 '_protocol' => 'HTTP/1.1',

                 '_content' => '<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soapenv:Body>

<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="VirtualMachine">vm-40013</obj></returnval><returnval><obj type="VirtualMachine">vm-25530</obj></returnval><returnval><obj type="VirtualMachine">vm-105364</obj></returnval><returnval><obj type="VirtualMachine">vm-25531</obj></returnval><returnval><obj type="VirtualMachine">vm-92618</obj></returnval><returnval><obj type="VirtualMachine">vm-25527</obj></returnval><returnval><obj type="VirtualMachine">vm-48466</obj></returnval><returnval><obj type="VirtualMachine">vm-107170</obj></returnval><returnval><obj type="VirtualMachine">vm-26066</obj></returnval><returnval><obj type="VirtualMachine">vm-99131</obj></returnval><returnval><obj type="VirtualMachine">vm-25528</obj></returnval><returnval><obj type="VirtualMachine">vm-25532</obj></returnval><returnval><obj type="VirtualMachine">vm-102860</obj></returnval><returnval><obj type="VirtualMachine">vm-102848</obj></returnval><returnval><obj type="VirtualMachine">vm-102442</obj></returnval><returnval><obj type="VirtualMachine">vm-102862</obj></returnval><returnval><obj type="VirtualMachine">vm-25529</obj></returnval><returnval><obj type="VirtualMachine">vm-107348</obj></returnval><returnval><obj type="VirtualMachine">vm-102265</obj></returnval><returnval><obj type="VirtualMachine">vm-25357</obj></returnval><returnval><obj type="VirtualMachine">vm-111712</obj></returnval><returnval><obj type="VirtualMachine">vm-25355</obj></returnval><returnval><obj type="VirtualMachine">vm-37062</obj></returnval><returnval><obj type="VirtualMachine">vm-25359</obj></returnval><returnval><obj type="VirtualMachine">vm-25367</obj></returnval><returnval><obj type="VirtualMachine">vm-68331</obj></returnval><returnval><obj type="VirtualMachine">vm-26160</obj></returnval><returnval><obj type="VirtualMachine">vm-25369</obj></returnval><returnval><obj type="VirtualMachine">vm-25366</obj></returnval><returnval><obj type="VirtualMachine">vm-25362</obj></returnval><returnval><obj type="VirtualMachine">vm-69659</obj></returnval><returnval><obj type="VirtualMachine">vm-70083</obj></returnval><returnval><obj type="VirtualMachine">vm-112089</obj></returnval><returnval><obj type="VirtualMachine">vm-2440</obj></returnval><returnval><obj type="VirtualMachine">vm-1145</obj></returnval><returnval><obj type="VirtualMachine">vm-750</obj></returnval><returnval><obj type="VirtualMachine">vm-25672</obj></returnval><returnval><obj type="VirtualMachine">vm-25667</obj></returnval><returnval><obj type="VirtualMachine">vm-25681</obj></returnval><returnval><obj type="VirtualMachine">vm-25685</obj></returnval><returnval><obj type="VirtualMachine">vm-783</obj></returnval><returnval><obj type="VirtualMachine">vm-934</obj></returnval><returnval><obj type="VirtualMachine">vm-24940</obj></returnval><returnval><obj type="VirtualMachine">vm-24939</obj></returnval><returnval><obj type="VirtualMachine">vm-24937</obj></returnval><returnval><obj type="VirtualMachine">vm-24935</obj></returnval><returnval><obj type="VirtualMachine">vm-24938</obj></returnval><returnval><obj type="VirtualMachine">vm-24932</obj></returnval><returnval><obj type="VirtualMachine">vm-24936</obj></returnval><returnval><obj type="VirtualMachine">vm-24900</obj></returnval><returnval><obj type="VirtualMachine">vm-24902</obj></returnval><returnval><obj type="VirtualMachine">vm-24895</obj></returnval><returnval><obj type="VirtualMachine">vm-943</obj></returnval><returnval><obj type="VirtualMachine">vm-24525</obj></returnval><returnval><obj type="VirtualMachine">vm-66240</obj></returnval><returnval><obj type="VirtualMachine">vm-1051</obj></returnval><returnval><obj type="VirtualMachine">vm-705</obj></returnval><returnval><obj type="VirtualMachine">vm-733</obj></returnval><returnval><obj type="VirtualMachine">vm-806</obj></returnval><returnval><obj type="VirtualMachine">vm-24898</obj></returnval><returnval><obj type="VirtualMachine">vm-24427</obj></returnval><returnval><obj type="VirtualMachine">vm-48293</obj></returnval><returnval><obj type="VirtualMachine">vm-24894</obj></returnval><returnval><obj type="VirtualMachine">vm-26194</obj></returnval><returnval><obj type="VirtualMachine">vm-24533</obj></returnval><returnval><obj type="VirtualMachine">vm-25106</obj></returnval><returnval><obj type="VirtualMachine">vm-24896</obj></returnval><returnval><obj type="VirtualMachine">vm-24904</obj></returnval><returnval><obj type="VirtualMachine">vm-24897</obj></returnval><returnval><obj type="VirtualMachine">vm-24899</obj></returnval><returnval><obj type="VirtualMachine">vm-34196</obj></returnval><returnval><obj type="VirtualMachine">vm-24903</obj></returnval><returnval><obj type="VirtualMachine">vm-24521</obj></returnval><returnval><obj type="VirtualMachine">vm-72462</obj></returnval><returnval><obj type="VirtualMachine">vm-875</obj></returnval><returnval><obj type="VirtualMachine">vm-83084</obj></returnval><returnval><obj type="VirtualMachine">vm-677</obj></returnval><returnval><obj type="VirtualMachine">vm-92619</obj></returnval><returnval><obj type="VirtualMachine">vm-24887</obj></returnval><returnval><obj type="VirtualMachine">vm-1141</obj></returnval><returnval><obj type="VirtualMachine">vm-1019</obj></returnval><returnval><obj type="VirtualMachine">vm-928</obj></returnval><returnval><obj type="VirtualMachine">vm-1029</obj></returnval><returnval><obj type="VirtualMachine">vm-47251</obj></returnval><returnval><obj type="VirtualMachine">vm-25164</obj></returnval><returnval><obj type="VirtualMachine">vm-25163</obj></returnval><returnval><obj type="VirtualMachine">vm-723</obj></returnval><returnval><obj type="VirtualMachine">vm-1345</obj></returnval><returnval><obj type="VirtualMachine">vm-24943</obj></returnval><returnval><obj type="VirtualMachine">vm-1027</obj></returnval><returnval><obj type="VirtualMachine">vm-25621</obj></returnval><returnval><obj type="VirtualMachine">vm-820</obj></returnval><returnval><obj type="VirtualMachine">vm-960</obj></returnval><returnval><obj type="VirtualMachine">vm-945</obj></returnval><returnval><obj type="VirtualMachine">vm-779</obj></returnval><returnval><obj type="VirtualMachine">vm-810</obj></returnval><returnval><obj type="VirtualMachine">vm-79693</obj></returnval><returnval><obj type="VirtualMachine">vm-79697</obj></returnval><returnval><obj type="VirtualMachine">vm-1071</obj></returnval><returnval><obj type="VirtualMachine">vm-106352</obj></returnval><returnval><obj type="VirtualMachine">vm-741</obj></returnval><returnval><obj type="VirtualMachine">vm-24672</obj></returnval><returnval><obj type="VirtualMachine">vm-756</obj></returnval><returnval><obj type="VirtualMachine">vm-24675</obj></returnval><returnval><obj type="VirtualMachine">vm-24386</obj></returnval><returnval><obj type="VirtualMachine">vm-828</obj></returnval><returnval><obj type="VirtualMachine">vm-1015</obj></returnval><returnval><obj type="VirtualMachine">vm-26670</obj></returnval><returnval><obj type="VirtualMachine">vm-25804</obj></returnval><returnval><obj type="VirtualMachine">vm-26733</obj></returnval><returnval><obj type="VirtualMachine">vm-25807</obj></returnval><returnval><obj type="VirtualMachine">vm-25728</obj></returnval><returnval><obj type="VirtualMachine">vm-1046</obj></returnval><returnval><obj type="VirtualMachine">vm-25251</obj></returnval><returnval><obj type="VirtualMachine">vm-1000</obj></returnval><returnval><obj type="VirtualMachine">vm-25175</obj></returnval><returnval><obj type="VirtualMachine">vm-762</obj></returnval><returnval><obj type="VirtualMachine">vm-987</obj></returnval><returnval><obj type="VirtualMachine">vm-26370</obj></returnval><returnval><obj type="VirtualMachine">vm-25249</obj></returnval><returnval><obj type="VirtualMachine">vm-25248</obj></returnval><returnval><obj type="VirtualMachine">vm-25247</obj></returnval><returnval><obj type="VirtualMachine">vm-25250</obj></returnval><returnval><obj type="VirtualMachine">vm-24535</obj></returnval><returnval><obj type="VirtualMachine">vm-996</obj></returnval><returnval><obj type="VirtualMachine">vm-1017</obj></returnval><returnval><obj type="VirtualMachine">vm-956</obj></returnval><returnval><obj type="VirtualMachine">vm-1206</obj></returnval><returnval><obj type="VirtualMachine">vm-24888</obj></returnval><returnval><obj type="VirtualMachine">vm-939</obj></returnval><returnval><obj type="VirtualMachine">vm-1208</obj></returnval><returnval><obj type="VirtualMachine">vm-1143</obj></returnval><returnval><obj type="VirtualMachine">vm-746</obj></returnval><returnval><obj type="VirtualMachine">vm-1204</obj></returnval><returnval><obj type="VirtualMachine">vm-95349</obj></returnval><returnval><obj type="VirtualMachine">vm-681</obj></returnval><returnval><obj type="VirtualMachine">vm-25952</obj></returnval><returnval><obj type="VirtualMachine">vm-25961</obj></returnval><returnval><obj type="VirtualMachine">vm-25948</obj></returnval><returnval><obj type="VirtualMachine">vm-25925</obj></returnval><returnval><obj type="VirtualMachine">vm-26762</obj></returnval><returnval><obj type="VirtualMachine">vm-25960</obj></returnval><returnval><obj type="VirtualMachine">vm-26764</obj></returnval><returnval><obj type="VirtualMachine">vm-26743</obj></returnval><returnval><obj type="VirtualMachine">vm-26746</obj></returnval><returnval><obj type="VirtualMachine">vm-25949</obj></returnval><returnval><obj type="VirtualMachine">vm-25959</obj></returnval><returnval><obj type="VirtualMachine">vm-25951</obj></returnval><returnval><obj type="VirtualMachine">vm-26688</obj></returnval><returnval><obj type="VirtualMachine">vm-25834</obj></returnval><returnval><obj type="VirtualMachine">vm-25958</obj></returnval><returnval><obj type="VirtualMachine">vm-26763</obj></returnval><returnval><obj type="VirtualMachine">vm-1057</obj></returnval><returnval><obj type="VirtualMachine">vm-26852</obj></returnval><returnval><obj type="VirtualMachine">vm-25665</obj></returnval><returnval><obj type="VirtualMachine">vm-25655</obj></returnval><returnval><obj type="VirtualMachine">vm-25693</obj></returnval><returnval><obj type="VirtualMachine">vm-25687</obj></returnval><returnval><obj type="VirtualMachine">vm-25662</obj></returnval><returnval><obj type="VirtualMachine">vm-25690</obj></returnval><returnval><obj type="VirtualMachine">vm-25668</obj></returnval><returnval><obj type="VirtualMachine">vm-25368</obj></returnval><returnval><obj type="VirtualMachine">vm-11231</obj></returnval><returnval><obj type="VirtualMachine">vm-70085</obj></returnval><returnval><obj type="VirtualMachine">vm-25670</obj></returnval><returnval><obj type="VirtualMachine">vm-90142</obj></returnval><returnval><obj type="VirtualMachine">vm-80809</obj></returnval><returnval><obj type="VirtualMachine">vm-85751</obj></returnval><returnval><obj type="VirtualMachine">vm-1247</obj></returnval><returnval><obj type="VirtualMachine">vm-111323</obj></returnval><returnval><obj type="VirtualMachine">vm-6207</obj></returnval><returnval><obj type="VirtualMachine">vm-70080</obj></returnval><returnval><obj type="VirtualMachine">vm-25656</obj></returnval><returnval><obj type="VirtualMachine">vm-11226</obj></returnval><returnval><obj type="VirtualMachine">vm-27665</obj></returnval><returnval><obj type="VirtualMachine">vm-27671</obj></returnval><returnval><obj type="VirtualMachine">vm-85754</obj></returnval><returnval><obj type="VirtualMachine">vm-25666</obj></returnval><returnval><obj type="VirtualMachine">vm-5749</obj></returnval><returnval><obj type="VirtualMachine">vm-70084</obj></returnval><returnval><obj type="VirtualMachine">vm-70081</obj></returnval><returnval><obj type="VirtualMachine">vm-25703</obj></returnval><returnval><obj type="VirtualMachine">vm-101014</obj></returnval><returnval><obj type="VirtualMachine">vm-1245</obj></returnval><returnval><obj type="VirtualMachine">vm-85753</obj></returnval><returnval><obj type="VirtualMachine">vm-111055</obj></returnval><returnval><obj type="VirtualMachine">vm-25677</obj></returnval><returnval><obj type="VirtualMachine">vm-6211</obj></returnval><returnval><obj type="VirtualMachine">vm-25694</obj></returnval><returnval><obj type="VirtualMachine">vm-11218</obj></returnval><returnval><obj type="VirtualMachine">vm-90143</obj></returnval><returnval><obj type="VirtualMachine">vm-80810</obj></returnval><returnval><obj type="VirtualMachine">vm-85750</obj></returnval><returnval><obj type="VirtualMachine">vm-25702</obj></returnval><returnval><obj type="VirtualMachine">vm-25695</obj></returnval><returnval><obj type="VirtualMachine">vm-25680</obj></returnval><returnval><obj type="VirtualMachine">vm-6150</obj></returnval><returnval><obj type="VirtualMachine">vm-11224</obj></returnval><returnval><obj type="VirtualMachine">vm-25340</obj></returnval><returnval><obj type="VirtualMachine">vm-982</obj></returnval><returnval><obj type="VirtualMachine">vm-918</obj></returnval><returnval><obj type="VirtualMachine">vm-688</obj></returnval><returnval><obj type="VirtualMachine">vm-27698</obj></returnval><returnval><obj type="VirtualMachine">vm-26475</obj></returnval><returnval><obj type="VirtualMachine">vm-871</obj></returnval><returnval><obj type="VirtualMachine">vm-25336</obj></returnval><returnval><obj type="VirtualMachine">vm-94279</obj></returnval><returnval><obj type="VirtualMachine">vm-994</obj></returnval><returnval><obj type="VirtualMachine">vm-808</obj></returnval><returnval><obj type="VirtualMachine">vm-907</obj></returnval><returnval><obj type="VirtualMachine">vm-89766</obj></returnval><returnval><obj type="VirtualMachine">vm-89768</obj></returnval><returnval><obj type="VirtualMachine">vm-803</obj></returnval><returnval><obj type="VirtualMachine">vm-3652</obj></returnval><returnval><obj type="VirtualMachine">vm-24748</obj></returnval><returnval><obj type="VirtualMachine">vm-830</obj></returnval><returnval><obj type="VirtualMachine">vm-3689</obj></returnval><returnval><obj type="VirtualMachine">vm-1202</obj></returnval><returnval><obj type="VirtualMachine">vm-110762</obj></returnval><returnval><obj type="VirtualMachine">vm-818</obj></returnval><returnval><obj type="VirtualMachine">vm-832</obj></returnval><returnval><obj type="VirtualMachine">vm-42888</obj></returnval><returnval><obj type="VirtualMachine">vm-96597</obj></returnval><returnval><obj type="VirtualMachine">vm-801</obj></returnval><returnval><obj type="VirtualMachine">vm-1180</obj></returnval><returnval><obj type="VirtualMachine">vm-690</obj></returnval><returnval><obj type="VirtualMachine">vm-25242</obj></returnval><returnval><obj type="VirtualMachine">vm-1182</obj></returnval><returnval><obj type="VirtualMachine">vm-107358</obj></returnval><returnval><obj type="VirtualMachine">vm-785</obj></returnval><returnval><obj type="VirtualMachine">vm-51408</obj></returnval><returnval><obj type="VirtualMachine">vm-110761</obj></returnval><returnval><obj type="VirtualMachine">vm-1110</obj></returnval><returnval><obj type="VirtualMachine">vm-105562</obj></returnval><returnval><obj type="VirtualMachine">vm-108569</obj></returnval><returnval><obj type="VirtualMachine">vm-101894</obj></returnval><returnval><obj type="VirtualMachine">vm-105560</obj></returnval><returnval><obj type="VirtualMachine">vm-1043</obj></returnval><returnval><obj type="VirtualMachine">vm-1055</obj></returnval><returnval><obj type="VirtualMachine">vm-96969</obj></returnval><returnval><obj type="VirtualMachine">vm-52028</obj></returnval><returnval><obj type="VirtualMachine">vm-7777</obj></returnval><returnval><obj type="VirtualMachine">vm-26094</obj></returnval><returnval><obj type="VirtualMachine">vm-25763</obj></returnval><returnval><obj type="VirtualMachine">vm-1218</obj></returnval><returnval><obj type="VirtualMachine">vm-1154</obj></returnval><returnval><obj type="VirtualMachine">vm-26922</obj></returnval><returnval><obj type="VirtualMachine">vm-25678</obj></returnval><returnval><obj type="VirtualMachine">vm-7775</obj></returnval><returnval><obj type="VirtualMachine">vm-1053</obj></returnval><returnval><obj type="VirtualMachine">vm-26035</obj></returnval><returnval><obj type="VirtualMachine">vm-26167</obj></returnval><returnval><obj type="VirtualMachine">vm-1130</obj></returnval><returnval><obj type="VirtualMachine">vm-26025</obj></returnval><returnval><obj type="VirtualMachine">vm-26269</obj></returnval><returnval><obj type="VirtualMachine">vm-25914</obj></returnval><returnval><obj type="VirtualMachine">vm-1165</obj></returnval><returnval><obj type="VirtualMachine">vm-50670</obj></returnval><returnval><obj type="VirtualMachine">vm-25673</obj></returnval><returnval><obj typ',

                 '_rc' => '200',

                 '_headers' => bless( {

                                        'connection' => 'Keep-Alive',

                                        'cache-control' => 'no-cache',

                                        'date' => 'Fri, 20 Dec 2013 18:39:58 GMT',

                                        'client-ssl-cert-issuer' => '/O=VMware Installer',

                                        'client-ssl-cipher' => 'AES256-SHA',

                                        'client-peer' => '10.10.11.11:443',

                                        'client-date' => 'Fri, 20 Dec 2013 18:42:58 GMT',

                                        'x-died' => '-->1 at ./buildPasswordTable line 12.',

                                        'client-ssl-warning' => 'Peer certificate not verified',

                                        'content-type' => 'text/xml; charset=utf-8',

                                        'client-transfer-encoding' => [

                                                                        'chunked'

                                                                      ],

                                        'client-ssl-socket-class' => 'Net::SSL',

                                        'client-response-num' => 2,

                                        '::std_case' => {

                                                          'set-cookie' => 'Set-Cookie',

                                                          'client-response-num' => 'Client-Response-Num',

                                                          'client-ssl-cert-issuer' => 'Client-SSL-Cert-Issuer',

                                                          'client-ssl-cipher' => 'Client-SSL-Cipher',

                                                          'client-peer' => 'Client-Peer',

                                                          'client-aborted' => 'Client-Aborted',

                                                          'set-cookie2' => 'Set-Cookie2',

                                                          'client-date' => 'Client-Date',

                                                          'x-died' => 'X-Died',

                                                          'client-ssl-warning' => 'Client-SSL-Warning',

                                                          'client-ssl-cert-subject' => 'Client-SSL-Cert-Subject',

                                                          'client-transfer-encoding' => 'Client-Transfer-Encoding',

                                                          'client-ssl-socket-class' => 'Client-SSL-Socket-Class'

                                                        },

                                        'client-aborted' => 'die',

                                        'client-ssl-cert-subject' => '/O=VMware, Inc./OU=VMware, Inc./CN=VMware default certificate/emailAddress=support@vmware.com'

                                      }, 'HTTP::Headers' ),

                 '_msg' => 'OK',

                 '_request' => bless( {

                                        '_content' => '<?xml version="1.0" encoding="UTF-8"?>

   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

                     xmlns:xsd="http://www.w3.org/2001/XMLSchema"

                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

   <soapenv:Body>

<RetrieveProperties xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this>

<specSet><propSet><type>VirtualMachine</type><all>0</all></propSet><objectSet><obj type="Folder">group-d1</obj>

<skip>0</skip><selectSet xsi:type="TraversalSpec"><name>folderTraversalSpec</name><type>Folder</type><path>childEntity</path><skip>0</skip><selectSet><name>folderTraversalSpec</name></selectSet><selectSet><name>datacenterHostTraversalSpec</name></selectSet><selectSet><name>datacenterVmTraversalSpec</name></selectSet><selectSet><name>datacenterDatastoreTraversalSpec</name></selectSet><selectSet><name>datacenterNetworkTraversalSpec</name></selectSet><selectSet><name>computeResourceRpTraversalSpec</name></selectSet><selectSet><name>computeResourceHostTraversalSpec</name></selectSet><selectSet><name>hostVmTraversalSpec</name></selectSet><selectSet><name>resourcePoolVmTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>datacenterDatastoreTraversalSpec</name><type>Datacenter</type><path>datastoreFolder</path><skip>0</skip><selectSet><name>folderTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>datacenterNetworkTraversalSpec</name><type>Datacenter</type><path>networkFolder</path><skip>0</skip><selectSet><name>folderTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>datacenterVmTraversalSpec</name><type>Datacenter</type><path>vmFolder</path><skip>0</skip><selectSet><name>folderTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>datacenterHostTraversalSpec</name><type>Datacenter</type><path>hostFolder</path><skip>0</skip><selectSet><name>folderTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>computeResourceHostTraversalSpec</name><type>ComputeResource</type><path>host</path><skip>0</skip></selectSet><selectSet xsi:type="TraversalSpec"><name>computeResourceRpTraversalSpec</name><type>ComputeResource</type><path>resourcePool</path><skip>0</skip><selectSet><name>resourcePoolTraversalSpec</name></selectSet><selectSet><name>resourcePoolVmTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>resourcePoolTraversalSpec</name><type>ResourcePool</type><path>resourcePool</path><skip>0</skip><selectSet><name>resourcePoolTraversalSpec</name></selectSet><selectSet><name>resourcePoolVmTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>hostVmTraversalSpec</name><type>HostSystem</type><path>vm</path><skip>0</skip><selectSet><name>folderTraversalSpec</name></selectSet></selectSet><selectSet xsi:type="TraversalSpec"><name>resourcePoolVmTraversalSpec</name><type>ResourcePool</type><path>vm</path><skip>0</skip></selectSet></objectSet></specSet></RetrieveProperties></soapenv:Body></soapenv:Envelope>

',

                                        '_uri' => bless( do{\(my $o = 'https://vc.net.ccci.org:443/sdk/webService')}, 'URI::https' ),

                                        '_headers' => bless( {

                                                               'cookie2' => '$Version="1"',

                                                               'user-agent' => 'VI Perl',

                                                               'soapaction' => '"urn:vim25/test"',

                                                               'content-type' => 'text/xml',

                                                               'cookie' => 'vmware_soap_session="525eab47-2416-2cb5-ba1f-dc0b1c8d3072"',

                                                               'content-length' => 3141,

                                                               '::std_case' => {

                                                                                 'cookie2' => 'Cookie2',

                                                                                 'soapaction' => 'SOAPAction',

                                                                                 'cookie' => 'Cookie',

                                                                                 'if-ssl-cert-subject' => 'If-SSL-Cert-Subject'

                                                                               }

                                                             }, 'HTTP::Headers' ),

                                        '_method' => 'POST',

                                        '_uri_canonical' => bless( do{\(my $o = 'https://vc.net.ccci.org/sdk/webService')}, 'URI::https' )

                                      }, 'HTTP::Request' )

               }, 'HTTP::Response' );

Modify the vCLI included vmcreate.pl to add a dvsport nic device

$
0
0

Hi there,

 

Perl-aware skills here, but very rusty right now. I'm familiar with most constructs. I'm a newbie to the VM Perl SDK and vCLI components.

 

Having some challenges figuring out how to modify vmcreate.pl to create a VM with a nic that is in a dvsportgroup. I want to add a client to the following VDS and portgroup

 

dvs VMTraffic 1
   Name: dvs VMTraffic 1
   VDS ID: 1f a6 3f 50 fe 04 37 81-7a 2e 59 61 2d cf e2 bc
   Class: etherswitch
   Num Ports: 256
   Used Ports: 35
   Configured Ports: 256
   MTU: 1500
   CDP Status: listen
   Beacon Timeout: -1
   Uplinks: vmnic5, vmnic4, vmnic3, vmnic2
   VMware Branded: true
   DVPort:

 

DVPortgroup ID: dvportgroup-70

 

 

I've taken a look at updateVMPortgroup.pl on the vghetto site, but am confused as to how to reconcile the DVS* method calls contained in it with the nic config section in vmcreate.pl:

 

The createvm.pl network interface section below makes fairly good sense to me. Create the device backing info, some vd_info and, instantiate the nic object as a PCNet32 type with the backing info and the vd connect info, and then create a network spec object to subsequently push info the @vm_devices array (push onto array not shown below).

 

 

if($network_name eq $_->name) {
            $network = $_;
            my $nic_backing_info =
               VirtualEthernetCardNetworkBackingInfo->new(deviceName => $network_name,
                                                          network => $network);

 

            my $vd_connect_info =
               VirtualDeviceConnectInfo->new(allowGuestControl => 1,
                                             connected => 0,
                                             startConnected => $poweron);

 

            my $nic = VirtualPCNet32->new(backing => $nic_backing_info,
                                          key => 0,
                                          unitNumber => $unit_num,
                                          addressType => 'generated',
                                          connectable => $vd_connect_info);

 

            my $nic_vm_dev_conf_spec =
               VirtualDeviceConfigSpec->new(device => $nic,
                     operation => VirtualDeviceConfigSpecOperation->new('add'));

 

 

 

I'm a bit more confused about the updateVMportgroup.pl section. I think its partly due to the fact that the code is assuming there is an existing DVSport config on an exiting vm, so we need to do a reconfig on the vm and not a configspec create. Can someone possibly write out in pseudocode what the code below actually does?

 

                $vnic_device->deviceInfo->summary($portgroup);
                my $connection = new DistributedVirtualSwitchPortConnection(
                portgroupKey => $dvportgroup_mo_ref,
                switchUuid => $dvs_uuid,
                                        );
                my $backing = new VirtualEthernetCardDistributedVirtualPortBackingInfo(port => $connection);
                $vnic_device->backing($backing);
                my $vm_dev_spec = VirtualDeviceConfigSpec->new(device => $vnic_device,operation => $config_spec_operation);

 

                my $vmPortgroupChangespec = VirtualMachineConfigSpec->new(deviceChange => [ $vm_dev_spec ] );

 

 


I guess one of my first questions for my vmcreate script is do I need to define a nic (via VirtualEthernetCardNetworkBackingInfo, VirtualDeviceConfigSpec, etc) first and then a DVPG port linking (via DistributedVirtualSwitchPortConnection, VirtualEthernetCardDistributedVirtualPortBackingInfo, etc) object and then somehow link them, or does the DVPG port backing info get pushed into the @vm_devices array for the virtual machine spec. Further, how would I say 'create DVP backing info for 'dvs VMTraffic 1' and its 'portgroup-70' outlined above from my esxi server dvs vswitch config.

 

Thanks for all your help.

 


 


vmcreate.pl and Distributed Virtual Switches...

$
0
0

Hi,

 

I use the vmcreate.pl example to create a new vm. Everything is working fine, except if I try to connect the nic to a PortGroup of a Distributed Virtual switch.

 

There is no error from the script, but the VM is not correct connected to the PortGroup. Have anybody got an idea how to do this?

 

 

Thanks!

 

 

Willi


How do I change the licenseManager focus to be a host when connected to a vCenter server

$
0
0

I've been using the VMware Perl SDK.

 

I've been writing a script to query host licensing.

 

When I connect directly to a host, I am able to query that hosts ESX(i)'s license, if it is in evaluation mode or not. I am happy with that functionality.

 

When I connect to a vCenter server, I want to be able to change the licenseManager focus to be a specific host. How do I do this?

 

for example:

my $service_content = Vim::get_service_content();

my $license_manager = Vim::get_view(mo_ref => $service_content->licenseManager);

 

With the above code, when I connect to vCenter the focus is on the vCenter server's licenses and all licenses it has.

 

I would like to be able to focus on a particular host. How do I do this this?

How to Boot a Virtual Machine on an ESX Server from CD-ROM ?

$
0
0

Hello,

 

I want a Virtual Machine (VM) to always boot from the CD-ROM.

I am able to set the boot options and set the CD-ROM as the first priority. However, when the VM boots, there is a 5-second window, which asks to send a keystroke to boot from the CD-ROM.

 

Using the vSphere Perl SDK, there is no way to send this keystroke (or is there ??)

 

How can this be achieved using only APIs and not actually going to the vSphere Client or Web Client to interact with the VM ?

How to Copy DVD disc to Kindle Fire HD on Windows 8.1/Mavericks

$
0
0

How to Copy DVD disc to Kindle Fire HD on Windows 8.1/Mavericks

 

Wanna play your DVD movies on Kindle Fire HD? It is really difficult for us to find an effective player to resolve all our DVD videos. Actually, with the help of Pavtube DVD Ripper, we can easily deal with DVD playback issues.

 

The Kindle Fire HD is the second generation of Amazon's Kindle Fire line of color touchscreen tablet computers. It features a new 1280×800 high definition LCD display that brings greater experience on movie watching. Recetly I got my Kindle for watching films or backing up my DVD Collection.

 

See Also: Amazon Kindle Fire HD Column

 

 

However, as we know, Kindle Fire HD can't play DVD directly because it can't have a DVD drive. Kindle Fire HD supports MPEG4, VP8, H.263 videos. To watch DVDs on my new Kindle Fire HD, I think I need to use a DVD ripping software to help you convert DVD to Kindle Fire HD supported video files such as MP4 format.

 

After trying a few free DVD converters, finallly I find Pavtube DVD to Kindle Fire HD Converter (Alternative Mac version) and purchased it so I can watch my DVD's on my new Kindle Fire HD. I choose Pavtube because the interface was very clear and the whole process seemed very straight- forward. It does a great job in ripping my DVD movies no matter from DVD discs, DVD movie folders, or DVD IFO/ISO image files to a common video for my Kindle Fire HD and a HTC cell phone too. (Learn more about Pavtube Best Sellers and Popular Softwares)

 

Review:2014 Top 5 Best DVD Rippers | Which One Will You Choose?

 

Both the two programs are 30% off now.

 

How to convert DVD to Kindle Fire HD playable video format?

 

The below guide uses DVD to Kindle Fire HD Converter for Windows (Windows 8.1 included) screenshots. The way to rip DVD files to your Kindle Fire HD on Mac (Mavericks included) is almost the same. Just make sure you ge the right version.

 

Step 1. Add DVD files to the program.

 

Insert DVD movies into your DVD drive, then click "Load file" button to navigate to DVD movies you want to convert. As you can see, added files can be previewed on the right viewing window. You can adjust the video volume and take snapshots of your favorite movie scenes.

 

 

Step 2. Set output options for Kindle Fire HD.

 

Now choose the output format for playback on your Kindle Fire HD. You can get optimized videos for Kindle Fire HD under Format > Android > Amazon Kindle Fire HD H.264(*.mp4). The output videos could fit on your device perfectly. And choose the destination folder to save the converted videos.

 

 

Tips:

1. If you want to keep multiple audio tracks and subtitle streams when ripping DVD to MP4, MKV and MOV video, you can try to use Pavtube DVD Ripper Pro: ByteCopy (or Mac version)

 

2. You can click "Settings" to tweak the detailed video and audio encoding settings. Or click "Edit" button to trim video into several segments by setting a specific output file size, append special effects, crop video screen area, add text/picture watermark.

 

 

Step 3. Start the DVD to Kindle Fire HD conversion.

 

After all the above settings, simply click "Convert" button to start converting DVD to Kindle Fire HD MP4 video for playing. Just wait for the converting process to be done.

 

After that, find the converted videos in your output folder and transfer them to your Kindle Fire HD. In this way, you can play DVD files on Kindle Fire HD and enjoy them on the go.

 

P.S. If you have no idea about Kindle Fire HD file transfer, you can check out the post Synchronizing Your Content files to Kindle Fire HD to learn more.

 

Read More:

Convert DVD ISO/IFO to Kindle Fire HD 7/8.9 on Windows/Mac

Rip/Copy Blu-ray movies to Kindle Fire HD

Top 10 Kindle Fire HD FAQs, Tips and Tricks

Is it possible to play DVD VOB videos on Kindle Fire HD?

Free Transfer and Play AVCHD MTS/M2TS videos onto Kinfle Fire HD

How to sync iTunes movies, music to Kindle Fire HD

Transfer Digital Copy movies to Kindle Fire HD

 

Source:How to Copy DVD disc to Kindle Fire HD on Windows 8.1/Mavericks

Getting 500 EOF while deploying a vm using perl

$
0
0

I'm new to perl. I just went through some sample scripts that came with the perl sdk and then I started writing the scripts(so the question Im asking might have a silly answer) I'm using Perl SDK 5.0.0-422456. And Im using  vCenter 5.0.0

 

The problem I'm facing is when I'm trying to import a VM. Since the HttpNfcLease object has to be regularly updated to prevent it from expiring , I'm using a chunked uploading of the .vmdk files. the problem is if my chunk size is below 20bytes , the script runs and the VM is imported just fine. But if the chunk size is above 20 bytes , the script just stops with the error 500 EOF. Using the 20bytes chunk size is not feasible because it was taking days or even weeks to import a VM of size 20GB+

 

I'm attaching the script I wrote and the output I'm getting  when I run the script with a size of 1024 bytes.

 

When the chunked uploading was not working , I tried multithreading(the new thread updates the HttpNfcLeaseProgress) and forking(parent process keeps updating the progress while waiting for the child process to end and the child process does the uploading) but both of it didnt work. the script just crashed when the multithreading or the forking began. I think its a problem of the SDK.

 

btw im using ActivPerl 5.8.8

 

If no one can solve this issue can someone provide me with some pointers as to how to do this task(or maybe even a completed script)?

can vsphere SDK to provisioning VM work cloud director

$
0
0

Dear All,

 

We have written perl script using vsphere SDK to create/delete/configure/add disk to VM. I would like to know if we install cloud director in our lab, Should we still be able to use these script to provisioning the VM from command line or cloud director exposes another set of API something like REST API. Any document link for the same would be great help.

 

Regards,

Nilesh

Viewing all 1577 articles
Browse latest View live




Latest Images