The addproduct command allows an unrecognized device to be added to the AIX operating system's ODM Device Database so that it can be detected. The usage of this command is as follows:
addproduct <SCSI product ID>
This <SCSI product ID> corresponds to the 1-16 byte string returned in an 'inquiry' command, after the 8-byte Vendor ID. The string must be entered exactly as it appears in the reply to this command.
You can find the product ID by running a trace of netvault library manager module while trying to add a library.
You need to LIBVERBOSE trace the "Library Manager" module in NetVault.
1. Stop NetVault
2. Enable tracing as per solution SOL78909
3. Start NetVault
4. Attempt to add device
5. Wait 5 minutes
6. Stop NetVault
The PRODUCT ID will be listed in a "nvchgmgr???.log" file, search for "Product".
If the device can accept SCSI passthrough commands, there will be a block similar to the following -
SCSI :467108 14 0 425 CMD INQUIRY [ 12 00 00 00 32 00 ]
SCSI :467108 16 0 425 CMD STATUS 'GOOD' [0]
SCSI :467108 20 0 425 CMD RETURN VALUE 0
SCSI :467108 1 0 425 Fill Inquiry response (BEGIN)
SCSI :467108 2 0 425 Vendor: ATL
SCSI :467108 3 0 425 Product: P1000 6220050
Using this as an example, the command will be:
# /usr/lpp/netvault/addproduct "P1000 6220050