- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Change web agent from trust by name to trust by ce...
Server Management - Systems Insight Manager
1753404
Members
7190
Online
108793
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-09-2005 05:01 AM
тАО12-09-2005 05:01 AM
Change web agent from trust by name to trust by cert
Currently HPSIM is setup to trust by name (which isn't working), so we are attempting to swith to trust by cert. I can manually change each system home page, but I'd like to script this process. The script I'm using will get the cert recognize, but it won't change the setting from trust by name to trust by cert. How do I get this to change in a script?
Neither Replicate Agent Settings or Configure or Repair agents works. Replicate tells me that target and source don't trust each other, while configure or repair gives this:
StdoutStderr
There was a problem connecting to the HP Systems Insight Manager server. Make sure that:
1. Your username has been added to HP Systems Insight Manager.
2. Your username and password, if specified, are correctly spelled.
3. HP Systems Insight Manager is running.
4. You used ┬┤--┬┤ for any long options and double quotes if your username includes a domain.
Example: --user "mydomain\myusername" --pass mypassword
Here is the script I'm using
Rem
Rem
Rem Run this script from the target server (login script, group policy, remote-exec, etc)
Rem
Rem To use this, modify \\source\share and snmp.reg
Rem Put the agent config files on the UNC
Rem To get snmp.reg, export HKLM:System\CurrentControlSet\System\SNMP\Parameters
Rem
Rem --------------------------- HP Agents -----------------------------
del c:\compaq\wbem\certs\*.* /q
Rem Remove previous trusts
xcopy \\plhcsgfwnetfs1\c$\compaq\wbem\CPQHMMD.ACL c:\compaq\wbem\ /y
xcopy \\plhcsgfwnetfs1\c$\compaq\wbem\CPQHMMD.CFG c:\compaq\wbem\ /y
xcopy \\plhcsgfwnetfs1\c$\compaq\wbem\homepage\CPQHMMD.INI c:\compaq\wbem\homepage\ /y
xcopy \\plhcsgfwnetfs1\c$\CPQHMMDX.INI c:\compaq\wbem\homepage\ /y
xcopy \\plhcsgfwnetfs1\c$\compaq\wbem\certs\*.* c:\compaq\wbem\certs\ /y
Rem duplicates agent configuration
Rem ------------ Restart SNMP and Agents so changes take effect --------
net stop "snmp service" /y && net start "snmp service" /y
net start "HP Insight Web Agent"
net start "HP Insight Foundation Agent"
net start "HP Insight Storage Agents"
net start "HP Insight Server Agents"
net start "HP Insight NIC Agent"
Neither Replicate Agent Settings or Configure or Repair agents works. Replicate tells me that target and source don't trust each other, while configure or repair gives this:
StdoutStderr
There was a problem connecting to the HP Systems Insight Manager server. Make sure that:
1. Your username has been added to HP Systems Insight Manager.
2. Your username and password, if specified, are correctly spelled.
3. HP Systems Insight Manager is running.
4. You used ┬┤--┬┤ for any long options and double quotes if your username includes a domain.
Example:
Here is the script I'm using
Rem
Rem
Rem Run this script from the target server (login script, group policy, remote-exec, etc)
Rem
Rem To use this, modify \\source\share and snmp.reg
Rem Put the agent config files on the UNC
Rem To get snmp.reg, export HKLM:System\CurrentControlSet\System\SNMP\Parameters
Rem
Rem --------------------------- HP Agents -----------------------------
del c:\compaq\wbem\certs\*.* /q
Rem Remove previous trusts
xcopy \\plhcsgfwnetfs1\c$\compaq\wbem\CPQHMMD.ACL c:\compaq\wbem\ /y
xcopy \\plhcsgfwnetfs1\c$\compaq\wbem\CPQHMMD.CFG c:\compaq\wbem\ /y
xcopy \\plhcsgfwnetfs1\c$\compaq\wbem\homepage\CPQHMMD.INI c:\compaq\wbem\homepage\ /y
xcopy \\plhcsgfwnetfs1\c$\CPQHMMDX.INI c:\compaq\wbem\homepage\ /y
xcopy \\plhcsgfwnetfs1\c$\compaq\wbem\certs\*.* c:\compaq\wbem\certs\ /y
Rem duplicates agent configuration
Rem ------------ Restart SNMP and Agents so changes take effect --------
net stop "snmp service" /y && net start "snmp service" /y
net start "HP Insight Web Agent"
net start "HP Insight Foundation Agent"
net start "HP Insight Storage Agents"
net start "HP Insight Server Agents"
net start "HP Insight NIC Agent"
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2005 06:49 AM
тАО12-09-2005 06:49 AM
Re: Change web agent from trust by name to trust by cert
nevermind I figured it out. I set a server up the way i wanted, and then fixed this line in the script above
xcopy \\plhcsgfwnetfs1\c$\CPQHMMDX.INI c:\compaq\wbem\homepage\ /y
to read
xcopy \\plhcsgfwnetfs1\c$\compaq\wbem\homepage\CPQHMMDX.INI c:\compaq\wbem\homepage\ /y
xcopy \\plhcsgfwnetfs1\c$\CPQHMMDX.INI c:\compaq\wbem\homepage\ /y
to read
xcopy \\plhcsgfwnetfs1\c$\compaq\wbem\homepage\CPQHMMDX.INI c:\compaq\wbem\homepage\ /y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2005 06:49 AM
тАО12-09-2005 06:49 AM
Re: Change web agent from trust by name to trust by cert
see reply to myself above
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP