Yosemite brought Xsan 4, which included a whole new way to add clients to an Xsan. Xsan Admin is gone, as of El Capitan, but unchanged from then to macOS Sierra (other than a couple of binaries moving around). These days, instead of scanning the network using Xsan Admin. we’ll be adding clients using a Configuration Profile. This is actually a much more similar process to adding Xsan clients to a StorNext environment than it is to adding clients to Metadata Controllers running Xsan 3 and below. But instead of making a fsnameservers file, we’re plugging that information into a profile, which will do that work on the client on our behalf.…
-
-
Xsan Command Line Options In macOS Sierra
Let’s start out with what’s actually available in the Server Admin CLI: serveradmin. The serveradmin command, followed by settings, followed by san shows a few pieces of information: bash-3.2# serveradmin settings san san:computers = _empty_array san:primaryController = "95C99FB1-80F2-5016-B9C3-BE3916E6E5DC" san:ownerEmail = "krypted@me.com" san:sanName = "krypted" san:desiredSearchPolicy:_array_index:0 = "" san:serialNumbers = _empty_array san:dsType = 0 san:ownerName = "Charles Edge" san:managePrivateNetwork = yes san:metadataNetwork = "10.0.0.0/24" san:numberOfFibreChannelPorts = 2 san:role = "CONTROLLER" Here, we see the metadata network, the GUID of the primary (active) MDC, the name of the SAN, an array of serial numbers (if applicable – in a purely Mountain Lion/Mavericks SAN they aren’t), the owner info plugged in earlier and the metadata network interface being used. Next, we’ll take a peak at…
-
Check Out Our MacVoices Episode On The September 7th Apple Event
-
Episode 10 of the MacAdmins.org Podcast
Special thanks to @dials_mavis for being basically the best ever, cutting this thing together while he was sick, and for the rest of the team for being awesome to help hide the fact that I’m not. 🙂
-
My Notes From The September 7th, 2016 Apple Event
App Store Stats and Fun Stuff 17,000,000! 900,000,000 lighting connector devices 10 year anniversary of the Apple Music Festival, with Britney 140 billion app downloads 106% YoY download increases 2 times the “nearest competitor” 1/2 million games on the store Mario: Super Mario Run Mention ConnectEd! Everyone Can Code iWork Real Time Collaboration (only behind Google by how long?) But it’s prettier than what Google does Apple is the 2nd largest watchmaker now, and largest smartwatch maker Watch: WatchOS 3 New dock New faces Tapback messaging Animated stickers in messages Full screen effects, just like in Messages for Mac Breathe Emergency Messaging Developers Pokémon Go for watch 500,000,000 downloads of…
-
Hide Items On Your Desktop In OS X
When speaking to a group of people, I once created a folder called Old and then moved all my files in there. However, you can create a temporary desktop that shows as clean and empty. To do so, write the CreateDesktop key in the com.apple.finder defaults domain, with a setting of false, as follows: defaults write com.apple.finder CreateDesktop -bool false Then restart the Finder and it will show crisp and new: killall Finder Then once you’re done, delete the temporary desktop, by deleting the key, as follows: defaults delete com.apple.finder CreateDesktop Then restart the Finder to see your files again: killall Finder
-
Configure TextEdit To Save Files As Plain Text
Set plain text in TextEdit as the default format to save files in using the defaults command to write the RichText key into com.apple.TextEdit as an integer of 0, as follows: defaults write com.apple.TextEdit RichText -int 0 To remove the key: defaults delete com.apple.TextEdit RichText
-
Scripting Around Dropping Network Connections In OS X
Dropping network connections can be incredibly frustrating. And finding the source can be a challenge. Over the years, I’ve found a number of troubleshooting methods, but the intermittent drop can be the worse to troubleshoot around. When this happens, I’ve occasionally resorted to scripting around failures, and dumping information into a log file to find the issue. For example, you may find that when a network connection fails, you have a very strong signal somewhere, or that you have a very weak signal on all networks. I’ve found there are three pretty simple commands to test joining/unjoining, and using networks (beyond the standard pings or port scans on hosts). The…
-
Choose An Existing Supervision Identity in Apple Configurator
When using Apple Configurator, you can assign an existing supervision identity to be used with devices you place into supervision. To do so, first open Apple Configurator and click on Organizations. From Organizations, click on the plus sign (“+”). From the Create an Organization screen, click Next. When prompted to provide information about your organization, provide the name, phone, email, and/or address of the organization. If you are importing an identity, select “Choose an existing supervision identity” and click on Next. When prompted, click Choose to select the identity to use (e.g. exported from another instance of Apple Configurator or from Profile Manager). Click Choose when you’ve highlighted the appropriate…
-
Programmatically Grab The Location Of An Account
Namespace conflicts can be interesting. Especially with multiple local domains. To grab the path of a directory domain of a currently logged in user (when running as the user) using a script, you can run the following: dscl . -read /Users/`whoami` | grep AppleMetaNodeLocation | awk '{print $2}' You can then replace the string we’re using with grep if you’d like to pull a different attribute from the user record, you’d use the following: dscl . -read /Users/`whoami` | grep UniqueID | awk '{print $2}'