<?xml version="1.0" encoding="ISO-8859-1"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="en-US">
	<title>clockwatching.net/~drew/</title>
	<link rel="alternate" type="text/html" href="http://clockwatching.net/~drew/blog/index.php" />
	<modified>2009-01-08T20:45:53Z</modified>
	<author>
		<name>drew</name>
	</author>
	<copyright>Copyright 2009, drew</copyright>
	<generator url="http://www.sourceforge.net/projects/sphpblog" version="0.4.8">SPHPBLOG</generator>
	<entry>
		<title>SiteMinder SSO with Websphere</title>
		<link rel="alternate" type="text/html" href="http://clockwatching.net/~drew/blog/index.php?entry=entry080701-080000" />
		<content type="text/html" mode="escaped"><![CDATA[Thinking about installing SiteMinder with Websphere for single sign on capabilities? Well, if you&#039;re like me and assigned such a task, you&#039;ll probably hit a few bumps I had to figure out along the way with no help from CA (Computer Associates) support department.<br /><br />SiteMinder comes as a binary installer. According to CA support, it&#039;s packaged with it&#039;s own Java for the installer, which proved to be false.<br /><br />In my current environment, we run Red Hat AS 4.6 which packages it&#039;s own java-compat-gcj-1.4.2 which sucks total ass and only usually breaks anything it touches or anything that attempts to use it.<br /><br />Websphere has it&#039;s own Java packaged with it, which resides deep into the directory hierarchy. The instructions for the SiteMinder install claims to not have JAVA_HOME set and add the path to the jre bin directory for the JVM. I figured having to set this, SiteMinder does in fact use the Java on the OS and not within it&#039;s own package.<br /><br />What I forgot though is the java-compat-gcj package, which will in fact have /usr/bin/java. Running:<br /><br /><pre>which java</pre><br /><br />Will print out such info. Forgetting all about this, even setting up the /opt/IBM/Websphere/AppServer/java/jre/bin in your current PATH, the SiteMinder install will go with what&#039;s first in your PATH, which is /usr/bin/java.<br /><br />So here&#039;s the trick around it to launch the ca-asa-6.0-was-unix.bin for SiteMinder. Before launching the binary installer, redo the PATH to exclude /usr/bin.<br /><br /><pre>export PATH=/bin:/opt/IBM/Websphere/AppServer/java/jre/bin</pre><br /><br />I left /bin in the path cause well, I like the basic functional commands like ls, etc.<br /><br />This should enable you to launch the installer and not get the strange errors associated with libgcj.so.5 or the like where SiteMinder is using /usr/bin/java instead of /opt/IBM/Websphere/AppServer/java/jre/bin/java to install.<br /><br />Also I did find that running the installer from the console is more reliable as trying to run the GUI installer version might result in some libraries missing that might be required.<br /><br />You can simply run:<br /><br /><pre>./ca-asa-6.0-was-unix.bin -i console</pre><br /><br />Good luck with your SSO with your applications.<br />]]></content>
		<id>http://clockwatching.net/~drew/blog/index.php?entry=entry080701-080000</id>
		<issued>2008-07-01T00:00:00Z</issued>
		<modified>2008-07-01T00:00:00Z</modified>
	</entry>
	<entry>
		<title>CFengine - Random Authentication and Challenge Response Errors</title>
		<link rel="alternate" type="text/html" href="http://clockwatching.net/~drew/blog/index.php?entry=entry080125-080000" />
		<content type="text/html" mode="escaped"><![CDATA[If you use cfengine for personal use or in a corporate environment, there&#039;s probably a good chance some of the machines it runs on might have multiple interfaces along with multiple A records pointing at them.<br /><br />This might cause problems with cfengine and authentication at the intervals you have it set to run at. Basically cfengine will grab the IP of the machine when first run after you invoke the cfagent command and setup ppkeys for authentication, think of it as ssh keys so no password is required for authentication.<br /><br />What happens with machines with multiple interfaces might try to use a different IP to authenticate with the main server you have configured. This can cause errors and generate an email that might look like this:<br /><br /><code><br />cfengine:somehost: Challenge response from server server.domain.com/10.15.1.87 was incorrect!<br />cfengine:somehost: Authentication dialogue with server.domain.com failed<br /></code><br /><br />After digging thru docs and groups for a solution and verifying and fixing any reverse DNS mismatches, we finally found that it was still occurring randomly cause cfengine would try to use another IP or interface on the client. With the main server having the ppkeys associated by the original IP, this caused the failure.<br /><br />To fix this issue, simply add something like this to your cfserved.conf file on the main server:<br /><br /><pre><br />    somehost::<br />      BindToInterface = ( xxx.xxx.xxx.xxx )<br /></pre><br /><br />Basically this will force the client to always use the same interface when it runs cfagent looking for updates, etc.]]></content>
		<id>http://clockwatching.net/~drew/blog/index.php?entry=entry080125-080000</id>
		<issued>2008-01-25T00:00:00Z</issued>
		<modified>2008-01-25T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Creating a Yum Repository</title>
		<link rel="alternate" type="text/html" href="http://clockwatching.net/~drew/blog/index.php?entry=entry071204-080000" />
		<content type="text/html" mode="escaped"><![CDATA[Need a local yum repository for your Red Hat or CentOS? Follow these steps to save yourself bandwidth usage to point your server farm to one local location. With this type of setup, you can drop your own RPM packages for easy installation as well.<br /><br />Pick a server or setup a server with apache and web access. If you don&#039;t want to share this with the world, it&#039;s better to keep it on a private network. In this case, we&#039;ve created a yum-repo directory on a /data partition with a reasonable amount of space to hold all of the base os RPM&#039;s, updates and our own RPM&#039;s.<br /><br />Within the yum-repo directory, create a centos directory and within there, create subdirectories of the different versions you may have. In our case, we still used 3.8 and 4.4 CentOS installs.<br /><br />In our case, we wanted the base, updates and another directory for our own RPM&#039;s, so within 3.8 and 4.4 we have such directories created. In the os directory, create the arch you use. In most cases you&#039;ll just have a i386. We also have some 64 bit servers so we created i386 and x86_64.<br /><br />Grab the ISO&#039;s of each or one of them, whatever ones you have or use and extract the contents in the corresponding arch directory.<br /><br />So in our case, we dropped the contents of the 3.8 ISO into /data/yum-repo/centos/3.8/os/i386/<br /><br />Once extracted, run these two commands:<br /><code><br />createrepo /data/yum-repo/centos/3.8/os/i386/<br />yum-arch /data/yum-repo/centos/3.8/os/i386/<br /></code><br />This will create the xml files and headers. yum-arch is actually deprecated but we create these as most of the 3.8 servers still have an older version of yum that use header files instead of the new type that createrepo creates and reads from.<br /><br />Now for 3.8 or older versions, edit the /etc/yum.conf file to point to your server instead of the mirrors.centos.org domain. You may also need to create a symlink to 3.8 as 3. We ran into issues where yum would look for 3 instead of 3.8 in the $releasever path variable in the yum.conf file.<br /><br />4.0 or higher you&#039;ll need to edit your /etc/yum-repos.d/ files with your server info. You can keep some of the others handy for backups in case your server goes down but I just create a CentOS-Base.repo file that looks almost identical to your yum.conf file in Version 3 or older.<br /><br />That&#039;s it, enjoy your local yum repository.]]></content>
		<id>http://clockwatching.net/~drew/blog/index.php?entry=entry071204-080000</id>
		<issued>2007-12-04T00:00:00Z</issued>
		<modified>2007-12-04T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Port Scan Attack Detector - psad with iptables</title>
		<link rel="alternate" type="text/html" href="http://clockwatching.net/~drew/blog/index.php?entry=entry071115-080000" />
		<content type="text/html" mode="escaped"><![CDATA[Port Scan Attack Detector (psad) is a great utility for anyone that doesn&#039;t have hardware based firewalls and have servers that are accessible to the outside world. It was originally part of the Bastille project but evolved on it&#039;s own, with Michael Rash as the maintainer from <a href="http://www.cipherdyne.com/" >cipherdyne.com</a> who also creates and maintains a few other really network related programs.<br /><br />From the features page for psad, here are a list of the main features it is capable of:<br /><br />
<ul>
<li>Detection for TCP SYN, FIN, NULL, and XMAS scans as well as UDP scans.</li>
<li>Detection of many signature rules from the
        <a href="http://www.snort.org">Snort</a> intrusion detection system.</li>
<li>Forensics mode Netfilter logfile analysis (useful as a forensics tool for extracting scan
        information from old Netfilter logfiles).</li>
<li>Passive operating system fingerprinting via TCP syn packets. Two different fingerprinting
        strategies are supported; a re-implementation of <a href="http://lcamtuf.coredump.cx/p0f.shtml">p0f</a>
        that strictly uses Netfilter log messages (requires the --log-tcp-options command line switch), and
        a TOS-based strategy.</li>

<li>
Email alerts
        that contain TCP/UDP/ICMP scan characteristics, reverse dns
        and whois information, snort rule matches, remote OS guess information, and more.</li>
<li>Content-based alerts for buffer overflow attacks, suspicious
        application commands, and other suspect traffic through the use of the
        <a href="http://www.netfilter.org">Netfilter</a>
        <a href="http://www.netfilter.org/patch-o-matic/pom-extra.html#pom-extra-string">string match extension</a>
        and
        fwsnort.</li>

<li>Icmp type and code header field validation.</li>
<li>Configurable scan thresholds and danger level assignments.</li>
<li>Iptables ruleset parsing to verify "default drop" policy stance.</li>
<li>IP/network danger level auto-assignment (can be used to ignore or automatically
        escalate danger levels for certain networks).</li>
<li>
<a href="http://www.dshield.org">DShield</a> alerts.</li>
<li>Auto-blocking of scanning IP addresses via Netfilter and/or tcpwrappers
        based on scan danger level.  (This feature is NOT enabled by default.)</li>
<li>Parsing of Netfilter log messages and generation of <b>CSV</b> output that can be used
as input to <a href="http://afterglow.sourceforge.net"><b>AfterGlow</b></a>.  This allows
Netfilter logs to be visualized.  Here are some example graphs created by parsing the
Netfilter logs provided by the <b>Honeynet Project</b>:

<b>Scan30</b> and <b>Scan34</b>.</li>
<li>Status mode that displays a <a href="status.html">summary</a>
        of current scan information with associated packet counts, Netfilter chains, and
        danger levels.</li>
</ul>
<br /><br />Basically before you install psad, you&#039;ll want to prepare your server with a few things, the main thing is to at least have iptables installed or ready, with some basic rules in place perhaps.<br /><br />Here are a few basics I use on my own servers:<br /><br /><code><br />#!/bin/bash<br /> <br /># Reload and flush existing rules:<br />/usr/sbin/iptables -F<br /> <br /># Drop everything by default<br />/usr/sbin/iptables -P INPUT DROP<br />/usr/sbin/iptables -P OUTPUT DROP<br /> <br /># always allow the loopback<br />/usr/sbin/iptables -A INPUT -i lo -j ACCEPT<br />/usr/sbin/iptables -A OUTPUT --source 127.0.0.1 --destination 127.0.0.1 -j ACCEPT<br /> <br /># Allow return traffic<br />/usr/sbin/iptables -A INPUT -m state --state ESTABLISHED -j ACCEPT<br />/usr/sbin/iptables -A OUTPUT -m state --state ESTABLISHED -j ACCEPT<br />/usr/sbin/iptables -A INPUT -m state --state RELATED -j ACCEPT<br /> <br /># ICMP<br />/usr/sbin/iptables -A INPUT -p icmp -m icmp -j ACCEPT<br />/usr/sbin/iptables -A OUTPUT -p icmp -m icmp -j ACCEPT<br /> <br /># Log/Reject everything else (inbound)<br />/usr/sbin/iptables -A INPUT -j LOG --log-prefix &quot;INPUT&quot;<br />/usr/sbin/iptables -A INPUT -j REJECT<br /> <br /># Log/Reject everything else (outbound)<br />/usr/sbin/iptables -A OUTPUT -j LOG --log-prefix &quot;OUTPUT&quot;<br />/usr/sbin/iptables -A OUTPUT -j REJECT<br /></code><br /><br />Depending on what my server does, I&#039;ll then create rules to allow say HTTP for Apache, DNS if I&#039;m running Bind, etc. Configure to your needs. The main portion though that psad needs is the LOG options. You can specify just LOG or give it a --log-prefix to narrow it down to have psad only monitor those with specific prefixes, it will ask you during the install.<br /><br />Once you get iptables in place and how you like, download the latest psad package, unpack it and simply run the install script. It will take you thru the rest of the setup and will in most cases add the necessary kern.info messages for syslogd.<br /><br />Now go read up on the rest to learn how to take advantage of this network detector to keep your system security tight and locked down from intrusion.]]></content>
		<id>http://clockwatching.net/~drew/blog/index.php?entry=entry071115-080000</id>
		<issued>2007-11-15T00:00:00Z</issued>
		<modified>2007-11-15T00:00:00Z</modified>
	</entry>
	<entry>
		<title>CentOS/Redhat Swtich MTA</title>
		<link rel="alternate" type="text/html" href="http://clockwatching.net/~drew/blog/index.php?entry=entry071011-080000" />
		<content type="text/html" mode="escaped"><![CDATA[So like most system administrators, most have a preference of which MTA or Mail Transfer Agent they use. The most popular are Sendmail, Postfix, Exim and Qmail. <br /><br />I for one prefer Postfix. It&#039;s stable, easy to configure and secure.<br /><br />In CentOS and Redhat, there is a simple utility to use to switch since by default Sendmail will be the MTA used.<br /><br />You can start by installing Postfix by including the package during the install or using yum.<br /><br /><code>yum -y install postfix</code><br /><br />To change the default MTA after installation, simply run the following command:<br /><br /><code>/usr/sbin/alternatives --set mta /usr/sbin/sendmail.postfix</code><br /><br />Now you have Postfix setup as your default MTA and you can configure it to your liking.]]></content>
		<id>http://clockwatching.net/~drew/blog/index.php?entry=entry071011-080000</id>
		<issued>2007-10-11T00:00:00Z</issued>
		<modified>2007-10-11T00:00:00Z</modified>
	</entry>
	<entry>
		<title>USB Boot with CentOS</title>
		<link rel="alternate" type="text/html" href="http://clockwatching.net/~drew/blog/index.php?entry=entry071010-080000" />
		<content type="text/html" mode="escaped"><![CDATA[To simplify your life as a system administrator and deploying new servers with a base install, you can do this by eliminating the CDR with CentOS installed and easily create a USB boot disk to boot from to kick off an install with kickstart.<br /><br />To create the bootdisk, download the bootdisk.img file of the version of CentOS you are using. This also works with Red Hat since CentOS is just a clone of the Enterprise version.<br /><br />Create the boot disk with the dd command, disk dump for those not familiar with it.<br /><code><br />dd if=bootdisk.img of=/dev/sdb<br /></code><br />I used sdb as that is what my USB is recognized from. If your not sure, insert the USB disk and run dmesg to find out how it registers in the OS.<br /><br />It&#039;s going to be rather small so you can easily use a 16MB USB disk for the boot info to boot from.<br /><br />That&#039;s all, make sure the hardware your installing on allows USB boot or external storage devices to boot from and if you have kickstart in place like I do, it&#039;s as easy as this from the CentOS boot screen:<br /><code><br />grub&gt; linux ks=http://hostname/kickstart/ks.cfg ksdevice=eth0<br /></code><br />If you don&#039;t have your kickstart auto do everything for you, You can throw in a vnc after linux to start a vnc server where you can remotely complete the install. Once all the boot info is loaded, you can simply remove the USB disk and start the next server. I had to install 10 servers and it took me about 15 minutes to have them all installed and ready for deployment with the base OS of course.]]></content>
		<id>http://clockwatching.net/~drew/blog/index.php?entry=entry071010-080000</id>
		<issued>2007-10-10T00:00:00Z</issued>
		<modified>2007-10-10T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Handling MySQL Replication Errors</title>
		<link rel="alternate" type="text/html" href="http://clockwatching.net/~drew/blog/index.php?entry=entry071009-080000" />
		<content type="text/html" mode="escaped"><![CDATA[In an environment where you have a MySQL database and have replication slaves running, there are times when you might get an error and the replication slaves will stop processing the bin logs for replication.<br /><br />Here are some quick steps to recover and get the slaves rolling again.<br /><br />Login to the Master server and do:<br /><code>mysql&gt; show master status\G;</code><br />If the status looks okay, proceed to check the slaves by doing the following:<br /><code>mysql&gt; show slave status\G;</code><br />This should provide some details and look something like the following:<br /><code><br />mysql&gt; show slave status\G;<br />*************************** 1. row ***************************<br />             Slave_IO_State: Waiting for master to send event<br />                Master_Host: hostname.com<br />                Master_User: replicant<br />                Master_Port: 3306<br />              Connect_Retry: 60<br />            Master_Log_File: hostname-bin.000265<br />        Read_Master_Log_Pos: 10324<br />             Relay_Log_File: support-relay-bin.000159<br />              Relay_Log_Pos: 10483<br />      Relay_Master_Log_File: hostname-bin.000265<br />           Slave_IO_Running: Yes<br />          Slave_SQL_Running: Yes<br />            Replicate_Do_DB: <br />        Replicate_Ignore_DB: <br />         Replicate_Do_Table: <br />     Replicate_Ignore_Table: <br />    Replicate_Wild_Do_Table: <br />Replicate_Wild_Ignore_Table: <br />                 Last_Errno: 0<br />                 Last_Error: <br />               Skip_Counter: 0<br />        Exec_Master_Log_Pos: 10324<br />            Relay_Log_Space: 10483<br />            Until_Condition: None<br />             Until_Log_File: <br />              Until_Log_Pos: 0<br />         Master_SSL_Allowed: No<br />         Master_SSL_CA_File: <br />         Master_SSL_CA_Path: <br />            Master_SSL_Cert: <br />          Master_SSL_Cipher: <br />             Master_SSL_Key: <br />      Seconds_Behind_Master: 0<br />1 row in set (0.00 sec)<br /></code><br />If you have an error in replication most likely due to a bad query in the output above and the master and slave are out of sync, the quickest way to recover is to reset by telling MySQL to skip the problem query and continue.<br /><br />On the replication slave do the following:<br /><code><br />mysql&gt; SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;<br />mysql&gt; SLAVE START SQL_THREAD;<br /></code><br />At times, this can still cause the replication to skip or dump any data from the current bin long it&#039;s processing. The above works with 4.0.3 and above but will tell the slave to start replicating where the current master is at, so you may lose some transactions that have occured.<br /><br />You can get around this at times by doing a simple stop and start:<br /><code>mysql&gt; SLAVE STOP;<br />mysql&gt; SLAVE START;<br /></code>]]></content>
		<id>http://clockwatching.net/~drew/blog/index.php?entry=entry071009-080000</id>
		<issued>2007-10-09T00:00:00Z</issued>
		<modified>2007-10-09T00:00:00Z</modified>
	</entry>
	<entry>
		<title>IBM RSA II</title>
		<link rel="alternate" type="text/html" href="http://clockwatching.net/~drew/blog/index.php?entry=entry071008-080000" />
		<content type="text/html" mode="escaped"><![CDATA[The IBM RSA II cards in my opinion should just be standard in IBM servers is quite easy to configure and use. Probably the easiest way to update any firmware and BIOS on any type of computer or server I&#039;ve worked with.<br /><br />A quick overview of the RSA II which by the way stands for Remote Supervisor Adapter from the IBM site describes this device as:<br /><br /><blockquote>Remote Supervisor Adapter II Enhancement now adds accelerated graphics and delivers advanced control and monitoring features to manage your IBM eServer xSeries server at virtually any time, from virtually any place.<br /><br />The Remote Supervisor Adapter II Enhancement, an affordable, next-generation, systems-management adapter, makes everyday management tasks easier and more efficient throughout the life of your IBM eServer xSeries server. The Remote Supervisor Adapter II Enhancement simplifies remote management by providing around-the-clock remote access to selected xSeries servers.</blockquote><br /><br />So basically it&#039;s a built in KVM and remote administration console. You can power down a server, reboot, update firmware and just about anything else you can do all remotely. As long as power is plugged in, you can reach and power on the server while it&#039;s turned off.<br /><br />Some of the new features in the latest generation include:<br />
<ul><li>Scriptable command-line interface (CLI) and text-based serial console redirect accessible over Telnet or second serial port</li>
<li>Point-to-Point Protocol (PPP)</li>
<li>User authentication information stored on Lightweight Directory Access Protocol (LDAP) server</li>
<li>Enhanced user authority levels</li>
<li>Full Systems Network Management Protocol (SNMP)</li>
<li>Multiple remote drives and disk images</li>
<li>Remote disk image storage</li></ul>
<br />Some of the existing features include:<br />
<ul><li>Secure easy-to-use Web interface</li>
<li>Graphical console redirection with accelerated graphics</li>
<li>Remote drive support</li>
<li>Integration with IBM Director via Management Processor Assistant (MPA)</li>
<li>Improved keyboard and mouse support</li>
<li>Enhanced automated server restart (ASR)</li>
<li>Continuous health monitoring and control</li>
<li>Advanced Predictive Failure Analysis (PFA)</li>
<li>Automatic notification and alerts</li>
<li>Event log; time-stamped, non volatile attachment to e-mail alerts</li>
<li>LAN, serial, and Advanced System Management (ASM) interconnect remote access</li>
<li>Simple Network Management Protocol (SNMP) and e-mail alerts</li>
<li>Domain Name System (DNS) and Dynamic Host Configuration Protocol (DHCP) support</li>
<li>Remote power control</li>
<li>Remote firmware update and access to critical server settings</li></ul>
<br />When you have limited access or the servers you administer are at a colocation that is across town or across the country, this makes life easy as a system administrator. Props to IBM for creating such an easy device but so powerful for performing those tasks that most need to do onsite physically.]]></content>
		<id>http://clockwatching.net/~drew/blog/index.php?entry=entry071008-080000</id>
		<issued>2007-10-08T00:00:00Z</issued>
		<modified>2007-10-08T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Kickstart with LVM Partition Layout</title>
		<link rel="alternate" type="text/html" href="http://clockwatching.net/~drew/blog/index.php?entry=entry071005-122623" />
		<content type="text/html" mode="escaped"><![CDATA[So if your like me and work as a System Administrator in a Linux environment or workshop, you&#039;re most likely using Red Hat or some derivative of it like CentOS. You also most likely setup, configure and deploy new or old servers on a consistent basis. In such a environment, you&#039;re most likely using kickstart to automate installs.<br /><br />There is an abundant amount of kickstart howto&#039;s but I found that many of them don&#039;t really go into details when having to setup LVM partitions that you want to span across two drives. They only really detail how to setup one Physical Volume on one given drive, which makes sense, since a majority of servers are going to be setup with RAID, hardware or software.<br /><br />In my case though, we had five HP Proliant DL145 servers that had 2 SCSI drives but did not have a SCSI adapter capable of hardware RAID, also to mention that they were enclosed and not hot swappable. So even if they were setup with RAID, we&#039;d have to shut these machines down, crack the case and swap out the drive.<br /><br />These machines were production servers that were replaced so these were going to turn into QA and Staging type servers. Since these might end up with VMware Server, we wanted to just utilize all the disk space and create one large drive using LVM.<br /><br />Now comes the part where we want to configure the partition scheme in the kickstart configuration file.<br /><br />This is how I did it, since I couldn&#039;t find any documentation online where anyone was using two drives and wanted the LVM spanned across each.<br /><br /><code><br />clearpart --all<br />part /boot --fstype ext3 --size=100 --ondisk=sda --asprimary<br />part pv.1 --size=100 --grow --ondisk=sda --asprimary<br />part pv.2 --size=100 --grow --ondisk=sdb --asprimary<br />volgroup rootvg --pesize=16384 pv.1 pv.2<br />logvol /usr --fstype ext3 --name=usr --vgname=rootvg --size=4096<br />logvol /opt --fstype ext3 --name=opt --vgname=rootvg --size=4096<br />logvol /var --fstype ext3 --name=var --vgname=rootvg --size=4096<br />logvol /tmp --fstype ext3 --name=tmp --vgname=rootvg --size=1024<br />logvol /usr/local --fstype ext3 --name=usrlocal --vgname=rootvg --size=512<br />logvol / --fstype ext3 --name=root --vgname=rootvg --size=1024<br />logvol /home --fstype ext3 --name=home --vgname=rootvg --size=2048<br />logvol swap --fstype swap --name=swap --vgname=rootvg --size=4096<br /></code><br /><br />So basically for both disks, you&#039;ll have a part &lt;pv name&gt; &lt;options&gt; line for each disk. Both should look identical like in the above example except you&#039;ll specify the /dev name for each. In this case it&#039;s sda and sdb, since they&#039;re both SCSI drives.<br /><br />Then the part to make them function under the same Volume Group should look like this like in the above example:<br /><br /><code><br />volgroup rootvg --pesize=16384 pv.1 pv.2<br /></code><br /><br />With this, you&#039;re basically telling which physical volumes to include in the volgroup you are creating where the partitions will reside.<br /><br />Once you lay it all out how you like, after the initial installation, you can check the total volume size by running:<br /><br /><code><br />vgdisplay<br /></code><br /><br />The total VG size should amount to the size of both drives. If it doesn&#039;t, you did something wrong.]]></content>
		<id>http://clockwatching.net/~drew/blog/index.php?entry=entry071005-122623</id>
		<issued>2007-10-05T00:00:00Z</issued>
		<modified>2007-10-05T00:00:00Z</modified>
	</entry>
</feed>

