AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 17.09.2016, 21:14   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
stephenmann: Cloning a Dynamics AX VM
Источник: http://www.stephenmann.net/single-po...Dynamics-AX-VM
==============

Maintaining multiple AX environments can become time consuming when trying to keep settings, data and code base in sync.  A master VM of an environment can be maintained with the latest config, code and data. The master VM can then cloned to refresh dev, qa and uat environments when needed.
Running AX on a VM is also a good way of isolating environments. Since it is difficult run multiple kernel versions of AX on the same machine, VM's allow a way around this.  Cloning a Dynamics AX VM can be useful for if there is an additional developer that needs to use it or if QA would want to do testing on the same machine.  Cloning a VM can be completed in less than an hour when using SSD drives.
Part of the problems with cloning a Dynamics AX VM is that AX will save the machine name into the registry values.  When cloning a VM we will need to give the new machine a new name so it can join the same domain.  We easily can get around this by using the hosts file on the new machine to redirect any traffic bound for the old machine name back to localhost.
Right click on the machine that you want to clone and click "Export..."  This can be done while the machine is still running and will export a vhd of the machine in its current state.  Choose the folder to expert to and click export.
Right click the host computer in the left hand pane and click import virtual machine.  Choose the location of the vhd that was exported in the last step.
Next...
Choose to copy the virtual machine, creating a new ID.
Important.. Before starting the new VM make sure todisable the network adaptorfor it.  If the machine is started with the network adaptor connected then it will authenticate with the domain controller with the original computer name, this can cause the original VM to be unable to connect to the domain again.  The message will be something like "The trust relationship between this workstation and the primary domain failed"
Once the cloned machine is started, in system properties change the computer name, then run the SysPrep utility.
Reboot, reconnect the network and rejoin the domain with the new computer name.
Open the host file from C:\Windows\System32\drivers\etc\hosts
Add two entries to this file, one with the original computer name (not the new computer name), and one with the original machines domain name.
Once this is done then the AOS should start fine, client will be able to connect without any configuration changes, retail async and realtime services will work with existing certificate.
If using TFS source control then you will need to reconfigure your workspace with the new machine name.



Источник: http://www.stephenmann.net/single-po...Dynamics-AX-VM
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
stephenmann: Dynamics AX Retail CDX (a good example of how not to integrate applications) Blog bot DAX Blogs 0 17.09.2016 21:14
atinkerersnotebook: Using the Dynamics AX Excel Add-In Blog bot DAX Blogs 1 25.09.2013 07:11
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 12 Blog bot Dynamics CRM: Blogs 0 30.01.2013 01:11
ax-erp: Creating SSRS-Reports in Dynamics AX 2012 – What’s no longer possible in AX-reports Blog bot DAX Blogs 0 18.07.2012 12:11
dynamics-ax: Interview with Microsoft's Lachlan Cash on his new role, AX 2012 and more Blog bot DAX Blogs 6 22.04.2011 14:55

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 00:09.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.