Foil 14 - Handling mixed remote environments (2/3)

 1         case $client_type in
 2           Solaris25 )
 3             df_cmd="/usr/bin/df -t 4.2"     # Solaris 2.5
 4             client_dir="/opt/IBMDSMba5"     # Solaris 2.5
 5           ;;
 6           Solaris2* )
 7             df_cmd="/usr/bin/df -t 4.2"     # Solaris
 8             client_dir="/opt/IBMDSMbas"     # Solaris
 9           ;;
10           SunOS )
11             df_cmd="/usr/bin/df -t 4.2"     # sunos
12             client_dir="/usr/adsm"          # sunos
13           ;;
14           HP-UX )
15             df_cmd="/usr/bin/bdf -l"        # hp-ux
16             client_dir="/usr/adsm"          # hp-ux
17           ;;
18           ULTRIX )
19             df_cmd="/usr/bin/df -l"         # ultrix
20             client_dir="/usr/adsm"          # ultrix
21           ;;                                                       #14

This is the third of five slides showing the more complex, but very useful of performing operations on remote systems. The third through fifth slides expand on the previous slide to handle a complex mix of different client operating systems, applications, etc.

The fourth slide sets system dependent commands and directories based on the operating system of the client. This completes on the next slide.

  • In this case the vendor decided to package their application so it was installed in different directories including a different version of the code for Solaris 2.4 and Solaris 2.5.
  • We also deal with different syntax of the df command for listing local disks.

    Previous   Next   Index