Граф коммитов

2892 Коммитов

Автор SHA1 Сообщение Дата
Saroj Patra c79a5e173b HPUX 64-bit changes 2018-10-17 02:59:49 -07:00
Vishal Mishra 2898a95c67 Update SUSE 12 PPC bundle name 2018-10-11 05:35:02 -07:00
Vishal Mishra 1f4fc51ebb Revert reporting omsagent version 2018-10-08 05:03:04 -07:00
Vishal Mishra 8003039e50 Remove Openssl 0.9.8 support 2018-10-08 00:47:38 -07:00
Saroj Patra 8218b4bba1 SUSE 12 PPC changes 2018-10-07 12:17:41 +01:00
Saroj Patra 1fbccbc528 SUSE 12 PPC changes 2018-10-07 12:02:46 +01:00
Saroj Patra d6a1ea487e SCX 64-bit package for AIX 2018-10-04 16:57:22 +01:00
Saroj Patra 3bc7420a94 Changes to build logrotate semodule for RHEL/SUSE PPC machine 2018-09-27 15:03:51 +01:00
Vishal Mishra 73f6377882
Do not install logrotate selinux module on rhelppc platform (#105) 2018-06-08 13:56:30 +05:30
Saroj Patra cebf5afd8d Create selinux module for logrotate feature on debian platform 2018-05-22 15:52:32 +01:00
Saroj Patra 6e649abf1a LogRotate Support in SCX 2018-04-22 07:15:49 +01:00
Saroj Patra 454dedc41a Fixing issue in LogRotate feature in SCX 2018-04-16 14:00:42 +01:00
Saroj Patra cfe49c747c LogRotate Support in SCX 2018-04-16 09:18:42 +01:00
Vishal Mishra a71299e5fc Fix unittest failure on solaris 11 x86.
Punnycode conversion of international domain name is returning
unexpected output on solaris 11 x86. This is causing test
failure in SCX SSL certificate test.
Disabling the test so that build can go through.
2018-03-27 04:46:41 -07:00
Vishal Mishra ab75b8e883 Update omikey ownership to omi:omi during scx upgrade.
When upgrading from 2012 R2 to latest scx omikey ownership
is not getting updated to omi:omi. Due to this omi is not
able to read the key file, hence port 1270 is getting closed.
To address this scxsslconfig is updated to check and update
omikey ownership if key file alreday exists.
2018-03-12 02:22:21 -07:00
Vishal Mishra 44bb092419 Support multiple JBoss standalone instances with same home directory
JBoss standalone mode allows multiple instances to run using same
Jboss home dir. To support this Key and Diskpath is set to the
complete configuration file used for the instance.

Also same configuration file can be used for different instances
by giving diffrenet port offset. The code is updated to check
for port offset in command line parameters. If present it will
be appended to Key and Diskpath to uniquely identify the instance.

JBoss does not mandate that standalone should be a directory in
configuration path. Updated the agent to pass detected deployment type
from appserver enumeration to JBoss instance. Value of deployment type
will be used to determine if it is an JBoss standalone instance.
2018-02-12 23:56:33 -08:00
John Liu 64921e9d7f
Supply SCX-specific OS type configuration on ULINUX platforms (#93)
this code change has been signed off by Saroj Kumar Patra by email.
2018-02-12 10:51:13 -08:00
Vishal Mishra e303c9f71d Open port 1270 on install if it was open at uninstall
While upgrading omsagent, azure linux extension calls --remove
followed by --install, instead of directly calling --upgrade.
This sequence wascausing port 1270 to close as we close the
port on uninstall and do not open it by default on install.

To support this scenario we will now check if port 1270 is
open at uninstall. If yes we will create a marker file in
scx conf directory. On install if the marker file is present
then port 1270 will be opened.

As marker file is created in scx conf directory, it will get
deleted in --purge call.
2017-12-11 00:47:37 -08:00
Saroj Patra ae1a2696df Fix regression where x86 package is missing OSS kits. 2017-10-31 16:19:19 +00:00
Saroj Patra 635bf5e189 Add support for building with SSL v1.1.0 2017-10-25 11:10:09 -07:00
Saroj Patra 38d4949059 Reverting back changes in travis. 2017-09-25 13:42:38 +01:00
Saroj Patra f5e919292c Fixing the issue when omi user profile does not exist on system 2017-09-21 07:22:20 +01:00
Saroj Patra 6fc4a5d498 Set ownership of omikey.pem file to omi user 2017-09-18 08:32:59 +01:00
Jeff Coffler 8a00c69fe0 Update internal linkages to refer to GitHub. 2017-08-24 14:47:27 -07:00
Jeff Coffler 789146049a Add documentation to SCX that was only on CodePlex 2017-08-24 14:26:24 -07:00
Vishal Mishra b7b7dbe7a5 Add force option in scx uninstall script
Uninstall script should be used remove packages
during upgrade failure recovery. Since scx and
omi have to be forcibly removed, uninstall script
is updated to accept force parameter.
Also if uninstall script is not present then install
check will not be performed before removing the scx
and omi packages.
2017-05-25 05:08:39 -07:00
Vishal Mishra 9adccda6c8 Report omsagent version, if installed, in SCX_Agent's kitVersionString
SCOM CB release will ship omsagent bundle instead of scx bundle on
Linux platform. SCOM console needs to report omsagent version as
the installed agent version.
kitVersionString's value in SCX_Agent enumeration is shown in SCOM
console. Change is made to check if omsagent install info file is
present or not. If present it will be parsed to get the value of
install version and install time. If not scx install info file
will continue to be used.

This change is only for SCOM CB release. 2016 UR's will remain
on current implementation.
2017-05-11 00:31:54 -07:00
Vishal Mishra ef264edc03 Fix IsStillInstalled check for websphere 8.5.x
To check whether a websphere is still installed, presence
of file wsBundleMetadata is checked. At least on websphere
8.5.x wsBundleMetadata is a directory.
Updated the method to check for the presence of directory.
Also did not remove the file check to avoid any backward
compatibility issues.
2017-04-04 01:38:35 -07:00
Vishal Mishra f07a6ae1dd Fix version checks in shell bundle install and upgrade
Shell bundles were downgrading installed packages during upgarde/install.
Added version checks on during upgarde in unix platforms.
Added installed omi version check during install on all platforms.
2017-03-30 02:11:59 -07:00
Nirbhay Singh 9cc138f21e Fix upgrade issue from OMI OM 2012 to OMI OM 2016 (#74)
Fix Omiserver is still running under /opt/microsoft/scx/bin/
after upgrading OM agent from 2012 to 2016, Fix is to stop
the 2012 scx agent before upgrading it to 2016
2017-03-29 05:44:10 +05:30
Vishal Mishra 056ebea1fe Pick OMI packages from omi-kits repo and disable port 1270 by default
scx will no longer build omi packages. Instead it will
take the omi packages from the omi-kits repo where omi
team will check in latest certified omi packages for all
platforms.

scx partners (omagent, azure) does not need port 1270
to be opened. We have introduced various mechanism through
which they can disable port 1270. But now we are disabling
port 1270 by default and have added a flag --enable-opsmgr
that needs to be passed to shell bundle if the installation
is expected to work with opsmgr.
2017-03-28 14:13:06 -07:00
Vishal Mishra bfbaa87f57 Remove and reinstall packages if upgrade fails
Previously, we used a "install all packages as a list" (commit hash 6a0acc1)
to shake an upgrade bug from kit -240 to later. But this didn't pan out
consistently. So now if upgrade fails for some reason then remove underlying
packages and reinstall them (forcing removal in case of dependencies).
This seems to work reliably on both rpm and dpkg systems.
2017-03-21 11:27:51 -07:00
Jeff Coffler ed1fef3cf5 Add log messages for posting process instance to OMI 2017-03-09 16:49:48 -08:00
Jeff Coffler 1820d434da Add logging to show entry/exit into enumeration classes 2017-02-07 13:09:09 -08:00
Vishal Mishra 374b645c74 Added support in scxsslconfig to generate client auth certificate
Added new flag -c to signify client cert generation.
This will be used to generate cert for enhanced log monitoring feature.
2017-01-30 23:18:00 -08:00
Jeff Coffler c93d57e4b9 Fix build issue on AIX 6/7 (InstallBuilder invoked improperly) 2016-11-21 17:21:08 -08:00
Jeff Coffler f97b12a366 Allow PPC builds to be identified as REDHAT, not ULINUX
(Synchronize with PAL changes)
2016-11-21 14:47:12 -08:00
Nirbhay Singh e025fc8523 Check that uninstall script exists prior to trying to execute it 2016-11-21 13:38:58 -08:00
Nirbhay Singh 76e73e5305 Enable Shell Bundle Generation for Power8 2016-11-21 10:09:42 -08:00
Jeff Coffler a5af15159c Integrate with new OMI build process (--enable-microsoft) 2016-11-14 14:30:29 -08:00
Jeff Coffler c54bdf13de Linux AIX PPC builds should not try to build universally 2016-11-09 15:59:01 -08:00
Nicolas Roy 0488bff88c Add support for running RedHat Linux on Power8 2016-11-07 14:59:03 -08:00
Vishal Mishra 83750c6e9d Fix non default config in JBoss 7 2016-11-06 23:26:17 -08:00
Jeff Coffler afc9f588fb Add 'Code of Conduct' to repository as per Microsoft Guidelines 2016-10-28 14:02:16 -07:00
Jeff Coffler 5f2ea976fb Capture new error SCXErrnoERANGE_Exception for meaningful error 2016-10-24 15:00:47 -07:00
Steve Weber 9f37bda294 - Added support for UNIX.
- Added ExecuteShell and ExecuteCommand.
2016-09-16 16:30:02 -07:00
Jeff Coffler 19254e9884 Branches to build in Travis CI: Master & 2016-URNext 2016-09-13 18:33:32 -07:00
Jeff Coffler a790450d7c Fix comparsion in function check_version_installable
Resolve problem where software version is not upgraded in error
2016-09-12 09:18:49 -07:00
Jeff Coffler bdd6fb5aab Tools useful to test leak in the RunAs provider
Add tools useful to test for memory leaks in the RunAs provider
(fix committed in commit hash 5a46df0).
2016-09-09 11:58:43 -07:00
Jeff Coffler 5a46df0d81 Resolve memory leak in RunAs provider (SCXThread object leaking)
Commit hash 0921ef7 (back in 2013) incorporated a memory leak of the
SCXThread object. This was "fixed" in f004d08, which was supposed to
roll back other changes to the SCX_OperatingSystem_Class_Provider.cxx
and then fix the bug.

However, it turns out that the fixes never made it past the rollback.
This commit fixes those leaks for real.
2016-09-07 16:13:55 -07:00