Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Client deleted from environment still shows in bppllist

Created: 28 Nov 2013 | 11 comments
sazz.'s picture

Hi All,

Need some help!

Deleted one client from the envrionment but intrestingly it still shows in the commands.

Master/Media -> NBU 7.1 on ws 2008 r2

Client also on ws2008

Tried below steps so far

bpcoverage -c <client_name> gives the policy name with all the client name but deleted client is not in there

>bppllist XXXX -byclient XXXXX again shows the list but client is not there
This policy has got > 200 clients.

bppllist -byclient <client name> -U it again pulls the policy details with all the clients but that client is not listed

bpclient -client XXXX -delete
bpclient: no entity was found (227)

checked the client attributes in master server properties- not there

nbemmcmd -deletehost -machinename XXXX -machinetype
client
NBEMMCMD, Version:7.1
The function returned the following failure status:
invalid host name (136)
Command did not complete successfully.

bpclient -client XXXX -L
bpclient: no entity was found (227)

Took the nbsu and searched for the server name and it has got the entries in below files but those seems to be normal as it doesn't show it to be in EMM.
OS_tasklist
OS_event_application
NBU_tree
NBU_jobs
NBU_dirs

No entries in EMM or anywhere as per NBSU.

Alredy tried restarting the netbackup services on master couple of times but no go

If you need any logs I can PM.

Operating Systems:

Comments 11 CommentsJump to latest comment

RamNagalla's picture

bpcoverage -c <client_name> gives the policy name with all the client name but deleted client is not in there

>bppllist XXXX -byclient XXXXX again shows the list but client is not there
This policy has got > 200 clients.

bppllist -byclient <client name> -U it again pulls the policy details with all the clients but that client is not listed

bpclient -client XXXX -delete
bpclient: no entity was found (227)

so  i wonder where you are still seeing the output.

Mark_Solutions's picture

When you say you deleted a client do you mean you just deleted it from its policy or did you mean more?

Generally you would only find it under client attributes, additional servers and policies unless there was anything special about it

Obviously all of its backup history would be retained against its name in the catalogs and will stay there until all backups for it have expired

When deleting a client from a policy it is worth running nbpemreq -updatepolicies to force NBU to re-read its configuration

Just trying to understand exactly what it is you are worried about here as generally clients are not an integral part of netbackup

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

sazz.'s picture

Hi Nagalla/Mark

I was in impression that once it is deleted it shouldn't show any output for the client but it does, as the client doesn't exist in the environment any more.

bppllist -byclient XXX -U should show nothing( no output) if the client is removed from the environment. It shows the policy means it still thinks the client is under that policy.

The client is removed from all the places in the environment like client attributes and all that, no more backups will be taken from this client. Only restore if needed be.

nbpemreq -updatepolicies -> it's been now 2 days and already restarted the services

RamNagalla's picture

bppllist -byclient XXX -U

take the policy name from the above output.

and run the below command against the policy show us the details

bppllist <policyname> -L

ontherocks's picture

Could you please check and confirm if client entry is their in either of the following :-

- master server host properties -> Client Attributes
- master server host properties -> Distributed Application Restore Mapping
 

OTR

ontherocks's picture

One more option ::

1. Wait for all active jobs to complete, then bring down all NBU services.
2. Navigate to /usr/openv/veritas/netbackup/db/client and locate the directory with the name of the deleted client.
3. Delete the directory and restart all NBU services

Then check bppllist output !

OTR

sazz.'s picture

It doesn't exist at any of the below paths:

master server host properties -> Client Attributes
- master server host properties -> Distributed Application Restore Mapping

/usr/openv/veritas/netbackup/db/client

Already tried restarting the NBU service

RamNagalla's picture

hopefully you are aware of this, but just a though of double checking...

netbackup is case sensitive... did you make sure that its deleted with all entiries having the different cases..

sazz.'s picture

Complete environment is windows but yes cross checked again and its all lower case.

rk1074's picture

can u try running below and share the result

bpplclients policy_name -delete host_name

sazz.'s picture

It aoutomatically got resolved, I guess it took some time.