Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Readme Updated with New Columns #414

Merged
merged 10 commits into from
Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
AZMIGRATEPROJECT_SUBSCRIPTION_ID,AZMIGRATEPROJECT_RESOURCE_GROUP_NAME,AZMIGRATEPROJECT_NAME,AZMIGRATE_APPLIANCE_NAME,SOURCE_MACHINE_NAME,OS_UPGRADE_VERSION,AZMIGRATEASSESSMENT_NAME,AZMIGRATEGROUP_NAME,SQL_SERVER_LICENSE_TYPE,TAG_KEY,TAG_VALUE,VM_TAG_KEY,VM_TAG_VALUE,DISK_TAG_KEY,DISK_TAG_VALUE,NIC_TAG_KEY,NIC_TAG_VALUE,TEST_NETWORK_ID,TARGET_SUBSCRIPTION_ID,TARGET_RESOURCE_GROUP_NAME,TARGET_VNET_NAME,TARGET_SUBNET_NAME,TARGET_MACHINE_NAME,TARGET_MACHINE_SIZE,LICENSE_TYPE,OS_DISK_ID,DATA_DISK1_ID,DATA_DISK2_ID,TARGET_DISKTYPE,AVAILABILITYZONE_NUMBER,AVAILABILITYSET_NAME,TURNOFF_SOURCESERVER,TESTMIGRATE_VNET_NAME,UPDATED_TAG_KEY,UPDATED_TAG_VALUE,UPDATED_TAG_OPERATION,UPDATED_VMTAG_KEY,UPDATED_VMTAG_VALUE,UPDATED_VMTAG_OPERATION,UPDATED_DISKTAG_KEY,UPDATED_DISKTAG_VALUE,UPDATED_DISKTAG_OPERATION,UPDATED_NICTAG_KEY,UPDATED_NICTAG_VALUE,UPDATED_NICTAG_OPERATION,UPDATED_TARGET_RESOURCE_GROUP_NAME,UPDATED_TARGET_VNET_NAME,UPDATED_TARGET_MACHINE_NAME,UPDATED_TARGET_DISK_NAME,UPDATED_TARGET_OS_DISK_NAME,UPDATED_TARGET_DATA_DISK1_NAME,UPDATED_TARGET_DATA_DISK2_NAME,UPDATED_TARGET_MACHINE_SIZE,UPDATED_AVAILABILITYZONE_NUMBER,UPDATED_AVAILABILITYSET_NAME,UPDATED_NIC1_ID,UPDATED_TARGET_NIC1_NAME,UPDATED_TARGET_NIC1_SELECTIONTYPE,UPDATED_TARGET_NIC1_SUBNET_NAME,UPDATED_TARGET_NIC1_IP,UPDATED_TARGET_NIC1_TEST_IP,UPDATED_TARGET_NIC1_TEST_SUBNET_NAME,UPDATED_NIC2_ID,UPDATED_TARGET_NIC2_NAME,UPDATED_TARGET_NIC2_SELECTIONTYPE,UPDATED_TARGET_NIC2_SUBNET_NAME,UPDATED_TARGET_NIC2_IP,UPDATED_TARGET_NIC2_TEST_IP,UPDATED_TARGET_NIC2_TEST_SUBNET_NAME,OK_TO_UPDATE,OK_TO_MIGRATE,OK_TO_USE_ASSESSMENT,OK_TO_TESTMIGRATE,OK_TO_RETRIEVE_REPLICATIONSTATUS,OK_TO_CLEANUP,OK_TO_TESTMIGRATE_CLEANUP
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,srcrg-ecy,ECYPROJ,ecyapp,testvm-cvm3,Microsoft Windows Server 2022 (64-bit),,srcrg-ecy,PAYG,,,"vm-tag-1,vm-tag-2","vm-tag-val-1,vm-tag-val-2","d1,d2","d1-val,d2-val",n1,n1-val,,xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,sv-target-ecy-rg,vnet-name,default,testvm-1,,NoLicenseType,,,,,,,Y,vnet-ecy,,,,"up-vm-1,up-vm-2","up-vm-value-1,up-vm-value-2",Replace,disk-1,disk-1-tag,Merge,,,,,,testvm-sv-1,,,,,,,,,nic-name-updated,,,,,AzureBastionSubnet,,,,,,,,Y,Y,Y,Y,Y,Y,Y
AZMIGRATEPROJECT_SUBSCRIPTION_ID,AZMIGRATEPROJECT_RESOURCE_GROUP_NAME,AZMIGRATEPROJECT_NAME,AZMIGRATE_APPLIANCE_NAME,SOURCE_MACHINE_NAME,OS_UPGRADE_VERSION,AZMIGRATEASSESSMENT_NAME,AZMIGRATEGROUP_NAME,SQL_SERVER_LICENSE_TYPE,TAG_KEY,TAG_VALUE,VM_TAG_KEY,VM_TAG_VALUE,DISK_TAG_KEY,DISK_TAG_VALUE,NIC_TAG_KEY,NIC_TAG_VALUE,TEST_NETWORK_ID,TARGET_SUBSCRIPTION_ID,TARGET_RESOURCE_GROUP_NAME,TARGET_VNET_NAME,TARGET_SUBNET_NAME,TARGET_MACHINE_NAME,TARGET_MACHINE_SIZE,LICENSE_TYPE,OS_DISK_ID,DATA_DISK1_ID,DATA_DISK2_ID,TARGET_DISKTYPE,AVAILABILITYZONE_NUMBER,AVAILABILITYSET_NAME,TURNOFF_SOURCESERVER,TESTMIGRATE_VNET_NAME,UPDATED_TAG_KEY,UPDATED_TAG_VALUE,UPDATED_TAG_OPERATION,UPDATED_VMTAG_KEY,UPDATED_VMTAG_VALUE,UPDATED_VMTAG_OPERATION,UPDATED_DISKTAG_KEY,UPDATED_DISKTAG_VALUE,UPDATED_DISKTAG_OPERATION,UPDATED_NICTAG_KEY,UPDATED_NICTAG_VALUE,UPDATED_NICTAG_OPERATION,UPDATED_TARGET_RESOURCE_GROUP_NAME,UPDATED_TARGET_VNET_NAME,UPDATED_TARGET_MACHINE_NAME,UPDATED_TARGET_DISK_NAME,UPDATED_TARGET_OS_DISK_NAME,UPDATED_TARGET_DATA_DISK1_NAME,UPDATED_TARGET_DATA_DISK2_NAME,UPDATED_TARGET_MACHINE_SIZE,UPDATED_AVAILABILITYZONE_NUMBER,UPDATED_AVAILABILITYSET_NAME,UPDATED_NIC1_ID,UPDATED_TARGET_NIC1_NAME,UPDATED_TARGET_NIC1_SELECTIONTYPE,UPDATED_TARGET_NIC1_SUBNET_NAME,UPDATED_TARGET_NIC1_IP,UPDATED_TARGET_NIC1_TEST_IP,UPDATED_TARGET_NIC1_TEST_SUBNET_NAME,UPDATED_NIC2_ID,UPDATED_TARGET_NIC2_NAME,UPDATED_TARGET_NIC2_SELECTIONTYPE,UPDATED_TARGET_NIC2_SUBNET_NAME,UPDATED_TARGET_NIC2_IP,UPDATED_TARGET_NIC2_TEST_IP,UPDATED_TARGET_NIC2_TEST_SUBNET_NAME,OK_TO_UPDATE,OK_TO_MIGRATE,OK_TO_USE_ASSESSMENT,OK_TO_TESTMIGRATE,OK_TO_RETRIEVE_REPLICATIONSTATUS,OK_TO_CLEANUP,OK_TO_TESTMIGRATE_CLEANUP
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,srcrg-ecy,ECYPROJ,ecyapp,testvm-cvm3,Microsoft Windows Server 2022 (64-bit),,srcrg-ecy,PAYG,"t1,t2","tv-1,tv-2","vm-tag-1,vm-tag-2","vm-tag-val-1,vm-tag-val-2","d1,d2","d1-val,d2-val",n1,n1-val,,xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,sv-target-ecy-rg,vnet-name,default,testvm-1,,NoLicenseType,,,,,,,Y,vnet-ecy,,,,"up-vm-1,up-vm-2","up-vm-value-1,up-vm-value-2",Replace,disk-1,disk-1-tag,Merge,,,,,,testvm-sv-1,t-disk-name,,,,,,,,nic-name-updated,,,10.0.1.1,10.0.2.1,AzureBastionSubnet,,,,,,,,Y,Y,Y,Y,Y,Y,Y
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,22 @@ The csv file is configurable so that you can use assessment recommendations and
AZMIGRATEPROJECT_SUBSCRIPTION_ID | Provide Azure Migrate project subscription ID.
AZMIGRATEPROJECT_RESOURCE_GROUP_NAME | Provide Azure Migrate resource group name.
AZMIGRATEPROJECT_NAME | Provide the name of the Azure Migrate project in that you want to migrate servers.
AZMIGRATE_APPLIANCE_NAME | Provide the name of the Appliance that was used for the Azure Migrate project. (Make sure it is in connected state.)
SOURCE_MACHINE_NAME | Provide the friendly name (display name) for the discovered VM in the Azure Migrate project.
OS_UPGRADE_VERSION | Specify the OS version to be used for the VM to use in Azure. Use any one from the Supported OS Versions.
AZMIGRATEASSESSMENT_NAME | Provide the name of assessment that needs to be leveraged for migration.
AZMIGRATEGROUP_NAME | Provide the name of the group that was used for the Azure Migrate assessment.
SQL_SERVER_LICENSE_TYPE | Provide the SQL Server License Type for the VM to use in Azure. Use "PAYG" for pay-as-you-go, "AHB" for Azure Hybrid Benefit, or "NoLicenseType" for no license type. If you use an assessment, then this value will be derived based on assessment recommendation.
TAG_KEY | Provide the name for the tag that needs to be applied for the VM to use in Azure. If there is more than one name, you can add multiple names in the same column separated by comma.
shivamverma-ms marked this conversation as resolved.
Show resolved Hide resolved
TAG_VALUE | Provide the value for the tag that needs to be applid for the VM to use in Azure. If there are more than one value, you can add multiple values in the same column separated by comma. (The number of names and values should be same.)
shivamverma-ms marked this conversation as resolved.
Show resolved Hide resolved
VM_TAG_KEY | Provide the name for the Virtual Machine Tag that needs to be applied for the VM to use in Azure. If there is more than one name, you can add multiple keys in the same column separated by comma.
VM_TAG_VALUE | Provide the value for the Virtual Machine Tag that needs to be applied for the VM to use in Azure. If there are more than one value, you can add multiple values in the same column separated by comma. (The number of keys and values should be same.)
DISK_TAG_KEY | Provide the name for the Disk Tag that needs to be applied for the VM to use in Azure. If there is more than one name, you can add multiple keys in the same column separated by comma.
DISK_TAG_VALUE | Provide the value for the Disk Tag that needs to be applied for the VM to use in Azure. If there are more than one value, you can add multiple values in the same column separated by comma. (The number of names and values should be same.)
shivamverma-ms marked this conversation as resolved.
Show resolved Hide resolved
NIC_TAG_KEY | Provide the name for the NIC Tag that needs to be applied for the VM to use in Azure. If there is more than one name, you can add multiple keys in the same column separated by comma.
shivamverma-ms marked this conversation as resolved.
Show resolved Hide resolved
NIC_TAG_VALUE | Provide the value for the NIC Tag that needs to be applied for the VM to use in Azure. If there are more than one value, you can add multiple values in the same column separated by comma. (The number of names and values should be same.)
TEST_VNET_NAME | Provide the name of the virtual network to be used for test failover.
TEST_SUBNET_NAME | Provide the name of the subnet to be used for test failover.
shivamverma-ms marked this conversation as resolved.
Show resolved Hide resolved
TARGET_SUBSCRIPTION_ID | Provide the ID of the Subscription where VM needs to be migrated to.
TARGET_RESOURCE_GROUP_NAME | Provide the name of the Azure resource group to that the VM needs to be migrated to.
TARGET_VNET_NAME| Provide the name of the Azure Virtual Network that the migrated VM should use.
Expand All @@ -60,25 +73,54 @@ TARGET_MACHINE_NAME | Provide the name that the migrated VM should use in Azure.
TARGET_MACHINE_SIZE | Provide the SKU that the VM should use in Azure. To migrate a VM to D2_v2 VM in Azure, specify the value in this field as "Standard_D2_v2". If you use an assessment, then this value will be derived based on assessment recommendation.
LICENSE_TYPE | Specify if you want to use Azure Hybrid Benefit for Windows Server VMs. Use value "WindowsServer" to take advantage of Azure Hybrid Benefit. Otherwise leave blank or use "NoLicenseType".
OS_DISK_ID | Provide the OS disk ID for the VM to be migrated. The disk ID to be used is the unique identifier (UUID) property for the disk retrieved using the Get-AzMigrateServer cmdlet. The script will use the first disk of the VM as the OS disk in case no value is provided.
DATA_DISK1_ID | Provide the ID of the Data Disk that is attached to the VM to be used in Azure. (If there are more than 2 Disks, use the ID of those ones that you want to use the scripts for.)
DATA_DISK2_ID | Provide the ID of the Data Disk that is attached to the VM to be used in Azure. (If there are more than 2 Disks, use the ID of those ones that you want to use the scripts for.)
TARGET_DISKTYPE | Provide the disk type to be used for all disks of the VM in Azure. Use 'Premium_LRS' for premium-managed disks, 'StandardSSD_LRS' for standard SSD disks and 'Standard_LRS' to use standard HDD disks. If you choose to use an assessment, then the script will prioritize using recommended disk types for each disk of the VM. If you don't use assessment or specify any value, the script will use standard HDD disks by default.
AVAILABILITYZONE_NUMBER | Specify the availability zone number to be used for the migrated VM. You can leave this blank in case you don't want to use availability zones.
AVAILABILITYSET_NAME | Specify the name of the availability set to be used for the migrated VM. You can leave this blank in case you don't want to use availability set.
TURNOFF_SOURCESERVER | Specify 'Y' if you want to turn off source VM at the time of migration. Use 'N' otherwise. If left blank, then the script assumes the value as 'N'.
TESTMIGRATE_VNET_NAME | Specify the name of the virtual network to be used for test migration.
UPDATED_TEST_VNET_NAME | Specify the name of the virtual network to update the server that needs to be test migrated in Azure.
shivamverma-ms marked this conversation as resolved.
Show resolved Hide resolved
UPDATED_TAG_KEY | Provide the name for the tag that needs to be updated for the VM to use in Azure. If there is more than one name, you can add multiple names in the same column separated by comma.
shivamverma-ms marked this conversation as resolved.
Show resolved Hide resolved
UPDATED_TAG_VALUE | Provide the value for the tag that needs to be updated for the VM to use in Azure. If there are more than one value, you can add multiple values in the same column separated by comma. (The number of names and values should be same.)
UPDATED_TAG_OPERATION | Specify the operation to be performed on the tag. Use "Merge" to mege the tag, "Delete" to delete the tag, or "Replace" to replace the tag.
shivamverma-ms marked this conversation as resolved.
Show resolved Hide resolved
UPDATED_VM_TAG_KEY | Provide the name for the Virtual Machine Tag that needs to be updated for the VM to use in Azure. If there is more than one name, you can add multiple keys in the same column separated by comma.
shivamverma-ms marked this conversation as resolved.
Show resolved Hide resolved
UPDATED_VM_TAG_VALUE | Provide the value for the Virtual Machine Tag that needs to be updated for the VM to use in Azure. If there are more than one value, you can add multiple values in the same column separated by comma. (The number of keys and values should be same.)
UPDATED_VM_TAG_OPERATION | Specify the operation to be performed on the Virtual Machine tag. Use "Merge" to mege the tag, "Delete" to delete the tag, or "Replace" to replace the tag.
UPDATED_DISK_TAG_KEY | Provide the name for the Disk Tag that needs to be updated for the VM to use in Azure. If there is more than one name, you can add multiple keys in the same column separated by comma.
UPDATED_DISK_TAG_VALUE | Provide the value for the Disk Tag that needs to be updated for the VM to use in Azure. If there are more than one value, you can add multiple values in the same column separated by comma. (The number of names and values should be same.)
UPDATED_DISK_TAG_OPERATION | Specify the operation to be performed on the Disk tag. Use "Merge" to mege the tag, "Delete" to delete the tag, or "Replace" to replace the tag.
UPDATED_NIC_TAG_KEY | Provide the name for the NIC Tag that needs to be updated for the VM to use in Azure. If there is more than one name, you can add multiple keys in the same column separated by comma.
shivamverma-ms marked this conversation as resolved.
Show resolved Hide resolved
UPDATED_NIC_TAG_VALUE | Provide the value for the NIC Tag that needs to be updated for the VM to use in Azure. If there are more than one value, you can add multiple values in the same column separated by comma. (The number of names and values should be same.)
UPDATED_NIC_TAG_OPERATION | Specify the operation to be performed on the NIC tag. Use "Merge" to mege the tag, "Delete" to delete the tag, or "Replace" to replace the tag.
UPDATED_TARGET_RESOURCE_GROUP_NAME | If you want to update the resource group to be used by the migrated VM in Azure, then specify the name of the Azure resource group, else leave blank.
UPDATED_TARGET_VNET_NAME | If you want to update the Virtual Network to be used by the migrated VM in Azure, then specify the name of the Azure Virtual Network, else leave blank.
UPDATED_TARGET_MACHINE_NAME | If you want to update the name to be used by the migrated VM in Azure, then specify the new name to be used, else leave blank.
UPDATED_TARGET_DISK_NAME | If you want to update the name to be used by the migrated VM in Azure for the disk, then specify the new name to be used, else leave blank.
shivamverma-ms marked this conversation as resolved.
Show resolved Hide resolved
UPDATED_TARGET_OS_DISK_NAME | If you want to update the name to be used by the migrated VM in Azure for the OS disk, then specify the new name to be used, else leave blank.
UPDATED_TARGET_DATA_DISK1_NAME | If you want to update the name to be used by the migrated VM in Azure for the data disk, then specify the new name to be used, else leave blank. (Only that Disk will be updated which is specified in the Data Disk1 ID.)
UPDATED_TARGET_DATA_DISK2_NAME | If you want to update the name to be used by the migrated VM in Azure for the data disk, then specify the new name to be used, else leave blank. (Only that Disk will be updated which is specified in the Data Disk2 ID.)
UPDATED_TARGET_MACHINE_SIZE | If you want to update the SKU to be used by the migrated VM in Azure, then specify the new SKU to be used, else leave blank.
UPDATED_AVAILABILITYZONE_NUMBER | If you want to update the availability zone to be used by the migrated VM in Azure, then specify the new availability zone to be used, else leave blank.
UPDATED_AVAILABILITYSET_NAME | If you want to update the availability set to be used by the migrated VM in Azure, then specify the new availability set to be used, else leave blank.
UPDATE_NIC1_ID | Specify the ID of the NIC to be updated. If left blank, then the script assumes the value to be the first NIC of the discovered VM. If you don't want to update the NIC of the VM, then leave all the fields containing NIC name blank.
TFO_NIC1_ID | Specify the ID of the NIC to be used for test failover (Test Migration). If left blank, then the script assumes the value to be the first NIC of the discovered VM. If you don't want to use a different NIC for test failover, then leave all the fields containing NIC name blank.
UPDATED_TARGET_NIC1_NAME | Specify the name to be used for this NIC on the migrated VM. Leave blank if you don't want to update.
UPDATED_TARGET_NIC1_SELECTIONTYPE | Specify the value to be used for this NIC. Use "Primary","Secondary" or "DoNotCreate" to specify if this NIC should be the primary, secondary, or should not be created on the migrated VM. Only one NIC can be specified as the primary NIC for the VM. Leave blank if you don't want to update.
UPDATED_TARGET_NIC1_SUBNET_NAME | Specify the name of the subnet to use for the NIC on the migrated VM. Leave blank if you don't want to update.
UPDATED_TARGET_NIC1_IP | Specify the IPv4 address to be used by the NIC on the migrated VM if you want to use static IP. Use "auto" if you want to automatically assign the IP. Leave blank if you don't want to update.
UPDATED_TARGET_NIC1_TEST_IP | Specify the IPv4 address to be used by the NIC on the test migrated VM if you want to use static IP.
UPDATED_TARGET_NIC1_TEST_SUBNET_NAME | Specify the name of the subnet to update the NIC on the test migrated VM.
TFO_NIC1_TEST_SUBNET_NAME | Specify the name of the subnet to use for the NIC on the test migrated VM.
UPDATE_NIC2_ID | Specify the ID of the NIC to be updated. If left blank, then the script assumes the value to be the second NIC of the discovered VM. If you don't want to update the NIC of the VM, then leave all the fields containing NIC name blank.
TFO_NIC2_ID | Specify the ID of the NIC to be used for Test Failover (Test Migration). If left blank, then the script assumes the value to be the second NIC of the discovered VM. If you don't want to update the NIC of the VM, then leave all the fields containing NIC name blank.
shivamverma-ms marked this conversation as resolved.
Show resolved Hide resolved
UPDATED_TARGET_NIC2_NAME | Specify the name to be used for this NIC on the migrated VM. Leave blank if you don't want to update.
UPDATED_TARGET_NIC2_SELECTIONTYPE | Specify the value to be used for this NIC. Use "Primary","Secondary" or "DoNotCreate" to specify if this NIC should be the primary, secondary, or should not be created on the migrated VM. Only one NIC can be specified as the primary NIC for the VM. Leave blank if you don't want to update.
UPDATED_TARGET_NIC2_SUBNET_NAME | Specify the name of the subnet to use for the NIC on the migrated VM. Leave blank if you don't want to update.
UPDATED_TARGET_NIC2_IP | Specify the IPv4 address to be used by the NIC on the migrated VM if you want to use static IP. Use "auto" if you want to automatically assign the IP. Leave blank if you don't want to update.
UPDATED_TARGET_NIC2_TEST_IP | Specify the IPv4 address to be used by the NIC on the test migrated VM if you want to use static IP.
shivamverma-ms marked this conversation as resolved.
Show resolved Hide resolved
UPDATED_TARGET_NIC2_TEST_SUBNET_NAME | Specify the name of the subnet to update the NIC on the test migrated VM.
TFO_NIC2_TEST_SUBNET_NAME | Specify the name of the subnet to use for the NIC on the test migrated VM.
OK_TO_UPDATE | Use 'Y' to indicate whether the VM properties need to be updated when you run the AzMigrate_UpdateMachineProperties script. Use 'N' or leave blank otherwise.
OK_TO_MIGRATE | Use 'Y' to indicate whether the VM should be migrated when you run the AzMigrate_StartMigration script. Use 'N' or leave blank if you don't want to migrate the VM.
OK_TO_USE_ASSESSMENT | Use 'Y' to indicate whether the VM should start replication using assessment recommendations when you run the AzMigrate_StartReplication script. This will override the TARGET_MACHINE_SIZE and TARGET_DISKTYPE values in the csv file. Use 'N' or leave blank if you don't want to use assessment recommendations.
Expand Down