| ! |
| ! @@@ START COPYRIGHT @@@ |
| ! |
| ! Licensed to the Apache Software Foundation (ASF) under one |
| ! or more contributor license agreements. See the NOTICE file |
| ! distributed with this work for additional information |
| ! regarding copyright ownership. The ASF licenses this file |
| ! to you under the Apache License, Version 2.0 (the |
| ! "License"); you may not use this file except in compliance |
| ! with the License. You may obtain a copy of the License at |
| ! |
| ! http://www.apache.org/licenses/LICENSE-2.0 |
| ! |
| ! Unless required by applicable law or agreed to in writing, |
| ! software distributed under the License is distributed on an |
| ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| ! KIND, either express or implied. See the License for the |
| ! specific language governing permissions and limitations |
| ! under the License. |
| ! |
| ! @@@ END COPYRIGHT @@@ |
| ! |
| |
| ! |
| ! Test TM sync requests with and without collisions |
| ! (Spare Nodes configuration) |
| ! |
| ! #### Not a valid test in a virtual cluster #### |
| ! |
| ! Note: 'sqconfig' node section must have: |
| ! 6 logical nodes (3 physical nodes w/ 2 logical nodes each) and |
| ! 1 or more spare nodes w/ one spare for nids 2 & 3 |
| ! |
| ! For Example: |
| ! |
| ! begin node |
| ! node-id=0;node-name=n7;cores=0-1;processors=2;roles=connection,aggregation,storage |
| ! node-id=1;node-name=n7;cores=2-3;processors=2;roles=connection,aggregation,storage |
| ! node-id=2;node-name=n6;cores=0-1;processors=2;roles=connection,aggregation,storage |
| ! node-id=3;node-name=n6;cores=2-3;processors=2;roles=connection,aggregation,storage |
| ! node-id=4;node-name=n5;cores=0-1;processors=2;roles=connection,aggregation,storage |
| ! node-id=5;node-name=n5;cores=2-3;processors=2;roles=connection,aggregation,storage |
| ! node-name=n4;cores=0-3;spares=0,1,2,3,4,5 |
| ! end node |
| ! |
| node info |
| exec {type dtm,nowait,nid 5,out TM05.lst}testtm |
| exec {type dtm,nowait,nid 4,out TM04.lst}testtm |
| exec {type dtm,nowait,name $TM03, nid 3,out TM03.lst}testtm |
| exec {type dtm,nowait,name $TM02, nid 2,out TM02.lst}testtm |
| exec {type dtm,nowait,nid 1,out TM01.lst}testtm |
| exec {type dtm,nowait,nid 0,out TM00.lst}testtm |
| delay 5 |
| ps {DTM} |
| |
| ! Start Test1 - Dead TMs test w/ restart of $TM02 and $TM03 in same logical nodes |
| event {DTM} 1 |
| delay 30 |
| ps {DTM} |
| node info |
| event {DTM} 2 |
| delay 5 |
| ps {DTM} |
| |
| ! Start Test3 - No collision commit test |
| event {DTM} 3 |
| delay 5 |
| |
| ! Start Test4 - No collision abort test |
| event {DTM} 4 |
| delay 5 |
| |
| ! Start Test5 - Collision commit test |
| event {DTM} 5 |
| delay 30 |
| |
| ! Start Test6 - Collision abort test |
| event {DTM} 6 |
| delay 30 |
| |
| ! Start Test7 - Dead TM test |
| event {DTM} 7 |
| delay 30 |
| exit ! |