15.02.2018, 09:11 | #1 |
Участник
|
waldo: CRS.RemoteNAVDockerHostHelper – Updated!
Источник: https://dynamicsuser.net/nav/b/waldo...helper-updated
============== I’m not going to blog about each version of this module, but for this update, I felt obligated to share a few words. Primarily, because all has changed :-). Not one function is the same. I renamed all of the functions to a more convenient name – as they were quite long (not to say: ridiculous ;-)). For that reason, I have edited my previous blogpost, where I introduced the new module. Still, since I (think I) made it a little bit easier for you to get started with it, let me share a few short paragraphs on the tool again (some is repeated, but you know – Repetitio Mater Studiorum Est ;-)). Introduction This tool has been created from my own development experience, where I have:
Getting started To get started with this module, there are two things you need to do first. Enable Remote PowerShell on the Docker Host You need to make sure that your docker host is remotely accessible by PowerShell. I’m not the expert in that, but what helped me was AJ’s blog and also this one to be able to set that up. Install the dependent Modules The module is dependent on some other modules, depending on the functionality you are going to use. Making these modules available is quite easy. I created a function for that, which is part of the module: Install-RDHDependentModules . Just run it like this, and all is set up: Install-RDHDependentModules `-DockerHost $DockerHost `-DockerHostCredentials $DockerHostCredentials `-DockerHostUseSSL:$DockerHostUseSSL `-DockerHostSessionOption $DockerHostSessionOption `-ContainerName $Containername In a future version, I will probably include this in some other functions, just to prep the container if not already prepped.. . You’re good to go! So, when above is done, you’re good to go. For each remote environment, I tend to make a separate folder, like you see in here. Each folder holds a set of scripts, where one is the settings-file, with usually specific sessions for this docker host. This settings-script is usually ran first in any other script.. . It makes it easy: just figure out the remote execution settings once, and you’re good to go for all your specific scripts. Just take these folders as an example. Also useful for upgrades? You see a folder “UpgradesOnWaldoCoreVM” – this is now how I actually perform my upgrades – so yes, definitely useful. But how that works – that’s for a future blogpost – because I still need to clean it up a bit ;-). Источник: https://dynamicsuser.net/nav/b/waldo...helper-updated
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|