<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic 2 x linux DUAL BOOT and only one /var directory in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/2-x-linux-dual-boot-and-only-one-var-directory/m-p/3569441#M68370</link>
    <description>hi&lt;BR /&gt;&lt;BR /&gt;can 2 Debian Sarge systems, installed on the same machine (DUAL BOOT) with BIND &amp;amp; SQUID use the same /var directory ?&lt;BR /&gt;in /var/lib/named I have created some Master &amp;amp; Slave Zones.&lt;BR /&gt;both linux system have the same configuration.&lt;BR /&gt;this is for a security reason.&lt;BR /&gt;crashed one system, so I can start the second one and users can work.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;chris</description>
    <pubDate>Thu, 23 Jun 2005 09:35:26 GMT</pubDate>
    <dc:creator>'chris'</dc:creator>
    <dc:date>2005-06-23T09:35:26Z</dc:date>
    <item>
      <title>2 x linux DUAL BOOT and only one /var directory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-x-linux-dual-boot-and-only-one-var-directory/m-p/3569441#M68370</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;can 2 Debian Sarge systems, installed on the same machine (DUAL BOOT) with BIND &amp;amp; SQUID use the same /var directory ?&lt;BR /&gt;in /var/lib/named I have created some Master &amp;amp; Slave Zones.&lt;BR /&gt;both linux system have the same configuration.&lt;BR /&gt;this is for a security reason.&lt;BR /&gt;crashed one system, so I can start the second one and users can work.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;chris</description>
      <pubDate>Thu, 23 Jun 2005 09:35:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-x-linux-dual-boot-and-only-one-var-directory/m-p/3569441#M68370</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2005-06-23T09:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: 2 x linux DUAL BOOT and only one /var directory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-x-linux-dual-boot-and-only-one-var-directory/m-p/3569442#M68371</link>
      <description>I see no reason why that will not work.&lt;BR /&gt;&lt;BR /&gt;The only possible problem would occur if you have two systems running at the same time trying to use shared disk.&lt;BR /&gt;&lt;BR /&gt;Challenges:&lt;BR /&gt;&lt;BR /&gt;1) The log files will have to be changed. You don't want entries from two servers going into /var/log/messages or /var/log/maillog&lt;BR /&gt;&lt;BR /&gt;You will need to set up a structure whereby a servers log files are seperate. If you do not, you will have major problems diagnosing any kind of problem or security violation.&lt;BR /&gt;&lt;BR /&gt;I'd suggest reconfiguring syslog to this structure.&lt;BR /&gt;&lt;BR /&gt;/var/log&lt;BR /&gt;&lt;BR /&gt;becomes /var/server1/log&lt;BR /&gt;and&lt;BR /&gt;/var/server2/log&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 23 Jun 2005 09:40:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-x-linux-dual-boot-and-only-one-var-directory/m-p/3569442#M68371</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-06-23T09:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: 2 x linux DUAL BOOT and only one /var directory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-x-linux-dual-boot-and-only-one-var-directory/m-p/3569443#M68372</link>
      <description>&lt;BR /&gt;/var directory generally contains lock files for running process (I am not sure debian), it is in /var/lock. so when the system gets crashed and some lock files still present in this folder then even if u bring up other server these services will not start up complaining they are already running.&lt;BR /&gt;&lt;BR /&gt;the above scenario entirely depends on the service and its dependency on /var/lock files.&lt;BR /&gt;RedHat uses them to some extend to find out status of the service.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi</description>
      <pubDate>Thu, 23 Jun 2005 10:19:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-x-linux-dual-boot-and-only-one-var-directory/m-p/3569443#M68372</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-06-23T10:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: 2 x linux DUAL BOOT and only one /var directory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-x-linux-dual-boot-and-only-one-var-directory/m-p/3569444#M68373</link>
      <description>You will need to separate the /var/lock files by system. Though not strictly required this would be a good idea to preven a mish mosh of lock files.&lt;BR /&gt;&lt;BR /&gt;You will probably have to reconfigure and reporgram the scripts in /etc/init.d that refer to /var/lock&lt;BR /&gt;&lt;BR /&gt;That task may be kind of large, but again, it should be done to insure the logs and lock files are meaningful when you NEED to look at them.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 23 Jun 2005 10:52:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-x-linux-dual-boot-and-only-one-var-directory/m-p/3569444#M68373</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-06-23T10:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: 2 x linux DUAL BOOT and only one /var directory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-x-linux-dual-boot-and-only-one-var-directory/m-p/3569445#M68374</link>
      <description>&lt;BR /&gt;Exactly, the issues could be many more which we missed..&lt;BR /&gt;&lt;BR /&gt;one way to work around this problem is to have separate var partitions as such and synchronize the backup partition with the master on a periodic basis (through crontab). &lt;BR /&gt;&lt;BR /&gt;write a small script which mounts the backup partition, deletes existing /var/ directories of bind and squid (/var/squid and /var/named) copy them from current /var partition, unmount the partition. &lt;BR /&gt;&lt;BR /&gt;this way you don't have to worry about other files.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi</description>
      <pubDate>Thu, 23 Jun 2005 11:00:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-x-linux-dual-boot-and-only-one-var-directory/m-p/3569445#M68374</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-06-23T11:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: 2 x linux DUAL BOOT and only one /var directory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-x-linux-dual-boot-and-only-one-var-directory/m-p/3569446#M68375</link>
      <description>&lt;BR /&gt;There is one more idea which just flashed on my mind, why don't u create two separate partitions for these two directories alone (/var/named and /var/squid) so that the same partition can be mounted on the backup system also.&lt;BR /&gt;&lt;BR /&gt;This way you don't have to worry about synchronization and other files. also you can have separate partition which can be backed up separately or better can be on a separate drive itself to handle drive crash.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi</description>
      <pubDate>Thu, 23 Jun 2005 11:01:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-x-linux-dual-boot-and-only-one-var-directory/m-p/3569446#M68375</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-06-23T11:01:51Z</dc:date>
    </item>
  </channel>
</rss>

