
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2016 12:05 PM
I have a several deployments that i want to combine.
1) Send active domain users a messagebox that the Dynamics AX servers will be restarted over 10 minutes and that the clients will be killed over 8 minutes. (vbs)
2) Send messagebox that AX client will be killed on client computers (vbs)(killprocess)
3) Clear AX cache on client computers (vbs)
4) Stop / Start AX object server services (command)
5) Send messagebox that the clients can login to AX (vbs)
Is it possible to set waittimes between steps ?
Like:
Deployment 1:
-Run step 1
-Wait 8 minutes
-Run step 2
-Run step 3
-Wait 2 minutes
-Run step 4
-Run step 5
Kind regards,
I.Kulgu
Solved! Go to Solution.
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2016 04:05 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2016 09:37 PM
To add the pause we just plug in a powershell script as a Command after the troublemakers-
Powershell.exe "start-sleep -s 90"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2016 10:00 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2016 10:14 AM
I want that the deployment is independant, so whether it runs on the machines or not, the deployment sends the next step after 8 min.
So if i hit deploy now at 12:00 then i want the next step to run exactly at 12:08.
Example:
Step 1: Run script
Step 2: Wait 8 min
Step 3: Run script
Step 4: Wait 2 min.
Step 5: Run script
The steps are now depending on status (success / fail) to run the next step.
Think like you send a message to whole company with cmd msg *, it shows the message on all computers at the same time.
Or think like a stopwatch running the deployment, when you push the deployment the stopwatch begins, after 8 min. it runs the next step and after 10 min it runs the last step.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2016 05:59 PM
I've added your feature request to our customer wish list, but I'm not sure whether this will be implemented, just because I can't recall this being requested before. I'm assuming a change like this would require some major modifications of our deployment code as well. It may be possible to force synchronization within your steps/scripts themselves, but this is not something we can provide instructions or support for. I'm assuming you could write something that prints the deployment progress to a shared file somewhere and that decides whether or not to proceed with the next step based on how many machines have reported back.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2016 04:21 PM
IF there is any problem with our CRM software and it needs a restart we normally send a mail to all users that the services will be restarted.
By default we send the mail 10 minutes before we restart the services and tell them to exit the software.
If they are still connected then the cache file will be corrupt and the software won't work correctly.
I want to do this with the deployment solution.
I have the following scripts:
1. Send message to users that the servers will be restarted over 10 min. and the clients will be killed over 8 minutes.
2. Send reminder that the services will be restarted, after clicking OK the client will be killed and the cache file will be deleted
3. Restart services on 3 servers.
4. Send message after restart services
So what i want is:
1. Send message to all active computers
2. Wait 8 minutes
3. Send reminder to all active computers and kill client + clear cache
4. Wait 2 minutes
5. Restart services on servers
6. Send message that they are restarted
So if i deploy it to all active computers, it needs to run on all at the same time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2016 12:27 PM
The step I mentioned in my previous post adds a timeout within a single machine's deployment. It doesn't influence when your machines' deployments are started.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2016 04:05 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2016 08:58 AM
Susan.A wrote:
You could add a sleep or timeout step between your steps. I've attached a screenshot of a sample step. 15 = wait for 15 seconds.
This is only for 1 client, i want it deployment based.
The solution you gave me is like:
If it's 12:00
Client 1 runs the script @ 12:00
Client 2 runs the script @ 12:02 etc.
So client 1 will be finished @ 12:10 but client 2 doesn't ..
I want a solution whether the client runs it or not, the deployment must be finished over 10 minutes.
