Archive for the ‘OpenADM’ tag

Thoughts on the new Windows Management Framework

without comments

You may already know that the new Windows Management Framework has been published recently. For those who don’t know what services and benefits provides, just a brief presentation:

“Windows Management Framework, which includes Windows PowerShell 2.0, WinRM 2.0, and BITS 4.0, was officially released to the world this morning. By providing a consistent management interface across the various flavors of Windows, we are making our platform that much more attractive to deploy. IT Professionals can now easily manage their Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2 machines through PowerShell remoting – that’s a huge win!” (Windows PowerShell Blog)

If you still don’t know what these components do, you will find a wider explanation about them on the download page.

powershell logo Thoughts on the new Windows Management FrameworkThis release represents an important milestone on my particular schedule. Why? Simple ;-). One of the main goals I had when designing and implementing OpenADM was to be able to run on every version of Windows. It was acceptable if some particular module couldn’t, but the core and the vast majority of the the modules provided should. Of course, given the nature of the project and the structure of my resources (surprisingly… none) allow me to declare a permanent beta period.

Continue reading …

Written by Carlos Veira Lorenzo

November 1st, 2009 at 6:56 pm

Possible uses for PLEX modules

without comments

Here you have some possible samples that you may use as templates for your own purposes. In any case, the main goal of this post is give you an idea of what it is possible using PLEX modules.

The Samples or “Templates”

Remote log Distributed search using findstr.exe

"for /f `"tokens=*`" %i in ('dir /s /b *.log') do @findstr `"MyRegExPattern`" `"%i`"" | .\nmagent.ps1 -profile plex -cmd exec -src file -save

Remote log Distributed search using RSaR.exe. “RSaR” means “Regex Search and Rescue” and can be found at rsar.codeplex.com.

"\\MyServer\MyReadOnlyShare\RSaR.exe *.log /s /i `"MyDotNetRegExPattern`"" | .\nmagent.ps1 -profile plex -cmd exec -src file -save

Remote log Distributed search using sed.exe. “sed” means “Stream Editor” and a version for Windows can be found at gnuwin32.sourceforge.net.

"for /r c:\MyRemoteRootFolder %i in (*.log) do @\\MyServer\MyReadOnlyShare\sed.exe -i -T `"/MyRegExPattern/`" `"%i`"" | .\nmagent.ps1 -profile plex -cmd exec -src file -save

Massive Remote Configuration Changes using RSaR.exe.

"\\MyServer\MyReadOnlyShare\RSaR.exe *.ini /s /i `"Property=Value1`" /r=`"Property=Value2`"" | .\nmagent.ps1 -profile plex -cmd exec -src file -save

Massive Remote Configuration Changes using sed.exe.

"for /r c:\MyRemoteRootFolder %i in (*.properties) do @\\MyServer\MyReadOnlyShare\sed.exe -i -T `"s/Property=Value1/Property=Value2/g`" `"%i`"" | .\nmagent.ps1 -profile plex -cmd exec -src file -save

Remotely stop a Service for maintenance on your Production Systems:

"sc stop `"MyServiceName`"" | .\nmagent.ps1 -profile plex -cmd exec -src file .\settings\MyProductionNodes.txt

Remotely creating a Service for a new Pre-production deployment:

"sc create `"MyServiceName`" binpath=`"C:\MyService\MyService.exe`" displayname=`"MyServiceName`"" | .\nmagent.ps1 -profile plex -cmd exec -src file .\settings\MyPreProductionNodes.txt

Remotely forcing a predefined local Scheduled Job to run on your web servers.

Continue reading …

Written by Carlos Veira Lorenzo

October 17th, 2009 at 11:30 am

Back from the Darkness, Back into Play…

without comments

It’s been some time since my last post. Fortunately, many things have happened :). First, I had to completely reschedule my goals for the end of the year because of two new projects that appeared to be interesting: OpenSLIM and NMTools for OpenSLIM.

OpenSLIM stands for Open Simple & Lightweight Infrastructure Manager. It is a Lightweight CMDB with certain Program Management capabilities that may be useful for those who work on the IT Service Management space. We will talk about the vision, target and particular orientation this tool has on later posts :).

NMTools for OpenSLIM are a set of modular PowerShell scripts that work along OpenSLIM to allow a high degree of management automation and to implement the CMDB federation relationship.

OpenADM has not been forgotten. It has completed the milestones planned for 2008 and I will release an upgrade on the following days. This is a partial list of what has been added/corrected on this new release:

  • Fixed/Tested the Alert sub-system.
  • Fixed/Tested the Delegated Operations modules: sadm do ...
  • Fixed some issues with the Intrusion Contention modules: sadm ic ...
  • Partial Windows 2008/Vista support.

Besides bug-fixing and new functionalities that will be added on upcoming releases, one of the goals for the next release is migrating the full Development Process into OpenOMS in order to have better control and documentation over each iteration.

Continue reading …

Written by Carlos Veira Lorenzo

January 7th, 2009 at 7:21 pm

Posted in Projects

Tagged with , , , ,