Is there any ARXML template for create Ethernet cluster description and SOME/IP setting? - autosar

Is there any ARXML templates that just like the "AUTOSAR_MOD_ECUConfigurationParameters.arxml" for developers to create Ethernet cluster description and SOME/IP setting?

Related

How to connect a "azurerm_windows_web_app" resource in Terrafrom with a Virtual Network

I am using the "azurerm_windows_web_app" resource type in terraform to create an app service. I am using this resource because the "azurerm_app_service" is being deprecated as indicated by the docs.
I need to setup the outbound traffic section of the app service to use a virtual network like below. I already have the virtual network being created successfully, so I just need to find a way to link it to the app service via terraform.
I cannot see any property on the resource that allows me to achieve this. On the "azurerm_app_service" resource I can see a "azurerm_app_service_virtual_network_swift_connection" which I think might achieve this, but I cannot see a corresponding resource for a "azurerm_windows_web_app" resource to connect it to a virtual network.
Does anybody know if there is currently a way to achieve this?
app_service_virtual_network_swift_connection should still be the right one. The app services resources have been split up with the latest 3.0 TF provider release but I believe the swift resource will cover both, Windows and Linux app services.

Azure ARM with Multiple Extensions and multiple VMs

I am bit struggling to understand this Azure ARM template containing multiple "Microsoft.Compute/virtualMachines/extensions" and multiple VMs:
kafka-on-ubuntu/azuredeploy.json
Assuming there will be 4 VMs: 1 for zookeeper and 3 for Kafka cluster repsectively, how can be ensured that the extension (+script) for Zookeper will run on exactly that one Zookeper VM, and how to ensure that the extension (+script ) for Kafka cluster will run on exactly those 3 Kafka VMs?
I am more tempted to believe that each extension run on all VMs.
This behavior seems to be poorly documented, but from the documentation page for the Windows custom script extension:
The name of the resource has to be in the format virtualMachineName/extensionName, if this extension is used as a standalone resource in the Azure Resource Manager template.
Which seems to imply that the resolution for where the custom script extension should be executed is based on the name. I imagine this is the case for Linux VMs too.
For the particular example that you are looking at, the name of one of the vms is:
"name": "[concat('zookprvm', copyindex())]",
whereas that of the extension is:
"name": "[concat('zookprvm', copyindex(), '/installzoo')]",
so the prefix of the name of the extension must be identical to the VM name.

Using PowerShell to get the Vnet name by resource ID in Azure

Assuming I have an Azure resource ID
Such as:
"/subscriptions/XXXXXXXX/resourceGroups/YYYYYY/providers/Microsoft.ZZZZ/WWWWW/my-resource-name"
How can I find out to which Vnets its connected/sits in using PowerShell commands?
It will be possible ,but you have to write lengthy code for it.(e.g If you have Network interface you need to use if block for it, so that it gets you the network interface subnetid and then again elseiffor any other resource ).
Azure portal provides a feature called connected device from their we can simply check the devices are connected to the V-net.
As shown here:
Using Powershell CMD if you get the virtual network you can determine the associated resources in the subnet :-

how to setup openstack dynamic resource allocation and live migration using dashboard?

sorry to ask my questions on stackoverflow instead of ask.openstack. I really need answers and ask.openstack is useless. my questions are:
what is openstack heat?
how to setup dynamic resource allocation for an instance using dashboard?
is there any way to automatically live migrate instances on openstack when dynamic resource allocation is active and openstack node runs out of resources?
Answer-1:
OpenStack Heat:
Heat is a service to orchestrate composite cloud applications using a
declarative template format through an OpenStack-native REST API.
Heat is a project under OpenStack tent which is used for orchestration of resources using templates in yaml format
Heat template is defined with sections like definition, parameters, resources, outputs
Based on the topology and requirement of resources like VM, port, network, subnet ... the resources are defined in template. All the supported resource types are available at https://docs.openstack.org/heat/latest/template_guide/openstack.html
Official documentation of heat: https://docs.openstack.org/heat/latest/
Answer-2:
Dynamic resource allocation for instance using dashboard
Dynamic resource allocation is allocating/changing the resources after instance is up and running, for example attach the port to instance, attach volume to instance, resize the instance... . Yes these can be done from dashboard/horizon.
Answer-3:
Live-migration of instance:
Yes, live migration can be done and step by step procedure available at https://docs.openstack.org/nova/pike/admin/live-migration-usage.html

using azure cli, vmss json template doesn't create vmss with datadisk

Context:
Trying to create VMs in Azure (cloud) using VMSS in ARM mode and using json templates.
Problem:
Creating a VMSS from an os image and datadisk image using Azure CLI and json template creates new VMSS but not the datadisk.
My success so far:
Successfully created VMs using CLI with both os and data disk from a custom image using json template. Also successfully created VMSS (Virtual Machine Scale Set) from a valid custom os image using CLI with json template.
My research for problem:
There isn't any sample on github for this scenario git hub templates. Microsoft azure site also have sample for os disk only and not creating a VMSS with data disk.
blkid comand doesn't show the data disk at all, meaning it was never created and mounted. My json template virtualMachineProfile->storageProfile declares a valid dataDisks object and I know it's works as it successfully creates VM (not VMSS) with data disk and also CLI doesn't return any error.
I know json based template is new and Microsoft is working on adding more features/functionalities so my questions is "Is there anything wrong that I am doing and is it that creating VMSS with data disk is not yet implemented in Azure ?"
Environment: Linux (Debian/RHEL)
Azure CLI : 0.9.13 (ARM mode)
Azure Api: 2015-06-15
Image: (CentOS 6.7)
Thanks for your help.
As per this blog post VMSS and data disks, it is not yet supported. Such a bummer..... Hopefully Microsoft will soon release this feature before selling VMSS too much.

Resources