cancel
Showing results for 
Search instead for 
Did you mean: 

How do delete a MSDP disk pool, after I removed the storage server first ?

AndersA
Level 4

Hi all,

I accidentally deleted my storage server before i deleted the MSDP disk pool, now i cant delete the disk pool because it needs a storage server.....any ideas ?

 

master:

Netbackup 7.5.0.4 on Redhat 5.7

 

media (MSDP):

Netbackup 7.5.0.4 on Redhat 6.3

1 ACCEPTED SOLUTION

Accepted Solutions

AndersA
Level 4

finally got a script from sym. support that cleaned out the database.

View solution in original post

17 REPLIES 17

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

you can not delete the Storage server if it has associated disk pool.

frist you have the remove the diskpool then only you can remove the storage server.

so please make sure that the disk pool is associated with any other storage server..

note:-removing disk pool will expire all the images  in it.

please see below.

http://www.symantec.com/business/support/index?page=content&id=HOWTO43439

If a disk pool is configured from the disk volume that the deduplication storage server manages, you cannot delete the deduplication storage server.

 

How to remove NetBackup Media Server Deduplication option (MSDP) configurations from a NetBackup environment.

http://www.symantec.com/business/support/index?page=content&id=TECH150431

Yasuhisa_Ishika
Level 6
Partner Accredited Certified

Have you already tried to readd storage server?
I'm not sure this works, but worth to try.

muhanad_daher
Level 6
Partner Accredited Certified

Hi,

 

the same problem happened with me and i solve it.

follow the steps from this link, but first run this command (nbemmcmd -listhosts) to check the server storage still available or not.

http://www.symantec.com/business/support/index?page=content&id=TECH150431

 

 

Good Luck.

AndersA
Level 4

too late i am afraid...the pool on the actual MSDP and all the data....is gone.

Ruchi
Level 5
Employee Certified

In order to delete the storage group. We need to expire all iamges, delete storage units and then disk pool. After all this Netbackup allows to delete storage server.
Please provide me more information how you have deleted storage server directly?

AndersA
Level 4

Hi Nagalla

You are incorrect, it is possible to delete the storage server before you delete the pool....but you are correct, it shouldent be :).

 

if you have a test setup try this, and you can see it for yourself.

 

expire all images in pool gui or cli
remove stu from gui
nbdelete -allvolumes -force

nbdevconfig -changestate -stype PureDisk -dp POOL -state DOWN
nbdevconfig -changedp -dp POOL -stype PureDisk -del_storage_servers msdp-server.org
nbdevconfig -deletests -storage_server msdp-server.org -stype PureDisk
nbdevconfig -deletedp -dp pdde0b-1 -stype PureDisk  //ERROR storage server gone!!

 

right order would be:

 

nbdevconfig -changestate -stype PureDisk -dp POOL -state DOWN
nbdevconfig -changedp -dp POOL -stype PureDisk -del_storage_servers msdp-server.org


nbdevconfig -deletedp -dp pdde0b-1 -stype PureDisk

nbdevconfig -deletests -storage_server msdp-server.org -stype PureDisk

 

 

 

 

 

 

AndersA
Level 4

Hi Ruchi,

I am well aware how it should be done, i just messed it up.

this way it is possible to delete the storage server before deleting the pool (properly a bug)

 

 

if you have a test setup try this, and you can see it for yourself.

 

expire all images in pool gui or cli
remove stu from gui
nbdelete -allvolumes -force

nbdevconfig -changestate -stype PureDisk -dp POOL -state DOWN
nbdevconfig -changedp -dp POOL -stype PureDisk -del_storage_servers msdp-server.org
nbdevconfig -deletests -storage_server msdp-server.org -stype PureDisk
nbdevconfig -deletedp -dp pdde0b-1 -stype PureDisk  //ERROR storage server gone!!

 

right order would be:

 

nbdevconfig -changestate -stype PureDisk -dp POOL -state DOWN
nbdevconfig -changedp -dp POOL -stype PureDisk -del_storage_servers msdp-server.org

nbdevconfig -deletedp -dp pdde0b-1 -stype PureDisk

nbdevconfig -deletests -storage_server msdp-server.org -stype PureDisk

 

 

 

AndersA
Level 4

Hi Muhanad

I have followed this doc, but still i cant delete the old diskpool... says i need a storage server. ...bummer.....maby its a support call.

 

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

below is the command that gets you all mess ups, you does not needs to run it.

nbdevconfig -changedp -dp POOL -stype PureDisk -del_storage_servers msdp-server.org

AndersA
Level 4

yeah you are right... but my problem is the i have.....and then i could remove the storage server before the pool...which i did....now my problem is how do i get rid of the pool.?

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

try if you can associate the pool with another storage server that is avaliable, by using nbdevconfig -changedp( I am not sure if it helps , i never tired, but its worth to try..)

if this does not help, I am seeing only support call is left.

AndersA
Level 4

tried

 

nbdevconfig -changedp -stype PureDisk -dp POOL -add_storage_servers MSDP.server.net -M master.server.net


DSM has found that PureDiskVolume already exists in the database
Unable to add host MSDP.server.net
failed to change disk pool, operation would cause an illegal duplication

 

bummer :/.

better call support :).

 

Mark_Solutions
Level 6
Partner Accredited Certified

What is the output of:

nbdevquery -listdv -stype PureDisk

Have youi deleted all SLPs and storage units that relate to that pool?

Have you tried to just delete it from the Admin Console?

Thanks

AndersA
Level 4

Still waiting for support. :)

Marianne
Level 6
Partner    VIP    Accredited Certified

Does this mean that you have a Symantec Support call open?

Or waiting for support from forum members?

Symantec Support call is probably best option - they will be able to provide sql scripts to remove orphaned EMM entries.

AndersA
Level 4

We have  3party local support, and i am waiting on them to make the symantec support call.

AndersA
Level 4

finally got a script from sym. support that cleaned out the database.