SYSPREP ate my RDP
Bob Mihada,While trying to use sysprep to create a deployment, something went horribly wrong. I had to reboot and then it kept running on startup, see here for resolve. But after that was resolved I could no longer connect via Remote Desktop(RDP). Drove me nutz!!! everything said it was and should have been running. After much cursing to the monkey gods for smiting me, I regrouped. Hunting and pecking with a logical thought process lead me to "Terminal Services Configuration".


BROKEN: Apple Mobile Device EtherNet
Bob Mihada, Saturday, July 11, 2009
What's the deal? Some say they have it working with bluetooth. Others says they got it to work on different computer.
That's nice and all, but I want it to work on my current PC, not your or your friends.
To be continued.....
SQL: SAFELY Shrink all possible log files
Bob Mihada,--NOTE: I commented out the exec, it will just print until you change it yourself....
--// SAFELY Shink all possible log files
--// Adjust L.LogUsed AND L.LogSize as needed
SET NOCOUNT ON
If Object_Id('tempdb..#tmpLogInfo') is Not Null
Drop table #tmpLogInfo
CREATE TABLE #tmpLogInfo
(
databaseName sysname
, logSize decimal(18,5)
, logUsed decimal(18,5)
, status INT
)
INSERT INTO #tmpLogInfo
exec('dbcc sqlperf(logspace)')
DECLARE @sqlcmd nvarChar(max)
Select @sqlcmd = REPLACE((
SELECT
'USE [' + convert(nvarchar,L.databaseName) + '];
CHECKPOINT;
' + (CASE WHEN recovery_model_desc <> 'SIMPLE' THEN '--// RECOVERY MODEL NOT SET TO SIMPLE: ' + L.databaseName + '
--// ALTER DATABASE ' + L.databaseName + ' SET RECOVERY SIMPLE
--// DBCC SHRINKFILE ([' + ms.name + '], 1);
--// ALTER DATABASE ' + L.databaseName + ' SET RECOVERY ' + recovery_model_desc + '
' ELSE 'DBCC SHRINKFILE ([' + ms.name + '], 1);
' END)
FROM
#tmpLogInfo L
JOIN sys.databases db ON db.name = L.DatabaseName
JOIN master.sys.sysaltfiles ms ON ms.dbid = DB_ID(L.databaseName)
WHERE
L.databaseName not in ('master','tempdb','model','msdb')
AND ms.Status = 1048642
AND Right(ms.filename,4) = '.ldf'
--AND L.LogUsed < 5
AND L.LogSize > 2
FOr XML PATH('')
),'
',char(13))
Drop table #tmpLogInfo
Print @sqlcmd
--exec(@sqlcmd)
Has anyone seen my stapler?
Bob Mihada, Friday, July 10, 2009Well we needed to swap out a CD drive for a DVD one. Hmm, The new DVD is SATA and the previous CD was IDE, dilemma....

RESOLVED: Your Computer does not support Long Mode. Use a 32bit Distribution.
Bob Mihada,Hardware: Dell PowerEdge 2950 , Dual Xeon Quad Core 3 ghz, 8 gb Ram
When creating a virtual machine with 64bit OS you may encounter:
"Your Computer does not support Long Mode. Use a 32bit Distribution."
Here's what resolved it for me...
Server setup [whatever works]
Bob Mihada, Thursday, July 9, 2009Got the new drives and ram. :P
Interim Lab setup (hey it works)
Back to virtualizing windows servers and CentOS and PBX In A Flash and OpenFire and and more other stuff.
Lots going on...
Bob Mihada,Its Mad house....
Configuring new servers. Hardware, ram, drives and caddies in the mail.
Raid 1 on Boot, raid 5 on Data, for now till new drive arrive, then raid10.
ESXI 4 installed. Test driving multiple appliances/software, OpenFire, CentOS, PBX in aFlash, Virtualizing physical windows servers, TrixBox, Nagious, possibly another OpenFiler and then....
And then theres still the typical production/staff/operation support. A few automations are failing, multiple report requests, managing dev projects and then....
Well it beats a normal dry boring dull, I hate my job, 9-5.
My glass is half full :P
Silly LifeHacker article related to positive thinking(sort of..) go read -->
Good find on Raid 10 vs Raid 5
Bob Mihada, Tuesday, July 7, 2009A good find I thought I'd share, http://www.cyberciti.biz/tips/raid5-vs-raid-10-safety-performance.html
Always great when they have hard facts and logic.
Raid 10 it is.