virtual-machine

Unable to create image using Azure VM

自古美人都是妖i 提交于 2019-12-25 09:20:17
问题 I need to generalize and capture a linux virtual machine. I deployed the VM using ARM template. In ARM template, I used the following to get VHD stored in storage account "storageProfile": { "imageReference": { "publisher": "[variables('imagePublisher')]", "offer": "[variables('imageOffer')]", "sku": "[variables('imageSku')]", "version": "latest" }, "osDisk": { "name": "[parameters('virtualMachineName')]", "createOption": "fromImage", "vhd": { "uri": "[concat(concat(reference(resourceId

/pentaho/home The requested service is not available

痞子三分冷 提交于 2019-12-25 07:59:35
问题 I am trying setup pentaho biserver and followed all of the steps necessary;however, this is the error I am getting when I try to connect to localhost8081 (I have changed the port to 8081 from 8080 because oracle is using 8080). I am doing this on ORACLE DB VM so it is a linux environment. This is the error from the website: HTTP Status 404-/pentaho/home type status report message/pentaho/Home Here is the catalina.out log file: description The requested service is not available. Java HotSpot

fabric - connect to machines with wierd prompts

对着背影说爱祢 提交于 2019-12-25 06:48:00
问题 Since fabric is based on paramiko, is there any API to connect to virtual appliance with ssh-process having weird interactive shells ? How can fabric interact with processes acting as such shells. e.g. VM acting as switch having prompt 'switch-> ' when login is done over ssh. fabfile.py need to feed commands thereafter. once such command is to deploy images over tftpboots. The VM provides both telnet/ssh interface with user/password) I tried below code, but it does not work - @task taskA():

External IPs not assigned within VM

人盡茶涼 提交于 2019-12-25 05:30:45
问题 I have a couple of Centos 6 VMs that I am trying to setup. I assigned static IPs to them but when running ifconfig, I do not see the external IPs, just the internal IPs. Does Google not allow this capability? 回答1: In addition to what Anderson said, this is the command to query for the external IP from the instance itself: curl "http://metadata.google.internal/computeMetadata/v1/instance/network-interfaces/0/access-configs/0/external-ip" -H "Metadata-Flavor: Google" 回答2: DHCP only supports

PyQt5 Could not connect to display

被刻印的时光 ゝ 提交于 2019-12-25 04:17:17
问题 to learn python I decided to make a small GUI that will interact with a web API. So without much thinking I created a virtual machine with Vagrant (ubuntu/trusty64) and installed PyQt5. I made a small script to create a window (here it is) import sys from PyQt5 import QtWidgets app = QtWidgets.QApplication(sys.argv) main_window = QtWidgets.QMainWindow() main_window.show() sys.exit(app.exec_()) When I executed my script I ended up with this error QXcbConnection: Could not connect to display So

Merge columns from different statements into one variable

守給你的承諾、 提交于 2019-12-25 03:45:29
问题 I'm preparing my VM report for the client consisting of this information: $VMs = Get-AzureRmVM -status $vmOutput = $VMs | ForEach-Object { [PSCustomObject]@{ "VM Name" = $_.Name "VM Type" = $_.StorageProfile.osDisk.osType "VM Profile" = $_.HardwareProfile.VmSize "Environment" = $_.Tags.Environment "Application" = $_.Tags.Application "Decommission Date" = $_.Tags.Decomission "OS Disk Size" = $_.StorageProfile.OsDisk.DiskSizeGB "Data Disks Total Size" = ($_.StorageProfile.DataDisks.DiskSizeGB |

Merge columns from different statements into one variable

让人想犯罪 __ 提交于 2019-12-25 03:45:27
问题 I'm preparing my VM report for the client consisting of this information: $VMs = Get-AzureRmVM -status $vmOutput = $VMs | ForEach-Object { [PSCustomObject]@{ "VM Name" = $_.Name "VM Type" = $_.StorageProfile.osDisk.osType "VM Profile" = $_.HardwareProfile.VmSize "Environment" = $_.Tags.Environment "Application" = $_.Tags.Application "Decommission Date" = $_.Tags.Decomission "OS Disk Size" = $_.StorageProfile.OsDisk.DiskSizeGB "Data Disks Total Size" = ($_.StorageProfile.DataDisks.DiskSizeGB |

Running RPA UI interactions in a virtualized environment

最后都变了- 提交于 2019-12-24 23:54:30
问题 I've built several bots using RPA Express which are operating successfully so long as there is a display attached (local or via RDP) to enable the UI interactions. However, the UI interactions fail as soon as the RDP connection is lost. I'm looking to run the bots unattended on VMs, but can't seem to get around this issue. I have had some luck using tscon upon logging off an RDP session, but the results are inconsistent and the likelihood of the 'console' display failing increases the longer

How do I make the .listen work in node.js for my gcp server. I put in the external IP, and I get this error message: (repost at a more popular time)

六月ゝ 毕业季﹏ 提交于 2019-12-24 20:27:06
问题 events.js:160 throw er; // Unhandled 'error' event= Error: listen EADDRNOTAVAIL 104.154.26.2:3000 104.154.26.2 is my external ip The .listen looks like this: serv.listen(3000,"104.154.26.2"); I know I should somehow bind the ip address to 0.0.0.0 and that there is some firewall stuff to do, but loads of time researching did nothing. 来源: https://stackoverflow.com/questions/48932652/how-do-i-make-the-listen-work-in-node-js-for-my-gcp-server-i-put-in-the-extern

What kind of Criteria can be design to give priorties to cloudlet in cloudsim?

走远了吗. 提交于 2019-12-24 20:18:55
问题 I added randomly Boolean parameter among cloudlet attributes for giving preference below is the code what else can do? What parameters can be added more to cloudlet attributes for giving them priority. for(int i=0;i<cloudlets;i++){ Random r= new Random(); // for creating random length Random priortyObj =new Random(); // for creating booleon priorty cloudlet[i] = new Cloudlet(priorty_cloudlet.priortyObj.nextInt(2), i, length +r.nextInt(2000),pesNumber, fileSize, outputSize, utilizationModel,