But I strongly feel that if the Linux folks would take a step back and acknowledge that it's no longer 1970, they'd see that have programs set up to pass objects around instead of text can be hugely beneficial.
The advantage here being...? It sounds like a cool feature, but what would I be doing where I would actually want to have object oriented programming in my shell?
Ok, how about: Boss comes to you and says something like: "Can you tell me what version of windows is running on all of our machines, and what service pack they are on?" "...and can I have that as a CSV?"
You: gc machines.txt | % { gwmi win32_operatingsystem -computer $_ } | select __SERVER,Name,OSArchitecture,ServicePackMajorVersion,ServicePackMinorVersion | export-csv.\report.csv Boss: Actually, can I have that in html? I need to put that up in a web site You: OK..here you go gc machines.txt | % { gwmi win32_operatingsystem -computer $_ } | select __SERVER,Name,OSArchitecture,ServicePackMajorVersion,ServicePackMinorVersion | convertto-html > report.html
I find that you can do things in PS that are a pain in bash (e.g. get a list of processes started within the last hour)
It doesn't help that most of the supposed IT people that I interview are woefully inept when it comes to anything above desktop support work. Even the staple (Windows) exam questions like "What are the 5 FSMO roles" or "How would you recover a failed domain controller" or even "What are the stages of name resolution" usually result in blank stares. Once you start getting into more complex questions such as the pros and cons of running different systems in virtual environments they mostly just give up entirely.
A lot of these people are contractors that are sent by reputable agencies as "the best they have to offer" and are asking £300-£350/day or more. Frankly I'm amazed that the unemployment rate for them isn't much higher, I can only assume that most of the time they either don't have to interview or get interviewed by someone just a little worse than they are.
Recovering a failed domain controller? I'm going to assume it's a replica DC and connected by a reasonably high bandwidth link, and your NTDS database isn't too big, and you have other functioning domain controllers:) I'm also going to assume that the failure is some kind of hardware failure (say: hard disk + mirror failure) 1. Seize any FSMO roles hosted by this DC (probably also worth checking that it's not the only DC configured for DNS scavenging, etc and move those roles well) 2. perform metadata cleanup (using ADUC if 2K8, or ntdsutil if 2K3 or below) 3. repair machine 4. reinstall windows + required patches 5. dcpromo as replica... 6. wait for replication 7. ??? 8. profit
Having deployed both in an enterprise, I can say that if you're trying to automate imaging, go with Bladelogic. If you're trying to automate package deployment/policy, go with HPSA. Bladelogic has a great feature - it has a custom PXE server that keeps track of the state of the OS install, and changes the boot so that you can set your servers to network boot, and once they're installed, Bladelogics PXE server will make it us the HDD. This is fantastic, compared to HPSA where you need to dink around to make things happy.
ymmv
HPSA does this too, you just need the MBC extension...
>1. never put windows on C: it will confuse the badly written hardcoded C: crap ware. > >2. make C: the temp/media drive....it also confuses all sorts of other badly written software. (some of which may actually be useful) iPods do not sync if they are drive C:
My Ford Focus will do 150mph. (as standard from the factory) You can disable the traction control by holding down the ESP button for more than 5 seconds. Pity the North American models are so anaemic.
>That reminds me... it's worthwhile to look for jobs in the Kitchener/Waterloo area too.
You'd better like snow though - as an ex Kiwi, living in the UK, I was a little horrified by 50cm of snow one weekend... it was like the start of the next ice age.
> This exact same question has come up in our discussions about Parallels vs Bootcamp. And how do you add a Parallels Virtual Machine to an Active Directory Domain under a multi-user Mac which is also attached to the domain? More questions, LOL!
Works fine... your parallels VM looks like a completely seperate machine to the AD server. everything pretty much works as you'd expect. even WSUS updates work fine
And there's no caching of usernames, so if the network goes down or the servers don't work, no-one can log in in a Mac. Worse again, they tend to freeze if the domain server goes down.
Switch the account type to mobile in the AD plugin it'll cache the login credentials, and not freeze if the login server goes down.
> WhyTF doesn't df have the same switches and output format on Sun as it does on Linux/AIX? I hate using the Sun machines cuz I can't reuse my everyday Linux/AIX knowledge on them.
...Get the GNU fileutils for solaris/AIX (both available as freeware)... problem solved.
I found that I could replicate this quite reliably by starting freevo (http://freevo.org) from rc.local (freevo is a window manager so it automatically starts X for you)
Ummm, actually Entourage does support public folders and shared calendars... (even those e-mailed meeting requests are supported), although you do need Exchange 2000 or above.
Actually, tv_grab_nz works just fine here in NZ (well, at least for the last 3 months or so) (although you sometimes don't get more than a day ahead on C4)
I'm using freevo, but I believe that MythTV uses xmltv also.
To tell the kernel to probe a device, just "echo scsi add-single-device 0 1 2 3 >/proc/scsi/scsi", where "0" is the host adaptor, "1" is the bus, "2" is the SCSI target, and "3" is the LUN. This works for anything SCSI, and works very well. To remove a device, do the same thing except change "add" to "remove".
This works for fibre channel devices as well (provided they use the sd driver) - specifically HDS fibre channel arrays
> I have actually heard that NT ran better on the Alpha UDB than other OSs that run on it. The Alpha UDB was designed to be a small NT workstation.
I ran it for some number of months on an Alpha 500au workstation. (miata) - it absolutely smoked, subectively it was as fast as 1Ghz intel boxes. emulated stuff under FX!32 wasn't quite as fast, but it was certainly useable.
WinRM - powershell remoting tunneled over https.
But I strongly feel that if the Linux folks would take a step back and acknowledge that it's no longer 1970, they'd see that have programs set up to pass objects around instead of text can be hugely beneficial.
The advantage here being...? It sounds like a cool feature, but what would I be doing where I would actually want to have object oriented programming in my shell?
Ok, how about:
Boss comes to you and says something like:
"Can you tell me what version of windows is running on all of our machines, and what service pack they are on?"
"...and can I have that as a CSV?"
You: .\report.csv
gc machines.txt | % { gwmi win32_operatingsystem -computer $_ } | select __SERVER,Name,OSArchitecture,ServicePackMajorVersion,ServicePackMinorVersion | export-csv
Boss: Actually, can I have that in html? I need to put that up in a web site
You: OK..here you go
gc machines.txt | % { gwmi win32_operatingsystem -computer $_ } | select __SERVER,Name,OSArchitecture,ServicePackMajorVersion,ServicePackMinorVersion | convertto-html > report.html
I find that you can do things in PS that are a pain in bash (e.g. get a list of processes started within the last hour)
It doesn't help that most of the supposed IT people that I interview are woefully inept when it comes to anything above desktop support work. Even the staple (Windows) exam questions like "What are the 5 FSMO roles" or "How would you recover a failed domain controller" or even "What are the stages of name resolution" usually result in blank stares. Once you start getting into more complex questions such as the pros and cons of running different systems in virtual environments they mostly just give up entirely.
A lot of these people are contractors that are sent by reputable agencies as "the best they have to offer" and are asking £300-£350/day or more. Frankly I'm amazed that the unemployment rate for them isn't much higher, I can only assume that most of the time they either don't have to interview or get interviewed by someone just a little worse than they are.
Let me see...
FSMO roles:
PDC emulator
Schema master
Domain naming master
RID master
Infrastructure master
Recovering a failed domain controller? :) I'm also going to assume that the failure is some kind of hardware failure (say: hard disk + mirror failure) ...
I'm going to assume it's a replica DC and connected by a reasonably high bandwidth link, and your NTDS database isn't too big, and you have other functioning domain controllers
1. Seize any FSMO roles hosted by this DC (probably also worth checking that it's not the only DC configured for DNS scavenging, etc and move those roles well)
2. perform metadata cleanup (using ADUC if 2K8, or ntdsutil if 2K3 or below)
3. repair machine
4. reinstall windows + required patches
5. dcpromo as replica
6. wait for replication
7. ???
8. profit
Having deployed both in an enterprise, I can say that if you're trying to automate imaging, go with Bladelogic. If you're trying to automate package deployment/policy, go with HPSA. Bladelogic has a great feature - it has a custom PXE server that keeps track of the state of the OS install, and changes the boot so that you can set your servers to network boot, and once they're installed, Bladelogics PXE server will make it us the HDD. This is fantastic, compared to HPSA where you need to dink around to make things happy.
ymmv
HPSA does this too, you just need the MBC extension...
>1. never put windows on C: it will confuse the badly written hardcoded C: crap ware. ...it also confuses all sorts of other badly written software. (some of which may actually be useful)
>
>2. make C: the temp/media drive.
iPods do not sync if they are drive C:
My Ford Focus will do 150mph. (as standard from the factory) You can disable the traction control by holding down the ESP button for more than 5 seconds. Pity the North American models are so anaemic.
>That reminds me... it's worthwhile to look for jobs in the Kitchener/Waterloo area too.
You'd better like snow though - as an ex Kiwi, living in the UK, I was a little horrified by 50cm of snow one weekend... it was like the start of the next ice age.
> This exact same question has come up in our discussions about Parallels vs Bootcamp. And how do you add a Parallels Virtual Machine to an Active Directory Domain under a multi-user Mac which is also attached to the domain? More questions, LOL!
Works fine... your parallels VM looks like a completely seperate machine to the AD server. everything pretty much works as you'd expect. even WSUS updates work fine
And there's no caching of usernames, so if the network goes down or the servers don't work, no-one can log in in a Mac. Worse again, they tend to freeze if the domain server goes down.
Switch the account type to mobile in the AD plugin it'll cache the login credentials, and not freeze if the login server goes down.
I found that I could replicate this quite reliably by starting freevo (http://freevo.org) from rc.local (freevo is a window manager so it automatically starts X for you)
sudo vim :sh I'd expect a text editor in the list of available commands...
sudo vim -Z cures this little problem....
Unfortunately it's not too stable...
Even mail.app supports public folders as well
http://www.microsoft.com/mac/products/entourage20
Yeah, sad but true...
at least tv_grab_nz works great over here!
Actually, tv_grab_nz works just fine here in NZ (well, at least for the last 3 months or so) (although you sometimes don't get more than a day ahead on C4)
I'm using freevo, but I believe that MythTV uses xmltv also.
Scroll wheels work fine in OSX, as does middle-mouse-button pasting (within the same terminal, only on 10.3+)
In Whistler, BC there is a cafe called the Longhorn. It is located between Whistler and Blackcomb mountains.
To tell the kernel to probe a device, just /proc/scsi/scsi",
"echo scsi add-single-device 0 1 2 3 >
where "0" is the host adaptor, "1" is the bus, "2" is the SCSI target, and "3" is the LUN. This works for anything SCSI, and works very well.
To remove a device, do the same thing except change "add" to "remove".
This works for fibre channel devices as well (provided they use the sd driver) - specifically HDS fibre channel arrays
> I have actually heard that NT ran better on the Alpha UDB than other OSs that run on it. The Alpha UDB was designed to be a small NT workstation.
I ran it for some number of months on an Alpha 500au workstation. (miata) - it absolutely smoked, subectively it was as fast as 1Ghz intel boxes. emulated stuff under FX!32 wasn't quite as fast, but it was certainly useable.