08-30-2011 07:59 AM
Hi,
Earlier, we used to have SAP backups running on Windows machine. We run SAP but we dont use RMAN, we use Netbackup for SAP agent.There on Windows Box backup is perfectly fine.
Now the server is migrated to HPUX, but here i am facing issues while backup.
ORA-01017: invalid username/password; logon denied
BR0310E Connect to database instance failed
Now, when i used to get similar error, I used to restart NETBACKUP CLIENT SERVICE and run it through SAPADMIN account.
But here on HP Unix how to do it? How will Netbackup communicate with SAP oracle Database with the proper SAPADMIN account?
Thanks and Regards,
SAHIL
Solved! Go to Solution.
08-30-2011 11:28 AM
One BIG difference between Windows and Unix agent backups:
On Windows you need to change the NBU Client Service logon account to run with the correct db/app permissions.
On Unix, all backups run as root. Look in the sample scripts on the client (/usr/openv/netbackup/ext/db_ext/sap/scripts/sap_oracle/) for use of "su - <user>" to ensure that the script runs with correct user permissions and env variables.
Extract:
CMD_LINE="$SAP_ENV brbackup -c -d util_file -t offline -m all"
## The username on the "su" command needs to be replaced with the correct
# user name.
#
echo "Execute $CMD_LINE"
su - orasap -c "$CMD_LINE"
08-30-2011 09:20 AM
I think this nice HOWTO could be the digest you need to verify your configuration.
http://www.symantec.com/business/support/index?page=content&id=HOWTO48173#v14758586
Also check you haven't got any adm user account and passwords locked or expired.
08-30-2011 11:28 AM
One BIG difference between Windows and Unix agent backups:
On Windows you need to change the NBU Client Service logon account to run with the correct db/app permissions.
On Unix, all backups run as root. Look in the sample scripts on the client (/usr/openv/netbackup/ext/db_ext/sap/scripts/sap_oracle/) for use of "su - <user>" to ensure that the script runs with correct user permissions and env variables.
Extract:
CMD_LINE="$SAP_ENV brbackup -c -d util_file -t offline -m all"
## The username on the "su" command needs to be replaced with the correct
# user name.
#
echo "Execute $CMD_LINE"
su - orasap -c "$CMD_LINE"