- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- where does the hpsum store his host and group info...
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
тАО12-16-2010 12:19 PM
тАО12-16-2010 12:19 PM
where does the hpsum store his host and group informations in linux?
we are playing around with hp-SUM to deploy firmware and software (like snmp-agents, hpsmh an so on) so unattended as possible.
(The count for expected installations in productive environment is more than thousand servers ...)
In the hpSUM-GUI we are able to create hosts, groups and so on.
These hosts or groups are usable for scripted deployment via ./hpsum ....
But, *where* can we found and edit these informations (what file)? The purpose is to create a hostlist automatically und use this for deployment w/o GUI but very scriptable instead.
For windows environments I've heard that these informations may be found in the registry:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1292530466744+28353475&threadId=1156558
but on linux?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2010 12:28 PM
тАО12-16-2010 12:28 PM
Re: where does the hpsum store his host and group informations in linux?
my try to find out where hosts are stored using some tricks was not successful.
day x:
-set via GUI some hosts
-find / * -mtime 1 -exec ls -l "{}" ";" > /tmp/hosts_added
day y: (date set some days in future)
- remove via GUI the previously set hosts
- find / * -mtime 1 -exec ls -l "{}" ";" > /tmp/hosts_removed
a diff /tmp/hosts_added /tmp/hosts_removed shows only some changes in /var/hp/log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2010 11:56 PM
тАО12-16-2010 11:56 PM
Re: where does the hpsum store his host and group informations in linux?
first of all, i dont know sum :)
but i think linux store it as a string, so why can you try to find a well now value, like host name? you can use grep -R :)
andras
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2010 04:46 AM
тАО12-28-2010 04:46 AM
Re: where does the hpsum store his host and group informations in linux?
strace -ff -eopen ./hpsum did help me ...
the host and group informations were stored in /etc/xdg/Hewlett-Packard/HPSUM.ini
It looks like that:
[TGTarget]
192.168.1.104\address=192.168.1.104
192.168.1.104\description=testservers
192.168.1.104\dateModified=
192.168.1.104\dateSelected=
192.168.1.104\groups=@Invalid()
192.168.1.105\address=192.168.1.105
192.168.1.105\description=testservers
192.168.1.105\dateModified=
192.168.1.105\dateSelected=
192.168.1.105\groups=@Invalid()
192.168.1.106\address=192.168.1.106
192.168.1.106\description=testservers
192.168.1.106\dateModified=
192.168.1.106\dateSelected=
192.168.1.106\groups=@Invalid()
192.168.1.107\address=192.168.1.107
192.168.1.107\description=testservers
192.168.1.107\dateModified=
192.168.1.107\dateSelected=
192.168.1.107\groups=@Invalid()
192.168.1.108\address=192.168.1.108
192.168.1.108\description=testservers
192.168.1.108\dateModified=
192.168.1.108\dateSelected=
192.168.1.108\groups=@Invalid()
[TGGroup]
testservers\groupName=testservers
testservers\description=in my lab
testservers\dateModified=
testservers\dateSelected=
testservers\targets=192.168.1.104, 192.168.1.105, 192.168.1.106, 192.168.1.107, 192.168.1.108
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2010 06:03 AM
тАО12-28-2010 06:03 AM