How to convert client hostname in to ipaddress in the activity monitor netbackup7.5
Created: 11 Dec 2012 | Updated: 14 Jan 2013 | 11 comments
This issue has been solved. See solution.
Hi All,
I am using Veritas netbackup7.5,
In activity monitor it shows the client hostname , i need ipadress of the client .
what i need to do.
or
/usr/openv/netbackup/bin/admincmd/ ./bpdbjobs -report
if excute this cmd in linux server it shows the hostname only
suggest which abbrevation to get in cmd prompt also..
thanks advance...
Discussion Filed Under:
Comments 11 Comments • Jump to latest comment
If you have configured NBU using hostnames (e.g. Client name in Policies), this is what you will see.
There is no way to convert hostname to IP address in activity monitor (unless you change policies).
If you decide to change Client names to IP addresses in policies, it will affect restores. NBU will see IP address as new Client name.
PS - I have never seen such a request (close to 14 years of supporting many customers). We always discourage customers from using IP addresses instead of hostnames. What is the reason for this request?
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
Thanks for your suggestion.
Report format is design like that..
we want enter the ipaddress along with the hostname of the client which should take backup daily.
hi,
I am not sure why you want to view the IP address...its not a good practic to use IP address..
host name is for human undestading and IP address is for machien understanding... , if you go and configure the IP address it may lead to more human errors..
but still you can do that..
just enter the IP address of the server that you wish to backup in policy selection, and when you trigger the backup it will show you the iP address inactivity moniter.
even bpdbjobs -report will show the IP address..
but i recommend to use the Host name only, and when you require to know the IP address , just use the nslookup or /etc/hots file to resolve the IP address
hope this helps.
Simply you can not ... as long as you use the Host name in the backup policy.
1)you need to chage the host name to IP address in backup policy( never recommended)
or
2) use script to convet the host name in bpdbjobs -report output to IP address...
can possilbe with scripts..
Thanks
can u forward the script
by step by step
NetBackup does NOT store IP addresses as previously explained.
You will have to find a way to populate this field yourself.
Maybe clever lookup table in a spreadsheet?
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
hi,
>use this if you have the DNS in your envirornment for name resolution
cat /script1
Altho' not checked the logic/syntax of the commands per se, irrespective of the naming service being used, how about incorporating 'bpclntcmd -hn' to get the IP that NB is working with?
One would hope that that command would work!
Regards Andy
"Have you still got the box it came in?"
Dear Manura,
I agreed that due to your report format you want IP address. but try to understand product behaviour / design.
So, instead for doing complex thigs i will recommend you to help your management to understand about NBU & remove IP from report.
Thnakx & Regd's
Yogesh
If this post has helped you, please vote or mark as solution.
Before break-up, make sure you have a good backup..... ;-)
Thanks Andy for that, i just missed that...
Manura,
below will work irrespective of DNS or hosts file..
Would you like to reply?
Login or Register to post your comment.