Friday Jan 30, 2015

Friday Spotlight: Spacewalk 2.2 on public yum and Oracle Instant Client on ULN

Happy Friday!

I wanted to quickly draw your attention today to a couple of updates. First, Spacewalk 2.2 for Oracle Linux is available on our public yum server. We have also published the Release Notes, including upgrade instructions from Spacewalk 2.0.

If you're interested in Spacewalk, you might enjoy a webcast we did in November that goes into a lot of detail on using Oracle Linux and Spacewalk together. You can watch that webcast on-demand.

And second, RPMs for the Oracle Instant Client are now available on Unbreakable Linux Network.

Have a great week and we'll see you next Friday!

-Chris 

Friday Nov 14, 2014

Friday Spotlight: Docker, Spacewalk, LISA14, Korea Linux Forum, and More!

Happy Friday!

It’s been a fun and exciting week here, it’s difficult to pick a single item for the Spotlight. So here is a round up of the news:

- We released the official Docker images for Oracle Linux. No longer a tech preview, the Docker Engine and official Oracle Linux images are fully supported as part of Oracle Linux Basic and Premier support subscriptions.

- If you missed it last week, the Spacewalk client for Oracle Linux 7 was released. You can read more here.

- We had a great time at LISA14, with many of you getting to talk to our experts at the booth and attending Ken Crandall’s session on the modern, cloud-enabled data center. Here is a picture of a live Ksplice demo going on at the booth (yes, rebooting is obsolete!):

If you weren’t at the show and want to see Ken’s session (and I highly recommend it), you can catch a webcast version this coming Tuesday:

Building the Modern Cloud-Enabled Data Center with Oracle Linux 7
Date: Tuesday, November 18, 2014
Time: 9:00 am PST

Come and hear Ken's insightful views on how Oracle can help you build a modern infrastructure. 

- We were also at the Linux Foundation’s Korea Linux Forum. Another great opportunity to answer your questions about Oracle Linux, our Oracle staff at the show told me there was a great response at the booth and our speaking session on Btrfs.


- The Oracle Linux November newsletter is out! It’s a great way to catch up on everything that happened this year at Oracle OpenWorld 2014, read about product releases over the last 8 weeks or so, and much more. You can read it online here, or subscribe so it arrives automatically in your inbox.

Whew, it was a busy week! We hope you have a great weekend and we’ll see you next week with more.

-Chris

Tuesday Nov 04, 2014

Spacewalk client released for Oracle Linux 7

The Oracle Linux team is pleased to announce the availability of the Spacewalk client for Oracle Linux 7. Customers who want to register Oracle Linux 7 servers with an existing Spacewalk server can install the client from the Oracle Public Yum repository. It can also be added to Spacewalk itself for local installation via Spacewalk.

To access the Spacewalk client repository for Oracle Linux 7, add the following stanza to public-yum-ol7.repo on the client server:

[ol7_spacewalk22_client]
name=Spacewalk Client 2.2 for Oracle Linux 7 ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL7/spacewalk22/client/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

To add the Spacewalk client for Oracle Linux 7 to an existing Spacewalk server install, create a new repository with the following URL:

http://public-yum.oracle.com/repo/OracleLinux/OL7/spacewalk22/client/x86_64/

For more information on Spacewalk, check the Oracle Linux documentation

Thursday Oct 30, 2014

Oracle Linux - The Engine Behind the Modern Data Center

With increasing budget constraints and resource limitations, it’s becoming more and more important to leverage technological advances to squeeze as much value as possible out of your data center deployments. Innovative tools such as Ksplice, DTrace, Linux Containers, Docker, Spacewalk, and more, can help you to deploy and manage your deployments quicker and easier, increasing overall ROI. Join this November webcast series to learn how these technologies with Oracle Linux can streamline deployment and management of your critical IT systems.

Building the Modern Cloud-Enabled Data Center with Oracle Linux 7
Date: Tuesday, November 18, 2014
Time: 9:00 am PST

Register here

Spacewalk and Ksplice: Keep Oracle Linux Systems Up to Date and Secure
Date: Tuesday, November 25, 2014
Time 3:00 pm PST

Please note the 3:00 pm PST start time on this one to accommodate our friends in JAPAC. Replays will be available afterward if these dates and times are inconvenient for you.
Register here

Friday Jun 20, 2014

Friday Spotlight: A Wealth of Information on Oracle Linux

Happy Friday!

Our spotlight this week is on the large library of in-depth information about Oracle Linux on the Oracle documentation site. There is, of course, an administrator's guide, as you would expect. But there are also extremely comprehensive guides on Ksplice, DTrace, Spacewalk, security, and more. Check out the whole set for some Friday afternoon reading.

See you next week! 

-Chris

Friday May 16, 2014

Friday Spotlight: A Very Busy Week with OpenStack, support, and more!

Happy Friday!

It's been a very busy week here for Oracle Linux, so our spotlight this week will round up several interesting things for you!

There's some material to keep you busy this afternoon!

Have a great week!

-Chris

Wednesday May 14, 2014

ULN Integration for Spacewalk

We've just updated the Oracle version of Spacewalk on http://public-yum.oracle.com to include a ULN plug-in for the spacewalk-repo-sync tool. The plug-in enables you to synchronize ULN content directly into Spacewalk channels without registering the Spacewalk server with ULN, but an active ULN account is still required. This allows you to register your Spacewalk server to Spacewalk itself while still receiving updates from ULN.

The ULN plug-in was not included with the initial release of Spacewalk from Oracle. Depending on the configuration of your Spacewalk server, you might need to update the Spacewalk packages, specifically the spacewalk-config and spacewalk-backend-* packages.

To configure the ULN plug-in, edit the /etc/rhn/spacewalk-repo-sync/uln.conf file and add login credentials for ULN. By default, this file is read-only by root.

[main] 
username = <ULN SSO username> 
password = <ULN SSO password>

After you edit the configuration file, change the file permissions on the file to make it read-only (0400) by root or the user that will run the spacewalk-repo-sync tool. This is an important security step to protect the ULN credentials. By default, this script is run as the root user by the Spacewalk scheduling engine, but if you chose to run the script interactively via the command-line, you will need to ensure at least read-access to this file.

Once the ULN plug-in is configured, you create the Spacewalk software channels and repositories in the normal way using the Spacewalk web interface. When you specify the URL for a ULN repository, use a URL in the following format:

uln:///<ULN channel label>

For example:
uln:///ol6_x86_64_latest

You can get a list of available ULN channel labels by logging in to ULN (https://linux.oracle.com) and selecting the Channels tab. 

Additional updates

We've also updated Spacewalk to allow installation with the latest version of the Oracle 11gR2 Instant Client (11.2.0.4) available on ULN and OTN. 

Further reading

You can find more information about Spacewalk, including installation and configuration details, on the Spacewalk 2.0 for Oracle Linux 6 Release Notes. Spacewalk for Oracle Linux is free to download and use from http://public-yum.oracle.com and Spacewalk support is included with Oracle Linux Basic and Premier support subscriptions.

Monday Nov 11, 2013

Announcing Spacewalk Support for Oracle Linux Basic and Premier Customers

Over the years, customers migrating to Oracle Linux have asked for options to provide a transitional solution for their existing system management tools (such as Red Hat Satellite Server) while evaluating and planning migrations to Oracle's Enterprise Manager, which is offered at no additional charge with Oracle Linux Support Subscriptions.  Based on this request, we are pleased to announce support for the open-source community project, Spacewalk, which is the basis for both Red Hat Satellite Server and SUSE Manager.  Effective today, customers with Oracle Linux Basic and Premier Support subscriptions have access to a fully supported Spacewalk build which can be setup to easily manage Oracle Linux systems.  

Spacewalk support for Oracle Linux requires Oracle Linux 6, x86_64 for the server and provides support for Oracle Linux 5 and Oracle Linux 6 (x86, x86_64) clients.  This solution requires Oracle Database 11g Release 2 as the  supported database repository for Spacewalk with Oracle Linux.  Customers may use an existing Oracle database license or they may begin by downloading a 30-day trial license from eDelivery.  Customers with Oracle Linux Basic and Premier subscriptions will automatically have access to the channel hosting the supported build.  Please review the release notes for further instructions.

Oracle Enterprise Manager is still the recommended enterprise solution for managing Oracle Linux systems and we want to provide the easiest transition path for our customers.  We are excited to offer this solution to our Oracle Linux customers while they plan and implement their migration to Oracle Enterprise Manager. 

Monday Apr 29, 2013

Installing Spacewalk to manage Oracle Linux

Spacewalk is a popular Linux management tool that can be used to manage several operating systems, including the Red Hat Enterprise Linux derivatives like CentOS and Scientific Linux, Debian and even Solaris.

While the Spacewalk installation instructions are very thorough, here is a brief guide to installing Spacewalk on Oracle Linux 6. It is possible to install on Oracle Linux 5, but it requires a lot more manual intervention as the Unbreakable Linux Network packages installed on Oracle Linux 5 conflict with some Spacewalk packages. You should use both the Spacewalk installation instructions in combination with this guide to install Spacewalk.

Pre-requisites

This guide assumes that you are familiar with the Oracle Linux 6 installation process, as well as basic system administration tasks, including registering with the Unbreakable Linux Network (ULN) or configuring YUM to use public-yum.oracle.com.  The Oracle Linux 6 Administrator's Solutions Guide provides more information on these tasks.

Oracle Linux 6 Installation

This guide uses Oracle Linux 6.4 (x86_64). Download Oracle Linux 6.4 from the Oracle Software Delivery Cloud or one of the mirrors. You can choose either to do a "Basic Server" install, or a "Minimal" install. I recommend performing a "Basic Server" install as this provides basic system administration tools. If you are using a previous version of Oracle Linux 6, please ensure it is either registered with the Unbreakable Linux Network or is configured to use public-yum.oracle.com for updates.

You should assign both a fixed hostname as well as a fixed IP address for your Spacewalk server. The hostname should be resolvable via DNS on your network.

Pre-Requisite Installation

Binary packages of Spacewalk are available through YUM repositories at http://yum.spacewalkproject.org/. To use this repository, install the spacewalk-repo package with commands below:

# rpm -Uvh http://yum.spacewalkproject.org/1.9/RHEL/6/x86_64/spacewalk-repo-1.9-1.el6.noarch.rpm

Additional repositories and packages

For Spacewalk on Oracle Linux 6, additional dependencies are needed from JPackage. Please configure the following yum repository before beginning your Spacewalk installation:

cat > /etc/yum.repos.d/jpackage-generic.repo << EOF
[jpackage-generic]
name=JPackage generic
#baseurl=http://mirrors.dotsrc.org/pub/jpackage/5.0/generic/free/
mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=5.0
enabled=1
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
EOF 

We specifically want the 5.0 generic directory in the above URL.

Spacewalk requires additional dependencies from the Enterprise Packages for Enterprise Linux (EPEL) repository. To enable this repository run the following command:

# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm 

Database Server

Spacewalk supports either Oracle Database 10g or higher or PostgreSQL 8.4 or higher to store its primary data. While Oracle Database XE is supported by Spacewalk, it is not supported by Oracle. Therefore, we recommend either using an existing Oracle Database Standard or Enterprise Edition server or using PostgreSQL. 

Oracle Database Setup

Installation of an Oracle Database server is outside the scope of this walk-through. We assume you have an existing Oracle Database server installed and available. The spacewalk user needs to have the CONNECT and RESOURCE roles as well as the ALTER SESSION, CREATE SYNONYM,CREATE TABLE and CREATE VIEW system privileges.

You will also need to make the following code change on your Spacewalk server, after you have installed the Spacewalk software:

# diff -u /etc/sysconfig/rhn/oracle/main.sql-20110504 /etc/sysconfig/rhn/oracle/main.sql
--- main.sql-20110504	2011-04-08 21:40:53.000000000 +0200
+++ main.sql	2011-05-04 14:20:24.000000000 +0200
@@ -38940,6 +38940,12 @@
 
 
 -- Source: data/common/rhnPackageSyncBlacklist.sql
+
+select lookup_package_name('gpg-pubkey') from dual;
+
+select lookup_package_name('rhns-ca-cert') from dual;
+
+select lookup_package_name('rhn-org-trusted-ssl-cert') from dual;
     
 insert into rhnPackageSyncBlacklist (package_name_id)
 	values (lookup_package_name('gpg-pubkey')); 

Without this change, the Spacewalk installation fails with the following error in /var/log/rhn/populate_db.log:

ORA-02291: integrity constraint (SPACEWALK.RHN_PACKAGESYNCBL_PNID_FK) violated - parent key not found 

The Oracle Instant Client packages can be installed from ULN by subscribing to the Oracle Software channel and running the following command:

# yum install oracle-instantclient11.2-basic oracle-instantclient11.2-sqlplus

If you are not subscribed to ULN, you can download the Oracle Instant Client RPMs from the Oracle Technology Network and install them manually.

Once the Oracle Instant Client has been installed, you need to add the library path to ldconfig:

# echo /usr/lib/oracle/11.2/client64/lib > /etc/ld.so.conf.d/oracle-instantclient11.2-basic.conf
# ldconfig

Spacewalk Installation

If you want to use the PostgreSQL embedded backend on the same server as Spacewalk:

# yum install spacewalk-setup-embedded-postgresql 
# yum install spacewalk-postgresql

If you want to use an Oracle Database backend:

# yum install spacewalk-oracle 

The rest of this guide uses an Oracle Database backend. Don't forget to make the code change listed under Oracle Database Setup before continuing!

The Spacewalk binary packages are missing a dependency on the geronimo-jta-1.1-api RPM, so install it manually:

# yum install geronimo-jta-1.1-api

Configuring Spacewalk

Your Spacewalk server should have a resolvable FQDN such as 'hostname.domain.com'. If the installer complains that the hostname is not the FQDN, do not use the --skip-fqdn-test flag to skip.

If you installed spacewalk-setup-embedded-postgresql above, run

# spacewalk-setup --disconnected

If you set up the database server manually (either on the same or on a different machine), run

# spacewalk-setup --disconnected --external-db

A sample interactive install:

 # spacewalk-setup --disconnected --external-db
* Setting up Oracle environment.
* Setting up database.
** Database: Setting up database connection for Oracle backend.
Database service name (SID)? orcl.domain.com
Database hostname [localhost]? spacewalk-db.domain.com
Username? spacewalk
Password?
** Database: Testing database connection.
** Database: Populating database.
*** Progress: ############################################################
* Setting up users and groups.
** GPG: Initializing GPG and importing key.
** GPG: Creating /root/.gnupg directory
You must enter an email address.
Admin Email Address? your.email@domain.com
* Performing initial configuration.
* Activating Spacewalk.
** Loading Spacewalk Certificate.
** Verifying certificate locally.
** Activating Spacewalk.
* Enabling Monitoring.
* Configuring apache SSL virtual host.
Should setup configure apache's default ssl server for you (saves original ssl.conf) [Y]?
** /etc/httpd/conf.d/ssl.conf has been backed up to ssl.conf-swsave
* Configuring tomcat.
** /etc/sysconfig//tomcat6 has been backed up to tomcat6-swsave
** /etc/tomcat6//server.xml has been backed up to server.xml-swsave
** /etc/tomcat6//web.xml has been backed up to web.xml-swsave
* Configuring jabberd.
* Creating SSL certificates.
CA certificate password?
Re-enter CA certificate password?
Organization? Oracle Demo
Organization Unit [spacewalk.domain.com]?
Email Address [your.email@domain.com]?
City? Redwood Shores
State? CA
Country code (Examples: "US", "JP", "IN", or type "?" to see a list)? US
** SSL: Generating CA certificate.
** SSL: Deploying CA certificate.
** SSL: Generating server certificate.
** SSL: Storing SSL certificates.
* Deploying configuration files.
* Update configuration in database.
* Setting up Cobbler..
Processing /etc/cobbler/modules.conf
`/etc/cobbler/modules.conf' -> `/etc/cobbler/modules.conf-swsave'
Processing /etc/cobbler/settings
`/etc/cobbler/settings' -> `/etc/cobbler/settings-swsave'
cobblerd does not appear to be running/accessible
Cobbler requires tftp and xinetd services be turned on for PXE provisioning functionality. Enable these services [Y]?
cobblerd does not appear to be running/accessible
* Restarting services.
Installation complete.
Visit https://spacewalk.domain.com to create the Spacewalk administrator account.

Once your install is complete, visit https://spacewalk.domain.com to create the initial Spacewalk administrator account. Documentation on using Spacewalk can be found on the Spacewalk wiki

Oracle Linux YUM Repositories

The following channels on public-yum.oracle.com  contain errata information that can be ingested by Spacewalk: 

  • ol5_i386_latest
  • ol5_x86_64_latest
  • ol6_i386_latest
  • ol6_x86_64_latest

Each repository stores ALL packages released since the first Generally Available (GA) release of each version. This means the storage requirements for each of these repositories is between 20GB-30GB each. Care should be taken to ensure you have enough disk space to mirror each repository.

Adding the Oracle Linux 6 (x86_64) Latest channel

Goto Channels -> Manage Software Channels -> Manage Repositories. Click "create new repository" and provide the following configuration:

  • Repository Label: External yum repo - Oracle Linux 6 (x86_64)
  • Repository URL: http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/x86_64/

Then click "create repository".

After creating the repository, you need to link it to one or more Software Channels. Goto: Channels -> Manage Software Channels. Click "create new channel" and provide the following configuration:

  • Channel Name: Oracle Linux 6 (x86_64)
  • Channel Label: oraclelinux6-x86_64
  • Architecture: x86_64
  • Yum Repository Checksum Type: sha256
  • Channel Summary: Oracle Linux 6 (x86_64)
Then click "create channel". Once the channel is created, click the "Repositories" tab that appears and select the "External yum repo - Oracle Linux 6 x86_64" repository and click "Update Repositories". Once you've enabled the repository, click the "Sync" tab and either click the "Sync Now" button to trigger an immediate sync, or schedule a sync. Note that the initial repository sync can take 2-3 days to complete for each repository.

About

Get the latest updates on strategy, products, events, news, customers, partners and all things Oracle Linux! Connect with Oracle's Linux experts.

Stay Connected

Twitter


Facebook

Search

Archives
« May 2015
SunMonTueWedThuFriSat
     
2
3
4
5
6
7
9
10
11
12
13
14
16
17
18
19
20
21
23
24
25
26
27
28
29
30
31
      
Today