samsvmware's Posts

Hi Everyone , Myself also faced the same error while cloning using perl sdk. please check the follows 1). Try to apply stotage DRS recommendations. 2). Please check /change the vmfolder p... See more...
Hi Everyone , Myself also faced the same error while cloning using perl sdk. please check the follows 1). Try to apply stotage DRS recommendations. 2). Please check /change the vmfolder permission/param Finally clone got created successfully.
I want to do this process(please refer the below link) through vsphere perl sdk. Let me know any useful link & sample scripts. http://www-01.ibm.com/support/knowledgecenter/HSG_VCPLUGIN_320/UG... See more...
I want to do this process(please refer the below link) through vsphere perl sdk. Let me know any useful link & sample scripts. http://www-01.ibm.com/support/knowledgecenter/HSG_VCPLUGIN_320/UG/vcplugin_ug_ch6_increase_datastore_capacity.html We have tried this below scripts. We didn't got the "ExpandVmfsDatastore" at host view.         my $host_disk_partition_spec = new HostDiskPartitionSpec(chs=>$chs_data, partition=>@arr , totalSectors=>41943040  );         my $vmfs_expand_spec = new VmfsDatastoreExpandSpec(extent=>$host_scsi_disk_partition , partition=>$host_disk_partition_spec );         $dsmv->ExpandVmfsDatastore(datastore=>$dsRef , spec=>$vmfs_expand_spec);     }
Hi All,             How to Increase/Extend the vmfs datastore using vsphere perl sdk? . please let know the any sample script or any useful link Thanks in Advance.
Try simpleclient.pl script with entity type . It will list the entities which you need.
I got the script as  from vm entity view .. But I can't able to get the snapshot size .. any idea dude ? my $vmsnap   = $vm->snapshot->rootSnapshotList->[0]->{'name'};
Hi All ,            I need perl sdk sciript to collect all VM snapshot information like (Snapshot Name, Id, Size ...& all his attributes). Can you please let me know the script or any useful l... See more...
Hi All ,            I need perl sdk sciript to collect all VM snapshot information like (Snapshot Name, Id, Size ...& all his attributes). Can you please let me know the script or any useful links to fetch this information from vmware vsphere web client . Thanks
Do you have any perl api script to get the list of alarm (VM alarm) with description ?
Hi All,            I have the script to fetch all alarm information like (alarm key, time, ack, alarm state etc). but I am not able to list its alarm description . So can you let me know th... See more...
Hi All,            I have the script to fetch all alarm information like (alarm key, time, ack, alarm state etc). but I am not able to list its alarm description . So can you let me know the API script or link to get the alarm description information.
Thanks Dude, My Version is 6.08
Hi All,          I have a script to collect all vcenter entity info. It works upto 31/Jan/2015 without any issue . From Feb 1st it didn't collect any datas. We are using "Vim::find_entity_views... See more...
Hi All,          I have a script to collect all vcenter entity info. It works upto 31/Jan/2015 without any issue . From Feb 1st it didn't collect any datas. We are using "Vim::find_entity_views" for all script . Now we executed the script it returns the output (Mentioned below). Someone helps me to fix this issue. Error Message :- 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> <RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj type="ClusterComputeResource">domain-c18744</obj></returnval><returnval><obj type="ClusterComputeResource">domain-c18129</obj></returnval><returnval><obj type="ClusterComputeResource">domain-c20464</obj></returnval><returnval><obj type="ClusterComputeResource">domain-c21343</obj></returnval><returnval><obj type="ClusterComputeResource">domain-c21874</obj></returnval><returnval><obj type="ClusterComputeResource">domain-c22361</obj></returnval><returnval><obj type="ClusterComputeResource">domain-c24448< Sam
Hi All,      I need  perl sdk script to get the host's memory information(Total memory, Used memory, Free space). Any useful link and scripts pls
I need perl sdkl script to list the Lun name (naa.600xxxxxxxx) of datastore. Any reference link or script pls. I need to get O/p like below Datacenter A --- Datastore A -----naa.600xxxxxxxx... See more...
I need perl sdkl script to list the Lun name (naa.600xxxxxxxx) of datastore. Any reference link or script pls. I need to get O/p like below Datacenter A --- Datastore A -----naa.600xxxxxxxxxxxxxxxxxxxxxxx                                           -----naa.600xxxxxxxxxxxxxxxxxxxxxxx                                           -----naa.600xxxxxxxxxxxxxxxxxxxxxxx           Datacenter B --- Datastore B -----naa.600xxxxxxxxxxxxxxxxxxxxxxx                                           -----naa.600xxxxxxxxxxxxxxxxxxxxxxx                                           -----naa.600xxxxxxxxxxxxxxxxxxxxxxx                           Datastore C -----naa.600xxxxxxxxxxxxxxxxxxxxxxx                                           -----naa.600xxxxxxxxxxxxxxxxxxxxxxx                                           -----naa.600xxxxxxxxxxxxxxxxxxxxxxx
In Our VM creation process flows in the same script like . script begins at .. 1) VM creation 2) After successful creation of VM 3)) VM reboot (for power ON the vm ) 4) Run contro... See more...
In Our VM creation process flows in the same script like . script begins at .. 1) VM creation 2) After successful creation of VM 3)) VM reboot (for power ON the vm ) 4) Run control script  ==> (/etc/rc3.d/SZxxxxxxfirstboot) 5) VDisk Creation (According to the user input) script end.
Hi All,      I need a perl sdk script to run the control scripts file inside "/etc/rc3.d/xxxxxxxx" the VM . Anyone post any script or any reference link which helps me to move further on this
Hi All ,           Is there any option to run some (remote) commands (who,df -h, history, ping , mount) in vm through Perk SDK?
Hi All,           How to get the interface names (ex:- eth0,eth1,vnic1,vnic2)  of virtual machine using perl sdk. Can you please help to get this informations or refer any link.
Hi All,           I need a perl CLI script to get the all VM's root password in a datacenter . Can any one have the script or link?
Hi All,           I need to fetch the information about VM's cpu usage, disk space usage , Can any one have  perl API script to fetch these information.
Hi            Using this below script(click the below link) how we can provisioned using "VM_TEMPLATE instead of VMNAME" and "CLUSTER instead of VMHOST". can you please let me know if its poss... See more...
Hi            Using this below script(click the below link) how we can provisioned using "VM_TEMPLATE instead of VMNAME" and "CLUSTER instead of VMHOST". can you please let me know if its possible.https://communities.vmware.com/servlet/JiveServlet/download/2259564-110735/deployVMLinked.pl . the parameters for this script are "--username myuser --password mypassword  --vmhost <hostname/ipaddress> --vmname DVM1 --vmname_destination DVM99  --url https://<ipaddress>:<port>/sdk/webService --customize_guest yes  --customize_vm yes --filename clone_vm.xml --schema clone_schema.xsd" Our need is like "--username myuser --password mypassword  --cluster $cluster --vmtemplate $vmtemplate --vmname_destination DVM99  --url https://<ipaddress>:<port>/sdk/webService --customize_guest yes  --customize_vm yes --filename clone_vm.xml --schema clone_schema.xsd" Thanks In Advance
Hi            Using this below script(click the below link) how we can provisioned using "VM_TEMPLATE instead of VMNAME" and "CLUSTER instead of VMHOST". can you please let me know if its poss... See more...
Hi            Using this below script(click the below link) how we can provisioned using "VM_TEMPLATE instead of VMNAME" and "CLUSTER instead of VMHOST". can you please let me know if its possible.https://communities.vmware.com/servlet/JiveServlet/download/2259564-110735/deployVMLinked.pl . the parameters for this script are "--username myuser --password mypassword  --vmhost <hostname/ipaddress> --vmname DVM1 --vmname_destination DVM99  --url https://<ipaddress>:<port>/sdk/webService --customize_guest yes  --customize_vm yes --filename clone_vm.xml --schema clone_schema.xsd" Our need is like "--username myuser --password mypassword  --cluster $cluster --vmtemplate $vmtemplate --vmname_destination DVM99  --url https://<ipaddress>:<port>/sdk/webService --customize_guest yes  --customize_vm yes --filename clone_vm.xml --schema clone_schema.xsd" Thanks In Advance