HPE Software Products: Server Automation
Share |

How to import windows patches in a policy en-masse?Open in a New Window

I have a number of Windows patch policies with patches that have not yet been imported into SA.

In SA 10.23, I could attach the policies to a server, then in the server view of "Patches with Policies and Exceptions" I could then select all of the un-imported patches and do a "Import from vendor" for all of them.

In SA 10.51, it does not list all of the patches in the view (I opened a case for that). 

Is there another method for importing patches in large quantity?   With the caveat being that I only want to import the ones that are used in a policy.

It really would have made sense to have that functionality from inside of the Patch policy!

 

 

HPSA Putty and Telnet issuesOpen in a New Window

Hey,

I was trying to use the default path (telnet), and it didn't work.. I right click the server > Open with > Remote Terminal > it returned an error about the network.

I tried to run a test from the options, and it returned an error about telnet not being a valid command (although locally the telnet client is working).

I changed the path to "C:\\Program Files\\putty\\putty.exe" -telnet %h %p as per some of the solutions here, and now opening it with Remote Terminal temporarily opens up a PuTTY window which then closes straight away.

I run the test from the options and it returns "Test Connection Succeeded!" also.

 

Anyone have any ideas?

Thanks!

 

Get timestamp for installed software policy on a serverOpen in a New Window

Let us say, if I have a server that it attached to 10 software policies. How do I found out when (timestamp)  each of those policies got attached (and remediated)? 

This may be a silly question, but I am unable to find any information in pytwist documentation!

Can't get the same from java Gui as well. Any thoughts? Thanks in advance.

 

New Satellite addedOpen in a New Window

Hi All,

I have installed new satellite server today and when i checked Administration---> gateway i can the newly added facility.

I am not able to see the same server under Devices-->All managed server.

 

I have checked the installation log file and i could not find any errors. Also verified all the required ports are opened and the service starts with out any issues. 

Can you please suggest some steps to fix the same.

 

Thanks

 

How to reactivate a deactivated server on Server Automation.Open in a New Window

Hi there,

Is there a way to reactivate a deactivated server on SA without having to unistall and install again the agent on the target server ?

Thank you

 

opsware agentOpen in a New Window

installing  a opsware agent on AWS cloud  (windows and linux  os )  .   where HPOO is in a traditional data centre

1. will there be any compatility  issues  .  

2. is the opsware agent  public cloud ready ( aws and azure )

3.  patching management  on public cloud  readiness 

4. any documention around this for opsware.

 

 

 

 

 

SA10.5 pre-requisites errorOpen in a New Window

Hello Team,

 

While installing SA10.5, I'm getting the following error.

"FAILURE The IP address ('64:ff9b::45ac:c86d') resolved for the FQDN hostname ('hpsa.test.com') is not present on this host"

Have anyone seen this error before.

Thanks,

Sri

 

 

 

Can you send me guides and documentation of Server Automation Please!!!Open in a New Window

You could send the material preferably in Spanish with guide, instalation, etc.

Thank you.

 

SA 10.50 Upgrade from SA 10.21Open in a New Window

Hello,

 

Has anyone encountered this error before launching the SA 10.50 upgrade?

/mnt/smb/T8900-15065/-primary/disk001/opsware_installer/lib/oi_wrapper_lib.sh: line 622: /mnt/smb/T8900-15065/-primary/disk001/python_installations/Linux/python/bin/python2: No such file or directory

python2 does not exist in the path specified only python 2.7

I have a case open with HPe.

Thanks in advance

Andy Sanderson

 

SSL: CERTIFICATE_VERIFY_FAILED - exit code 4Open in a New Window

Hello,

After researching for a while, it seems that I can not properly configure the media server to use compiler plans for ubuntu. I am using the media server that comes integrated with SA, I have already uploaded the installation cd in the correct place (in theory). I have tried to access nfs to that folder and I access it correctly. I see that in the media server script of the plan, there is a parameter that forces me to be http protocol to access the repository (I tried it with nfs and but it does not work, it must be http....)

The issue is that in the step that runs the script "copy boot media" gives me the following error:

Imágenes integradas 1

Do I have to specify a certificate somewhere? if this is the case, why? because i'm accessing the SA server itself and not an external media server. 

Thanks in advance.

 

Dynamically pass --prefix option to an RPMOpen in a New Window

Hello, I have uploaded some pre-compiled rpm's (ready for install) into HPSA. I would like give the user to pass "--prefix=/xx/xx" dynamically based on how he calls it. If he calls it with --prefix, then the rpm will install to that prefix, if not, it will install to default location.

I am aware of the "install flags" within the package properties page, but I am unable to figure out how to pass this parameter dynamically at the invoke time. Please share your thought.

Initially I created, a script like this :

#!/bin/ksh

if [ -z $1 ]; then
echo 'Installing to prefix location $1'
rpm -ivh --prefix=$1 PKG1_el7.x86_64.rpm
else
rpm -ivh PKG1_el7.x86_64.rpm
fi

But obvioulsy this will fail because the agent will look for this rpm in the CWD on the managed host. 

Please shed some light on this. There may be easier way, I am still learning! Thank you.

 

HPSA agent installation problem : Unable to determine deb installed filesOpen in a New Window

Hello,

Although, there is no failed message at the end of HPSA agent (agent start correctly), I have 2 servers on which installation of HPSA agent (in version "60.0.66036.0") does not work.

The problem is that when I right click "open" on server "zed332yn" from the client HPSA, from panel "Inventory", on view "Installed Packages",I have "No item found", and also from "Services" panel, screen is blank and refresh does not end.

Indeed, this is a part of the output of installation file /var/log/opsware-agent-installer-010417.log
#############################################################################################
(...)
[04/Jan/2017 14:32:15] TRACE: Connecting to 'https://spin:1004/spinrpc.py'...
[04/Jan/2017 14:32:15] 1
[04/Jan/2017 14:32:15] Opsware machine ID : '49070001'
[04/Jan/2017 14:32:15] Received 'agent-ca.crt'.
[04/Jan/2017 14:32:15] Received 'cogbot.srv'.
[04/Jan/2017 14:32:15] Storing 'cogbot.srv' contents as 'agent.srv'
[04/Jan/2017 14:32:15] Received 'admin-ca.crt'.
[04/Jan/2017 14:32:15] Received 'opsware-ca.crt'.
[04/Jan/2017 14:32:15] [INFO] RunCommand('/opt/opsware/agent/bin/python "/opt/opsware/agent/pylibs/cog/agent_initial_registration.pyc" --force_new_device "/var/opt/opsware/crypto/agent/agent.srv"') successful (exit code 0)
[04/Jan/2017 14:32:15] [TRACE] RunRegScript() = 1
[04/Jan/2017 14:32:15] [TRACE] RunInitialRegScript() = 1
[04/Jan/2017 14:32:15] [INFO] Full server registration completed successfully.
[04/Jan/2017 14:32:15] [INFO] Registering Opsware agent with the Opsware core.
[04/Jan/2017 14:32:15] [INFO] Registering software inventory with the Opsware core.
[04/Jan/2017 14:32:15] [TRACE] RunSwRegScript()
[04/Jan/2017 14:32:15] [TRACE] RunCommand('/opt/opsware/agent/bin/python "/opt/opsware/agent/pylibs/cog/bs_software.pyc" ')
[04/Jan/2017 14:32:16] -----Unexpected Error-----
[04/Jan/2017 14:32:16] Traceback (most recent call last):
[04/Jan/2017 14:32:16] File "./bs_software.py", line 693, in blockingmainThread
[04/Jan/2017 14:32:16] File "./bs_software.py", line 671, in blockingmain
[04/Jan/2017 14:32:16] File "./bs_software.py", line 640, in do_software
[04/Jan/2017 14:32:16] File "./bs_software.py", line 154, in detect_packages
[04/Jan/2017 14:32:16] File "./pkgs_handler.py", line 93, in installedHash
[04/Jan/2017 14:32:16] File "./pkgs_handler.py", line 73, in _getInstalledHash
[04/Jan/2017 14:32:16] File "./unix/linux/deb_handler.py", line 250, in installedList
[04/Jan/2017 14:32:16] Exception: Unable to determine deb installed files
[04/Jan/2017 14:32:16]
[04/Jan/2017 14:32:16] --------------------------
[04/Jan/2017 14:32:17] Registering full software inventory information...
[04/Jan/2017 14:32:17] [ERROR] RunCommand('/opt/opsware/agent/bin/python "/opt/opsware/agent/pylibs/cog/bs_software.pyc" ') exited with code 1
[04/Jan/2017 14:32:17] [TRACE] Error message: Operation not permitted
[04/Jan/2017 14:32:17] [TRACE] RunSwRegScript() = 0
[04/Jan/2017 14:32:17] [WARN] Software inventory reporting failed (See above for explanation).
[04/Jan/2017 14:32:17] [INFO] Writing do_check_reachability file: /var/opt/opsware/agent/do_check_reachability
[04/Jan/2017 14:32:17] [INFO] Successfully created do_check_reachability file: /var/opt/opsware/agent/do_check_reachability
[04/Jan/2017 14:32:17] [TRACE] InstallNInner() = 0
[04/Jan/2017 14:32:17] [TRACE] StartN()
[04/Jan/2017 14:32:17] [TRACE] StartNInner()
[04/Jan/2017 14:32:17] [INFO] Starting Opsware agent.
[04/Jan/2017 14:32:17] [TRACE] StartUnixBotEx(/etc/rc.d/init.d/opsware-agent, /var/opt/opsware/agent/daemonbot.pid, 300)
(...)
############################################################################################

So, I cannot install any Software Policy on those 2 servers, as I always get this error from client view.
Please see attachment for more details.

Does anyone encounter this failed message at the step RunCommand('/opt/opsware/agent/bin/python "/opt/opsware/agent/pylibs/cog/bs_software.pyc" ').

How to resolve this Issue ?


Thanks in advance,
Best regards
Jean-Philippe HAAG

 

Opsware agentOpen in a New Window

I am unable to find the installation documentation for the HP SA/opsware agent for Windows OS.  Can you provide the link? We have version 10.10 and have read through all the DMA documentation but not able to find any references to the agent or installation media filenames.

 

error when i try to install SA with remote supplie DBOpen in a New Window

I got the error when i try to install SA with remote supplie DB Oracle. How to Fix thsi issue ?

Enter one of the following directives
(<c>ontinue, <p>revious, <h>elp, <q>uit): c
Crypto exists on 172.28.15.201 - Copying DB to localhost...
Opsware Oracle not defined in Core Description File
Installing truth_mm_overlay from core_inst distro on 172.28.15.201...
******* Performing install of component truth_mm_overlay on device 172.28.15.201.
Version checking disabled...
Not using the script command to save output.
Removing directory /var/tmp/oitmp ...
/var/tmp/hpsa_media/python_installations/Linux/python/bin/python2 /var/tmp/hpsa_media/opsware_installer/install_opsware.pyc --os_type Linux --os_version 7SERVER-X86_64 --manifest /var/tmp/hpsa_media/manifest.inst --progname /var/tmp/hpsa_media/opsware_installer/install_opsware.sh -r /tmp/oiresponse -a /tmp/oiaction --force_run --unattend --no_prereq --logfile /var/log/opsware/install_opsware/172.28.15.201-install-truth_mm_overlay-2016-12-28.06:56:36.verbose.log

[Dec-28-2016 06:56:39] >>>>Installing preliminary components
....
[Dec-28-2016 06:56:58] >>>>Installing component Model Repository, First Core
Verifying dependencies
Verify truth.dcId: SUCCESS
Verify Oracle home directory: FAILURE (/home/oracle/app/oracle/product/12.1.0/dbhome_1/ does not exist)
[Dec-28-2016 06:56:58] Component installation script encountered an error (exit status 1)
[Dec-28-2016 06:56:58] Exiting Opsware Installer.

For more details, please see the following file:
/var/log/opsware/install_opsware/172.28.15.201-install-truth_mm_overlay-2016-12-28.06:56:36.verbose.log

Local log file: /var/tmp/HPSA_INSTALLER/logfiles/install_truth_mm_overlay_error/172.28.15.201-install-truth_mm_overlay-2016-12-28.06:56:36.verbose.log
*********************************
Install of truth_mm_overlay failed on 172.28.15.201
*********************************

Cleaning up NFS
Redirecting to /bin/systemctl stop nfs.service
Redirecting to /bin/systemctl start nfs.service
Creating temporary CDF [/var/tmp/cdf_tmp.xml]
Moving [/var/tmp/cdf_tmp.xml] to [/var/opt/opsware/install_opsware/cdf/cdf.xml] on 172.28.15.201
Moving [/var/tmp/cdf_tmp.xml] to [/var/opt/opsware/install_opsware/cdf/cdf_20161228T065658.xml] on 172.28.15.201
Script done, file is /var/log/opsware/install_opsware/hpsa_installer_2016-12-28.06:54:50.log

 

HPSA space is getting full under rootOpen in a New Window

 

 

Hi Friends,

I am getting below space error while doing operations like patching or software registration in HPSA. Space utilization is getting increased , finally left with as in below screenshot.

Not able to download patch cab file. Getting error as below and at the same time it is showing as 420 MB available under root in HPSA DB server, 0 MB available in HPSA core under root.

Below is the recommended space Space under root HPSA coreas per 10.20 document

==============================================================

On each Core Server, the root directory must have at least 72 GB free hard disk space (beyond the file
system needs of the operating system).

 

 

What would be the recommended free space under root in HPSA DB server??

======================================================

As per 10.20 document below is recommended. But I didn't get any information like space needed under root for  Remote HP supplied DB

Kindly help me on this

Model Repository (Database) Disk Space Requirements
Additional disk space is required for the Oracle software and the Model Repository data files. Keep in mind
that storage requirements for the database grow as the number of managed servers grows.
As a benchmark figure, you should allow an additional 3.1 GB of database storage for every 1,000 servers
in the facility that SA manages. When sizing the tablespaces, follow the general guidelines described in
Table 6. If you need to determine a more precise tablespace sizing, contact your technical support
representative.

SA_db.jpg

 

Regards,

Uday

 

 

 

 

SA 10.50 - Spin cannot connect db in the same serverOpen in a New Window

After my server got electric problem and i try to start my sa then show this error 

how to solve this issue ? 

[root@ghbsa /]# /etc/init.d/opsware-sas start
>>> Verify verify_ports dependencies...
>>> Starting verify_ports ...
sunrpc.max_resvport = 1000
[Dec-21-2016 4:12:28] OPSW_portreserve server not available
>>> Verify opswgw-mgw dependencies...
>>> Starting opswgw-mgw ...
Starting opswgw: [ OK ]
>>> Verify opswgw-cgws dependencies...
Verify hostname "wordcache" is resolvable: SUCCESS
>>> Starting opswgw-cgws ...
Starting opswgw: [ OK ]
>>> Verify vaultdaemon dependencies...
Verify hostname "172.28.15.200" is resolvable: SUCCESS
Verify hostname "172.28.15.200" is listening on port 1521: SUCCESS
Verify vaultdaemon can connect to Truth database: starting the vault in verify mode
SUCCESS
>>> Starting vaultdaemon ...
Starting /etc/opt/opsware/startup//vaultdaemon synchronously
Daemonizer: Wed Dec 21 04:12:47 2016: A vault (pgrp=16481,pid=16482) might already be running...
Daemonizer: Wed Dec 21 04:12:47 2016: Looks like something is listening on 5678 [Errno 98] Address already in use, retrying...
Daemonizer: Wed Dec 21 04:12:48 2016: Looks like something is listening on 5678 [Errno 98] Address already in use, retrying...
Daemonizer: Wed Dec 21 04:12:48 2016: Looks like something is listening on 5678 [Errno 98] Address already in use, retrying...
Daemonizer: Wed Dec 21 04:12:49 2016: I confim that something is listening on 5678
Daemonizer: Wed Dec 21 04:12:49 2016: I am giving up, it seems to be running...
>>> Verify dhcpd dependencies...
>>> Starting dhcpd ...
/etc/opt/opsware/startup//dhcpd: line 39: [: =: unary operator expected
Internet Systems Consortium DHCP Server 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Config file: /etc/opt/opsware/dhcpd/dhcpd.conf
Database file: /var/opt/opsware/dhcpd/dhcpd.leases
PID file: /var/opt/opsware/dhcpd/dhcpd.pid
Starting dhcpd: Internet Systems Consortium DHCP Server 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Config file: /etc/opt/opsware/dhcpd/dhcpd.conf
Database file: /var/opt/opsware/dhcpd/dhcpd.leases
PID file: /var/opt/opsware/dhcpd/dhcpd.pid
Wrote 0 class decls to leases file.
Wrote 0 leases to leases file.

No subnet declaration for eno16780032 (172.28.15.200).
** Ignoring requests on eno16780032. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eno16780032 is attached. **


Not configured to listen on any interfaces!

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging..

exiting.
[FAILED]
>>> Verify dhcpd6 dependencies...
>>> Starting dhcpd6 ...
/etc/opt/opsware/startup//dhcpd6: line 39: [: =: unary operator expected
Internet Systems Consortium DHCP Server 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Config file: /etc/opt/opsware/dhcpd/dhcpd6.conf
Database file: /var/opt/opsware/dhcpd/dhcpd6.leases
PID file: /var/opt/opsware/dhcpd/dhcpd6.pid
Starting dhcpd: Internet Systems Consortium DHCP Server 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Config file: /etc/opt/opsware/dhcpd/dhcpd6.conf
Database file: /var/opt/opsware/dhcpd/dhcpd6.leases
PID file: /var/opt/opsware/dhcpd/dhcpd6.pid
Wrote 0 NA, 0 TA, 0 PD leases to lease file.

No subnet6 declaration for eno16780032 (fe80::250:56ff:feba:6796).
** Ignoring requests on eno16780032. If this is not what
you want, please write a subnet6 declaration
in your dhcpd.conf file for the network segment
to which interface eno16780032 is attached. **


Not configured to listen on any interfaces!

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging..

exiting.
[FAILED]
***NOTICE - "pxe" not installed on this system
>>> Verify memcached dependencies...
>>> Starting memcached ...
Starting memcached... memcached is already running - pid is 16602
>>> Verify spin dependencies...
Verify hostname "spin" is resolvable: SUCCESS
Verify Spin can connect to Truth database: (Waiting approx. 5 minutes)
....................................................................................................
Operation timed out - FAILURE (DB not found: 'spin@truth.ghb')
opsware-sas: Cannot start "spin" - dependency check failed
Failed to perform "startsync" operation on Opsware SAS components.

Regards,

solar1

 

Specify a custom temporary directory for packages on a managed serverOpen in a New Window

Hello,

I follow up the procedure from document KM468138, to add a custom attribute named "coglib.pkgs_handler.unit_tmpdir" and value "/tmp" on a server.

The aim is to specify a temporary directory for the installation of a package on a HPSA server.
As the one specified per default on the config file of the agent (/etc/opt/opsware/agent/agent.args) is
coglib.pkgs_handler.unit_tmpdir: /var/opt/opsware/agent and all the server dont have enough space on this FileSystem.

Problem : although the agent has been restarted after addig the custom attribute, the /tmp dir is not used, it is still the default one.

How to resolve this problem ?Is there something I miss ?
Best regards,
Jean-Philippe HAAG

 

MIgrate Audits mesh to mesh?Open in a New Window

We a re looking  for a method to migrate audits from one  mesh to another mesh.

The use case is that we will be migrating from a SA 10.2x Core on RedHat 5 to a SA 10.5x core on RedHat 7. 

CBT export/import will handle most of the data that we want to preserve, but it will not export/import Audits.

So we are looking for a method to preserve not only the tests within the audits, but also (once the servers have been migrated to the new core) to

-  reattach the servers to the audit as targets

- recreate the audit exceptions

We understand that the object ids will be different in the new cores, so matching will need to be done by name or some other matching criteria.

Ideas?

 

SHA256 vs SHA512Open in a New Window

The SA 10.5x installer gives the option of using any of the following for the hashing algorithm for the SA cryptographic module:

['SHA1', 'SHA224', 'SHA256', 'SHA384', 'SHA512']

The SA installer defaults to SHA256 and I know I need at least SHA256 for various regulatory bodies.  Are there any disadvantages with going to SHA512?    Performance?  Issues with supporting tools like java, python or web browsers?

 

 

Schedule jobOpen in a New Window

Hi Team,

How to schedule a job using API, please let me know any one tried this?

Thanks,

Sri

Contact Us

Vivit Worldwide
P.O. Box 18510
Boulder, CO 80308

Email: info@vivit-worldwide.org

Mission

Vivit's mission is to serve
the Hewlett Packard
Enterprise User
Community through
Advocacy, Community,
and Education.