Posts

Showing posts from 2014

Ansible: Good Things Come to Those Who Wait

I have been a windows admin for many years. This tenure has much to do with local job opportunities and less so about a staunch love of one side. As a person who attempts to stay current in both worlds, I am currently dabbling with Configuration Management or Desired State Configuration (MS Speak). Because my place of employment doesn't have a decent sized GNU/Linux deployment I am really only able to go it alone in lab environments, but hey, I still enjoy it! CM is not new, the Chef and Puppet camps have been around for quite some time. I simply never started the journey with either product, thus I won't comment on them, other than to say it was probably because I was too lazy. :) Fast forward to today and there are several in the CM space. Salt, Ansible, Puppet, Chef, etc. I did some basic research and landed on Ansible. There isn't a ton of thought that went into this conclusion, but as a long time windows admin with a disdain for agents... well you get my point. ...

Work Folders, Folder Redirection, Symbolic Links, Oh My!

Image
Roaming profiles are torture for admins, but users want their files and settings, and old habits die hard as they say. This is my dilemma. Roaming profiles have created legions of users who can't do basic configuration of many desktop applications, as they only had to tough it out once four years ago. Don't even get me started on the large mass of files and yo-yo copy pattern. Enter folder redirection, sure as long as you have good connectivity. A small branch of 10 users with a 10Mbps circuit and 10ms latency is enough to cause user revolt. Okay then, how bout we add in offline files? Get ready to cry  and  don't just take my word.... Along comes Work Folders , which i must say is something that can deal with many scenarios. Sure it is a blatant copy of Dropbox et al., but that is a good thing! Now back to dealing with my dilemma. How can I give a roaming profile like experience with good performance, while maintaining most if not all application configurations. ...

Thoughts on Storage in the Enterprise

Enterprise storage as we know it is dead. SAN and NAS devices have had their day, but that day is done, and I will be the first one to dance on their graves. I am done with these behemoth monolithic devices. HP, NetApp, Hitachi, EMC it doesn't matter, they all share a simple design principle: Put a ton of disks behind a couple servers. This principle perhaps isn't dangerous on it's own, but mix in misplaced CYA with the storage sales engine and you're left with chaos. We pay 3-4x what a disk should cost. We then take all our corporate data and put it on these devices. We in-turn leverage all kinds of silly feature that shouldn't be done on a storage target and tie business processes to it. Short and curlies anyone? In addition to the aforementioned reasons, another main cause of our pain is most well supported storage protocols suck at scaling. There have been some recent cool ideas to band-aid the shortcomings, ie  Coho Data will use the network (SDN) to make ...

Cisco VRF-Lite Guest Network and OpenDNS

My basic goal of doing this was to create a branded/managed OpenDNS enabled guest network on VRF-Lite. I didn't want to put any dependencies on the global routing process, I also wanted to avoid using any kind of OpenDNS Update Client for my cheapo adsl drop. In case anyone is curious this is a working config on c2900-universalk9-mz.SPA.153-3.M1.bin. Not sure why anyone else would ever try to do this, but this may be helpful if you do. ip vrf GUEST_VRF ip dhcp excluded-address 192.168.124.1 ip dhcp pool GUEST_NETWORK vrf GUEST_VRF network 192.168.124.0 255.255.255.0 dns-server 208.67.222.222 208.67.220.220 default-router 192.168.124.1 Create a vrf and guest network dhcp pool. ip domain lookup source-interface FastEthernet0/0/0 ip domain name guestvrf.net ip name-server 208.67.222.222 ip name-server 208.67.220.220 ip ddns update method DDNS_OPENDNS HTTP add https://USERNAME:PASSWORD@updates.opendns.com/nic/update?hostname=SITECODE interval maximum 0 1 0 0 I wanted...

DataOn CiB-9470+Spaces Backup Software Simulation

Image
Local write performance on the server is quite good. The disks are all owned by one cluster node. The storage spaces layout is a 66 disk storage pool with 4 hot spares. The volume tested is triple mirror with 22 columns and a 256KB interleave (may play with this setting). I tested with 128KB to match backup software write size. blank spots are the 4 hot spares ;)

DataOn CiB-9470 Goodness

Image
Our new backup target has a little space :)

Enable Bitlocker with Recovery Keys

Another little script to initialize the TPM and enable bitlocker for local volumes. Again, no hard coding of drive letters. Initialize-TPM Get-BitlockerVolume | Where VolumeType -eq "OperatingSystem" | Enable-Bitlocker -TPMProtector -UsedSpaceOnly -SkipHardwareTest Get-BitlockerVolume | Enable-Bitlocker -RecoveryPasswordProtector -UsedSpaceOnly -SkipHardwareTest Get-BitlockerVolume | Where VolumeType -ne "OperatingSystem" | Enable-BitlockerAutoUnlock Get-BitlockerVolume | Resume-Bitlocker

Bitlocker Recovery Key Backup to AD

A little powershell computer startup script to backup bitlocker recovery keys to AD. Wanted to see if I could make it work without hard coding drive letters. $BLVOL = Get-BitlockerVolume | Where ProtectionStatus -eq "On" | Foreach { New-Object PsObject -Property @{ MP = $_.MountPoint KPID = ($_ | Select -ExpandProperty KeyProtector | Where KeyProtectorType -eq "RecoveryPassword").KeyProtectorId ;} } $BLVOL | Foreach {Backup-BitlockerKeyProtector $_.MP $_.KPID}