Whamcloud - gitweb
- new config
authorrread <rread>
Thu, 1 Aug 2002 17:32:52 +0000 (17:32 +0000)
committerrread <rread>
Thu, 1 Aug 2002 17:32:52 +0000 (17:32 +0000)
lustre/tests/mds-failover.xml [new file with mode: 0644]

diff --git a/lustre/tests/mds-failover.xml b/lustre/tests/mds-failover.xml
new file mode 100644 (file)
index 0000000..135288d
--- /dev/null
@@ -0,0 +1,90 @@
+<?xml version="1.0"?>
+<!DOCTYPE lustre SYSTEM "../utils/lustre.dtd">
+
+<lustre>
+  <node name="uml1" uuid="uml1-UUID">
+    <network type='tcp' name='uml1' uuid="uml1-net-UUID" >
+      <server>uml1</server>
+      <port>666</port>
+    </network>
+    <profile_ref uuidref="uml1-prof-UUID"/>
+  </node>
+
+  <profile name="uml1-prof" uuid="uml1-prof-UUID">
+    <service_ref uuidref="uml1-net-UUID"/>
+    <service_ref uuidref="ldlm-srv-UUID"/>
+    <service_ref uuidref="mds1-UUID"/>
+  </profile>
+
+  <node name="uml2" uuid="uml2-UUID">
+    <network type='tcp' name='uml2' uuid="uml2-net-UUID" >
+      <server>uml2</server>
+      <port>666</port>
+    </network>
+    <profile_ref uuidref="uml2-prof-UUID"/>
+  </node>
+
+  <profile name="uml2-prof" uuid="uml2-prof-UUID">
+    <service_ref uuidref="uml2-net-UUID"/>
+    <service_ref uuidref="ldlm-srv-UUID"/>
+    <service_ref uuidref="mds2-UUID"/>
+    <service_ref uuidref="mdc1-UUID"/>
+    <service_ref uuidref="obd1-UUID"/>
+    <service_ref uuidref="ost1-UUID"/>
+    <service_ref uuidref="osc1-UUID"/>
+    <service_ref uuidref="mtpt1-UUID"/>
+  </profile>
+
+
+  <ldlm name="ldlm-srv" uuid="ldlm-srv-UUID"/>
+
+  <mdc name="mdc1" uuid="mdc1-UUID">
+    <network_ref uuidref='uml1-net-UUID'/> <!-- is this extra net needed ?? -->
+    <mds_ref uuidref="mds1-UUID"/>
+  </mdc>
+
+  <mds name="mds1" uuid="mds1-UUID">
+    <network_ref uuidref="uml1-UUID"/>
+    <fstype>extN</fstype>
+    <device size="50000">/tmp/mds</device>
+    <autoformat>yes</autoformat>
+    <failover_ref uuidref="mds2-UUID"/>
+  </mds>
+
+  <mds name="mds2" uuid="mds2-UUID">
+    <network_ref uuidref="uml2-UUID"/>
+    <fstype>extN</fstype>
+    <device size="50000">/tmp/mds</device>
+    <autoformat>yes</autoformat>
+  </mds>
+
+  <osc name="osc1" uuid="osc1-UUID">
+    <network_ref uuidref='uml2-net-UUID'/>
+    <obd_ref uuidref="obd1-UUID"/>
+  </osc>
+
+  <ost name="ost1" uuid="ost1-UUID">
+    <network_ref uuidref='uml2-net-UUID'/>
+    <obd_ref uuidref='obd1-UUID'/>
+  </ost>
+
+  <obd name="obd1" uuid="obd1-UUID" type="obdfilter">
+    <fstype>extN</fstype>
+    <device size="100000">/tmp/obd1</device>
+    <autoformat>yes</autoformat>
+  </obd>
+
+  <obd name="obd2" uuid="obd2-UUID" type="obdfilter">
+    <fstype>extN</fstype>
+    <device size="100000">/tmp/obd2</device>
+    <autoformat>yes</autoformat>
+  </obd>
+
+  <mountpoint name="mtpt1" uuid="mtpt1-UUID">
+    <path>/mnt/lustre</path>
+    <mdc_ref uuidref="mdc1-UUID"/>
+    <osc_ref uuidref="osc1-UUID"/>
+  </mountpoint>
+
+</lustre>
+