Nine41 Consulting | Let Users Upgrade macOS With Ivanti’s Self-service Portal Workspaces
apple, device management, dep, vpp, systems management, landesk, ivanti, lanrev, absolute, heat, mdm,
16825
post-template-default,single,single-post,postid-16825,single-format-standard,qode-quick-links-1.0,ajax_fade,page_not_loaded,,columns-3,qode-child-theme-ver-1.0.0,qode-theme-ver-11.0,qode-theme-bridge,wpb-js-composer js-comp-ver-5.1.1,vc_responsive
 

Let Users Upgrade macOS With Ivanti’s Self-service Portal Workspaces

Let Users Upgrade macOS With Ivanti’s Self-service Portal Workspaces

In many instances, going through a non-data destructive OS upgrade is preferred over a full wipe and erase provisioning process. Furthermore, due to the time it takes to upgrade, more and more people are opting to make the upgrade available via a self-service portal; allowing the user to elect when to perform the upgrade.

While Ivanti offers admins the ability to fully provision a machine from scratch, you may find it more beneficial to reserve that process for a new machine build or for a full machine repair.

If you’re simply in need of upgrading the operating system to the next version, take advantage of a non-destructive OS upgrade using Apple’s builtin command-line utility called startosinstall.

Startosinstall is built directly into the macOS Installer and simple needs a few command-line arguments to kick off the process. Therefore, by using a simple script to download and kickoff the startosinstall command line, you can create an optionally-published package to Ivanti’s Workspaces — allowing an end-user to decide when to initiate the process. And, because the script pre-downloads the installer, the upgrade can commence when the user clicks Install.

To assist you in understanding the script I’ve written below, I’ve provided the arguments for startosinstall. However, please take note that these options changed in 10.12.4 – so if you’re deploying a different version, check the man page for startosinstall for the version specific arguments.

Prerequisites

  • Download the macOS installer from the Mac App Store
  • Compress the installer
  • Place the installer on your HTTP file share
  • If desired, download the logo and screenshots for the OS

Step 1 – Create a macOS Upgrade Script

  • Open a text editor on a Mac (BareBones, TextWrangler, Xcode).
  • Copy the script below into a blank file within your editor:

  • Change the filePath variable to match your HTTP file share.
  • Change the fileName variable to match your OS installer.
  • Change the destinationLocation variable if desired.
  • Adjust the upgrade command-line text after destination location to match your installer.
  • Save your script (ex. macOSUpgradeScript.sh).
  • Set execute permissions on your script in Terminal with the command “chmod 755 /path/to/your/script.sh” (ex. ~/Documents/macOSUpgradeScript.sh).
  • Copy the script to your file server (ex. smb://training.nine41.com/SoftwareDist/macOSSierra).

Step 2 – Create a macOS Upgrade Package

  • Open the Ivanti Management Console from either a Remote Console or the Core Server.
  • Go to Tools > Distribution > Distribution Packages.
  • Select My Packages from the menu tree.
  • Press the New button (green circle with the white plus symbol).
  • Select Macintosh > Macintosh Agent.
  • Label the package (ex. macOS Sierra Upgrade).
  • Enter an appropriate description.
  • Set the Primary File path to http://training.nine41.com/SoftwareDist/macOSUpgradeScript.sh or to your equivalent file share location.
  • Click on Additional Settings under Metadata in the menu tree.
  • Enter Apple as the Vendor.
  • Set the download time to 20.
  • Set the install time to 35.
  • Click on the Logo menu tree item and add in the macOS Sierra logo.
  • Add any additional metadata.
  • Click Save.

Step 3 – Create an Optional Upgrade Task for Workspaces

  • Right-click on the newly created package and select Create Scheduled Task(s).
  • Label the task (ex. BN macOS Sierra Upgrade).
  • Click on the Targets menu tree item.
  • Add your macOS device(s).
  • Select the Scheduled Task menu option.
  • Select to Start Now.
  • Press the Save button.

Step 4 – User to Upgrade When Desired

  • User launches Ivanti Workspaces from the menu bar.
  • Authenticates if prompted.
  • Clicks on the user icon for Self Service then selects Software Catalog.
  • Clicks the All Tags button.
  • Clicks the Install button on the macOS Sierra Upgrade tile.
2 Comments
  • Jerry Horn
    Posted at 08:55h, 16 June Reply

    What a good post. Can this be modified for LDMS 9.6 SP3? Again, it was nice meeting you at the Ivanti InterChange event in Las Vegas.

    • Bennett Norton
      Posted at 09:07h, 16 June Reply

      Jerry, it was great to meet you; even if I left you hanging way too long on that handshake. 🙂

      As for the steps for 9.6, I do not believe anything will need to be changed. SDClient should behave the same way from what I recall. Workspaces will look a bit different, but that’s about it.

Post A Comment

ARE YOU READY TO GET STARTED?
Please fill out your information, and a specialist will reach out to discuss our services in more details.
Your Information will never be shared with any third party.
        
Free Training Videos
Register to gain access to all of our free content.
YOUR PHONE
YOUR NAME
YOUR EMAIL
        
Get Started
Provide us your contact information and we will reach out as quickly as possible.
YOUR PHONE
YOUR NAME
YOUR EMAIL
        
Additional Questions?
Provide us your contact information and we will reach out as quickly as possible.
YOUR PHONE
YOUR NAME
YOUR EMAIL
        
Pay by PO?
Provide us your contact information and we will reach out to help you sign up by PO.
YOUR PHONE
YOUR NAME
YOUR EMAIL
Subscribe Now
Subscribing to our site gives you access to our Apple Admin 101 training videos as well as allowing us to notify you of each new blog post we release.
YOUR PHONE
YOUR NAME
YOUR EMAIL
Pay by PO
Send us your contact information and we will reach out to help you sign up by PO.
YOUR PHONE
YOUR NAME
YOUR EMAIL
Additional Questions?
Send us your contact information and your questions and we will reach out as quickly as possible.
YOUR PHONE
YOUR NAME
YOUR EMAIL
YOUR QUESTIONS
Get Started
Provide us your contact information and we will reach out as quickly as possible.
YOUR PHONE
YOUR NAME
YOUR EMAIL
Free Training Videos
Subscribing to our site gives you access to our Apple Admin 101 training videos as well as allowing us to notify you of each new blog post we release.
FIRST NAME
LAST NAME
PHONE
EMAIL
Subscribe Now
Subscribing to our site gives you access to our Apple Admin 101 training videos as well as allowing us to notify you of each new blog post we release.
FIRST NAME
LAST NAME
PHONE
EMAIL