2) IF status good, not require to restart agent. IF staus dellocated, require to restart agent.
2) IF status good, not require to restart agent. IF staus dellocated, require to restart agent.
Hey,
I am currently trying to deploy VMs to Norway regions. However I can not find this in Azure portal. Do I need to request access to this region or are VMs not available. From the documentation it appears Norway should be available with at least VM access.
Thanks in advance,
Alex.
I'm wondering if there is a way to create an Azure VM without the public interface and security group, to the VM. ( the public interface and security group will be created on the vnet later on insead, rather than on each VM/vnic.).
The new-azVM command by default creates the VM public interface and security group, and I will have to go through the hassle of removing them after the VM is created. Also I tried to use "" for the -PublicIPAddressName and -SecurityGroupName, both errored out.
This is a bit of hassle in scenario where I will need to create a number of VMs in batch. If there is a way at the creation stage to tell not to create the public interface and security group that would be great. Somebody may already know some magic parameters of this new-azVM command? Thanks a lot.
Hello,
below is the solution I want to implement,
I want to setup CI/CD for angular application with VM Scale Set.
For that I create managed image name "vmssimage" then create scale set with this manage image and setup task for create image and update new image to instance but i am getting below error
Remove-AzureRmResource : OperationNotAllowed : Operation 'Image Delete' is not allowed since the Virtual Machine ScaleSet
'/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Compute/virtualMachineScaleSets/' is currently using the Image 'vmssimage'.
Hello all,
I wanted to give one person an ability to start/stop/reboot particular VMs. Ideally it should be something as simple as possible. I mean he/she can logon and then select one or more VMs and then reboot them. So he/she cannot see and do anything else. Is there anything like that possible on Azure portal ?
Thanks
P.
Hi everyone,
This is my current scenario:
VM status is "Running", VMAgent is "Not Ready",Windows Azure Guest Agent service is "Stopped".
I will manually start Windows Azure Guest Agent whenever my
VMAgent is not ready.
So is there any script I can write using Powershell to automatically Start the service whenever VMAgent is not ready ?
Currently, if you attempt to add or edit an Inbound NAT Rule on a Load Balancer with an association to a Virtual Machine Scale Set, you receive a warning stating:
"Full virtual machine scale set support for the portal is coming soon. Adding or editing references between load balancers and scale set virtual machines is currently disabled for load balancers to contain an existing association with a scale set"
Could we please get an ETA on this? I believe it's holding up several integration activities with regards to Docker Enterprise.
Hey!
Question for y'all, I am unable to find a certain size VM that's included in the Azure Pricing Calculator on North-Europe but not in my tenant. This is regarding: E8as VM size. Is this a special VM or ?
Thx!
I'm new to Azure, and I'm looking for a way to capture traffic (pcap) to/from my VMs.
For example, I have multiple Linux VMs and a SecurityOnion VM. I would like my SecurityOnion VM to capture all traffic so it can function as an IDS (Intrusion Detection System). However, I'm not sure how to configure this in Azure. With a physical setup I would use a SPAN/Mirror port or network tap, or in ESXi I would enable Promiscuous Mode on the virtual switch, but I understand that Azure does not support this feature (https://social.msdn.microsoft.com/Forums/en-US/fc567169-74d1-44c9-aea3-f8c93829b51b/is-it-possible-to-put-the-network-card-into-promiscuous-mode-within-a-virtual-machine-in-azure?forum=WAVirtualMachinesforWindows).
What's the best approach to take for accomplishing this task?
I see this:
Stopped (deallocated)
And when I try to start my vm, I get this message"
Help me log into my machine, please.
Hello everyone. i need help port forwarding 27015 for counter strike condition zero on my Azure Virtual machine. i want to host a Counter strike server on my Azure Windows VM.
please provide assistance.
Hola, tengo una suscripción a Microsoft Azure en la cual tengo varias maquinas virtuales creadas y desde ahi me puedo conectar a las bases de datos, en cada maquina tengo varios usuarios creados pero un usuario me esta consumiendo todos los recursos de la maquina virtual al punto que no deja conectar a nadie.
La pregunta es: si entro a mi cuenta de Microsoft Azure puedo saber que usuario me esta consumiendo todos los recursos?
Our company plan is to have a SQL server installed on a Microsoft VM.
Question #1:
If we delete and restore a 50 gig database every day, is there a higher price tag due to our activity, and if so, is it significant?
We will be receiving new file daily on ftp.
Question #2:
Because we have an instance on a VM, we should just be able to install SQL server and use it as a normal server, meaning we should be able to have stored procedures, views, etc. that you cannot get when you let Microsoft host your server--Is this a true statement?
Thank you
Kam
I'm working on creating a VM as part of a Squared Up application dashboard trial solution. When I get to the networking step, I keep getting a spinning status and "Loading..." when trying to select the public IP address. Any thoughts?
I have tried through Chrome and Edge, both on my laptop and my phone. Through different ISPs as well.
Dudefoxlive
Hello Community,
i hope you guys can help me. I have an Azure Ubuntu 18.04 VM with an public IP. At Home (behind a DSLite network) my apache server has an ipv6 address.
I try to connect to my webserver using socat - but i do not get a connection. Maybe you can tell me why?
socat TCP4-LISTEN:82,fork TCP6[IPv6_Homserver]:81
I want to open my home apache server with http://azure_public_IP:82 which is locally reachable over the port 81. I dont get a connection.
Hi I am using a custom script extension to do some post deployment tasks in the virtual machine. But the provisioning of the extension times out. waagent logs show an error but it is incomprehensible for me. Can someone please guide me about this problem.
2019/10/30 10:34:52.569846 ERROR ExtHandler Event: name=Microsoft.Compute.CustomScriptExtension, op=Install, message=eJytkbFqxDAQRHt9xX5ALJ99NsFuj4NrkkBSHuaQpdUhsHeNtEpMvj7GRUiZ4pphioHHzFzPqyClwPS2YDSymXOMHAd4ZSq+MTLgGgQsO+yhqp+foPw0sZzCWH4Zc0eS8iXYyIm96BPPSxbUp5yE5w8bwyK/gKLSnW7LQEnMNGk7O3VN4jjLoNRuMcZBvWeiQHdIlhcEkyBTkB7+CbntkFvbOV8f665onW+Kxla+GL3b5HB0LR4Q28bonaAeV2fbp3/gOj2Mgf5mL4bchFHjul1BLOA5k1M/YnmhEQ==, duration=0
logs are as follows.
2019/10/30 10:28:03.232795 INFO Daemon Azure Linux Agent Version:2.2.40 2019/10/30 10:28:03.239817 INFO Daemon OS: ubuntu 18.04 2019/10/30 10:28:03.252758 INFO Daemon Python: 3.6.8 2019/10/30 10:28:03.261718 INFO Daemon Daemon process id 1226 is tracked in systemd cgroup walinuxagent.service 2019/10/30 10:28:03.266467 INFO Daemon CGroups: successfully set up agent cgroup 2019/10/30 10:28:03.279735 INFO Daemon Run daemon 2019/10/30 10:28:03.282276 INFO Daemon Clean protocol 2019/10/30 10:28:03.286203 INFO Daemon Running CloudInit provisioning handler 2019/10/30 10:28:03.293189 INFO Daemon Detect protocol endpoints 2019/10/30 10:28:03.297527 INFO Daemon Clean protocol 2019/10/30 10:28:03.300010 INFO Daemon WireServer endpoint is not found. Rerun dhcp handler 2019/10/30 10:28:03.304443 INFO Daemon Test for route to 168.63.129.16 2019/10/30 10:28:03.309542 INFO Daemon Route to 168.63.129.16 exists 2019/10/30 10:28:03.313392 INFO Daemon Wire server endpoint:168.63.129.16 2019/10/30 10:28:03.321647 INFO Daemon Fabric preferred wire protocol version:2015-04-05 2019/10/30 10:28:03.327337 INFO Daemon Wire protocol version:2012-11-30 2019/10/30 10:28:03.333347 INFO Daemon Server preferred version:2015-04-05 2019/10/30 10:28:03.395736 INFO Daemon ssh host key found at: /etc/ssh/ssh_host_rsa_key.pub 2019/10/30 10:28:03.405643 INFO Daemon Thumbprint obtained from : /etc/ssh/ssh_host_rsa_key.pub 2019/10/30 10:28:03.411447 INFO Daemon Finished provisioning 2019/10/30 10:28:04.426774 INFO Daemon RDMA capabilities are not enabled, skipping 2019/10/30 10:28:04.435486 INFO Daemon Installed Agent WALinuxAgent-2.2.40 is the most current agent 2019/10/30 10:28:04.759016 INFO ExtHandler Agent WALinuxAgent-2.2.40 is running as the goal state agent 2019/10/30 10:28:04.799007 INFO ExtHandler Wire server endpoint:168.63.129.16 2019/10/30 10:28:04.827223 INFO ExtHandler Tracking systemd cgroup for WALinuxAgent 2019/10/30 10:28:04.835283 INFO ExtHandler Now tracking cgroup walinuxagent.service 2019/10/30 10:28:04.849760 INFO ExtHandler Start env monitor service. 2019/10/30 10:28:04.859707 INFO ExtHandler Configure routes 2019/10/30 10:28:04.868199 INFO ExtHandler Gateway:None 2019/10/30 10:28:04.875745 INFO ExtHandler Routes:None 2019/10/30 10:28:04.882801 INFO ExtHandler Hostname record does not exist, creating [/var/lib/waagent/published_hostname] with hostname [Numtra-DSW] 2019/10/30 10:28:04.913469 INFO ExtHandler WALinuxAgent-2.2.40 running as process 1435 2019/10/30 10:28:04.922349 INFO ExtHandler Wire server endpoint:168.63.129.16 2019/10/30 10:28:04.940592 INFO ExtHandler Wire server endpoint:168.63.129.16 2019/10/30 10:28:05.017940 INFO ExtHandler Route table: [{"Iface": "eth0", "Destination": "0.0.0.0", "Gateway": "10.0.0.1", "Mask": "0.0.0.0", "Flags": "0x0003", "Metric": "100"},{"Iface": "eth0", "Destination": "10.0.0.0", "Gateway": "0.0.0.0", "Mask": "255.255.255.0", "Flags": "0x0001", "Metric": "0"},{"Iface": "eth0", "Destination": "168.63.129.16", "Gateway": "10.0.0.1", "Mask": "255.255.255.255", "Flags": "0x0007", "Metric": "100"},{"Iface": "eth0", "Destination": "169.254.169.254", "Gateway": "10.0.0.1", "Mask": "255.255.255.255", "Flags": "0x0007", "Metric": "100"}] 2019/10/30 10:28:05.090591 INFO ExtHandler Initial NIC state: [{ "name": "lo", "link": "<LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000\ link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00" }, { "name": "eth0", "link": "<BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000\ link/ether 00:0d:3a:5a:00:89 brd ff:ff:ff:ff:ff:ff" }] 2019/10/30 10:28:05.230516 INFO ExtHandler Successfully added Azure fabric firewall rules 2019/10/30 10:28:05.266457 INFO ExtHandler Firewall rules: Chain INPUT (policy ACCEPT 5 packets, 148772 bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 5 packets, 260 bytes) pkts bytes target prot opt in out source destination 0 0 ACCEPT tcp -- * * 0.0.0.0/0 168.63.129.16 owner UID match 0 0 0 DROP tcp -- * * 0.0.0.0/0 168.63.129.16 ctstate INVALID,NEW 2019/10/30 10:28:05.347842 INFO ExtHandler Set block dev timeout: sdb with timeout: 300 2019/10/30 10:28:05.359511 INFO ExtHandler Set block dev timeout: sda with timeout: 300 2019/10/30 10:28:05.710658 INFO ExtHandler Agent WALinuxAgent-2.2.40 discovered update WALinuxAgent-2.2.44 -- exiting 2019/10/30 10:28:06.456763 INFO Daemon Agent WALinuxAgent-2.2.40 launched with command 'python3 -u /usr/sbin/waagent -run-exthandlers' is successfully running 2019/10/30 10:28:06.469315 INFO Daemon Determined Agent WALinuxAgent-2.2.44 to be the latest agent 2019/10/30 10:28:07.250184 INFO ExtHandler Agent WALinuxAgent-2.2.44 is running as the goal state agent 2019/10/30 10:28:07.283050 INFO ExtHandler Distro info: ubuntu 18.04, osutil class being used: Ubuntu18OSUtil, agent service name: walinuxagent 2019/10/30 10:28:07.332641 INFO ExtHandler Wire server endpoint:168.63.129.16 2019/10/30 10:28:07.352381 INFO ExtHandler Start env monitor service. 2019/10/30 10:28:07.362064 INFO ExtHandler Configure routes 2019/10/30 10:28:07.375737 INFO ExtHandler Gateway:None 2019/10/30 10:28:07.388935 INFO ExtHandler Routes:None 2019/10/30 10:28:07.456720 INFO ExtHandler Wire server endpoint:168.63.129.16 2019/10/30 10:28:07.451234 INFO ExtHandler WALinuxAgent-2.2.44 running as process 1548 2019/10/30 10:28:07.498939 INFO ExtHandler Route table: [{"Iface": "eth0", "Destination": "0.0.0.0", "Gateway": "10.0.0.1", "Mask": "0.0.0.0", "Flags": "0x0003", "Metric": "100"},{"Iface": "eth0", "Destination": "10.0.0.0", "Gateway": "0.0.0.0", "Mask": "255.255.255.0", "Flags": "0x0001", "Metric": "0"},{"Iface": "eth0", "Destination": "168.63.129.16", "Gateway": "10.0.0.1", "Mask": "255.255.255.255", "Flags": "0x0007", "Metric": "100"},{"Iface": "eth0", "Destination": "169.254.169.254", "Gateway": "10.0.0.1", "Mask": "255.255.255.255", "Flags": "0x0007", "Metric": "100"}] 2019/10/30 10:28:07.489872 INFO ExtHandler CGroups Status: The cgroup filesystem is ready to use 2019/10/30 10:28:07.571645 INFO ExtHandler Started tracking new cgroup: walinuxagent.service, path: /sys/fs/cgroup/cpu/system.slice/walinuxagent.service 2019/10/30 10:28:07.620095 INFO ExtHandler Started tracking new cgroup: walinuxagent.service, path: /sys/fs/cgroup/memory/system.slice/walinuxagent.service 2019/10/30 10:28:07.643977 INFO ExtHandler Initial NIC state: [{ "name": "lo", "link": "<LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000\ link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00" }, { "name": "eth0", "link": "<BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000\ link/ether 00:0d:3a:5a:00:89 brd ff:ff:ff:ff:ff:ff" }] 2019/10/30 10:28:07.792385 INFO ExtHandler Successfully added Azure fabric firewall rules 2019/10/30 10:28:07.830852 INFO ExtHandler Firewall rules: Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 0 0 ACCEPT tcp -- * * 0.0.0.0/0 168.63.129.16 owner UID match 0 0 0 DROP tcp -- * * 0.0.0.0/0 168.63.129.16 ctstate INVALID,NEW 2019/10/30 10:28:08.027173 INFO ExtHandler Created slice for walinuxagent extensions system-walinuxagent.extensions.slice 2019/10/30 10:28:08.040924 INFO ExtHandler Wire server endpoint:168.63.129.16 2019/10/30 10:28:08.139902 INFO ExtHandler Wire server endpoint:168.63.129.16 2019/10/30 10:28:08.330415 INFO ExtHandler Wire server endpoint:168.63.129.16 2019/10/30 10:28:08.338840 INFO ExtHandler ProcessGoalState completed [incarnation 1; 199 ms] 2019/10/30 10:34:50.072576 INFO ExtHandler Found private key matching thumbprint D2FE9B9F5FA4ED90A64E68E3F2C5824C775B0C07 2019/10/30 10:34:50.136927 INFO [Microsoft.Compute.CustomScriptExtension-1.9.5] Target handler state: enabled 2019/10/30 10:34:50.140899 INFO [Microsoft.Compute.CustomScriptExtension-1.9.5] [Enable] current handler state is: notinstalled 2019/10/30 10:34:50.145766 INFO [Microsoft.Compute.CustomScriptExtension-1.9.5] Downloading extension package: https://zrdfepirv2by4prdstr09.blob.core.windows.net/bfd5c281a7dc4e4b84381eb0b47e3aaf/Microsoft.Compute__CustomScriptExtension__1.9.5 2019/10/30 10:34:50.247634 INFO [Microsoft.Compute.CustomScriptExtension-1.9.5] Unzipping extension package: /var/lib/waagent/Microsoft.Compute.CustomScriptExtension__1.9.5.zip 2019/10/30 10:34:50.327393 INFO [Microsoft.Compute.CustomScriptExtension-1.9.5] Initializing extension Microsoft.Compute.CustomScriptExtension-1.9.5 2019/10/30 10:34:50.529547 INFO ExtHandler Created slice for system-walinuxagent.extensions-Microsoft.Compute.CustomScriptExtension_1.9.5.slice 2019/10/30 10:34:50.534978 INFO [Microsoft.Compute.CustomScriptExtension-1.9.5] Update settings file: 0.settings 2019/10/30 10:34:50.538664 INFO [Microsoft.Compute.CustomScriptExtension-1.9.5] Install extension [install.cmd] 2019/10/30 10:34:50.544112 INFO ExtHandler Started extension using scope 'Microsoft.Compute.CustomScriptExtension_1.9.5_59df2329-5df4-4c1f-bfdf-b03d5e0ee54a' 2019/10/30 10:34:50.552458 INFO ExtHandler Started tracking new cgroup: Microsoft.Compute.CustomScriptExtension-1.9.5, path: /sys/fs/cgroup/cpu/system.slice/Microsoft.Compute.CustomScriptExtension_1.9.5_59df2329-5df4-4c1f-bfdf-b03d5e0ee54a.scope 2019/10/30 10:34:50.559631 INFO ExtHandler Started tracking new cgroup: Microsoft.Compute.CustomScriptExtension-1.9.5, path: /sys/fs/cgroup/memory/system.slice/Microsoft.Compute.CustomScriptExtension_1.9.5_59df2329-5df4-4c1f-bfdf-b03d5e0ee54a.scope 2019/10/30 10:34:52.569846 ERROR ExtHandler Event: name=Microsoft.Compute.CustomScriptExtension, op=Install, message=eJytkbFqxDAQRHt9xX5ALJ99NsFuj4NrkkBSHuaQpdUhsHeNtEpMvj7GRUiZ4pphioHHzFzPqyClwPS2YDSymXOMHAd4ZSq+MTLgGgQsO+yhqp+foPw0sZzCWH4Zc0eS8iXYyIm96BPPSxbUp5yE5w8bwyK/gKLSnW7LQEnMNGk7O3VN4jjLoNRuMcZBvWeiQHdIlhcEkyBTkB7+CbntkFvbOV8f665onW+Kxla+GL3b5HB0LR4Q28bonaAeV2fbp3/gOj2Mgf5mL4bchFHjul1BLOA5k1M/YnmhEQ==, duration=0 2019/10/30 10:34:52.602020 INFO [Microsoft.Compute.CustomScriptExtension-1.9.5] Remove extension handler directory: /var/lib/waagent/Microsoft.Compute.CustomScriptExtension-1.9.5 2019/10/30 10:34:52.803191 INFO ExtHandler ProcessGoalState completed [incarnation 2; 2784 ms] 2019/10/30 10:38:08.530075 INFO ExtHandler Stopped tracking cgroup: Microsoft.Compute.CustomScriptExtension-1.9.5, path: /sys/fs/cgroup/cpu/system.slice/Microsoft.Compute.CustomScriptExtension_1.9.5_59df2329-5df4-4c1f-bfdf-b03d5e0ee54a.scope 2019/10/30 10:38:08.541849 INFO ExtHandler Stopped tracking cgroup: Microsoft.Compute.CustomScriptExtension-1.9.5, path: /sys/fs/cgroup/memory/system.slice/Microsoft.Compute.CustomScriptExtension_1.9.5_59df2329-5df4-4c1f-bfdf-b03d5e0ee54a.scope 2019/10/30 10:43:07.193677 INFO Daemon Agent WALinuxAgent-2.2.44 launched with command 'python3 -u bin/WALinuxAgent-2.2.44-py2.7.egg -run-exthandlers' is successfully running
Custom script:
#!/bin/bash sed -i '/COSMOS_CONN/d' /etc/profile sed -i '/COSMOS_DB/d' /etc/profile echo "export COSMOS_CONN=$1" >> /etc/profile echo "export COSMOS_DB=$2" >> /etc/profile source /etc/profile
What I am trying to do here is that I get cosmos connection string in the template and have to save it some how in the virtual machine for further use.
Hello,
I used terraform to stand a new vmss with oms extension, how ever I am getting timeout at the end after running 20 min or so. when I check the vmss install the agents on early stage but something happen and stop the progress and died.
this is the code I have used
data "azurerm_resource_group" "rg" { name = "xxxxxx" } resource "azurerm_virtual_machine_scale_set" "vmss" { name = "xxxxxxx" location = "${data.azurerm_resource_group.rg.location}" resource_group_name = "${data.azurerm_resource_group.rg.name}" # automatic rolling upgrade upgrade_policy_mode = "Manual" sku { name = "Standard_B1ms" tier = "Standard" capacity = 1 } extension { name = "OMSExtension" publisher = "Microsoft.EnterpriseCloud.Monitoring" type = "OmsAgentForLinux" type_handler_version = "1.11" settings = <<-BASE_SETTINGS {"workspaceId" : "xxxxxxxxxxxxxxxxx" } BASE_SETTINGS protected_settings = <<-PROTECTED_SETTINGS {"workspaceKey" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxx=" } PROTECTED_SETTINGS } extension { name = "DependencyAgentLinux" publisher = "Microsoft.Azure.Monitoring.DependencyAgent" type = "DependencyAgentLinux" type_handler_version = "9.5" } storage_profile_image_reference { id = "/subscriptions/xxxxxxxxxxx/resourceGroups/xxxxxx/providers/Microsoft.Compute/images/xxxxxxxxxx" } storage_profile_os_disk { name = "" caching = "ReadWrite" create_option = "FromImage" managed_disk_type = "Standard_LRS" } os_profile { computer_name_prefix = "xxxxxxx" admin_username = "xxxxxxxxxx" } os_profile_linux_config { disable_password_authentication = true ssh_keys { path = "/home/mycloud/.ssh/authorized_keys" key_data = "xxxxxxxxxxxx" } } network_profile { name = "teast-networkprofile" primary = true ip_configuration { name = "test-IPConfiguration" primary = true subnet_id = "/subscriptions/xxxxxxxxxxxx/resourceGroups/xxxxxxx/providers/Microsoft.Network/virtualNetworks/xxxx/subnets/xxxxxxxxx" } } }
what missing or cause the issue any idea?
raindrop18