Air Cleaner User Manual

CLIENT_HOST
Hostname or full domain name (if required) of client host performing the
command.
CLIENT_HOSTPERM
Indicates the hostname, as it appears in the .remote_access file, that granted
permission to the client. This can be the client hostname, the full domain name
of the client, or all.
CLIENT_IDIRS
Specifies one or more installation image directories, separated by colons, as
defined in the .remote_access file, to which this host and user can read or
write.
CLIENT_IPADDR
IP address of the client host performing the command.
CLIENT_USER
User name on the client host performing the command.
CLIENT_USERPERM
Indicates the user name, as it appears in the .remote_access file, that grants
permission to the client. This is either the same as CLIENT_USER or all.
The above environment variables can be accessed by the remote applications
running on the server and can also be queried from the client using a command
such as:
sbclient Remotehost echo \$CLIENT_DEVS
Flags
-i Indicates the remote command must receive standard input from the local
system. Use this flag only when executing an interactive command or piping
data to the command.
Examples
1. To read the header of a remote backup tape in device /dev/rmt0 on host saturn,
type:
sbclient saturn sbread -H /dev/rmt0.1
2. To copy the file /tmp/imagefile to the remote host neptune, type:
cat /tmp/imagefile | sbclient -i neptune \
"cat > /tmp/imagefile"
In this example, the local file /tmp/imagefile is sent as input to the sbclient
command. The cat command is executed on the remote system, which copies
the data received into a new file /tmp/imagefile. Note that the new file on the
server will be owned by the sbnet user ID.
Files
/usr/lpp/sysback/.remote_access
Contains list of hosts and users that are allowed to
execute commands on the local system.
/usr/lpp/sysback/.remote_cmds
Contains list of commands that can be remotely
executed on the local system.
A-60 IBM Tivoli Storage Manager for System Backup and Recovery: Installation and Users Guide