Stress Test: ftpstress_6

### TEST NAME

> ftpstress_6 - compare for data corruption on IPv6

### SYNOPSIS

> `sh ftpstress_6.sh` remote_machine

### DESCRIPTION

> The `ftpstress_6` command sends files of different sizes from a local machine to a remote machine, back to the local machine, and compares for data corruption.

### OPERANDS

> remote_machine
>   Either the host name or the IPv6 address of the machine to which files and directories are copied. If a host name is given, it must appear in `/etc/inet/ipnodes` along with the remote machine's IPv6 address.

### USAGE VARIABLES

> `RUNTIME`
>   Specifies, in seconds, the duration of the test.

> `local_ftpdir`
>   Specifies the local directory to use for creating and copying files.

> `remote_ftpdir`
>   Specifies the remote directory to use for creating and copying files.

### SETUP

> You need two machines connected by a network, either back-to-back, or through a hub or switch.

> Before the tests can run, ensure that the local machine can make anonymous `ftp` transfers to the remote machine. This is described in detail in the `in.ftpd`(1M) man page. Under HCTS, this is set up by the `setup_anon_ftp.sh` script at install time.

### OUTPUT

> The test produces output that shows the progress of the test.

### DURATION

> 24 hours

### POSSIBLE CONCURRENT TESTS

> This test can run concurrently with `cl3se3_6`, `lsalr_6`, `mpflip`, `scp_6`, and `spray_6`.

### CAVEATS

> - If several instances of `ftpstress` are running concurrently, ensure that the test directories are different for each instance.

> - This test requires at least 1.2 Gbytes on the local machine and 600 Mbytes on the remote host.

### EXAMPLES

> >     # local_ftpdir=/export/home/tmp
> >     # remote_ftpdir=incoming/
> >     # RUNTIME=60
> >     # ./ftpstress_6.sh cerberus240

> >     Beginning ftpstress_6
> >     Running time: 60 seconds
> >     Creating fileset for transfer
> >     Initiating file transfer
> >     FTP succeeded: transmitted 568888832 bytes so far
> >     LOOPTIME: 614
> >     !PASS: No errors detected in ftp on IPv6

### REFERENCES

> `ftp`(1), `in.ftpd`(1M), `netstat`(1M), `hosts`(4), `netrc`(4), `rhosts`(4)

Copyright 2005 Sun Microsystems, Inc. All rights reserved.