- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Create collection by a list of hostnames? (CLI?)
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
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
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
03-26-2013 02:40 AM
03-26-2013 02:40 AM
Create collection by a list of hostnames? (CLI?)
Hi everyone,
is there a way to create a system collection by a list of hostnames?
I have a list of about 200+ Servers and cannot use the query "where system name starts with xy" or "where system name contains xy" etc.
Maybe there's a way to make this through HP SIM CLI by importing a text file which includes all hostnames?
Regards,
Ville
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2013 07:55 AM
03-27-2013 07:55 AM
Re: Create collection by a list of hostnames? (CLI?)
Hi
You can use the mxcollection command
first create your collection (hpsim customize collection => new)
and use CLI "mxcollection -a mem -f listofyourserver.xml"
The xml file example :
<?xml version="1.0" encoding="UTF-8" ?>
<collection-list xmlns="http://www.hp.com/hpsim5.0.0.0">
<collection name="youparentcollection" type="system" >
<member name="yourhostname1" type="node" display-status="0" default-view="tableview" hidden="false" />
<member name="yourhostname2" type="node" display-status="0" default-view="tableview" hidden="false" />
...
</collection>
</collection-list>
All your server must be discovered first