In this lesson, we're going to learn how to deploy Mac OS upgrades using monkey.
We'll also discuss how different features and monkey can change how and when the upgrade happens and
whether or not users will get notified.
If in your environment you have hardware that it's not compatible with the operating system you want
to upgrade to, and you need to use conditions to filter out that hardware.
Or Wise Monkey will keep on offering the upgrade to your users and the upgrade will never work.
Now let's demonstrate how to deliver a Mac OS update with Monkey.
Here we have our Mojave upgrade, and it is a package like a lot of other software is, and so one of
the things that you want to think about is unattended versus attended.
Now, if you deliver all of your software unattended, so basically all your software upgrades happen
in the background and then you have your operating system attended, then your end users are going to
get Manege Software Center or monkey notifications about upgrading the OS.
And this is going to prove to be confusing to them.
If you are in an environment where you have attended installs and you have a self-service atmosphere
and people know that Manege Software Center provides upgrades and there's software that they can install,
then this might be more acceptable in your environment.
All right, now, the other thing that you need to consider are manifests, so right here, my demo
machine is attached.
This will be manifest and you can see that I've got my standard managed installs and Firefox is available
and install.
And we know that flash players dependent on it.
And then I've got some optional installs.
And you can see that I've got Adam Audacity and a couple of other programs.
And if I go to software that they're there, but I have installed Mojave as an optional install, but
it's not showing up in monkey.
So why is that?
Well, what if you have hardware that is not compatible with Mojave?
Now, we mentioned that you need to check the website for which versions of hardware are compatible
with the operating system you're going to deploy.
And so what I've done is I've created some conditions, so my job is only offered to machines that are
compatible.
Now, I know that MacBook Pro nine inch MacBook Pro 10 are compatible with McHardy.
But this machine here is VMware seven, comma one, and so if I want to make this available to my VMware
machine, then I'm going to have to add a new machine model.
And I'll say begins with and then VMware.
And then we'll say no more seven, so more seven one, seven, two, etc..
All right, so I'll go ahead and make that change and we'll close this off and hit say.
And now when I go ahead and refresh monkey, it should now see that my hardware is compatible with Mojave
and then make it available, which you can see it has done.
All right, so now we can see that we've got updates in two different sections and we have two different
sections because we have required installs and we have optional installs.
So if I go back to my manifest, you can see that Firefox is managed and that Halvey is optional.
OK, so if I click update all, then Firefox and Flash are going to install, but it's going to not
perform the installation of the lobby.
Now, if I'm an end user and I click this plus sign, then it's going to go ahead and basically move
it up to the pending updates.
And then if I do an update, all it's going to download and install Mojave.
Now there is a restart required flag for the operating system.
And so before it actually does the install, it will it will do the download first.
But before it does the install, it's going to say that it requires a restart and it's going to force
to log me out.
And so I will have to approve the upgrade.
OK, what happens, though, if we make it a required install?
So what I'm going to do is I'm going to remove it from optional, I'm going to add it to managed.
And I'm going to, of course, want to put my condition back in, and so I'll go ahead and hit save.
Now before I do that, one other thing I want to point out is if I do a listing of my monkey cached
folder.
You can see that flash in Firefox have been downloaded, but Melikhov has not been downloaded, and
that's because optional installs don't get downloaded until the user specifies them.
So if Monkey were running in the background and there's required installs, they get downloaded and
if there are optional installs, they don't get downloaded.
All right.
So if I refresh monkey now, what's going to happen?
Is is that Mojave is going to start downloading and you can see it has started downloading.
OK, so it's going to go ahead and download it.
And now when it's done, all three titles are going to be at the top.
There's not going to be a bottom section because the bottom section was for optional software.
And with everything being on the top and everything being downloaded, if I choose update all, I'm
going to get a warning about having to log out before the upgrade can be performed.
All right, so let's go back and talk about it one more time, the unattended.
So right now I have unattended, unchecked, if I had unattended check and monkey ran in the background
and Mo Halvey was required software like it is now manage software, then it would have downloaded in
the background without me interfacing with managed software center.
Now, it wouldn't install it because I'm logged in and Mojave has a required restart.
Now, if I were logged out of my computer unattended was checked monkey rain in the background, then
it would have downloaded and installed.
All right.
So what does that mean for your production concerns?
Well, if you want to have everything done automatically without any user intervention, then you would
want Mojave to be a managed install and you would want it to be an unattended install.
All right.
So what if you're concerned about your workers getting kicked out of their computers, rebooting?
Well, that's not going to happen.
When something has required restart flagged, then what happens is monkey runs in the background.
It knows that there is a required restart and it will not perform the upgrade.
So your users have to be logged out.
So if at the end of the day.
You want your Mojave upgrade to happen and your users do not log out, then the upgrades not going to
happen.
Now, if you know that you're on, say, Friday, you want to perform the upgrades and you ask all of
your users to log out on Friday night before they leave and they do log out, then it's going to download.
Well, it would probably be downloaded already, but then it would install the first time monkey runs
in the background with all users logged out.
Then that's when the Mojave installation would happen.
All right, so I'm going to go ahead and pause the video until the download completes and then I will
continue and we will continue seeing how the upgrade process works for a monkey.
OK, so now the download has finished and you can see that McGarvey is moved to the top along with Firefox
and Flash.
Now, remember, we are managed to install, not optional.
We're managed and we're also attended.
Now, if we were optional install and when it was down below, we clicked on the plus.
If we downloaded it and then brought it up here and we would be in the exact same position we're at
now.
So now I'm going to go ahead and hit update all.
And here's the warning that you get is a restart as required after updating.
So let's hit log out and update.
And so what it's going to do is it's going to log me out and it's going to install all three packages.
All right, so now we're available at the login screen and our upgrade has completed, so let's go ahead
and take a log in as our network user.
All right, now, as you can see, we're getting a progress bar after we've logged in, and this is
not a problem with our procedure.
This is a Apple problem.
So maybe at some later date this issue will be fixed now it says 13 minutes remaining, but it doesn't
actually take 13 minutes depending on your hardware.
It just might take a couple of minutes, maybe two to three minutes.
All right, so now as you can see that that's done and now we can go ahead and log in and so obviously
we're running low Halvey But if we go to about this, Mac will clearly see that we're running.
McAvey and I left a folder on the desktop and one in the documents folder so you could see that we are
upgrading all settings take place.
And then I also make sure that there was some history left and safari.
All right, so anyway, that's how the upgrade process works with Monkey.
And again, I'll stress that before you use monkey or any procedure to upgrade your operating systems,
you should thoroughly test your procedures on different hardware and software combinations to make sure
everything is going to be safe, particularly if you're going to choose to do things with more automation
rather than less automation.
On the next video, we're going to talk about how to do a similar process, but using a or basically
using scripting.