<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2508422190933292634</id><updated>2011-10-17T02:17:38.175-07:00</updated><category term='splunk'/><category term='lotus'/><category term='rhel'/><category term='4.3'/><category term='find'/><category term='TS3500'/><category term='fedora kvm lvm qcow2 baseimage snapshot'/><category term='openssl'/><category term='istat'/><category term='projectM'/><category term='hyper threading'/><category term='fedora'/><category term='amarok'/><category term='cpuinfo'/><category term='AIX'/><category term='syslogd'/><category term='vdrums'/><category term='oracle'/><category term='TSM'/><category term='vst'/><category term='ardour'/><title type='text'>nocoast</title><subtitle type='html'>When my life of punk-rock and drunken good times failed to pan out financially I turned to a life of tech support, this is my autobiography in progress</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-2343760457560628257</id><published>2010-11-08T20:25:00.000-08:00</published><updated>2010-11-08T20:34:39.484-08:00</updated><title type='text'>AIX BoF</title><content type='html'>Home Directories&lt;br /&gt;I have not been able to have home directories automagically created when logging in with LDAP, I have added many of the user home dir's to the default AIX build but you may run into some that don't exist, you can easily make you home directory using sudo.&lt;br /&gt;If you are adding LDAP to a AIX box with local accounts already established it is best practice to remove the account for LDAP users. Before you run this command you must MAKE SURE THAT SECLDAPCLNTD IS NOT RUNNING, if it is still running you will remove all of the admin accounts from LDAP!:&lt;br /&gt;stop-secldapclntd &amp;amp;&amp;amp; for i in &lt;user list=""&gt;; do rmuser -p $i ; done&lt;br /&gt;&lt;br /&gt;Here are two one liners to create all the current Unix, App, and DB admins home folders:&lt;/user&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;start-secldapclntd&lt;br /&gt;for i in &lt;user list=""&gt;; do &lt;br /&gt;&amp;nbsp;mkdir /home/$i; &lt;br /&gt;&amp;nbsp;chown -R $i.&lt;wheel&gt; /home/$i; &lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;for i in &lt;user list=""&gt;; do &lt;br /&gt;&amp;nbsp;mkdir /home/$i;&lt;br /&gt;&amp;nbsp;chown -R $i.IRM /home/$i;&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;AIX 5.3 and 6.1&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;# Installing and configuring LDAP client service on AIX 5.3/6.1&lt;br /&gt;Installation&lt;br /&gt;All packages are available on the /media/software nfs share, instructions reference that location for installation.&lt;br /&gt;&lt;br /&gt;# Install Java&lt;br /&gt;If java is not currently installed you can install Java5 64 bit, this version is for AIX 5.3 AND 6.1:&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;code&gt;&lt;br /&gt;&amp;nbsp;installp -acgXYd /media/software/AIX/java/ Java5_64.sdk&lt;/code&gt; &lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;Once java is installed you may need to add it to your path, the following command will do this temporarily:&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&amp;nbsp;export PATH=/usr/java5_64/bin:$PATH&lt;br /&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;br /&gt;# Install gskit&lt;br /&gt;Source: https://www14.software.ibm.com/webapp/iwm/web/reg/pick.do?source=gskitupdt&amp;amp;S_PKG&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;code&gt;&lt;br /&gt;&amp;nbsp;installp -acgXd /media/software/AIX/GSKIT/ gsksa.rte gskta.rte&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;# Install ITDS packages&lt;br /&gt;Remove any previous version of ldap that are installed, if the following command returns with filesets they need to be removed through smit:&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;code&gt;&lt;br /&gt;&amp;nbsp; lslpp -aL *ldap* # will list installed ldap packages&lt;br /&gt;&lt;/code&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;br /&gt;Source http://www-01.ibm.com/support/docview.wss?rs=767&amp;amp;context=SSPREK&amp;amp;uid=swg27009778#ver62&lt;br /&gt;6.2 packages&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;code&gt;&lt;br /&gt;&amp;nbsp;installp -acgXd /media/software/AIX/ITDS/6.2.0.2-TIV-ITDS-AIX-IF0002/images/ idsldap.clt32bit62 \&lt;br /&gt;&amp;nbsp;idsldap.clt64bit62 idsldap.cltbase62 idsldap.msg62.en_US idsldap.clt_max_crypto32bit62 \&lt;br /&gt;&amp;nbsp;idsldap.clt_max_crypto64bit62&lt;/code&gt; &lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt; Once those filesets are installed run 'lslpp -aL idsldap.*' to verify, output should be similar to this:&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;code&gt;&lt;br /&gt;&amp;nbsp;lslpp -aL idsldap.*&lt;br /&gt;&amp;nbsp; Fileset&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Level&amp;nbsp; State&amp;nbsp; Type&amp;nbsp; Description (Uninstaller)&lt;br /&gt;&amp;nbsp; ----------------------------------------------------------------------------&lt;br /&gt;&amp;nbsp; idsldap.clt32bit62.rte&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.2.0.n&amp;nbsp;&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp; Directory Server - 32 bit&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Client&lt;br /&gt;&amp;nbsp; idsldap.clt64bit62.rte&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.2.0.n&amp;nbsp;&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp; Directory Server - 64 bit&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Client&lt;br /&gt;&amp;nbsp; idsldap.clt_max_crypto32bit62.rte&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.2.0.n&amp;nbsp;&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp; Directory Server - 32 bit&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Client (SSL)&lt;br /&gt;&amp;nbsp; idsldap.clt_max_crypto64bit62.rte&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.2.0.n&amp;nbsp;&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp; Directory Server - 64 bit&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Client (SSL)&lt;br /&gt;&amp;nbsp; idsldap.cltbase62.adt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.2.0.n&amp;nbsp;&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp; Directory Server - Base Client&lt;br /&gt;&amp;nbsp; idsldap.cltbase62.rte&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.2.0.n&amp;nbsp;&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp; Directory Server - Base Client&lt;br /&gt;&amp;nbsp; idsldap.msg62.en_US&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.2.0.n&amp;nbsp;&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F&amp;nbsp;&amp;nbsp;&amp;nbsp; Directory Server - Messages -&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; U.S. English (en)&lt;/code&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt; &lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;br /&gt;# Configuration&lt;br /&gt;methods.cfg&lt;br /&gt;Paste the following into a root cli: (&lt;b&gt;this assumes that you use TSM for backups and that the client is configured&lt;/b&gt;)&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;code&gt;&lt;br /&gt;&amp;nbsp;if [ $(grep -c LDAP /usr/lib/security/methods.cfg) -eq "0" ];&lt;br /&gt;&amp;nbsp; then&lt;br /&gt;&amp;nbsp;&amp;nbsp; echo "Backing up current methods.cfg, please wait"&lt;br /&gt;&amp;nbsp;&amp;nbsp; dsmc i /usr/lib/security/methods.cfg&lt;br /&gt;&amp;nbsp;&amp;nbsp; cat &amp;lt;&lt;eof&gt;&amp;gt;/usr/lib/security/methods.cfg&lt;br /&gt;&lt;br /&gt;LDAP:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; program = /usr/lib/security/LDAP&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; program_64 = /usr/lib/security/LDAP64&lt;br /&gt;EOF&lt;br /&gt;&amp;nbsp;else&lt;br /&gt;&amp;nbsp;&amp;nbsp; echo "Found LDAP stanza in /usr/lib/security/methods.cfg, assuming that it is correct."&lt;br /&gt;&amp;nbsp;fi&lt;br /&gt;&lt;/eof&gt;&lt;/code&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;br /&gt;CA Certs&lt;br /&gt;Get certs from the repos&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;code&gt;&lt;br /&gt;&amp;nbsp;cd /etc/security/ldap/ &amp;amp;&amp;amp; wget &lt;cert name=""&gt;.crt &amp;amp;&amp;amp; wget &lt;cert name=""&gt;.crt&lt;/cert&gt;&lt;/cert&gt;&lt;/code&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt; &lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;Create and list key database for ssl, if you run into java errors check that your version of java is at least 1.4.2&lt;br /&gt;&lt;code&gt; &lt;/code&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&amp;nbsp;gsk7cmd -keydb -create -db /etc/security/ldap/key.kdb -pw &lt;password&gt; -type cms&lt;br /&gt;&amp;nbsp;gsk7cmd -cert -list CA -db /etc/security/ldap/key.kdb -pw &lt;password&gt;&lt;br /&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;Add CA cert from &lt;ldap server=""&gt; to key database&lt;br /&gt;&lt;code&gt; &lt;/code&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;gsk7cmd -cert -add -db /etc/security/ldap/key.kdb -file /etc/security/ldap/&lt;cert name=""&gt;.crt -format ascii -label "&lt;ldap server=""&gt; CA cert" -pw &lt;password&gt; -trust enable&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# mksecldap command / ldap.cfg file&lt;br /&gt;&lt;strike&gt;Run the mksecldap command to tie the system into LDAP, this may take a minute or more.&lt;/strike&gt;&lt;br /&gt;The mkseclsap command cannot be used to setup anonymous bind configurations, instead of using that command create the /etc/security/ldap/ldap.cfg using the following command:&lt;br /&gt;&lt;code&gt; &lt;/code&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;&lt;cert name=""&gt;&lt;ldap server=""&gt;&lt;password&gt;cat &amp;lt;&lt;eof&gt;&lt;eof&gt;/etc/security/ldap/ldap.cfg&lt;br /&gt;ldapservers:&lt;ldap server=""&gt;,&lt;ldap server=""&gt;&lt;br /&gt;authtype:ldap_auth&lt;br /&gt;userattrmappath:/etc/security/ldap/2307user.map&lt;br /&gt;groupattrmappath:/etc/security/ldap/2307group.map&lt;br /&gt;userbasedn:&lt;user base="" dn=""&gt;&lt;br /&gt;groupbasedn:&lt;group base="" dn=""&gt;&lt;br /&gt;useSSL:yes&lt;br /&gt;ldapsslkeyf:/etc/security/ldap/key.kdb&lt;br /&gt;ldapsslkeypwd:&lt;password&gt;&lt;br /&gt;EOF&lt;br /&gt;&lt;/password&gt;&lt;/group&gt;&lt;/user&gt;&lt;/ldap&gt;&lt;/ldap&gt;&lt;/eof&gt;&lt;/eof&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;&lt;cert name=""&gt;&lt;ldap server=""&gt;&lt;password&gt;&lt;eof&gt;&lt;ldap server=""&gt;&lt;ldap server=""&gt;&lt;user base="" dn=""&gt;&lt;group base="" dn=""&gt;&lt;password&gt;&lt;br /&gt;# IDS links&lt;br /&gt;IDS needs certain libraries and binaries linked from /opt/IBM/ldap/&lt;version&gt;/... to /usr/lib, etc.&lt;br /&gt;First step is to remove any current links&lt;br /&gt;&lt;code&gt; &lt;/code&gt;&lt;/version&gt;&lt;/password&gt;&lt;/group&gt;&lt;/user&gt;&lt;/ldap&gt;&lt;/ldap&gt;&lt;/eof&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;&lt;cert name=""&gt;&lt;ldap server=""&gt;&lt;password&gt;&lt;eof&gt;&lt;ldap server=""&gt;&lt;ldap server=""&gt;&lt;user base="" dn=""&gt;&lt;group base="" dn=""&gt;&lt;password&gt;&lt;version&gt;&amp;nbsp;/opt/IBM/ldap/V6.2/bin/idsrmlink -i -l 64 -s fullsrv&lt;br /&gt;&amp;nbsp;/opt/IBM/ldap/V6.2/bin/idsrmlink -i -l 32 -s fullsrv&lt;br /&gt;&lt;/version&gt;&lt;/password&gt;&lt;/group&gt;&lt;/user&gt;&lt;/ldap&gt;&lt;/ldap&gt;&lt;/eof&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;&lt;cert name=""&gt;&lt;ldap server=""&gt;&lt;password&gt;&lt;eof&gt;&lt;ldap server=""&gt;&lt;ldap server=""&gt;&lt;user base="" dn=""&gt;&lt;group base="" dn=""&gt;&lt;password&gt;&lt;version&gt;Second step is to create new links to the 32 bit binaries&lt;br /&gt;&lt;code&gt; &lt;/code&gt;&lt;/version&gt;&lt;/password&gt;&lt;/group&gt;&lt;/user&gt;&lt;/ldap&gt;&lt;/ldap&gt;&lt;/eof&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;&lt;cert name=""&gt;&lt;ldap server=""&gt;&lt;password&gt;&lt;eof&gt;&lt;ldap server=""&gt;&lt;ldap server=""&gt;&lt;user base="" dn=""&gt;&lt;group base="" dn=""&gt;&lt;password&gt;&lt;version&gt;&amp;nbsp;/opt/IBM/ldap/V6.2/bin/idslink -i -l 32 -s base&lt;br /&gt;&lt;/version&gt;&lt;/password&gt;&lt;/group&gt;&lt;/user&gt;&lt;/ldap&gt;&lt;/ldap&gt;&lt;/eof&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;&lt;cert name=""&gt;&lt;ldap server=""&gt;&lt;password&gt;&lt;eof&gt;&lt;ldap server=""&gt;&lt;ldap server=""&gt;&lt;user base="" dn=""&gt;&lt;group base="" dn=""&gt;&lt;password&gt;&lt;version&gt;&lt;br /&gt;# Start secldap at reboot&lt;br /&gt;Remove existing inittab entries&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/version&gt;&lt;/password&gt;&lt;/group&gt;&lt;/user&gt;&lt;/ldap&gt;&lt;/ldap&gt;&lt;/eof&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;&lt;cert name=""&gt;&lt;ldap server=""&gt;&lt;password&gt;&lt;eof&gt;&lt;ldap server=""&gt;&lt;ldap server=""&gt;&lt;user base="" dn=""&gt;&lt;group base="" dn=""&gt;&lt;password&gt;&lt;version&gt; rmitab ldapclntd&lt;br /&gt;&lt;/version&gt;&lt;/password&gt;&lt;/group&gt;&lt;/user&gt;&lt;/ldap&gt;&lt;/ldap&gt;&lt;/eof&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;&lt;cert name=""&gt;&lt;ldap server=""&gt;&lt;password&gt;&lt;eof&gt;&lt;ldap server=""&gt;&lt;ldap server=""&gt;&lt;user base="" dn=""&gt;&lt;group base="" dn=""&gt;&lt;password&gt;&lt;version&gt;Create new inittab entry&lt;br /&gt;&lt;code&gt; &lt;/code&gt;&lt;/version&gt;&lt;/password&gt;&lt;/group&gt;&lt;/user&gt;&lt;/ldap&gt;&lt;/ldap&gt;&lt;/eof&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;&lt;cert name=""&gt;&lt;ldap server=""&gt;&lt;password&gt;&lt;eof&gt;&lt;ldap server=""&gt;&lt;ldap server=""&gt;&lt;user base="" dn=""&gt;&lt;group base="" dn=""&gt;&lt;password&gt;&lt;version&gt;&amp;nbsp;mkitab 'ldapclntd:23456789:wait:/usr/sbin/start-secldapclntd&amp;nbsp; &amp;gt; /dev/console&amp;nbsp; &amp;gt; 2&amp;amp;&amp;gt;1&lt;br /&gt;&lt;/version&gt;&lt;/password&gt;&lt;/group&gt;&lt;/user&gt;&lt;/ldap&gt;&lt;/ldap&gt;&lt;/eof&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;&lt;cert name=""&gt;&lt;ldap server=""&gt;&lt;password&gt;&lt;eof&gt;&lt;ldap server=""&gt;&lt;ldap server=""&gt;&lt;user base="" dn=""&gt;&lt;group base="" dn=""&gt;&lt;password&gt;&lt;version&gt;&lt;br /&gt;# /etc/security/user&lt;br /&gt;Add ldap compatability to /etc/security/user, without this ldap login will not work&lt;/version&gt;&lt;/password&gt;&lt;/group&gt;&lt;/user&gt;&lt;/ldap&gt;&lt;/ldap&gt;&lt;/eof&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;&lt;cert name=""&gt;&lt;ldap server=""&gt;&lt;password&gt;&lt;eof&gt;&lt;ldap server=""&gt;&lt;ldap server=""&gt;&lt;user base="" dn=""&gt;&lt;group base="" dn=""&gt;&lt;password&gt;&lt;version&gt;&lt;code&gt;&lt;br /&gt;&amp;nbsp;chsec -f /etc/security/user -s default -a "SYSTEM=LDAP or compat"&lt;br /&gt;&lt;/code&gt;&lt;/version&gt;&lt;/password&gt;&lt;/group&gt;&lt;/user&gt;&lt;/ldap&gt;&lt;/ldap&gt;&lt;/eof&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;&lt;cert name=""&gt;&lt;ldap server=""&gt;&lt;password&gt;&lt;eof&gt;&lt;ldap server=""&gt;&lt;ldap server=""&gt;&lt;user base="" dn=""&gt;&lt;group base="" dn=""&gt;&lt;password&gt;&lt;version&gt;&lt;br /&gt;# sudo&lt;br /&gt;Add your sudo config, I haven't had success with the AIX Linux Toolbox sudo rpm, try the sudo-noldap package (also on AIX Linux Toolbox)&lt;br /&gt;&lt;br /&gt;# Start secldap client&lt;br /&gt;Run the following command to start the ldap client&lt;br /&gt;&lt;code&gt; &lt;/code&gt;&lt;/version&gt;&lt;/password&gt;&lt;/group&gt;&lt;/user&gt;&lt;/ldap&gt;&lt;/ldap&gt;&lt;/eof&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;&lt;cert name=""&gt;&lt;ldap server=""&gt;&lt;password&gt;&lt;eof&gt;&lt;ldap server=""&gt;&lt;ldap server=""&gt;&lt;user base="" dn=""&gt;&lt;group base="" dn=""&gt;&lt;password&gt;&lt;version&gt;start-secldapclntd&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/version&gt;&lt;/password&gt;&lt;/group&gt;&lt;/user&gt;&lt;/ldap&gt;&lt;/ldap&gt;&lt;/eof&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;br /&gt;&lt;user list=""&gt;&lt;wheel&gt;&lt;user list=""&gt;&lt;eof&gt;&lt;cert name=""&gt;&lt;cert name=""&gt;&lt;password&gt;&lt;password&gt;&lt;ldap server=""&gt;&lt;cert name=""&gt;&lt;ldap server=""&gt;&lt;password&gt;&lt;eof&gt;&lt;ldap server=""&gt;&lt;ldap server=""&gt;&lt;user base="" dn=""&gt;&lt;group base="" dn=""&gt;&lt;password&gt;&lt;version&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;# Syslog&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;AIX pulls its logging configuration from /etc/syslog.conf, the standard AIX build as of May 2009 writes most messages to /var/adm/SYSLOG and does not include rotation. I like the logging to be more Linux-like so I append this to the end of the /etc/syslog.conf file, consider commenting out the existing logging if you don't want to write to /var/adm/SYSLOG:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;# Linux-ify the AIX logging setup and enable automagic rotation&lt;br /&gt;&amp;nbsp;# Everything but mail and auth to messages&lt;br /&gt;&amp;nbsp;*.info;mail.none;auth.none&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/log/messages&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rotate size 10m files 10 compress&lt;br /&gt;&amp;nbsp;# Auth to secure&lt;br /&gt;&amp;nbsp;auth.debug&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/log/secure&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rotate size 10m files 10 compress&lt;br /&gt;&amp;nbsp;# Mail to maillog&lt;br /&gt;&amp;nbsp;mail.debug&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/log/maillog&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rotate size 10m files 10 compress&lt;br /&gt;&amp;nbsp;# Emergency messages to all users&lt;br /&gt;&amp;nbsp;*.emerg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *ss&lt;br /&gt;&amp;nbsp;*.info;mail.none&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @&lt;our server="" splunk=""&gt;&lt;br /&gt;&lt;br /&gt;This will send:&lt;br /&gt;All messages except mail and authentication to /var/log/messages.&lt;br /&gt;All authentication messages to /var/log/secure.&lt;br /&gt;All mail messages to /var/log/maillog.&lt;br /&gt;All emergency messages to all users.&lt;br /&gt;All messages except mail to &lt;our server="" splunk=""&gt;&lt;br /&gt;&lt;br /&gt;If you don't like seeing the "Message forwarded from hostname:" message all over splunk you need to run the following command line as root:&lt;br /&gt;&amp;nbsp;chssys -s syslogd -a "-n"&lt;br /&gt;All the files need to exist prior to syslog writing to them, it will not create them on its own:&lt;br /&gt;&amp;nbsp;sudo touch /var/log/messages /var/log/secure /var/log/maillog&lt;br /&gt;You must then restart syslog&lt;br /&gt;&amp;nbsp;stopsrc -s syslogd &amp;amp;&amp;amp; startsrc -s syslogd&lt;br /&gt;&lt;/our&gt;&lt;/our&gt;&lt;/version&gt;&lt;/password&gt;&lt;/group&gt;&lt;/user&gt;&lt;/ldap&gt;&lt;/ldap&gt;&lt;/eof&gt;&lt;/password&gt;&lt;/ldap&gt;&lt;/cert&gt;&lt;/ldap&gt;&lt;/password&gt;&lt;/password&gt;&lt;/cert&gt;&lt;/cert&gt;&lt;/eof&gt;&lt;/user&gt;&lt;/wheel&gt;&lt;/user&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-2343760457560628257?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/2343760457560628257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=2343760457560628257&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/2343760457560628257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/2343760457560628257'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2010/11/aix-bof.html' title='AIX BoF'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-277086976063535130</id><published>2010-05-26T11:06:00.000-07:00</published><updated>2010-05-26T11:06:36.441-07:00</updated><title type='text'>Enabling console access on fully virt guests (virsh/virt-manager)</title><content type='html'>Using virsh or virt-manager you can gain access to the console by editing grub.conf, this allows you to watch the machine boot from a terminal.&lt;br /&gt;&lt;br /&gt;Add the following to the kernel line in /etc/grub.conf and reboot:&lt;br /&gt;&lt;blockquote&gt;console=tty0 console=ttyS0&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-277086976063535130?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/277086976063535130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=277086976063535130&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/277086976063535130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/277086976063535130'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2010/05/enabling-console-access-on-fully-virt.html' title='Enabling console access on fully virt guests (virsh/virt-manager)'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-2505485247694734802</id><published>2010-05-21T08:15:00.000-07:00</published><updated>2010-05-26T11:02:05.359-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora kvm lvm qcow2 baseimage snapshot'/><title type='text'>Converting kvm guests from lvm to qcow2, base images and snapshots</title><content type='html'>lvm based kvm guests are fast but you lose some flexibility, playing with fedora/kvm on my laptop I prefer to use file based images. Converting from lvm images to qcow2 isn't hard but the documentation is sparse.&lt;br /&gt;&lt;br /&gt;1. use qemu-img to convert from an lvm to qcow2 format:&lt;br /&gt;&lt;pre&gt;qemu-img convert -O qcow2 /dev/vg_name/lv_name/ /var/lib/libvirt/images/image_name.qcow2&lt;/pre&gt;If you want the image compressed add '-c' right after the word convert.&lt;br /&gt;&lt;br /&gt;2. edit the xml for the image&lt;br /&gt;&lt;pre&gt;virsh edit image_name&lt;/pre&gt;modify the disk stanza, adding a type to the driver line; on the source line change 'dev' to 'file' and modify the path:&lt;br /&gt;&lt;pre&gt;driver name='qemu' type='qcow2'&lt;br /&gt;source file='/var/lib/libvirt/images/image_name.qcow2'&lt;/pre&gt;&lt;br /&gt;Creating images from with a base image allows quick rollouts of many boxes based on an single install - for example I have a 'golden image' of centos, I can stop that VM and create 2 servers using the original VM disk as a base file and writing changes to different files.&lt;br /&gt;&lt;pre&gt;qemu-img create -b original_image.qcow2 -f qcow2 clone_image01.qcow2&lt;br /&gt;qemu-img create -b original_image.qcow2 -f qcow2 clone_image02.qcow2&lt;/pre&gt;&lt;br /&gt;Taking this further I can then snapshot both images so once I start making changes, rolling back to a point in time prior to the changes is very easy:&lt;br /&gt;&lt;pre&gt;qemu-img snapshot -c snapshot_name vm_image_name.qcow2&lt;/pre&gt;&lt;br /&gt;references:&lt;br /&gt;&lt;a href="http://www.linux-kvm.com/content/how-you-can-use-qemukvm-base-images-be-more-productive-part-1"&gt;http://www.linux-kvm.com/content/how-you-can-use-qemukvm-base-images-be-more-productive-part-1&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-2505485247694734802?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/2505485247694734802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=2505485247694734802&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/2505485247694734802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/2505485247694734802'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2010/05/converting-kvm-guests-from-lvm-to-qcow2.html' title='Converting kvm guests from lvm to qcow2, base images and snapshots'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-7504489488536717544</id><published>2009-11-12T13:16:00.000-08:00</published><updated>2009-11-12T13:27:43.693-08:00</updated><title type='text'>DHCP hostnames</title><content type='html'>On my home LAN Windows and Ubuntu boxes push their hostnames into local DNS which makes them easily resolvable - my router lists the names associated with MACs in its web interface, this is one of those small things that is really convenient. For some reason my fedora boxes have not been doing this lately and I finally got annoyed enough to look it up, turns out the fix is very simple.&lt;br /&gt;&lt;br /&gt;First off figure out which interface you are using, if you are using more then 1 then I will assume you know which one you want the hostname pushed from, easily enough you can run 'ipconfig' or 'ip addr show' and note the interface name. In most cases this will be eth0 for copper and something like wlan0 for a wireless connection. Once you have the interface name substitute it into the following command:&lt;br /&gt;&lt;pre&gt;echo "DHCP_HOSTNAME=$HOSTNAME" &gt;&gt; /etc/sysconfig/network-scripts/ifcfg-&lt;interface_name&gt;&lt;/pre&gt;&lt;br /&gt;Then restart networking:&lt;br /&gt;&lt;pre&gt;sudo service network restart&lt;/pre&gt;&lt;br /&gt;In the above example I am using '$HOSTNAME' which is the system hostname variable but you could set this to a static name if you desired.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-7504489488536717544?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/7504489488536717544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=7504489488536717544&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/7504489488536717544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/7504489488536717544'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2009/11/dhcp-hostnames.html' title='DHCP hostnames'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-6559197377310512394</id><published>2009-11-06T09:23:00.000-08:00</published><updated>2009-12-22T07:41:11.582-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cpuinfo'/><category scheme='http://www.blogger.com/atom/ns#' term='rhel'/><category scheme='http://www.blogger.com/atom/ns#' term='hyper threading'/><title type='text'>Is Hyper Threading enabled?</title><content type='html'>Needed a quick way to check if Hyper Threading was enabled on some RHEL boxes, ended up writing a quick "script" that can be copied onto the command line.&lt;br /&gt;&lt;br /&gt;I'll go through it line by line just for fun:&lt;br /&gt;&lt;br /&gt;First we grab all lines matching "core id" from /proc/cpuinfo, sort them (in case the id's where not listed in numeric order), list the unique values and count them&lt;br /&gt;&lt;pre&gt;cores=`grep "core id" /proc/cpuinfo|sort|uniq|wc -l`&lt;/pre&gt;Using grep I count the number of lines matching "processor" from /proc/cpuinfo&lt;br /&gt;&lt;pre&gt;procs=`grep -c "processor" /proc/cpuinfo`&lt;/pre&gt;If we fine less cores the processors then Hyper Threading must be on&lt;br /&gt;&lt;pre&gt;if [[ "$cores" -lt "$procs" ]]; then&lt;br /&gt;echo -e "\n$HOSTNAME: cores=$cores, processors=$procs\n    HyperThreading: Enabled"&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="text-align: left;"&gt;If we find the same number of processors and cores the Hyper Threading is off&lt;br /&gt;&lt;/div&gt;&lt;pre&gt;elif [[ "$cores" -eq "$procs" ]]; then&lt;br /&gt;echo -e "\n$HOSTNAME: cores=$cores, processors=$procs\n    HyperThreading: Disabled"&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="text-align: left;"&gt;If neither case matches then we have run into a failure, or our math doesn't work on this particular box&lt;br /&gt;&lt;/div&gt;&lt;pre&gt;else&lt;br /&gt;echo "epic failure"&lt;br /&gt;fi&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;And the whole thing...&lt;br /&gt;&lt;pre&gt;cores=`grep "core id" /proc/cpuinfo|sort|uniq|wc -l`&lt;br /&gt;procs=`grep -c "processor" /proc/cpuinfo`&lt;br /&gt;if [[ "$cores" -lt "$procs" ]]; then&lt;br /&gt;echo -e "\n$HOSTNAME: cores=$cores, processors=$procs\n    HyperThreading: Enabled"&lt;br /&gt;elif [[ "$cores" -eq "$procs" ]]; then&lt;br /&gt;echo -e "\n$HOSTNAME: cores=$cores, processors=$procs\n    HyperThreading: Disabled"&lt;br /&gt;else&lt;br /&gt;echo "epic failure"&lt;br /&gt;fi&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-6559197377310512394?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/6559197377310512394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=6559197377310512394&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/6559197377310512394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/6559197377310512394'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2009/11/is-hyper-threading-enabled.html' title='Is Hyper Threading enabled?'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-2162681473491737926</id><published>2009-11-04T14:39:00.000-08:00</published><updated>2009-11-06T10:32:07.547-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AIX'/><category scheme='http://www.blogger.com/atom/ns#' term='find'/><category scheme='http://www.blogger.com/atom/ns#' term='4.3'/><category scheme='http://www.blogger.com/atom/ns#' term='istat'/><title type='text'>How I learned to Stop Worrying and Love the Bomb istat</title><content type='html'>I was recently tasked with organizing 137k+ small .jpg files into a folder structure based on year and quarter, why? users opening this directory with a ftp client complained that it took a "long time" to get a directory listing... apparently 15 - 20 minutes each time they opened the directory, honestly if a program didn't return anything in 15 minutes I would probably kill it and blame the server!&lt;br /&gt;&lt;br /&gt;I really didn't think too much of the problem, in my head I though "i'll just use 'find' and 'stat'", which would have worked perfectly EXCEPT that I had to do this on a AIX 4.3 server and mounting the filesystem remotely was not an option.&lt;br /&gt;&lt;br /&gt;A few problems with AIX 4.3 - no 'stat' command, in AIX 5.x you can install the coreutils rpm from the &lt;a href="http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html"&gt;AIX toolbox&lt;/a&gt; to overcome this problem but you are up the creek without a paddle in 4.3! Also 'find' doesn't have all of the options you would usually have available on a newer version of linux - this was an issue in my case since I had to put the files into subdirectories (example: /basedirectory/2008/Q3) which meant that when searching for files to process in the basedirectory I did not want to descend into the yearly and quarterly subdirectories, easy with the -maxdepth option - which is not available in 4.3.&lt;br /&gt;&lt;br /&gt;I ended up getting around the lack of -maxdepth in the find command by using the -prune option to remove subdirectories from processing, because the basedirectoy did not contain any directories except 200{8,9}/Q{1..4} this task was simplified even further by providing a common directory 'Q*'.&lt;br /&gt;&lt;br /&gt;The lack of the 'stat' command had me banging my head against 'ls' for a day or so... The problem I have with 'ls' is in trying to get the year from 'ls -l', it works great for files older then 180 days but files less then 180 days are listed with the file modification timestamp in place of the year. I toyed with awk'ing the year/modifaction time column and checking if the value was an integer, which does work but you run into issues if your script is running within 180 days of the end of the year and examining files from the previous year, all the files will have timestamps which would cause you to examine the value of the current month vs. the month of the file being examined to determine the correct year - logic that I was uninterested in writing out.&lt;br /&gt;&lt;br /&gt;Enter in my new most loved command in AIX: '&lt;span style="font-weight: bold;"&gt;istat&lt;/span&gt;'&lt;br /&gt;I was lucky enough to find a post mentioning 'istat' which "displays the i-node information for a particular file". 'istat' is simliar to the linux 'stat' command although it does not allow you modify the output using command line switches - nothing a little grep and awk won't fix! What 'istat' does do is handily format data about file creation, modification and access in an unambiguous matter - dates are always shown in the same format, unlike 'ls -l'. Without this tool I was writing a longer and longer script to deal with corner cases dealing with files modified 180 days ago and files modified around the last 3 months of the year - with 'istat' I was able to make my script much simpler and rely on the computer to hand me information in an consistent format.&lt;br /&gt;&lt;br /&gt;I would be surprised if anyone has to solve this same problem but I will post the script anyways, as a warning this script is slow - 'istat' is not a tool for performance! Also working 'xargs' into the mix would make a more elegant solution in-place of 'find' and 'cat'.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;In the following script I have disabled the actual move command&lt;/span&gt; - this will only print what would happen! uncomment the line beginning with 'mv' and it will move files.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;br /&gt;#!/usr/bin/ksh&lt;br /&gt;#&lt;br /&gt;# organize files ending in $fileextension in $basedir&lt;br /&gt;# by moving them into subdirectories $basedir/$year/$quarter&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# backdate variable controls how many days old a file must be before&lt;br /&gt;# it is considered for processing, 92 days is approx 3 months&lt;br /&gt;# if you don't believe me ask google "3 months in days"&lt;br /&gt;backdate=92&lt;br /&gt;&lt;br /&gt;fileext=YOUR_FILE_EXTENTION&lt;br /&gt;outfile=/tmp/jpg_organizer.out&lt;br /&gt;basedir=YOUR_BASE_DIRECTORY&lt;br /&gt;&lt;br /&gt;errors=0&lt;br /&gt;&lt;br /&gt;# function to calulate which quarter a month lives in&lt;br /&gt;calculate_quarter() {&lt;br /&gt;case $month in&lt;br /&gt;      Jan|Feb|Mar)&lt;br /&gt;              quarter="Q1"&lt;br /&gt;              ;;&lt;br /&gt;      Apr|May|Jun)&lt;br /&gt;              quarter="Q2"&lt;br /&gt;              ;;&lt;br /&gt;      Jul|Aug|Sep)&lt;br /&gt;              quarter="Q3"&lt;br /&gt;              ;;&lt;br /&gt;      Oct|Nov|Dec)&lt;br /&gt;              quarter="Q4"&lt;br /&gt;              ;;&lt;br /&gt;esac&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# rudimentary error checking&lt;br /&gt;error_check() {&lt;br /&gt;let errors="$errors + $?"&lt;br /&gt;if [[ $errors -gt 0 ]]; then&lt;br /&gt;  echo "encountered an error, exiting"&lt;br /&gt;  exit $?&lt;br /&gt;fi&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# find files older then $backdate and move them into $basedir/$year/$quarter directories&lt;br /&gt;find $basedir -name Q\* -prune -o -name \*$fileext -mtime +$backdate -type f -print &gt; $outfile&lt;br /&gt;error_check&lt;br /&gt;for i in `cat $outfile` ; do&lt;br /&gt;filename=$i&lt;br /&gt;fileattrib=`istat $i | grep "Last modified:"`&lt;br /&gt;month=`echo $fileattrib | awk '{print $4}'`&lt;br /&gt;year=`echo $fileattrib | awk '{print $7}'`&lt;br /&gt;calculate_quarter&lt;br /&gt;if [[ ! -d $basedir/$year/$quarter ]]; then&lt;br /&gt;  mkdir -p $basedir/$year/$quarter&lt;br /&gt;  error_check&lt;br /&gt;fi&lt;br /&gt;echo "moving:$filename to $basedir/$year/$quarter/"&lt;br /&gt;&lt;b&gt;#mv $filename $basedir/$year/$quarter/&lt;/b&gt;&lt;br /&gt;error_check&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;rm $outfile&lt;br /&gt;&lt;br /&gt;exit 0&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-2162681473491737926?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/2162681473491737926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=2162681473491737926&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/2162681473491737926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/2162681473491737926'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2009/11/how-i-learned-to-stop-worrying-and-love.html' title='How I learned to Stop Worrying and Love the &lt;strike&gt;Bomb&lt;/strike&gt; istat'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-2678671905539849895</id><published>2009-10-26T14:46:00.000-07:00</published><updated>2009-11-06T10:31:45.516-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='syslogd'/><category scheme='http://www.blogger.com/atom/ns#' term='splunk'/><category scheme='http://www.blogger.com/atom/ns#' term='AIX'/><title type='text'>AIX syslogd and splunk (and more)</title><content type='html'>AIX is what I would call a 'batteries not-included' OS; the vanilla DVD install leaves you with a functioning system that has telnet (with root access) enabled, no OpenSSL/OpenSSH, korn shell without autocomplete (must be enables 'set -o vi'), no logging, etc...&lt;br /&gt;Since I work around a lot of RedHat boxes I tend to modify the AIX servers to have a simlar setup to RHEL, here are some of the steps I take:&lt;br /&gt;&lt;br /&gt;Install the following rpm's from the &lt;a href="http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/download.html"&gt;aix toolbox&lt;/a&gt;:&lt;br /&gt;bash (add /usr/bin/bash to /etc/security/login.cfg)&lt;br /&gt;curl&lt;br /&gt;coreutils&lt;br /&gt;less&lt;br /&gt;lsof&lt;br /&gt;python&lt;br /&gt;rsync&lt;br /&gt;sudo&lt;br /&gt;unzip&lt;br /&gt;wget&lt;br /&gt;&lt;br /&gt;Install &lt;a href="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=aixbp"&gt;OpenSSL&lt;/a&gt; and &lt;a href="http://sourceforge.net/projects/openssh-aix/"&gt;OpenSSH&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;Change root home directory to /root and change shell to bash:&lt;br /&gt;&lt;pre&gt;mkdir /root &amp;amp;&amp;amp; chuser home=/root shell=/usr/bin/bash root&lt;span style="font-family:Georgia,serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="text-align: left;"&gt;Modify prompt for all users:&lt;br /&gt;&lt;pre&gt;# Set bash prompt to be much more linux like&lt;br /&gt;if [[ "$TERM" == "xterm" ]];then&lt;br /&gt;if [[ "$SHELL" == "/usr/bin/bash" || "$SHELL" == "/bin/bash" ]];then&lt;br /&gt;  if [[ "$UID" -eq 0 ]];then&lt;br /&gt;    PS1="\[\033]0;\u@\h:\w\007\][\[\033[31;1m\]\u\[\033[0m\]@\h \W]# "&lt;br /&gt;  else&lt;br /&gt;    PS1="\[\033]0;\u@\h:\w\007\][\u@\h \W]\$ "&lt;br /&gt;  fi&lt;br /&gt;fi&lt;br /&gt;fi&lt;br /&gt;&lt;/pre&gt;Change logging setup:&lt;br /&gt;&lt;pre&gt;# Linux-ify the AIX logging setup and enable automagic rotation&lt;br /&gt;# Everything but mail and auth to messages&lt;br /&gt;*.info;mail.none;auth.none      /var/log/messages       rotate size 10m files 10 compress&lt;br /&gt;# Auth to secure&lt;br /&gt;auth.debug                      /var/log/secure         rotate  size 10m files 10 compress&lt;br /&gt;# Mail to maillog&lt;br /&gt;mail.debug                      /var/log/maillog        rotate size 10m files 10 compress&lt;br /&gt;# Emergency messages to all users&lt;br /&gt;*.emerg         *&lt;br /&gt;*.info;mail.none                @NETWORK_LOG_SERVER&lt;br /&gt;&lt;/pre&gt;Remove "Message forwarded from hostname:" from remote logging output:&lt;br /&gt;&lt;pre&gt;chssys -s syslogd -a "-n" ; stopsrc -s syslogd ; startsrc -s syslogd&lt;/pre&gt;Run aixpert to enable a much higher level of security:&lt;br /&gt;aixpert -l high&lt;br /&gt;&lt;/div&gt;&lt;pre&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-2678671905539849895?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/2678671905539849895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=2678671905539849895&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/2678671905539849895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/2678671905539849895'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2009/10/aix-syslogd-and-splunk-and-more.html' title='AIX syslogd and splunk (and more)'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-1549740536115278516</id><published>2009-03-04T07:32:00.000-08:00</published><updated>2009-07-17T07:34:29.578-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='lotus'/><title type='text'>Lotus Notes 8.5 on Fedora 10 x86_64</title><content type='html'>32-bit packages required for notes 8.5 to work on Fedora 10 x86_64. Notes will install fine without these but will not run.&lt;br /&gt;&lt;br /&gt;libxkbfile-1.0.4-5.fc9.i386&lt;br /&gt;libgnomecanvas-2.20.1.1-4.fc10.i386&lt;br /&gt;libgnomeprint22-2.18.5-1.fc10.i386&lt;br /&gt;libgnomeprintui22-2.18.3-1.fc10.i386&lt;br /&gt;gnome-vfs2-2.24.0-3.fc10.i386&lt;br /&gt;libgnome-2.24.1-9.fc10.i386&lt;br /&gt;libgnomeui-2.24.0-2.fc10.i386&lt;br /&gt;libXScrnSaver-1.1.3-1.fc10.i386&lt;br /&gt;libcanberra-gtk2-0.10-3.fc10.i386&lt;br /&gt;gtk-nodoka-engine-0.7.2-1.fc10.i386&lt;br /&gt;&lt;br /&gt;Of course installing these also carries a lot of dependency baggage.&lt;br /&gt;&lt;br /&gt;And a handy one liner:&lt;br /&gt;sudo yum -y install libxkbfile-1.0.4-5.fc9.i386 libgnomecanvas-2.20.1.1-4.fc10.i386 libgnomeprint22-2.18.5-1.fc10.i386 libgnomeprintui22-2.18.3-1.fc10.i386 gnome-vfs2-2.24.0-3.fc10.i386 libgnome-2.24.1-9.fc10.i386 libgnomeui-2.24.0-2.fc10.i386 libXScrnSaver-1.1.3-1.fc10.i386 libcanberra-gtk2-0.10-3.fc10.i386&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-1549740536115278516?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/1549740536115278516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=1549740536115278516&amp;isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/1549740536115278516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/1549740536115278516'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2009/03/lotus-notes-85-on-fedora-10-x8664.html' title='Lotus Notes 8.5 on Fedora 10 x86_64'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-7959534810194248019</id><published>2009-01-28T20:35:00.001-08:00</published><updated>2009-01-28T20:40:06.535-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vdrums'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='vst'/><category scheme='http://www.blogger.com/atom/ns#' term='ardour'/><title type='text'>ardour vsti support</title><content type='html'>To enable vsti support in ardour you must compile it from source, this has to do with licensing of the steinberg vst sdk. Here are my basic instructions for doing this on Fedora 10, note that I have already installed the ccrma repository and kernel as well as many packages referenced in my earlier &lt;a href="http://nocoast-tech.blogspot.com/2008/07/fedora-multimedia-powerhouse.html"&gt;post&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;cd ~/Download/ &amp;amp;&amp;amp; wget http://releases.ardour.org/ardour-2.7.1.tar.bz2&lt;br /&gt;&lt;br /&gt;bunzip2 ardour-2.7.1.tar.bz2 &amp;amp;&amp;amp; tar xf ardour-2.7.1.tar &amp;amp;&amp;amp; cd ardour-2.7.1&lt;br /&gt;&lt;br /&gt;get vst2.3 zip from steinberg, put in ~/Download/ardour-2.7.1/libs/fst&lt;br /&gt;&lt;br /&gt;yum install liblrdf-devel libgnomecanvas-devel aubio-devel fftw-devel libsxlt-devel gcc-c++ boost-devel&lt;br /&gt;&lt;br /&gt;cd ~/Download/ardour-2.7.1/&lt;br /&gt;scons VST=1&lt;br /&gt;scons install&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-7959534810194248019?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/7959534810194248019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=7959534810194248019&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/7959534810194248019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/7959534810194248019'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2009/01/ardour-vsti-support.html' title='ardour vsti support'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-3627673154323144920</id><published>2008-09-12T08:00:00.001-07:00</published><updated>2008-09-17T11:16:24.393-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TS3500'/><category scheme='http://www.blogger.com/atom/ns#' term='TSM'/><title type='text'>Installing IBM Tape System Reporter</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;On Sept. 8th I got an email from IBM notifying me that Tape System Reporter had been &lt;a href="http://www-01.ibm.com/support/docview.wss?uid=ssg1S4000680" target="_blank"&gt;released&lt;/a&gt;, it is supposed to:&lt;br /&gt;&lt;blockquote&gt;The IBM Tape System Reporter (TSR) application enables operators and administrators of the TS3500 Tape Library to monitor and report on storage devices in an enterprise environment&lt;/blockquote&gt;I have two TS3500 with 12 drives between them so this sounded pretty good, I thought I would install it and see what it can offer. I am a big fan of reporting since usually I can gain some ground with management to buy more stuff if I have pretty graphs in my hands!&lt;br /&gt;&lt;br /&gt;Unfortunately I was in for a ride on this, I should have known when I read this:&lt;br /&gt;&lt;blockquote&gt;It is not the intent of this documentation to explain how to download and use&lt;br /&gt;Derby to establish a database that contains the authorizations for using the IBM&lt;br /&gt;Tape System Reporter application.&lt;/blockquote&gt;Which means that I had to learn how to install a new application (apache Derby) with little help from IBM... I was able to accomplish this - though at the end I had not read the requirements well enough and found that I did NOT have ALMS licensed so even though I had the app installed correctly I couldn't get the data out of it... Either way here are the steps I went through to install this app.&lt;br /&gt;&lt;br /&gt;You need Windows XP or 2000 for the install so I booted up a XP virtual machine using &lt;a href="http://www.virtualbox.org/" target="_blank"&gt;Virtual Box&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Download and install the latest version of java from &lt;a href="http://www.java.com/" target="_blank"&gt;http://www.java.com&lt;/a&gt;, derby is a java database...&lt;/li&gt;&lt;li&gt;Install Adobe Reader from &lt;a href="http://www.adobe.com/products/acrobat/readstep2.html" target="_blank"&gt;http://www.adobe.com/products/acrobat/readstep2.html&lt;/a&gt;, the &lt;a href="http://publibfp.boulder.ibm.com/epubs/pdf/a3205890.pdf"&gt;install docs&lt;/a&gt; are in PDF and copy/paste from my main OS to the virtual box doesnt always work...&lt;/li&gt;&lt;li&gt;Download the latest version of derby from &lt;a href="http://db.apache.org/derby/derby_downloads.html" target="_blank"&gt;http://db.apache.org/derby/derby_downloads.html&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Extract derby, I chose to go with c:\derby_10\ like the doc shows, earlier I had tried putting it in c:\program files\derby\ but didn't have much luck - I started to wonder if the %PATH% variables where getting stuck on the spaces in the directory structure.&lt;/li&gt;&lt;li&gt;Time to set some variables, you can set these on the command line for one time use or set them in the global profile, I chose the later:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Right click on "My Computer", click on properties&lt;/li&gt;&lt;li&gt;select the 'Advanced' tab, click on Environment variables&lt;br /&gt;&lt;/li&gt;&lt;li&gt;on the lower half of the window that opens (System Variables) click 'New'&lt;/li&gt;&lt;li&gt;Variable name = DERBY_HOME, Variable value = C:\Derby_10 (or the directory you expanded the derby zip into). Click OK&lt;/li&gt;&lt;li&gt;Click on 'Path' in the System Variables section, choose 'Edit'&lt;br /&gt;&lt;/li&gt;&lt;li&gt;To the end of the Variable value add the following: ;%DERBY_HOME%\bin&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Good time to validate those variables, open a command prompt (Start-&amp;gt;Run-&amp;gt;cmd) and type the following:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;echo %DERBY_HOME%&lt;br /&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;output should be the variable value you set in step 5, in my case c:\derby_10&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;ij&lt;/li&gt;&lt;/ol&gt;&lt;ol&gt;&lt;ul&gt;&lt;li&gt;this command is part of the derby package, output should look something like:&lt;br /&gt;&lt;blockquote&gt;version 10.4&lt;br /&gt;&lt;br /&gt;ij&amp;gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;&lt;ol&gt;&lt;ul&gt;&lt;li&gt;if that is working simply type 'quit;' to exit the ij shell, if you dont see the ij prompt your system variables are not set correctly!&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;&lt;li&gt;At this point the directions from IBM start to lose their usefulness, some of the files they mention don't exist, other required files are not mentioned... good thing they had that disclaimer at the beginning of the document!&lt;/li&gt;&lt;li&gt;Navigate to %DERBY_HOME\bin and copy the derby_common,  startNetworkServer and stopNetworkServer scripts to the main derby folder (one folder down). The instructions mention a derby.properties file, i believe this would only exist if you had previously used derby so if it doesn't exist you can create it in the next step&lt;br /&gt;&lt;/li&gt;&lt;li&gt;create a new file and save it as derby.properties in %DERBY_HOME%, remember that if you create the file with notepad (as I did) that you must set the "Save as type:" to "All Files" or windows will magically append .txt to the filename.&lt;/li&gt;&lt;li&gt;Add the following to your %DERBY_HOME%/derby.properties file, in this example I am using tsruser as the username and tsrpass as the password - adjust accordingly.&lt;br /&gt;&lt;blockquote&gt;derby.connection.require Authentication=true&lt;br /&gt;&lt;br /&gt;derby.authentication.provider=BUILTIN&lt;br /&gt;&lt;br /&gt;derby.user.tsruser=tsrpass&lt;br /&gt;&lt;br /&gt;derby.databasedefaultConnectionMode=fullAccess&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;Now you need to edit the startNetworkServer script in %DERBY_HOME%, if you have your CLASSPATH setup for derby you can follow the IBM instructions, I did not so I had a much longer string to enter. Note that in my example I am setting the directory for the database to be created in as %DERBY_HOM%\tsrdb. Add the following to the end of the script (should be one long line):&lt;br /&gt;&lt;blockquote&gt;java -classpath %DERBY_HOME%\lib\derby.jar;%DERBY_HOME%\lib\derbynet.jar;%DERBY_HOME%\lib\derbyclient.jar;%DERBY_HOME%\lib\derbytools.jar;%DERBY_HOME%\lib\derbyrun.jar -Dderby.system.home=%DERBY_HOME%\tsrdb\ org.apache.derby.drda.NetworkServerControl start -h localhost -p 1527&lt;br /&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;Add a vary similar line to %DERBY_HOME%\stopNetworkServer:&lt;br /&gt;&lt;blockquote&gt;java -classpath %DERBY_HOME%\lib\derby.jar;%DERBY_HOME%\lib\derbynet.jar;%DERBY_HOME%\lib\derbyclient.jar;%DERBY_HOME%\lib\derbytools.jar;%DERBY_HOME%\lib\derbyrun.jar -Dderby.system.home=%DERBY_HOME%\tsrdb\ org.apache.derby.drda.NetworkServerControl shutdown -h localhost -p 1527&lt;br /&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;You can test the start and stop scripts at this point by double clicking on them, the start script should open a command window that accepts no input and the stop script should open a command window and then close both the start and stop windows. If everything is working correctly go to the next step, otherwise double check everything.&lt;/li&gt;&lt;li&gt;Time to create the database - start the derby server by double clicking on %DERBY_HOME%\startNetworkServer, open a command window and get an ij prompt by typing 'ij'. Enter the following text to create the database - I am using tsrdb as the database name, tsruser as the username and tsrpass as the password&lt;br /&gt;&lt;blockquote&gt;connect 'jdbc:derby://localhost:1527/tsrdb;create=true;user=tsruser;pass=tsrpass';&lt;br /&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;Check the %DERBY_HOME% directory, you should see a folder matching your database name (tsrdb in my examples). If you do then you should have the derby portion of the install complete!&lt;/li&gt;&lt;li&gt;Install the DB2 Run-Time Client Lite that is mentioned as a prereq in the docs, you can find it at &lt;a href="http://www-01.ibm.com/support/docview.wss?uid=ssg1S4000680"&gt;http://www-01.ibm.com/support/docview.wss?uid=ssg1S4000680&lt;/a&gt;. I took the defaults and did a 'Typical' install which worked fine.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Download the TSR zip file, it can be found on the page mentioned in step 16. Extract it to a directory of your choosing, I like c:\Program Files\tsr&lt;/li&gt;&lt;li&gt;Now we can check on the database connectivity and create the table to store data in:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Double click on the tsr executable, from the menu choose 'Database-&amp;gt;Setup'.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Enter your database name (tsrdb) the IP (localhost) and port (1527)&lt;/li&gt;&lt;li&gt;Click Test, enter the username (tsruser) and password (tsrpass) and click OK&lt;/li&gt;&lt;li&gt;The system will churn for a minute and should say 'Test Passed'.&lt;/li&gt;&lt;li&gt;Select the 'Table' tab while still in the Setup window and choose a table name, according to IBM this table will be used for storing the library performance data, I chose 'tsrdata'.&lt;/li&gt;&lt;li&gt;Click create, you will need to enter your username and password again (tsruser/tsrpass) and click OK&lt;/li&gt;&lt;li&gt;Output should be 'Table created successfully', click OK and then click OK again.&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Time to connect to the database and begin collecting data&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Click 'Database-&amp;gt;Connect'&lt;/li&gt;&lt;li&gt;enter username and password, click OK, should get 'Connection successful'&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Click 'File-&amp;gt;Start Monitoring'&lt;/li&gt;&lt;li&gt;enter the IP address or dns entry of the TS3500 you would like to monitor and click OK&lt;/li&gt;&lt;li&gt;A window should open and have some output in it like 'Starting Monitor on Tape Library yourlibnamehere'&lt;/li&gt;&lt;li&gt;cant say much more, without ALMS licensed this is as far as I got :( but hopefully it works!&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;Hopefully this helps someone, if I get an ALMS license soon I would like to post some screenshots of the app actually displaying useful data. Maybe someone can send me some!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-3627673154323144920?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/3627673154323144920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=3627673154323144920&amp;isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/3627673154323144920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/3627673154323144920'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2008/09/installing-ibm-tape-system-reporter.html' title='Installing IBM Tape System Reporter'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-7302743455704384352</id><published>2008-07-21T14:18:00.000-07:00</published><updated>2009-03-03T12:43:27.729-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='amarok'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><title type='text'>Fedora Multimedia Workstation</title><content type='html'>My default Fedora 10 install packages plus ccrma repos and meta package/kernel for low latency audio workstation with windows vsti's. With this setup I can run an alesis trigger io and trigger samples in XLN Audio Addictive Drums without having to run windows, plus I get SUPER low latency with low cost sound cards (even onboard is below 3ms), currently running a turtle beach riviera on an old Pentium 4 and getting 1.6ms&lt;br /&gt;&lt;br /&gt;# setup yum repos&lt;br /&gt;sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm \&lt;br /&gt;http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm \&lt;br /&gt;http://rpm.livna.org/livna-release-9.rpm \&lt;br /&gt;http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm&lt;br /&gt;&lt;br /&gt;# install apps&lt;br /&gt;sudo yum -y install bash-completion nautilus-open-terminal gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg k3b-extras-freeworld lame easytag mplayer gnome-mplayer gecko-mediaplayer mencoder libdvdcss flash-plugin AdobeReader_enu clusterssh compat-libstdc++-33 gcc wine wine-devel grip unrar vnc&lt;br /&gt;&lt;br /&gt;# 64-bit flash support&lt;br /&gt;&lt;span style="font-size:100%;"&gt;yum install flash-plugin nspluginwrapper.x86_64 nspluginwrapper.i386 alsa-plugins-pulseaudio.i386 libcurl.i386&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# nvidia driver&lt;br /&gt;sudo yum -y install akmod-nvidia&lt;br /&gt;&lt;br /&gt;# ati driver&lt;br /&gt;sudo yum -y install akmod-fglrx&lt;br /&gt;&lt;br /&gt;# ccrma repos add extra audio workstation tools and includes the low latency kernel&lt;br /&gt;sudo rpm -Uvh http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/10/i386/planetccrma-repo-1.1-2.fc10.ccrma.noarch.rpm&lt;br /&gt;&lt;br /&gt;# meta package for all major ccrma apps, this is a LARGE compilation and will take a while to download on a slow connection! (in my case 259mb with dependencies)&lt;br /&gt;sudo yum -y install planetccrma-apps&lt;br /&gt;&lt;br /&gt;# low latency kernel, first step is to allow Fedora to keep more kernels which can be done by changing the 'installonly_limit=3' line to 'installonly_limit=0', then running the following command&lt;br /&gt;sudo yum -y install planetccrma-core&lt;br /&gt;&lt;br /&gt;# get rid of "Could not load Mozilla. HTML rendering will be disabled." when running wine&lt;br /&gt;wine iexplore http://www.winehq.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-7302743455704384352?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/7302743455704384352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=7302743455704384352&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/7302743455704384352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/7302743455704384352'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2008/07/fedora-multimedia-powerhouse.html' title='Fedora Multimedia Workstation'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-972245797734482722</id><published>2008-06-06T06:51:00.001-07:00</published><updated>2008-06-06T06:56:37.295-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AIX'/><category scheme='http://www.blogger.com/atom/ns#' term='TSM'/><title type='text'>Rebinding TSM archives so they do not expire</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;I have some TSM archives on an AIX host with a short expiration period of 14 days that I needed to extend for an unknown amount of time, I thought this would be an easy task but it took me a minute to figure out exactly how to quickly and efficiently get this done. To stop expiration on an archive you have to use the 'set event type=hold' command in from 'dsmc', the documentation on the command is complete but sparse with few examples so I had play with it to understand it. The most important thing I learned was that you cannot use a '*' to specify all files in an archive having a specific description - but you can specify just the base directory (in TSM terms 'filespace_name' from the archives table) and append a '/' (example: '/directory/) and it will pick up all of the files in the archive under the base directory.&lt;br /&gt;&lt;br /&gt;First build the file list, this can be done easily a sql select statement from within dsmadmc :&lt;br /&gt;&lt;blockquote&gt;select distinct(filespace_name) from archives where node_name='node name' and description='archive description here' &gt; outfile&lt;/blockquote&gt;Then I needed to add a '/' character to the end of each line from the command line using awk:&lt;br /&gt;&lt;blockquote&gt;# cat outfile | awk '{ print $1"/"}' &gt; filelist.out&lt;br /&gt;&lt;br /&gt;&lt;small&gt;Alternately you could have selected filespace_name and hl_name and used awk to print both columns without a space between, either way the results should be the same...&lt;br /&gt;&lt;/small&gt;&lt;/blockquote&gt;Now I had a file that looked similar to this:&lt;br /&gt;&lt;blockquote&gt;/aaaa/&lt;br /&gt;/bbbb/&lt;br /&gt;/cccc/&lt;br /&gt;/db/abcd/&lt;br /&gt;/db/efgh/&lt;br /&gt;/db/ijkl/&lt;br /&gt;/db/mnop/&lt;br /&gt;/db/qrst/&lt;br /&gt;/db/uvwx/&lt;br /&gt;/db/yz/&lt;br /&gt;/eeee/&lt;br /&gt;/ffff/&lt;br /&gt;&lt;br /&gt;&lt;small&gt;each entry is a seperate mount point for a filesystem which is why /db/ would not have worked correctly.&lt;/small&gt;&lt;/blockquote&gt;&lt;br /&gt;Load this file into dsmc using the set event command:&lt;br /&gt;&lt;blockquote&gt;set event -type=hold -filelist=filelist.out -description="Some unique description here"&lt;br /&gt;&lt;br /&gt;output like:&lt;br /&gt;....&lt;br /&gt;ANS1899I ***** Examined    35,000 files *****&lt;br /&gt;ANS1899I ***** Examined    36,000 files *****&lt;br /&gt;ANS1899I ***** Examined    37,000 files *****&lt;br /&gt;ANS1899I ***** Examined    38,000 files *****&lt;br /&gt;ANS1899I ***** Examined    39,000 files *****&lt;br /&gt;....&lt;br /&gt;&lt;br /&gt;Total number of objects archived:                 0&lt;br /&gt;Total number of objects failed:                          0&lt;br /&gt;Total number of objects rebound:         82781&lt;br /&gt;Total number of bytes transferred:            0  B&lt;br /&gt;Data transfer time:                                                                 0.00 sec&lt;br /&gt;Network data transfer rate:                 0.00 KB/sec&lt;br /&gt;Aggregate data transfer rate:                          0.00 KB/sec&lt;br /&gt;Objects compressed by:                                                 0%&lt;br /&gt;Elapsed processing time:                                  00:04:26&lt;br /&gt;tsm&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;After the files were rebound I jumped onto dsmadmc to make sure I had gotten every file rebound, I did this by selecting the number of objects from the archive and comparing it to the number of objects rebound:&lt;br /&gt;&lt;blockquote&gt;select count(*) as "# of archived objects" from archives where description='Some unique description here' and node_name='node_name'&lt;br /&gt;&lt;br /&gt;# of archived objects&lt;br /&gt;---------------------&lt;br /&gt;              82781&lt;br /&gt;&lt;br /&gt;Looks good!&lt;br /&gt;&lt;/blockquote&gt;This was by far the fastest way to rebind all these objects. I also tried selecting each individual object from the tsm database and loading that as the filelist into dsmc (a file with 82781 lines), after about 10 hours of processing dsmc core dumped. My other thought was to use the filelist containing every object and running it in a for loop so each object was processed individually - this would have worked but the time for completion would have been much longer.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-972245797734482722?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/972245797734482722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=972245797734482722&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/972245797734482722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/972245797734482722'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2008/06/rebinding-tsm-archives-so-they-do-not.html' title='Rebinding TSM archives so they do not expire'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-8275365583755909105</id><published>2008-06-05T06:39:00.001-07:00</published><updated>2008-06-06T06:55:10.796-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='amarok'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='projectM'/><title type='text'>Installing projectM with amarok support on Fedora 8</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;I wanted projectM to work with amarok on my Fedora 8 box... I had done it before but didn't remember the exact steps...&lt;br /&gt;&lt;br /&gt;Dependencies: projectM isn't in the standard fedora or livna repos so we have to compile, because compiling doesn't automagically install requisite software like yum does we need to have some packages pre-installed. This list is probably not complete but it's what I had to add (plus dependencies for these packages which are handled by yum):&lt;br /&gt;pulseaudio-libs-devel amarok-visualisation, qt4-devel, cmake, ftgl-devel, glew-devel and subversion&lt;br /&gt;&lt;br /&gt;# sudo yum -y install pulseaudio-libs-devel amarok-visualisation qt4-devel cmake ftgl-devel glew-devel subversion&lt;br /&gt;&lt;br /&gt;Next we need to download projectM from sourceforge, I like to install the latest bleeding edge software since it generally causes me more pain so I chose the to go with the latest branch from subversion:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;# mkdir ~/Download/projectM &amp;amp;&amp;amp; cd ~/Download/projectM&lt;br /&gt;# svn co &lt;a rel="nofollow" href="https://projectm.svn.sf.net/svnroot/projectm/trunk" class="wiki_link_ext"&gt;https://projectm.svn.sf.net/svnroot/projectm/trunk&lt;/a&gt; projectM-Trunk&lt;br /&gt;# cd projectM-Trunk/src&lt;br /&gt;# ccmake .&lt;br /&gt;&lt;/blockquote&gt;cmake loads. press 'c' to configure: change CMAKE_BUILD_TYPE to 'Release' and CMAKE_INSTALL_PREFIX to /usr/&lt;br /&gt;press 'c' again to configure and g to generate makefile&lt;br /&gt;&lt;br /&gt;Time to compile:&lt;br /&gt;&lt;blockquote&gt; # make &amp;amp;&amp;amp; sudo make install&lt;/blockquote&gt;&lt;br /&gt;Now 'projectM-pulseaudio' should be in your Applications -&gt;Video menu (if your using gnome) and it will bump along to any sounds that are playing through pulse. If you have amarok open just restart it and you can launch it from the visualizations menu!&lt;br /&gt;&lt;br /&gt;I can't get it to play nice with compiz on an ati card running dual monitors, but with compiz turned off it's fine.&lt;br /&gt;&lt;br /&gt;&lt;small&gt;I ripped off a bunch of this from the ubuntu forum (thanks!):&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=749793"&gt;http://ubuntuforums.org/showthread.php?t=749793&lt;/a&gt;&lt;br /&gt;as well as the projectM page itself:&lt;br /&gt;&lt;a href="http://projectm.wiki.sourceforge.net/Installation+Instructions"&gt;http://projectm.wiki.sourceforge.net/Installation+Instructions&lt;/a&gt;&lt;/small&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-8275365583755909105?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/8275365583755909105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=8275365583755909105&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/8275365583755909105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/8275365583755909105'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2008/06/installing-projectm-with-amarok-support_05.html' title='Installing projectM with amarok support on Fedora 8'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-2807394788014932756</id><published>2008-01-31T11:55:00.001-08:00</published><updated>2008-06-16T08:38:19.522-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rhel'/><category scheme='http://www.blogger.com/atom/ns#' term='TSM'/><title type='text'>Tivoli Storage Manager Admin Center on rhel5</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;If you install the ISC and Admin Center for Tivoli Storage Manager on a RHEL5 box and you get the "portlet unavailable" error try installing libXp&lt;br/&gt;$ yum install libXp&lt;br/&gt;then stopping and starting the ISC again (by default $isc_home is /opt/IBM/ISC601/):&lt;br/&gt;cd &lt;em&gt;$isc_home&lt;/em&gt;/PortalServer/bin&lt;br/&gt;./stopISC.sh ISC_Portal iscadmin iscpassword&lt;br/&gt;&lt;br/&gt;check for runaway processes &lt;br/&gt;$ ps -ef | grep -i java&lt;br/&gt;&lt;br/&gt;Then startup the the ISC again...&lt;br/&gt;./startISC.sh ISC_Portal&lt;br/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-2807394788014932756?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/2807394788014932756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=2807394788014932756&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/2807394788014932756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/2807394788014932756'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2008/01/tivoli-storage-manager-admin-center-on.html' title='Tivoli Storage Manager Admin Center on rhel5'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-8761721696030934831</id><published>2007-12-07T11:57:00.001-08:00</published><updated>2008-06-05T08:39:35.555-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='lotus'/><title type='text'>Fedora 8 and Lotus Notes 8 - Java issues!</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;I finally got around to installing &lt;a href="http://fedoraproject.org/index.html"&gt;Fedora 8&lt;/a&gt; on my laptop after spending all last week in Dallas at &lt;a href="http://www.usenix.org/events/lisa07/index.html"&gt;LISA '07&lt;/a&gt; and I am still ironing out some issues (compiz i'm looking in your direction). One thing I have solved is the Lotus 8 installer failing! Essentially the problem boils down to incompatibilities between Sun's Java and F8 - I noticed on the &lt;a href="http://www.mjmwired.net/resources/mjm-fedora-f8.html#java"&gt;mjmwired&lt;/a&gt; page that to use sun java a patch needed to be applied to libmawt.so, and I knew that the lotus installer was using a packaged version of java that was extraced at install time so....&lt;br /&gt;&lt;blockquote&gt;&lt;blockquote&gt;$ cd /home/nate/Desktop/lotus\ 8/&lt;br /&gt;$ sudo ./setup.sh&lt;br /&gt;When the installer runs you will see&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-style: italic;"&gt;   Initializing Wizard........&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;        Extracting Bundled JRE.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;then&lt;br /&gt;&lt;br /&gt; &lt;span style="font-style: italic;"&gt;    Initializing Wizard........&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;        Installing Bundled JRE.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;then&lt;br /&gt;&lt;br /&gt;     &lt;span style="font-style: italic;"&gt; Initializing Wizard........&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;         Verifying JVM.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;   at this stage (or at Extracing Installation Archive.) press ctrl-z to pause and background the process&lt;br /&gt;$ cd /tmp/istemp{randomnumbershere}/_bundledJRE_/jre&lt;br /&gt;$ for i in `find ./ -name libmawt.so` ; do echo "Found $i, applying patch..." ; \&lt;br /&gt;sudo sed -i 's/XINERAMA/FAKEEXTN/g' $i ; done&lt;br /&gt;$ fg&lt;br /&gt;&lt;/blockquote&gt;From this point the installer *should* work correctly and Lotus 8 will install! of course your mileage may vary... let me know if this helps you!&lt;br /&gt;&lt;br /&gt;Noticed another possible problem with Notes 8 on Fedora - Incorrect permissions on ~/lotus directory causing lotus to fail to start after a successful installation. To fix that simply remove the folder and start notes again.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="poweredbyperformancing"&gt;Powered by &lt;a href="http://scribefire.com/"&gt;ScribeFire&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-8761721696030934831?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/8761721696030934831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=8761721696030934831&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/8761721696030934831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/8761721696030934831'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2007/12/fedora-8-and-lotus-notes-8-java-issues.html' title='Fedora 8 and Lotus Notes 8 - Java issues!'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2508422190933292634.post-6799129995093833767</id><published>2007-11-07T13:28:00.001-08:00</published><updated>2008-06-05T08:39:11.616-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openssl'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>Self signed ssl certificates with oracle oc4j and ssl wallets</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;blockquote&gt;    After beating my head against the wall for about 2 hours I got this to work - the documentation from oracle did not contain one important little gotcha which would have saved me at least an hour! Essentially what I am doing here is creating a self-signed certificate for developers who are making SOAP or access calls to seperate secure web servers AND the secure web server is using Oracle Apache/Webcache and SSL Wallets, since the application has no way of asking if the (self-signed) certificate should be accepted the app will fail with something like this:&lt;br /&gt;&lt;blockquote&gt;Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote&gt;Ok, onto the work:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;server1 = OC4J containers - application deployed here, making https calls to server2&lt;br /&gt;&lt;/li&gt;&lt;li&gt;server2 = Oracle Apache/WebCache server, app calls to https://server2/ causing errors&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;&lt;li&gt;&lt;span id="intelliTxt"&gt;Become your own Certificate Authority&lt;/span&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;span id="intelliTxt"&gt;        Easy enough, follow these instructions: &lt;a href="http://www.onlamp.com/pub/a/onlamp/2003/02/06/linuxhacks.html"&gt;http://www.onlamp.com/pub/a/onlamp/2003/02/06/linuxhacks.html&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;&lt;ul&gt;&lt;li&gt;&lt;span id="intelliTxt"&gt;       In Fedora the package that provides CA.pl (yum whatprovides CA.pl) is &lt;span style="font-style: italic;"&gt;openssl-perl &lt;/span&gt;from the core repos.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ol&gt;&lt;li&gt;OWM (Oracle Wallet Manager) on server2&lt;br /&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Start a vnc session (Im sure you could also use X forwarding, but I'm lazy) to server2&lt;/li&gt;&lt;ul&gt;&lt;li&gt;open a terminal window&lt;/li&gt;&lt;li&gt;$ cd $ORACLE_HOME/webcache/wallets/&lt;/li&gt;&lt;ul&gt;&lt;li&gt;cp -pR defaults backup&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;$ cd $ORACLE_HOME/bin&lt;/li&gt;&lt;li&gt;$ ./owm&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Wallet -&amp;amp;gt; New&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;"Your default wallet directory does not exist. Do you want to create it? NO&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Create a password for you wallet, click YES&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Do you want to create a certificate request at this time? YES&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Enter the information for your cert, remember that the "Common Name" must match the url that is serving https requests, if it does not you will receive certificate errors - example.com and www.example.com are different in this case! Click OK when you have entered all the info and click OK again on the "certificate request has been created" dialog box&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;Under you wallet you should now see an entry like "Certificate:[Requested]", click on this and copy the Certificate request (including the BEGIN NEW CERTIFICATE REQUEST line)&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;open a terminal on the box you created your Certificate Authority on and paste the Certificate Signing Request (csr) into a text file, in my case /home/nate/CA/certs/example.com.csr&lt;br /&gt;&lt;/li&gt;&lt;li&gt;$ CA.pl -sign after renaming your .csr to newreq.pem&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;enter your CA password&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Sign the certificate? [y/n]: Y&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;commit? [y/n] Y&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;copy the newly created certificate from the BEGIN CERTIFICATE line to the END CERTIFICATE line&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Back in the vnc session in the owm application&lt;br /&gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Operations -&amp;amp;gt; Import User Certificate -&amp;amp;gt; Paste the certificate, click OK&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Paste the the newly created cert in the dialog box and click OK&lt;/li&gt;&lt;li&gt;OH NO, an error... we can fix this "User certificate import has failed because the CA certificate does not exist. Do you want to import CA certificate now? YES" -&amp;amp;gt; Paste the certificate, click OK&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;on your CA box look in the CA dirctory for a file called cacert.pem&lt;/li&gt;&lt;ul&gt;&lt;li&gt;$ cat /home/nate/CA/cacert.pem # copy from BEGIN CERTIFICATE to END CERTIFICATE&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Back in the vnc session in the owm application&lt;/li&gt;&lt;ul&gt;&lt;li&gt;paste the CA certificate into the dialog box and click OK&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;ul&gt;&lt;ul&gt;&lt;li&gt;At this point your Wallet should say "Certificate:[Ready]" and your CA cert should be listed under the Trusted Certificates&lt;/li&gt;&lt;li&gt;Since I am using webcache on the apache box I am going to save this in the webcache directory but if I was using apache then it would be the apache directory and I would also possibly need to modify the SSLWallet directive in the ssl.conf file, if you are using apache without webcache checkout the references to the oracle docs at the end of this document since they cover this part well... what they don't cover - and what I had issues with is using the ssl wallet with webcache so....&lt;/li&gt;&lt;li&gt;one of the first steps created a backup of $ORACLE_HOME/webcache/wallets/default so we can overwrite those files without worry&lt;/li&gt;&lt;li&gt;Wallet -&amp;amp;gt; Auto Login # this allows apache (and I assume webcache) to startup without asking for the wallet password... very important&lt;/li&gt;&lt;li&gt;Wallet -&amp;amp;gt; Save As -&amp;amp;gt; $ORACLE_HOME/webcache/wallets/default&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Do you want to overwrite it? YES (you made a backup right?)&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Now in $ORACLE_HOME/webcache/wallets/default on server2 you should have two files: cwallet.sso and ewallet.p12 that contain your certificate, if you want to verify try the orapki command&lt;/li&gt;&lt;ul&gt;&lt;li&gt;$ORACLE_HOME/bin/orapki wallet display -wallet $ORACLE_HOME/webcache/wallets/default/ewallet.p12&lt;/li&gt;&lt;ul&gt;&lt;li&gt;enter your wallet password and BAM there is the stuff...&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;You can now bounce WebCace ($ORACLE_HOME/bin/opmnctl stopproc ias-component=WebCache ; $ORACLE_HOME/bin/opmnctl startproc ias-component=WebCache) and navigate to https://server2/ in a web browser and YOUR cert should pop up as untrusted - this is ok, as long as it is your cert and not the default Oracle cert!&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Importing your certificate into the cacerts file on server1&lt;/li&gt;&lt;ul&gt;&lt;li&gt;On your CA server copy the self-signed certificate that was created in the previous steps&lt;/li&gt;&lt;li&gt;Logon to server2 and navigate to the OC4J container jdk/jre/bin directory&lt;/li&gt;&lt;ul&gt;&lt;li&gt;$ cd $ORACLE_HOME/soa1/jdk/jre/bin&lt;/li&gt;&lt;li&gt;paste the cert into a text file&lt;br /&gt;&lt;/li&gt;&lt;li&gt;$ ./keytool -v -import -alias example.com -file ./example.com.crt -keystore ../lib/security/cacerts&lt;/li&gt;&lt;ul&gt;&lt;li&gt;default password on oracle keystores is: changeit&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;In my case the OC4J containers are clustered so I needed to duplicate this&lt;/li&gt;&lt;li&gt;$ cd $ORACLE_HOME/soa2/jdk/jre/bin&lt;/li&gt;&lt;li&gt;$ ./keytool -v import -alias example.com -file ../../../../soa1/jdk/jre/bin/example.com.crt -keystore ../lib/security/cacerts&lt;/li&gt;&lt;li&gt;Bounce the OC4J containers&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li&gt;Done!&lt;/li&gt;&lt;/ol&gt;&lt;small&gt;References:&lt;br /&gt;&lt;/small&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://oraclelon1.oracle.com/docs/cd/B14099_15/core.1012/b13995/wallets.htm#i1010609"&gt;&lt;small&gt;http://oraclelon1.oracle.com/docs/cd/B14099_15/core.1012/b13995/wallets.htm#i1010609&lt;/small&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://oraclelon1.oracle.com/docs/cd/B14099_15/web.1012/b14007/ssl.htm#CHDFCADD"&gt;&lt;small&gt;http://oraclelon1.oracle.com/docs/cd/B14099_15/web.1012/b14007/ssl.htm#CHDFCADD&lt;/small&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.onlamp.com/pub/a/onlamp/2003/02/06/linuxhacks.html"&gt;&lt;small&gt;http://www.onlamp.com/pub/a/onlamp/2003/02/06/linuxhacks.html&lt;/small&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.lifeaftercoffee.com/2006/03/29/secure-certificate-management-in-oracle-application-server/"&gt;&lt;small&gt;http://www.lifeaftercoffee.com/2006/03/29/secure-certificate-management-in-oracle-application-server/&lt;/small&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;small&gt;&lt;a href="http://www.openssl.org/docs/apps/CA.pl.html"&gt;http://www.openssl.org/docs/apps/CA.pl.html&lt;/a&gt;&lt;br /&gt;&lt;/small&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2508422190933292634-6799129995093833767?l=nocoast-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nocoast-tech.blogspot.com/feeds/6799129995093833767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2508422190933292634&amp;postID=6799129995093833767&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/6799129995093833767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2508422190933292634/posts/default/6799129995093833767'/><link rel='alternate' type='text/html' href='http://nocoast-tech.blogspot.com/2007/11/self-signed-ssl-certificates-with_6126.html' title='Self signed ssl certificates with oracle oc4j and ssl wallets'/><author><name>Nate</name><uri>http://www.blogger.com/profile/11356791409284192176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>
