cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate bpclimagelist on AIX client?

lax2212
Level 3

Hi All,

 

I was trying to generate bpclimagelist for a team who do not have either root access or suexec. I was able to generate for other unix clients except AIX.

/usr/openv/netbackup/bin/bpclimagelist -U doesnot return anything. Is there another way to generate image list? fyi bplist doesnt work either.

 

P.S. imagelist list needs to generated on client not on master.

 

Regards,

Laxmi

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Jaime_Vazquez
Level 6
Employee

Verify the status code of the 'bpclimagelist' command by running "echo $?" immediately after invoking it.

bpclimagelist -U; echo $?

The status code will indicate why there is no output. This will be a normal NBU status code. Do the same for the "bplist" command. Use this information to help diagnose your issue. If there is no output to the command, the status code cannot be a zero.

By default, the commands will be sent to the Master Server that the client is registered to. You can use the command "bpclntcmd -pn" to verify that information.   The policy type will default to what is normal for the OS type of the requesting  client.  For Unix/Linux, the policy type is 0, for Windows 13. For your AIX client the command 'bpclimagelist -U' will become the equivalent of:

bpclimagelist -client $client_name -server  $Master_Server_name -ct 0 -U

The values of $Master_Server_name and $client_name will be coming out the "SERVER=" and "CLIENT=" entries in bp.conf file of the client.

If the start date "-s" option is not specified, the start date defaults to 6 months previous  the current date. If the "-e"  end date is not specified it defaults to end of epoch.

Again, make use of the 'echo $?' status code display to find your root cause.

View solution in original post

3 REPLIES 3

Andrew_Madsen
Level 6
Partner

Use the GUI and go to Catalog. Select the machine and time frame for the backups, select the images you want,  and then export the list.

Marianne
Level 6
Partner    VIP    Accredited Certified
Command does not return anything or give error (e.g. no entity found)? What is the policy type for this client? If not Standard, you will need to add policy type. What are permissions on bpclimagelist on the AIX client? NBU backups run as root, so user on the client will probably need root equivalent permissions on bpclimagelist.

Jaime_Vazquez
Level 6
Employee

Verify the status code of the 'bpclimagelist' command by running "echo $?" immediately after invoking it.

bpclimagelist -U; echo $?

The status code will indicate why there is no output. This will be a normal NBU status code. Do the same for the "bplist" command. Use this information to help diagnose your issue. If there is no output to the command, the status code cannot be a zero.

By default, the commands will be sent to the Master Server that the client is registered to. You can use the command "bpclntcmd -pn" to verify that information.   The policy type will default to what is normal for the OS type of the requesting  client.  For Unix/Linux, the policy type is 0, for Windows 13. For your AIX client the command 'bpclimagelist -U' will become the equivalent of:

bpclimagelist -client $client_name -server  $Master_Server_name -ct 0 -U

The values of $Master_Server_name and $client_name will be coming out the "SERVER=" and "CLIENT=" entries in bp.conf file of the client.

If the start date "-s" option is not specified, the start date defaults to 6 months previous  the current date. If the "-e"  end date is not specified it defaults to end of epoch.

Again, make use of the 'echo $?' status code display to find your root cause.