Index: [Article Count Order] [Thread]

Date: Mon, 14 May 2007 09:45:33 -0500
From: Christy L Norman <cnorman@us.ibm.com>
Subject: [users:00329] Re: Help on remote files
To: users@tahi.org
Message-Id: <OF59155FBF.7E07FCC8-ON862572DB.004FE8CB-862572DB.005113B2@us.ibm.com>
In-Reply-To: <515c64960705140710t150051e5o43a63e64604f989f@mail.gmail.com>
X-Mail-Count: 00329

If you want the TN to configure the NUT for you, don't specify 'manual' in 
the nut.def file. If you do this, you'll have to do what the script  would 
do, then hit Enter every time - and in the case of 'manual' you don't need 
.rmt files at all.

Instead, if you want to use the .rmt files, change the 'system' value in 
the nut.def file to your NUT. Then create a folder with that system name 
in /usr/local/v6eval/bin/ called whatever you put as 'system' and copy all 
the .rmt files in the '/bin/manual' folder into it. Then, when you run the 
tests, you'll see "not yet supported" in the log (html) file where scripts 
should be implemented. Try putting something of your own into the .rmt 
file it's calling then when the scripts are run you'll see them show up in 
the log file like this: 
 vRemote(reboot_async.rmt) 
``/usr/local/v6eval//bin/mySystem//reboot_async.rmt -t mySystem-u 
userName-p password-d fxp1 -l 1 timeout=120'' 
Use that information to figure out which parameters are being passed and 
depending on which type of system you're using, you can figure how to 
write the script. For rebooting linux, for example, you would probably 
just edit the rebootasync.rmt file to have "reboot" in it. I'm not sure on 
all the Linux commands since I've never run these tests against a Linux 
kernel. I could be wrong, but I don't think there are any pre-written 
Linux .rmt files out there.

Hopefully that helps...

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - 
Christy L Norman/Rochester/IBM <cnorman@us.ibm.com>
Software Engineer, i5/OS TCP/IP Development
-
3605 HWY 52 N
Dept GY4A 015-2/D112
Rochester, MN 55901 
507.253.6125
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - 




Channa <channa.kad@gmail.com> 
05/14/2007 09:10 AM
Please respond to
users@tahi.org


To
users@tahi.org
cc

Subject
[users:00328] Re: Help on remote files






Hi,
Thanks for the information.
I have installed TAHI on Fedora core linux after doing some pacthing.
Its installed fine. If i am not wrong i need to modify the remote files 
for it rite?
And in NUT.def file i have specified the system as manual.
 
Can you tell me how to proceed with writing these rmt files?
Or these are available for Redhat Linux??
Can you please help me in this?

Thanks in advance,
Channa
 
On 14/05/07, Christy L Norman <cnorman@us.ibm.com> wrote: 

Some of the tests need for something on your NUT to change. Look at their 
names: clearmtu, ikeStart, ikeSetSA. They give you a good idea of what the 
script will need to do. Depending on which tests you're running, you'll 
need to create scripts inside those .rmt files to do what they should. If 
a script that your test needs hasn't been filled in yet you'll see, "Not 
yet supported" in the test output. So if you're not seeing that you don't 
need to worry about the remote files yet. 


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - 
Christy L Norman/Rochester/IBM < cnorman@us.ibm.com>
Software Engineer, i5/OS TCP/IP Development
-
3605 HWY 52 N
Dept GY4A 015-2/D112
Rochester, MN 55901 
507.253.6125
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - 



Channa <channa.kad@gmail.com> 
05/14/2007 07:53 AM 

Please respond to
users@tahi.org



To
users@tahi.org 
cc

Subject
[users:00325] Re: Help on remote files









Can you tell me why these remote files are needed?? 



On 14/05/07, Channa < channa.kad@gmail.com> wrote: 
Ok got it thanks. 


On 14/05/07, Santosh Bhavsar < santoshb@sarksoft.com > wrote: 
  
1. TAHI is for Free BSD you should have free BSD on your machine then it 
work  as per my knowledge. 
    on linux it will not work. 
2. About that message you have to reboot it manually . 
 
 
 
----- Original Message ----- 
From: Channa 
To: users@tahi.org 
Sent: Monday, May 14, 2007 5:21 PM 
Subject: [users:00319] Help on remote files 


Hi, 
I have installed TAHI on Fedora core linux . 
When i run the test cases can any one tell me how the remote commands are 
executed. 
Because when i run the test cases i get the messages like 
========== TEST 1 ==========
./BEGIN.seq -pkt /dev/null -log 1.html -ti "Initialization"
Target: Reboot 
reboot>
reboot> Reboot NUT.
reboot>     * Wait until NUT boot up completely.
reboot>         Ex.) Wait until catch up login prompt.
reboot>
reboot> Press Enter key for continue. 
reboot> 
Wait 10 second
OK 
But the TARGET is not getting rebooted. 
Can anyone throw some idea on this... 
 
Thanks in advance, 
Channa 




	

329_2.html (attatchment)(tag is disabled)