- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Importing hosts to Smart Update Manager (SUM)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2007 03:46 AM
тАО08-28-2007 03:46 AM
Is there a way to import a list of host names into SUM? Perhaps by directly working with the SUM database (I can't seem to find it).
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2007 04:39 PM
тАО08-28-2007 04:39 PM
Re: Importing hosts to Smart Update Manager (SUM)
maybe this can help you
page 24
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00472061/c00472061.pdf
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2007 01:12 AM
тАО08-29-2007 01:12 AM
Re: Importing hosts to Smart Update Manager (SUM)
My list of servers have pretty scattered IP addresses, which precludes using that method. The other two leave only the opportunity to add one at a time. If I'm overlooking something, please let me know.
I'd like to find a way to batch add a list of DNS or NetBIOS names.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2007 07:00 AM
тАО08-29-2007 07:00 AM
Solution- enter at least one target and one group in the SUM interface and then exit.
- on the server where you are running SUM, open the registry to HKEY_LOCAL_MACHINE\SOFTWARE\opt\com\hp\hpsum.
- below this key there should be another key which i assume is some type of guid.
- below that key are two more keys, TGGroup and TGTarget.
- under TGTarget are keys for each server you have entered via the SUM interface. each has information about the server.
- under TGGroup are keys for each group you have entered via the SUM interface. each has information about the group.
using the existing registry keys as a reference (export to .reg file), i was able to write a batch file which parsed though a tab delimited list file which contained the names and ip addresses of the servers to be updated by SUM (generated through SIM). the output was a text file formatted exactly like the exported .reg file. i just had to save it as unicode then import it into the registry.
when i next ran SUM, all of the servers were now there.
if you look at the TGGroup keys (assuming you have created at least one group), the targets entry is just a concatenated list of the target ip addresses or host names. i tried using the groups entry under one of the TGTarget keys, but it didn't seem to work. maybe hp will put it in the next version?
below is the batch file i used to generate the .reg import file. the servers.lst file is formatted as servername
::begin batch file
set list=servers.lst
set output=hpsum_reg_input.reg
@echo Windows Registry Editor Version 5.00>> %output%
@echo.>> %output%
@echo [HKEY_LOCAL_MACHINE\SOFTWARE\opt\com\hp\hpsum\
@echo.>> %output%
@echo [HKEY_LOCAL_MACHINE\SOFTWARE\opt\com\hp\hpsum\
@echo.>> %output%
for /f "tokens=1,2 delims= " %%i in (%list%) do call :COMMANDS %%i %%j
:COMMANDS
@echo [HKEY_LOCAL_MACHINE\SOFTWARE\opt\com\hp\hpsum\
@echo "address"="%2">> %output%
@echo "description"="%1">> %output%
@echo "dateModified"="">> %output%
@echo "dateSelected"="">> %output%
@echo "groups"="">> %output%
@echo.>> %output%
goto :EOF
:end
::end batch file
good luck,
pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2007 07:17 AM
тАО08-29-2007 07:17 AM
Re: Importing hosts to Smart Update Manager (SUM)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2007 07:18 AM
тАО08-29-2007 07:18 AM
Re: Importing hosts to Smart Update Manager (SUM)
HKEY_LOCAL_MACHINE\SOFTWARE\opt\com\hp\hpsum