*

Offline Rushy

  • Planar Moderator
  • *****
  • Posts: 8569
    • View Profile
Re: need some Mac Server advice
« Reply #20 on: October 05, 2014, 10:57:29 PM »
A mac mini is about $600. You are looking to save him $200 at best, whilst sounding like a total gonk when he utters the word 'hackintosh'.

He quoted it at $1500, so he is probably using some sort of government service that marks up all the shit they sell. I had to order sticky notes from a government supply service once (for my job) and they were $40 for a six-pack.

So yeah, I'm saving him about $1000. So, like I asked before, what are you doing with your life? Nothing. Nothing at all.

Thork

Re: need some Mac Server advice
« Reply #21 on: October 05, 2014, 11:00:01 PM »
You are a gonk. >:(

*

Offline markjo

  • *
  • Posts: 7849
  • Zetetic Council runner-up
    • View Profile
Re: need some Mac Server advice
« Reply #22 on: October 06, 2014, 12:50:30 AM »
A mac mini is about $600. You are looking to save him $200 at best, whilst sounding like a total gonk when he utters the word 'hackintosh'.

He quoted it at $1500, so he is probably using some sort of government service that marks up all the shit they sell.
Actually, $1500 is probably about right for a MacMini server with 16 GB ram.

So yeah, I'm saving him about $1000. So, like I asked before, what are you doing with your life? Nothing. Nothing at all.
I would think that Dave's school district would appreciate a tech solution that includes the option for real tech support.
Abandon hope all ye who press enter here.

Science is what happens when preconception meets verification.

Ignorance more frequently begets confidence than does knowledge. -- Charles Darwin

If you can't demonstrate it, then you shouldn't believe it.

*

Offline xasop

  • Administrator
  • *****
  • Posts: 9776
  • Professional computer somebody
    • View Profile
Re: need some Mac Server advice
« Reply #23 on: October 06, 2014, 09:10:58 AM »
Virtualisation sounds like completely the wrong solution to the problem of a software limitation like this. Even if the software isn't fixable (which would be the right solution), why can't you just run 7 instances of the server process?

Also, I don't know exactly which features of Mac server you use, but you could try Linux with Netatalk.
when you try to mock anyone while also running the flat earth society. Lol

*

Offline markjo

  • *
  • Posts: 7849
  • Zetetic Council runner-up
    • View Profile
Re: need some Mac Server advice
« Reply #24 on: October 06, 2014, 12:25:11 PM »
Now it runs fine with one exception: VPP(volume purchase program) tokens.  I hate these things.  To explain: apple allows you to assign an app to a user and push that app.  The VPP allows you to do that.  It also links to a special iTunes account that let's you buy the apps. 
We have roughly 7 of these tokens.
If it's just an iTunes account, won't the Windows version of iTunes handle the tokens just as well as the Mac version?
Abandon hope all ye who press enter here.

Science is what happens when preconception meets verification.

Ignorance more frequently begets confidence than does knowledge. -- Charles Darwin

If you can't demonstrate it, then you shouldn't believe it.

*

Offline Lord Dave

  • *
  • Posts: 7653
  • Grumpy old man.
    • View Profile
Re: need some Mac Server advice
« Reply #25 on: October 06, 2014, 04:31:36 PM »
Virtualisation sounds like completely the wrong solution to the problem of a software limitation like this. Even if the software isn't fixable (which would be the right solution), why can't you just run 7 instances of the server process?

Also, I don't know exactly which features of Mac server you use, but you could try Linux with Netatalk.

As far as I know, you can't.

Let me back up and give a bit of info on what we do and how it works.

We use 3 main components of the server(sort of): A virtual MDM(Mobile Device Manager), Profile Manager, and Cache.
When we buy apple products, like ipads, I access the virtual MDM server which is housed in the apple cloud.  On that virtual MDM I then assign those ipads to a real MDM (my server).  When an ipad is activated, it contacts apple, get's the IP address and name of the server it's assigned to, and then contacts that server to download the configuration (which I made mandatory).  The benefit is that if the ipad is ever stolen, I still retain full control over it so long as it's got a wifi connection to the internet and if it's wiped, it can't be reactivated without downloading the config file from the server, which I can set to autolock the ipad.  So basically, it'll make a wiped ipad useless.

The second part, Cache is your run of the mill caching service for ios software.  ipad wants an app, the server downloads that app and stores it for any other iOS device that wants it.

The Profile Manager is the main workhorse service.  In there we have the device deployment and the Volume Purchase Program.  The device deployment is the MDM service and it requires a special security token using a public/private key setup.  You get a public key, give it to apple, and they give you a private key back which you then install as your token.  The VPP operates in a similar way except you log into the VPP program account (whichever account you're using at the time) and download the security token from apple then install it onto the server.

Profile manager also runs the web based profile manager interface which is where you configure settings, assign devices, etc...

So I get the ipads setup, push configurations, and assign them to users.

To push an app, I first have to buy it.  So I log into the vpp apple page with the same account my server's token is set to, buy an app (even free ones) and wait.  After apple approves the purchase (usually within a minute) I then wait until apple pushes the purchase data to my sever.  The apps then show up on my profile manager and I assign them to users.
The app is then pushed to the ipad via itunes.  It assigns the app to whatever itunes account is on the ipad and pushes it either from the cloud or my server.  And because it's user based, one user can have 100 devices and only use one purchased copy of the app.  (though we do make sure we buy enough for each device anyway)  It also means that any itunes account that the app get's pushed to can actually install that app.

See, apple's idea is that every single idevice should have a unique itunes account, with the exception of home use and lab type setups. 
So the device pushes it and everyone's happy.
Until I need to swap tokens.  Once I do that, a couple things happen.
1. The app won't get updates.
2. The app may be removed after a month.
3. I can't push any more apps to the device until I change the token back.
4. AND, it doesn't keep track of who has what app so I have to reassign all the apps all over again.

And the security key is for each server, as I understand it.  So if I were to have 7 instances of apple server on it, there would be 7 keys running and every single idevice would get confused as to what key they're using.  And there isn't a way to say "keep checking keys until you get the right one."  It's a one key to one server(not instance) type of setup.
Hence why I need multiple servers.
If you are going to DebOOonK an expert then you have to at least provide a source with credentials of equal or greater relevance. Even then, it merely shows that some experts disagree with each other.

*

Offline xasop

  • Administrator
  • *****
  • Posts: 9776
  • Professional computer somebody
    • View Profile
Re: need some Mac Server advice
« Reply #26 on: October 06, 2014, 04:35:41 PM »
You get a public key, give it to apple, and they give you a private key back

How has Apple managed to fuck up PKI that badly?
when you try to mock anyone while also running the flat earth society. Lol

*

Offline Lord Dave

  • *
  • Posts: 7653
  • Grumpy old man.
    • View Profile
Re: need some Mac Server advice
« Reply #27 on: October 06, 2014, 07:25:44 PM »
You get a public key, give it to apple, and they give you a private key back

How has Apple managed to fuck up PKI that badly?
How else can an iOS device to know that a server its talking to is the one apple said it is?
If you are going to DebOOonK an expert then you have to at least provide a source with credentials of equal or greater relevance. Even then, it merely shows that some experts disagree with each other.

*

Offline xasop

  • Administrator
  • *****
  • Posts: 9776
  • Professional computer somebody
    • View Profile
Re: need some Mac Server advice
« Reply #28 on: October 07, 2014, 01:34:27 AM »
How else can an iOS device to know that a server its talking to is the one apple said it is?

The same way literally every other PKI in the world achieves similar goals, by having Apple sign your public key with their private key. Your private key should remain, well, private.
when you try to mock anyone while also running the flat earth society. Lol

*

Offline spoon

  • *
  • Posts: 1134
  • Foxy wins
    • View Profile
Re: need some Mac Server advice
« Reply #29 on: October 07, 2014, 04:35:23 AM »
You get a public key, give it to apple, and they give you a private key back

How has Apple managed to fuck up PKI that badly?
How else can an iOS device to know that a server its talking to is the one apple said it is?

by tracking it's IP.
inb4 Blanko spoons a literally pizza

*

Offline Rushy

  • Planar Moderator
  • *****
  • Posts: 8569
    • View Profile
Re: need some Mac Server advice
« Reply #30 on: October 07, 2014, 05:12:04 AM »
by tracking it's IP.

This is the second worst way you could think of to check the validity of a server, the first way being: "are you a fake server?" ... "no"

*

Offline Lord Dave

  • *
  • Posts: 7653
  • Grumpy old man.
    • View Profile
Re: need some Mac Server advice
« Reply #31 on: October 07, 2014, 07:12:57 AM »
How else can an iOS device to know that a server its talking to is the one apple said it is?

The same way literally every other PKI in the world achieves similar goals, by having Apple sign your public key with their private key. Your private key should remain, well, private.
*shrug* maybe that is how they do it but they call it a token.  I dunno.  All I know is that its a pain in the ass.
If you are going to DebOOonK an expert then you have to at least provide a source with credentials of equal or greater relevance. Even then, it merely shows that some experts disagree with each other.

*

Offline Lord Dave

  • *
  • Posts: 7653
  • Grumpy old man.
    • View Profile
Re: need some Mac Server advice
« Reply #32 on: October 24, 2014, 01:08:03 AM »
Update:

I got a hackintosh VM to run.  Yay me.
The bad news?  Apple is a god damn, mother fucking greedy fuckface of a company.

For those who don't know, Apple likes to update things.  They also like to not allow you to download previous versions.  So when Yosemite came out not only could I NOT download a new copy of server.app (which I need for the hackintosh) but I have to PAY for version 4.0!

WTF apple!  You don't let me redownload the app I bought AND you force me to buy a new one? 

Oh and copying over server.app doesn't work well.  postgres ends up not working thus the things I NEED the server to do, do not work.  (file permission error crap)

So yeah, Apple is evil. 
If you are going to DebOOonK an expert then you have to at least provide a source with credentials of equal or greater relevance. Even then, it merely shows that some experts disagree with each other.

*

Offline xasop

  • Administrator
  • *****
  • Posts: 9776
  • Professional computer somebody
    • View Profile
Re: need some Mac Server advice
« Reply #33 on: October 24, 2014, 01:12:59 AM »
Postgres is one of the easiest things in the world to make work. Just treat it like an isolated component, fix it, and then see if things work.
when you try to mock anyone while also running the flat earth society. Lol

*

Offline Lord Dave

  • *
  • Posts: 7653
  • Grumpy old man.
    • View Profile
Re: need some Mac Server advice
« Reply #34 on: October 24, 2014, 01:47:40 AM »
Postgres is one of the easiest things in the world to make work. Just treat it like an isolated component, fix it, and then see if things work.

Oh getting Postgres to work is easy.  Getting the imbeded, built in, and configured for another server postgres INSIDE server.app to work with the server.app setup... not so much.

Basically the server setup scripts attempt to create a database named something I can't find using an account I have no idea about all internally and if it doesn't have the right permissions (whatever they are) it fails.

It probably wouldn't be so bad if I didn't have to basically move an already configured copy of server.app into a different server.  And the permissions are all fucked up too.  On the original server, the server.app is completely "read&write only by system" but the copy has my admin account as the read&write person.  and I'm not sure how to propagate a system account as the only read&write permission.

And honestly: I'm not a linux or unix expert.  And the apple community (or the hackintosh community) is not helpful since no one in their right mind would have to ask "how do you reconfigure server.app to use an external postgres install".
If you are going to DebOOonK an expert then you have to at least provide a source with credentials of equal or greater relevance. Even then, it merely shows that some experts disagree with each other.

*

Offline Fortuna

  • *
  • Posts: 2979
    • View Profile
Re: need some Mac Server advice
« Reply #35 on: October 25, 2014, 02:26:40 AM »
Update:

I got a hackintosh VM to run.  Yay me.
The bad news?  Apple is a god damn, mother fucking greedy fuckface of a company.

For those who don't know, Apple likes to update things.  They also like to not allow you to download previous versions.  So when Yosemite came out not only could I NOT download a new copy of server.app (which I need for the hackintosh) but I have to PAY for version 4.0!

WTF apple!  You don't let me redownload the app I bought AND you force me to buy a new one? 

Oh and copying over server.app doesn't work well.  postgres ends up not working thus the things I NEED the server to do, do not work.  (file permission error crap)

So yeah, Apple is evil.

Cost of Windows 8.1.

Cost of OS X Yosemite.

Microsoft is a bit more evil.

*

Offline Lord Dave

  • *
  • Posts: 7653
  • Grumpy old man.
    • View Profile
Re: need some Mac Server advice
« Reply #36 on: October 25, 2014, 02:37:23 AM »
Update:

I got a hackintosh VM to run.  Yay me.
The bad news?  Apple is a god damn, mother fucking greedy fuckface of a company.

For those who don't know, Apple likes to update things.  They also like to not allow you to download previous versions.  So when Yosemite came out not only could I NOT download a new copy of server.app (which I need for the hackintosh) but I have to PAY for version 4.0!

WTF apple!  You don't let me redownload the app I bought AND you force me to buy a new one? 

Oh and copying over server.app doesn't work well.  postgres ends up not working thus the things I NEED the server to do, do not work.  (file permission error crap)

So yeah, Apple is evil.

Cost of Windows 8.1.

Cost of OS X Yosemite.

Microsoft is a bit more evil.
Windows works on most hardware.
OS X Yosemite works on a very limited range of hardware.
If you are going to DebOOonK an expert then you have to at least provide a source with credentials of equal or greater relevance. Even then, it merely shows that some experts disagree with each other.

*

Offline Rushy

  • Planar Moderator
  • *****
  • Posts: 8569
    • View Profile
Re: need some Mac Server advice
« Reply #37 on: October 25, 2014, 04:00:58 PM »
Cost of Windows 8.1.

Cost of OS X Yosemite.

Microsoft is a bit more evil.

If you take a mac and subtract the actual cost of the hardware (retail value is fine) then you end up paying around $800 for OS X every time. I'm not sure what you're getting at, here. I can build a $400 Windows 8.1 computer. I can't build an OS X computer at all.
« Last Edit: October 25, 2014, 04:07:28 PM by Irushwithscvs »

*

Offline Lord Dave

  • *
  • Posts: 7653
  • Grumpy old man.
    • View Profile
Re: need some Mac Server advice
« Reply #38 on: October 25, 2014, 06:10:02 PM »
To be fair:
Upgrade from Snow Leopard to Mavericks was free as was Mavericks to Yosemite.
If you are going to DebOOonK an expert then you have to at least provide a source with credentials of equal or greater relevance. Even then, it merely shows that some experts disagree with each other.