cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to delete hosts from EMM DB

mubarack_s
Level 6

Hi All,

       We have solaris 10 and netbackup 7.1. We have few unwanted entries in EMM database which was configured earlies by vendor. I need to delete the below highlighted entries.

       While I am trying to delete, I getting following error ""Please Delete Disk Objects First"". As per technote

       http://www.symantec.com/business/support/index?page=content&id=TECH70660. I have found few ID's but i don't find step to delete that entries.

       Can you pls advice.


server             SS93VPBK01-01
master             SS93VPBK01-01
media              SS93VPBK04-01
media              SS93VPBK03
media              SS93VPBK02
master             SS93VPBK01-NB
media              SS93VPBK02-NB
media              SS93VPBK03-NB
media              SS93VPBK04-NB

Command completed successfully.

 

-bash-3.00# grep "SS93VPBK01-NB" *.dat
734.dat:'1000006',0x1F5338E6084411DF8000EBD0F6C30729,'ss93vpbk01-nb.sg.visaps.com','SS93VPBK01-NB','1000006','0','0','3','4','37','','2','5','653100','0',
'','VEND:#.:PROD:#.:IDX','3','2010-01-23 01:24:12.074046','300','2012-07-10 09:09:16.511445','2010-01-23 01:24:12.074048','2012-07-10 09:09:16.512319'
735.dat:'SS93VPBK01-NB','3','1000006','2010-01-23 09:24:12.079238','2010-01-23 01:24:12.079233'

-bash-3.00# grep "SS93VPBK02-NB" *.dat
734.dat:'1000007',0x12E2021208D611DF8000C6F802DC95DE,'ss93vpbk02-nb.sg.visaps.com','SS93VPBK02-NB','1000006','0','0','1','12','37','','2','5','653100','0',
'','','3','2010-01-23 18:48:57.722946','300','2012-07-10 09:09:16.511445','2010-01-23 18:48:57.722948','2012-07-10 09:09:16.512355'
735.dat:'SS93VPBK02-NB','1','1000007','2010-01-24 02:48:57.728843','2010-01-23 18:48:57.728838'

-bash-3.00# grep "SS93VPBK03-NB" *.dat
734.dat:'1000008',0x2AFE310A08DA11DF8000E93656035101,'ss93vpbk03-nb.sg.visaps.com','SS93VPBK03-NB','1000006','0','0','1','12','37','','2','5','653100','0',
'','','3','2010-01-23 19:18:16.158888','300','2012-07-10 09:09:16.511445','2010-01-23 19:18:16.158890','2012-07-10 09:09:16.512623'
735.dat:'SS93VPBK03-NB','1','1000008','2010-01-24 03:18:16.165744','2010-01-23 19:18:16.165731'

-bash-3.00# grep "SS93VPBK04-NB" *.dat
734.dat:'1000009',0x631C757C08DC11DF8000FC59D19265C7,'ss93vpbk04-nb.sg.visaps.com','SS93VPBK04-NB','1000006','0','0','1','12','37','','2','5','653100','0',
'','','3','2010-01-23 19:34:09.303120','300','2012-07-10 09:09:16.511445','2010-01-23 19:34:09.303122','2012-07-10 09:09:16.512665'
735.dat:'SS93VPBK04-NB','1','1000009','2010-01-24 03:34:09.307369','2010-01-23 19:34:09.307364'

3 REPLIES 3

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

You can completely decommission a media server that will do everything for you using nbdecommission.

See this TN: http://www.symantec.com/docs/HOWTO66666

For Storage unit - BasicDisk :

Deletes the storage unit if no images exist on it. If images exist, the wizard lets you choose one of the following options:

  • Expire the images and delete the storage unit.

  • Move the images to the new server. The wizard also updates the Media server field in the storage unit.

    The BasicDisk storage must be shared, and the same disk path must be available on the new server.

 

Storage unit - AdvancedDisk and SharedDisk:


Specifies that if more than one media server can access the disk pool that is the destination of the storage unit, it does the following:

  • Removes the old server from the Media Servers list of the storage unit.

  • Deletes the old server as a storage server.

If the old server is the only server that can access the disk pool, the wizard lets you choose to do one of the following:

  • Move the storage and images to the new server and delete the old server as a storage server.

    The disk volumes must be available on the new server at the same path as the old server.

  • Expire the images (if any), delete any storage units that reference the disk pool, delete the disk pool, and delete the storage server. (A reference is when the disk pool appears in the Disk pool setting of a storage unit.)

 

 

Hope this helps!

 

Ryan-4SL
Level 2
Partner Accredited

I am experiencing a similar problem:

Clustered master server with 3 nodes running on VCS on RedHat. Migrated to 3 new nodes but want to tidy up the 3 old nodes from the EMM database. I get the same response from nbemmcmd -deletehost : "Please Delete Disk Objects First" .

The nodes are not media servers, they are master server only nodes. Therefore nbdecommission fails with a message stating that the server is not a media server. They also do not have disk storage units defined.

Actually reviewing the logs it appears that it is failing because of the DSSUs on the connected media servers, not because there is a DSSU on the master server node. The "nbemmcmd -deletehost -machinename <masterserver_node> -machinetype master" works on our test system but only if we delete all the DSSUs from the Storage Units config - whatever media server they are attached to.

Any assistance would be appreciated.

Mike_Gavrilov
Moderator
Moderator
Partner    VIP    Accredited Certified

 

TechNote says:

Run the " nbemmcmd -deletehost -machinename <hostname> -machinetype media " command trying *all* known hostnames for this media server.

mubarack.s, have you tried to delete old master name using old FQDN first? Try to list all aliases for this  node:

# nbemmcmd  -machinealias -getaliases -machinename <old_master's_short_name> -machinetype master

 

# nbemmcmd  -machinealias -getaliases -machinename <old_master's_FQDN> -machinetype master