Monday, March 10, 2008

ITM 6.1 - Separating different flavors of Windows systems in TEPS

In TEPS, all the windows machines can be found under one group named "Windows Systems" in the navigator tree continuing the Tivoli tradition of treating all Windows systems one and same. (Remember the w32-ix86 interp in Framework?). However, in TEPS, if you want to display the Windows systems based on the flavor such as Windows XP, Windows 2000 and Windows 2003, you can very well do that. Here is how to do it.

Step 1. Edit \CNPS\osnames file in a text editor
The default osnames file would look like the following. Parts of the file that we are interested in are highlighted in bold and italic.


# Map vendor platform names to display names

# First section is vendor mapping.
WinNT=Windows NT
Win95=Windows NT
Win98=Windows NT
Win2K=Windows NT
WinXP=Windows NT
Win2003=Windows NT

SunOS=Solaris
OSF1=Digital UNIX
AS/400=OS/400

# Second section has optional mappings.
AIX=UNIX
Digital UNIX=UNIX
Solaris=UNIX
HP-UX=UNIX

# Third section maps to value including the word "Systems".
Windows NT=Windows Systems
UNIX=UNIX Systems
Linux=Linux Systems
OS/2=OS/2 Systems
OS/400=OS/400 Systems
OS/390=z/OS Systems
Tandem=Tandem Systems
Netware=Netware Systems


Please note that in the "vendor mapping" section, all the Windows flavors are mapped to one value, "Windows NT". Change the string "Windows NT" to different value, such as "Windows 2000","Windows XP", etc for each vendor mapping entry. In the third section, you need to add new entry for each value you added in the vendor mapping section. Please note that the value for these entries should end with "Systems". See the edited file below. Changes are highlighted in bold and italic


# Map vendor platform names to display names

# First section is vendor mapping.
WinNT=Windows NT
Win95=Windows NT
Win98=Windows NT
Win2K=Windows 2000
WinXP=Windows XP
Win2003=Windows NT

SunOS=Solaris
OSF1=Digital UNIX
AS/400=OS/400

# Second section has optional mappings.
AIX=UNIX
Digital UNIX=UNIX
Solaris=UNIX
HP-UX=UNIX

# Third section maps to value including the word "Systems".
Windows NT=Windows Systems
Windows XP=WindowsXP Systems
Windows 2000=Windows2000 Systems

UNIX=UNIX Systems
Linux=Linux Systems
OS/2=OS/2 Systems
OS/400=OS/400 Systems
OS/390=z/OS Systems
Tandem=Tandem Systems
Netware=Netware Systems

Step 2. Save the file and restart your TEPS.

Now you will see that your agents are classified according to the Windows flavors. Very cool, isn't it?

No comments: