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

createvm.pl executon error could any one help me out

$
0
0

problem description : Ubuntu machine 12.04

                              vcli and per modules are sucessfully installed

 

 

/vmcreate.pl --url https://xx.xx.xx.xx:443/sdk/webService --username root --password "xxx" --filename /usr/lib/vmware-vcli/apps/sampledata/vmcreate.xml --schema /usr/lib/vmware-vcli/apps/schema/vmcreate.xsd

 

 

Error creating VM 'TestVM': Host 'ABC.XXX.XXX' not found ?????



however i am able to connect through seesion.pl and its working fine could any one point me to rigth script or the  mistake



thank you


Can't get vim_service - the session object is uninitialized or not logged in at C:/Perl/site/lib/VMware/VICommon.pm line 1654.

$
0
0

Hi,

 

When I use ViPerlToolkit to create a virtual disk on a datastore, I always get this error, do you have any idea on this please?

 

my codes are like:

 

     my $vimObj = Vim->new(server => XXX);

     my $content = $vimObj->get_service_content();

     my $vDiskManager= $vimObj->get_view(mo_ref => $content->virtualDiskManager);

     $vDiskManager->CreateVirtualDisk_Task(

        name => XXX,

        spec => XXX,

    );

 

Any comments will be appreciate!

 

Thanks

Connection to vCenter/ESX with one time credentials even after changing password on server

$
0
0

Hi,

 

Is there any way we can connect to the vCenter/ESX from client with single time credentials, and that can connect to vCenter even after changing the password of vcenter user.

 

Here my requirement is to connect to vCenter periodically without asking the user to enter credentials every time even after changing password of user with one time credentials .

 

Thanks in advance.

how to list the Chassis and Blades of datacenter or c hassis and Blades of host/vm

$
0
0

Hi Friends,

 

               I need a perl api script to list the Chassis and Blades of  datacenter or c hassis and Blades of host/vm in vcenter web client.

creatClusterEx fails with "A specified parameter was not correct"

$
0
0

Hi All,

 

I am trying to create a new cluster on a vCenter using the creatCluster method. The commands fails with "A specified parameter was not correct" error message.

I call the method like this:

$parent->CreateClusterEx('name'=>"Cluster2",'spec'=>$clusterSpec);

 

Here is the data::dumper output for the $clusterSpec :

$VAR1 = bless( {
                 'dasConfig' => bless( {
                                         'vmMonitoring' => 'vmMonitoringDisabled',
                                         'hostMonitoring' => 'disabled',
                                         'enabled' => 0
                                       }, 'ClusterDasConfigInfo' )
               }, 'ClusterConfigSpec' );

 

And here the data::Dumper output for the fault error returned by the clusterCreateEX method:

VAR1 = bless( {
                 'detail' => bless( {}, 'InvalidArgument' ),
                 'fault_string' => 'A specified parameter was not correct.
',
                 'name' => 'InvalidArgumentFault'
               }, 'SoapFault' );

 

 

When i removed the "spec" passed to the method (i.e create a cluster with default settings), it passed.

 

Can anyone help understand what i'm doing wrong here?

 

Regards,

Dori

Windows 2012 R2 core

$
0
0

Hi guys,

 

    I've been trying to create a Windows 2012R2 Core template and I think I've succeeded in automating almost every aspect of the deployment of such a template but I'm facing an issue that makes the use of that template impossible...  Everything is working fine BUT I cannot get the DNS Suffix to be added to the connection OR the global settings!  Does anybody else experienced this issue?  Are there any workarounds available?  It works for all other OSes/Distributions/etc...  We are still at ESXi 5.0, perhaps 5.5 will solve this behavior.

 

Also, I know it's not related to the Perl SDK but, have you noticed how a core deployment is different from a GUI deployment?   I mean, even powershell doesn't have the same synthax for a simple IF() !!!

 

Thank you very much,

 

Dave

 

Here is my snippet of code :

   my $customization_global_settings = CustomizationGlobalIPSettings->new(dnsServerList=>\@dns,dnsSuffixList=>\@dsuf);

   my $cust_name = CustomizationVirtualMachineName->new();

   my $customization_fixed_ip = CustomizationFixedIp->new(ipAddress => $ipaddr);

   my $cust_ip_settings = CustomizationIPSettings->new( gateway => \@gateway, subnetMask => $netmask, dnsServerList=> \@dns, dnsDomain => "$domain", ip => $customization_fixed_ip);

   my $cust_adapter_mapping = CustomizationAdapterMapping->new(adapter => $cust_ip_settings);

   push @cust_adapter_mapping_list, $cust_adapter_mapping;

Hardware Infos of VM ?

$
0
0

Hi Friends,

 

I need a perl api script to get these information ('Video card','SCSI controller','CD/DVD drive','Network adapter','VMCI device')  of a Virtual Machine? Can any one help me ?

esxcli doesn't work with credstore

$
0
0

Anyone encountered and found a solution to this?

 

Welcome to vSphere Management Assistant
vi-admin@vmat:~> /usr/lib/vmware-vcli/apps/general/credstore_admin.pl add --server VLT02000 --username root
Enter password:
Re-enter password:
New entry added successfully
vi-admin@vmat:~> /usr/lib/vmware-vcli/bin/esxcli/esxcli --debug --server VLT02000 network ip connection list
Connect to VLT02000 failed:
Error returned by expat parser: not well-formed (invalid token)
while parsing serialized value of type string
at line 3, column 114
while parsing call information for method Login
at line 3, column 14
while parsing SOAP body
at line 3, column 0
while parsing SOAP envelope
at line 2, column 0
while parsing HTTP request for method login
on object of type vim.SessionManager
at line 1, column 0
vi-admin@vmat:~> /usr/lib/vmware-vcli/apps/general/credstore_admin.pl remove --server VLT02000 --username root
Existing entry deleted successfully.
vi-admin@vmat:~> /usr/lib/vmware-vcli/bin/esxcli/esxcli --debug --server VLT02000 network ip connection list
Enter username: root
Enter password:
Proto  Recv Q  Send Q  Local Address      Foreign Address      State        World ID  World Name   
-----  ------  ------  -----------------  -------------------  -----------  --------  ---------------
tcp         0       0  127.0.0.1:8307     127.0.0.1:53120      ESTABLISHED   7857968  hostd-worker 
tcp         0       0  127.0.0.1:53120    127.0.0.1:8307       ESTABLISHED      3499  hostd-worker 
tcp         0       0  127.0.0.1:55214    127.0.0.1:8089       TIME_WAIT           0               
tcp         0       0  127.0.0.1:55664    127.0.0.1:8307       TIME_WAIT           0               
tcp         0       0  127.0.0.1:5988     127.0.0.1:54962      FIN_WAIT_2          0               
tcp         0       0  127.0.0.1:54962    127.0.0.1:5988       CLOSE_WAIT       3501  hostd-worker 
tcp         0       0  127.0.0.1:8307     127.0.0.1:57388      ESTABLISHED      3501  hostd-worker 
tcp         0       0  127.0.0.1:57388    127.0.0.1:8307       ESTABLISHED      2786  hostd-worker 
tcp         0       0  127.0.0.1:80       127.0.0.1:59555      ESTABLISHED      3500  hostd-worker 
tcp         0       0  127.0.0.1:59555    127.0.0.1:80         ESTABLISHED    523245  sfcb-vmware_bas
tcp         0    1403  127.0.0.1:8307     127.0.0.1:50322      ESTABLISHED      3096  hostd-worker 
tcp         0       0  127.0.0.1:50322    127.0.0.1:8307       ESTABLISHED      3038  vpxa-worker  
tcp         0       0  127.0.0.1:8307     127.0.0.1:49948      ESTABLISHED      3385  hostd-worker 
tcp         0       0  127.0.0.1:49948    127.0.0.1:8307       ESTABLISHED      3041  vpxa-worker  
tcp         0       0  127.0.0.1:8307     127.0.0.1:50022      ESTABLISHED      3499  hostd-worker 
tcp         0       0  127.0.0.1:50022    127.0.0.1:8307       ESTABLISHED      3038  vpxa-worker  
tcp         0       0  127.0.0.1:8089     127.0.0.1:60654      ESTABLISHED   1208202  vpxa-worker  
tcp         0       0  127.0.0.1:60654    127.0.0.1:8089       ESTABLISHED      3710  hostd-worker 
tcp         0       0  127.0.0.1:8089     127.0.0.1:53790      ESTABLISHED   1208202  vpxa-worker  
tcp         0       0  127.0.0.1:53790    127.0.0.1:8089       ESTABLISHED      2789  hostd-worker 
tcp         0       0  127.0.0.1:8307     127.0.0.1:57526      ESTABLISHED      3501  hostd-worker 
tcp         0       0  127.0.0.1:57526    127.0.0.1:8307       ESTABLISHED      3385  hostd-worker 
tcp         0       0  127.0.0.1:80       127.0.0.1:57324      ESTABLISHED      3711  hostd-worker 
tcp         0       0  127.0.0.1:57324    127.0.0.1:80         ESTABLISHED    517224  sfcb-vmware_bas
tcp         0       0  127.0.0.1:8089     0.0.0.0:0            LISTEN           3034  vpxa-worker  
tcp         0       0  127.0.0.1:12000    0.0.0.0:0            LISTEN           3034  vpxa-worker  
tcp         0       0  127.0.0.1:8307     127.0.0.1:51261      ESTABLISHED      3385  hostd-worker 
tcp         0       0  127.0.0.1:51261    127.0.0.1:8307       ESTABLISHED      3100  vpxa-worker  
tcp         0       0  127.0.0.1:8307     127.0.0.1:51255      CLOSE_WAIT       3096  hostd-worker 
tcp         0       0  127.0.0.1:51255    127.0.0.1:8307       FIN_WAIT_2       2843  hostd-worker 
tcp         0       0  127.0.0.1:5988     0.0.0.0:0            LISTEN              0               
tcp         0       0  0.0.0.0:5989       0.0.0.0:0            LISTEN              0               
tcp         0       0  127.0.0.1:8889     0.0.0.0:0            LISTEN           3191  openwsmand   
tcp         0       0  127.0.0.1:49152    0.0.0.0:0            LISTEN           2786  hostd-worker 
tcp         0       0  127.0.0.1:8307     0.0.0.0:0            LISTEN           2786  hostd-worker 
tcp         0       0  127.0.0.1:8309     0.0.0.0:0            LISTEN           2786  hostd-worker 
tcp         0       0  0.0.0.0:80         0.0.0.0:0            LISTEN           2786  hostd-worker 
tcp         0       0  0.0.0.0:443        0.0.0.0:0            LISTEN           2786  hostd-worker 
tcp         0       0  127.0.0.1:12001    0.0.0.0:0            LISTEN           2786  hostd-worker 
tcp         0       0  127.0.0.1:427      0.0.0.0:0            LISTEN              0               
tcp         0       0  0.0.0.0:22         0.0.0.0:0            LISTEN              0               
tcp         0       0  0.0.0.0:902        0.0.0.0:0            LISTEN              0               
tcp         0       0  0.0.0.0:8000       0.0.0.0:0            LISTEN           2626               
tcp         0       0  0.0.0.0:8100       0.0.0.0:0            LISTEN           2626               
udp         0       0  0.0.0.0:0          0.0.0.0:0                             2786  hostd-worker 
udp         0       0  0.0.0.0:161        0.0.0.0:0                             2786  hostd-worker 
udp         0       0  0.0.0.0:427        0.0.0.0:0                                0               
udp         0       0  0.0.0.0:8200       0.0.0.0:0                             2626               
udp         0       0  0.0.0.0:8301       0.0.0.0:0                             2626               
udp         0       0  0.0.0.0:8302       0.0.0.0:0                             2626               
vi-admin@vmat:~>

 

The esxcli command works fine when using username/password but not when using the credstore authentication.

This wouldn't normally be a problem but I want to use this in scripts and having a clear text password in there isn't making me happy.

 

regards

Gudmo


Network label of a portgroup is kept in UNICODE internally.

$
0
0

Hi, everybody

==============
1 my $host = Vim::find_entity_view(view_type => 'HostSystem', filter => {name => $hostname}, properties => ['name', 'network']);
2 print Dumper $host->network;
3 my $network = Vim::get_views(mo_ref_array => $host->network, properties => ['name', 'host', 'vm']);
4 foreach (@$network) {
5     print Dumper $_;
6 }
==============
i ran above code, but i got the error below at lint 3.
==============
Content-Length header value was wrong, fixed at C:/VMware/vSphereCLI5.0/Perl/lib/LWP/Protocol/http.pm line 189.
SOAP Fault:
-----------
Fault string:
Error returned by expat parser: unclosed token
while parsing SOAP body
at line 5, column 3
while parsing SOAP envelope
at line 2, column 3
while parsing HTTP request for method retrieveContents
on object of type vmodl.query.PropertyCollector
at line 1, column 0
Fault detail: InvalidRequestFault
==============
line 2 output details of the networks shown below. yes, the name of network is in UNICODE rather than UTF-8.
==============
$VAR1 = [
          bless( {
                   'value' => 'HaNetwork-VM Network',
                   'type' => 'Network'
                 }, 'ManagedObjectReference' ),
          bless( {
                   'value' => "HaNetwork-\x{4eee}\x{60f3}\x{30de}\x{30b7}\x{30f3} \x{30cd}\x{30c3}\x{30c8}\x{30ef}\x{30fc}\x{30af}",
                   'type' => 'Network'
                 }, 'ManagedObjectReference' )
        ];
==============
any hint is appreciated. thanks in advance.

SOAP error with VMware-vSphere-Perl-SDK-5.5.0

$
0
0

When I try to use the Perl SDK v5.5 I get SOAP request errors (using Net::HTTP 6.06):

 

./script.pl --vmname <blah> --server <my server>

SOAP request error - possibly a protocol issue: <?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>

 

I did some research and it seemed that Net::HTTP 6.06 doesn't work so I downgraded to Net::HTTP 6.03, but still no luck - different errors:

 

# perl -MNet::HTTP -le 'print $Net::HTTP::VERSION'

6.03

 

./script.pl --vmname <blah> --server <my server>

 

SOAP request error - possibly a protocol issue: Undefined subroutine &LWP::Protocol::https::Socket::can_read called at /usr/local/share/perl5/LWP/Protocol/http.pm line 22

 

Any ideas of how to make this work with the downgraded Net::HTTP?

 

Thanks in advance for your help.

[Problem]Change vSS portgroup name

$
0
0

I want to change the name of portgroup on vSwitch0 ,from 'VMkernel' to 'VMkernel2'.

However, this program does not work well.

 

 

Could you please tell me about correct code??

 

 

 

 

 

 

 

 

 

 

--<MY code>-------------------------------------------

my $entity_view = Vim::find_entity_view(

        view_type => 'HostSystem',

        filter => { 'name' => 'myesx_name' }

);

 

 

my $nwSys = $entity_view->configManager->networkSystem;

my $nwMgr = Vim::get_view(mo_ref => $nwSys);

 

 

$nwMgr->UpdatePortGroup(

        'pgName' => 'VMkernel',

        'portgrp' => {

                'name' => 'VMkernel2',

                'vlanId' => 0,

                'vswitchName' => 'vSwitch0',

        },

);

-------------------------------------------------------------

 

 

<Output Error>

Expected HostPortGroupSpec for 'portgrp' argument. at (eval 32) line 100

        VimService::get_arg_string('HASH(0x391fb90)', 'portgrp', 'HostPortGroupSpec') called at (eval 32) line 132

        VimService::build_arg_string('ARRAY(0x1cc30f8)', 'HASH(0x1cc3038)') called at (eval 32) line 4413

        VimService::UpdatePortGroup('VimService=HASH(0x17d4da8)', '_this', 'ManagedObjectReference=HASH(0x35a6998)', 'pgName', 'VMkernel', 'portgrp', 'HASH(0x391fb90)') called at /usr/lib/perl5/5.10.0/VMware/VICommon.pm line 1699

        ViewBase::invoke('HostNetworkSystem=HASH(0x1ee0a60)', 'UpdatePortGroup', 'pgName', 'VMkernel, 'portgrp', 'HASH(0x391fb90)') called at (eval 249) line 65

        HostNetworkSystemOperations::UpdatePortGroup('HostNetworkSystem=HASH(0x1ee0a60)', 'pgName', 'VMkernel', 'portgrp', 'HASH(0x391fb90)') called at ./test.pl line 42

Import Panasonic AG-AC90 1080p60p MTS to iMovie 11 for post-production

$
0
0

 

Panasonic AG-AC90 is a professional AVCCAM HD camcorder, combining the high image quality, advanced functions and easy operation in a stylish, easy-to-handle design. Recording videos in AVCHD format,  the Panasonic AG-AC90 captures native 1920 x 1080 resolution images and records in 108060p, 60i, 30p and 24p, as well as in standard definition (48060i) in 60Hz. However, the AVCHD format is not a compatible format for some common editing systems on such as Avid, FCP, and iMovie.

 

So if you want to import the 1080p60p MTS to Movie 11 for post-production, you often struggle against compatible issues.

 

You know, iMovie is popular video authoring tool to edit video clips from camcorder on Mac. iMovie 11 is the latest version, with it you can import video clips from external devices or from anywhere else. The problem is you often get errors from iMovie when importing some raw MTS files to iMovie. You try everything but the MTS clips just cannot be read and recognized at all.

 

Aunsoft MTS Converter for Mac, a professional MTS conversion tool, transcode MTS/M2TS to compatible video format for common media players, popular portable devices, and editing software. With Aunsoft MTS Converter for Mac, you can import the 1080p60p MTS in iMovie 11 on Mac fast and easily.

 

Here are 4 steps:

 

Step 1: Load AG-AC90 1080p60p MTS to MTS Converter for Mac

 

 

Launch Aunsoft MTS Converter for Mac, import MTS files to it. Click add video which can only add one file a time. You can also drag and drop MTS files into file area directly.

 

Step2: Select "iMovie" the output format

 

 

Just click Format icon, choose the ''iMovie and Final Cut Express''- ''Apple InterMedia Codec (AIC) (.mov)'' as the output format.

 

Tips: If you need to combine several MTS files, check the Merge on the main interface of the app.

 

Step 3: Set audio and video profile

 

 

Click settings to adjust your audio and video.

Set audio and video profile in your Panasonic AG-AC90 1080p60p MTS, you will get the output compatible AIC MOV according to your need for post-production in iMovie 11.

 

Tips: The proper Frame Rate, Bitrate, Size and other settings setted by default to keep high quality of your audio and video.

 

Step 4: Start convert 1080p60p MTS to iMovie on Mac

 

 

At last, click the Convert icon to start converting Panasonic AG-AC90 1080p60p MTS to iMovie 11.

 

What's more, Aunsoft MTS Converter for Mac can help you do more

 

1. Convert 1080p AVCHD files to Apple Intermediate Codec for FCE

2. Make MTS and AVCHD files smoothly burned in iDVD

How to find all controller:target ids used for RDM mapping on Virtual machine

$
0
0

I want to get a list of all target ids used for RDM mapping on each controller.  So next time I can use the remaining target ids for RDM disk mapping using perl script.

I have checked findVMsWithRDMs.pl but it is not showing target ids used for each RDM disk. I am using ESXi 5.5 servers and SDK for perl.

 

Thanks

AMrut

Adding a virtual disk on SCSI controller with physical/virtual sharing fails

$
0
0

I am adding a virtual disk to a SCSI controller with either physical or virtual bus sharing, which is getting failed for the below code. Same code gets successful if bus sharing is "noSharing".

 

    $vmView = Vim::find_entity_view(view_type=>'VirtualMachine',filter=>{name=>$vms[0]});
    $controllerKey = find_scsi_cntlrkey(vm=>$vmView,controller=>$cntlr);
    my %hash = (
                vm=>$vmView,
                diskMode=>"persistent",
                fileName=>$filename,
                controllerKey=>$controllerKey,
                unitNumber=>$target,
                size=>"5242880",
                backingtype=>"regular",
                uuid =>undef,
                deviceName=>undef,
                );
    my $filespec = get_vdiskSpec(%hash);
    print Dumper $filespec;
    my $vdisk = add_virtualdisk(vm=>$vmView,devspec=>$filespec);

 

 

 

Command execution:

 

amrut@2:~/scripts/vmware/apps$ perl RDM_add.pl  --vmname vm1  --server vcenter_server --username administrator@vsphere.local --password Pass@123 --operation add --controller 2:2 --filename vm_232
Adding new LsiLogicSAS vSCSI Controller 2 to "vm1"
Successfully added
$VAR1 = bless( {
                 'fileOperation' => bless( {
                                             'val' => 'create'
                                           }, 'VirtualDeviceConfigSpecFileOperation' ),
                 'operation' => bless( {
                                         'val' => 'add'
                                       }, 'VirtualDeviceConfigSpecOperation' ),
                 'device' => bless( {
                                      'capacityInKB' => '5242880',
                                      'backing' => bless( {
                                                            'fileName' => '[datastore1 (4)]/vm1/vm_232.vmdk',
                                                            'diskMode' => 'persistent'
                                                          }, 'VirtualDiskFlatVer2BackingInfo' ),
                                      'unitNumber' => 2,
                                      'controllerKey' => '1002',
                                      'key' => -1
                                    }, 'VirtualDisk' )
               }, 'VirtualDeviceConfigSpec' );
Unable to configure virtual device.

amrut@2:~/scripts/vmware/apps$

 

In vcenter GUi I am getting below error:

 

Failed to power on scsi2:2.
Failed to add disk scsi2:2.

 

 

 

 

 

But Getting successful if bus sharing is none!

 

amrut@uptohell2:~/scripts/vmware/apps$ perl RDM_add.pl  --vmname vm1 --server vcenter_server --username administrator@vsphere.local --password Pass@123 --operation add --controller 1:2 --filename vm_232
$VAR1 = bless( {
                 'fileOperation' => bless( {
                                             'val' => 'create'
                                           }, 'VirtualDeviceConfigSpecFileOperation' ),
                 'operation' => bless( {
                                         'val' => 'add'
                                       }, 'VirtualDeviceConfigSpecOperation' ),
                 'device' => bless( {
                                      'capacityInKB' => '5242880',
                                      'backing' => bless( {
                                                            'fileName' => '[datastore1 (4)]/vm1/vm1_232.vmdk',
                                                            'diskMode' => 'persistent'
                                                          }, 'VirtualDiskFlatVer2BackingInfo' ),
                                      'unitNumber' => 2,
                                      'controllerKey' => '1001',
                                      'key' => -1
                                    }, 'VirtualDisk' )
               }, 'VirtualDeviceConfigSpec' );
Virtual Disk created.
amrut@2:~/scripts/vmware/apps$

 

 

Can some one please let me know, do we need to pass any other parameter for adding disk to SCSIController with bus sharing physical/virtual ?

Thanks

AMrut

Datastore space monitoring

$
0
0

Hi!

 

I am using vSphere perl API for monitoring datastores inside cacti monitoring system.

Every 5 minutes I ask vCenter for capacity and free space of all datastores in datacenter.

 

Code Snipet

            $log->info("saving datastore data");

            my $datastores = $dc_view->datastore;

 

 

            my $dslog = Log::Log4perl->get_logger("DATASTORE");

            foreach my $ds (@{$datastores}){

                my $datastore = Vim::get_view(mo_ref => $ds);

                if( $datastore->summary->accessible ){

                    my $ds_name = $datastore->summary->name;

                    my $logstr = sprintf("Name = %-13s Capacity = %9.3f GB  Free = %9.3f GB  Type=%-10s",

                            $ds_name, $datastore->summary->capacity / $Gbyte, $datastore->summary->freeSpace / $Gbyte, $datastore->summary->type);

                    $dslog->trace($logstr);

 

 

 

                    if($datastore->info->url =~ /volumes\/(.+)\/$/){

                        $ds_dataset_ref->{$1}{name}         = $ds_name;

                        $ds_dataset_ref->{$1}{typeFS}       = $datastore->summary->type;

                        $ds_dataset_ref->{$1}{capacity}     = $datastore->summary->capacity;

                        $ds_dataset_ref->{$1}{freeSpace}   = $datastore->summary->freeSpace;

                        $ds_dataset_ref->{$1}{url}          = $datastore->info->url;

                    }

                }

            }

 

I have the problem of having some false alarms triggered.

datastore_space.png

Above we have graph made inside cacti monitoring system and graph seen in vCenter perfromance tab. The correlation is obvious but there are differences seen - we see that by the way how I save the data in cacti,

I get more alarms. And compered to vSphere graph we can say that they are false alarms.In "purple" area I get a spike that should not be and as well in yellow area.

 

My question is, would anybody know what could be the reason for this?


Permissions needed to connect to esxi with perl sdk

$
0
0

I've been trying to user the perl scripts for some monitoring. I have 1 ESXi 5.1 server that I can connect to directly and the script has no problem connecting.

 

I have another 3 esxi servers that are all connected to a vsphere server.

 

On the single server, I can connect directly to the esxi server with vsphere client no problems.

 

On the vsphere server, I can only connect to the vsphere server, I cannot connect directly to the esxi hosts. (http, https, ssh, etc..)

 

I believe this is the issue I'm having with the perl sdk. I have a SSO login that I can user to log into the vsphere server, but those permissions will not get me access tot he esxi host.

 

Anyone have any thoughts on how to resolve this issue?

 

Thanks

create directory on a datastore...

$
0
0

Anyone has a sample code on how to use the datastoreNamespaceManager API to create a directory on a datastore?

How to specify folder and resource pool when using vmclone.pl

$
0
0

Hi everyone,

 

We use a slightly modified vmclone.pl (vmcloneLin.pl, used to add config spec from http://www.lincvz.info).


The question I have is it possible to specify a resource pool and/or a folder in the datacenter to create the VM?


Thanks!


Rip/Convert DVD ISO/IFO to Multi-track MP4 for iPad Air

$
0
0


 

Description: This article tell you how to watch DVD ISO/IFO movies on iPad Air in multi-track MP4 format so you can switch to the desired language during playback.

 

If you own many DVD movies which have been backed up in ISO/IFO files on computer hard drive and would like to convert DVD ISO/IFO movies to multi-track MP4 so that you may watch movies on the new iPad Air with any language by switching to the desired one, the Pavtube DVD to iPad Air Converter is your great choice to rip DVD ISO/IFO and original DVD disc to iPad Air compatible MP4 format as well as multiple audio tracks saved for iPad Air playback.

 

Good News! Pavtube Thanksgiving Promotion is staring – Big discount for everyone!

 

How to Rip DVD ISO/IFO to Multi-track MP4 for watch on iPad Air?

 

Part One. Rip/Convert DVD ISO/IFO to Multi-track MP4

 

Step 1. Free download the Multi-track DVD Converter (Mac users can download here, guide: Convert DVD to multi-track MP4 for iOS Devices on Mac), install and launch it. Click the "Load ISO/IFO" button to import source DVD ISO/IFO files.

 

 

Step 2. Choose "Multi-track Video > Multi-track MP4 (*.mp4)" from the "Format" drop-down list as output format.

 

 

Tip: This profile extracts more than one audio track from source DVD ISO/IFO movies in saved MP4 files. And you are allowed to remove unwanted audio track by unchecking the "Check" box in front of each audio source.

 

 

Step 3. Hit the "Convert" button on Pavtube ByteCopy main UI to start ripping DVD ISO/IFO to Multi-track MP4 for iPad Air. Once the conversion process finishes, open output folder and locate the created multi-track MP4 movie.

 

Part Two. Stream and watch Multi-track MP4 movies on iPad Air

 

Step 1. Install multi-track player on iPad Air. When typing in the keyword "multitrack player" in Apple Store, many free or charged apps would show up, choose one and install on your iPad Air.

 

 

Step 2. Open iTunes, and add created multi-track MP4 movie to this multi-track player.

 

 

Step 3. Open this multi-track player, open the source multi-track MP4, and choose wanted language during movie playback.

 

http://open-media-community.com/wp-content/uploads/2013/11/source-mp4-file-in-multitrack-player.jpg

 

 

iPad Air related articles:

How to sync MKV, AVI, VOB, WMV, MPG, Tivo, FLV, MTS videos to iPad Air?

How to watch Blu-ray movies on iPad Air, iPad series?

How to stream Blu-ray ISO image files to iPad Air for smoothly playback?

How to view DVD movies on iPad Air with highest quality?

 

Good new for you! Open Pavtube Thanksgiving Promotion page, click "Share on Facebook" button, insert "#PavtubeThanks2013", choose "Public", and click "Share Link". You will get another 20% coupon. The discounted link will be sent to your Facebook "Inbox" or "Other" within 24 hours on work days.

 

20% off ByteCopy (Windows / Mac)

20% off Chewtune (Windows / Mac)

 

 

If don't receive message from strangers, please don't forget to contact us for the discounted link via faq@pavtube.com.

 

Get more money-saving tip:

ByteCopy($42) + Blu-ray Video Converter Ultimate($65) = Only $80, Save $27

ChewTune ($29) + Blu-ray Video Converter Ultimate($65) = Only $75, Save $19

ChewTune($29) + ByteCopy($42) = Only $54, Save $17

ByteCopy($42) + DVD Creator($35) = Only $60, Save $17

ByteCopy($42) + MXF MultiMixer($45) = Only $70, Save $17

ByteCopy($42) + Video Converter($35) = Only $60, Save $17

 

Source: http://mediaconverting.blogspot.com/2013/11/convert-dvd-to-multi-track-mp4-for-ipad-air.html

Transfer Blu-ray/DVD to Kindle Fire HDX in multitracks MP4 format

$
0
0

Watch Blu-ray/DVDs on Kindle Fire HDX with multitracks/SBS 3D effects

 

Description: The best solution to convert Blu-ray/DVD to 3D MP4 for Kindle Fire HDX 8.9; and get multiple languages during playback.

 

Kindle Fire HDX 8.9 has been released for a while; any of you already got it?

 

The new HDX 8.9 is faster, sleeker, and better than ever. At 2560 x 1600-pixel resolution and 339ppi, it's either higher-resolution or more pixel-dense than virtually any other tablet on the market. It also has great viewing angles, excellent color reproduction, and high brightness levels. It's really just a great screen, whether you're gaming, reading text, or watching videos on it. It should be a great joy if you happen to have DVD or Blu-ray collections and want to build a video library for Kindle Fire HDX 8.9.

 

Converting regular 2D blu-ray/DVD to best format for Kindle Fire HDX with 3D effect, keeping multiple audio tracks (languages) for playback on Kindle Fire HDX; all these can be done with this professional Blu-ray to Kindle Fire HDX Converter. The whole workflow is so simply that you just need to do a few clicks. (Now is 30% off on Pavtube Thanksgiving Promotion).

 

Tips:

 

Get Mac version here:Blu-ray to Kindle Fire HDX Converter for Mac.

 

You may also realize that Kindle Fire HDX 8.9 does not include a disc ROM so that you cannot playback it directly. Also, most Blu-rays and DVDs are protected, and Kindle Fire HDX has its own supported video format.

 

Kindle Fire HDX 8.9 supported video format:

 

MP4, 3GP, VP8 (video playback at 720p)

 

Kindle Fire HDX 8.9 supported audio format:

 

Dolby Digital (AC-3), Dolby Digital Plus (E-AC-3), MP3, Non-DRM AAC (.m4a), MIDI, OGG, WAV, OGG, WAV, MP4, AAC LC/LTP, HE-AACv1, HE-AACv2, AMR-NB, AMR-WB

 

Follow this guide; you will learn how to accomplish it with such an easy-to-use and professional 3D Blu-ray/DVD to Kindle Fire HDX Converter for Mac.

 

How to obtain multitracks or get SBS 3D effect videos for playback on Kindle Fire HDX?

 

Step 1. Run Blu-ray/DVD to Kindle Fire HDX Converter; load blu-ray/dvd.

 

Click the disc-folder icon to load your blu-ray or DVD movies directly. You are allowed to import blu-ray/DVD discs, folders or ISO/IFO files. It will start to decrypt discs since importing, in this case you need to keep internet connected all the time.

 

 

Step 2. Choose format for Multi-track playback (Optional)

 

If you prefer watching movie on Kindle Fire HDX with multiple audio tracks for switching it freely, you should not miss the "Multi-track Video" profiles. For Kindle Fire HDX, you can try "Multi-track MP4 (*.mp4)" as the best format. After that, you can click Settings to adjust audio channels or video bitrate, framerate and size.

 

Step 3. Choose format for 3D Side-by-Side effect (Optional).

 

If you want to obtain blu-ray/dvd movie 3D effect, you can try this "3D Video>MP4 Side-by-Side 3D Video (*.mp4)" as bellow:

 

 

You can also change 3D depth by clicking "Settings" in the main interface.

 

Note it will not keep your original 3D effect.

 

Step 4. Start Conversion.

 

Now hit the big red "Convert" to start converting Blu-ray/DVD to MP4 format for Kindle Fire HDX 8.9. After conversion, click "Open output folder" to quick locate the converted video.

 

Read more: How to transfer media Files to Your Kindle Fire HDX?

 

You may want to read:

 

Download Best Free Video Player Apps for Kindle Fire HDX + Video Playback Tip

How to rip Blu-rays to MP4 for Kindle Fire HDX 7/8.9?

Convert and Play DVD on Kindle Fire HDX 7/8.9

Mac Solution: Can Kindle Fire HDX play MKV, Tivo, VOB, AVI, WMV, MPG, M4V and Flash videos?

How to transfer iTunes M4V videos to Kindle Fire HDX 7?

Can Kindle Fire HDX 7 playback Digital Copy movies from Blu-ray/DVD?

 

Source: http://best-tablet-converter.com/2013/11/14/watch-3d-blu-ray-dvd-movie-on-kindle-fire-hdx/

Viewing all 1577 articles
Browse latest View live




Latest Images