Man Pages(1M): Alternate Pathing Administration Commands
  Search only this book
Download this book in PDF

NAME

apdb - manage AP database

SYNOPSIS

apdb -c raw_disk_slice [-k system_file] [-f]
apdb -d raw_disk_slice [-k system_file] [-f]
apdb -m major -n minor [-f]
apdb -C
apdb -Z

DESCRIPTION

The /usr/sbin/apdb command helps you manage the AP database.

OPTIONS

-c raw_disk_slice
Create a database copy on the specified raw disk slice. You can create up to 10 copies of the database. The minimum slice size is 300KBytes.
-d raw_disk_slice
Delete a database copy from the specified raw disk slice.
-f
Force deletion of the specified database. This option is required for creating the first copy of the database, and when deleting each of the last two copies of the database. If you try to delete a database copy without this option when fewer than two database copies exist, AP displays an error message.
-k system_file
Patch the the database copy information to the kernel file system_file, rather than the default file, /etc/system.
-m major -n minor
Remove a database copy by specifying its location as a major-minor pair. Use -m to specify the major and -n for the minor. This option pair is useful when there is no path to the database because the device no longer exists.
-C
Commit all uncommitted entries within the database.
-Z
Copy the database in memory to all database copies. Note that all database copies are in sync with memory and are automatically updated at system shutdown. -Z lets you update the database copies at your discretion.

EXAMPLE

The following example creates a copy of the AP system database on /dev/rdsk/c2t0d0s1.
# apdb -c /dev/rdsk/c2t0d0s1

SEE ALSO

Sun Enterprise Server Alternate Pathing User's Guide
apconfig(1M), apdisk(1M), apnet(1M)