AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Nim: How to remove resource from a non existing resource server

    Posted Mon October 15, 2012 04:56 AM

    Originally posted by: teletype


    I have nimserver whith several lpp_sources defines on a resource server. I deleted the lpar with the resources on it. Now i cannot remove those resources. nim -Fo remove does not work. How should it be done? I can get it done by using odmdelete but I dont think thai is the way to go. Any suggestions?
    TIA


  • 2.  Re: Nim: How to remove resource from a non existing resource server

    Posted Tue October 16, 2012 10:49 AM

    Originally posted by: sajjadhashimi


    What does the error say? I would assume running a 'reset' operation on resource should free it up and let you remove it afterwards.


  • 3.  Re: Nim: How to remove resource from a non existing resource server

    Posted Thu October 25, 2012 02:10 AM

    Originally posted by: teletype


    I will reply a soon as I can get my hand on a system to reproduce the problem


  • 4.  Re: Nim: How to remove resource from a non existing resource server

    Posted Thu October 25, 2012 06:54 AM

    Originally posted by: teletype


    Here is my situation:
    
    lsnim -a serves res_server <res_server>: serves = AIX610605@<res_server> serves = AIX610605@<res_server>_COPY
    


    The res_server does not exist:
    
    ping -c2 res_server: (<ipaddr>): 56 data bytes   ----res_server PING Statistics---- 2 packets transmitted, 0 packets received, 100% packet loss
    


    If I remove the resource I get:
    
    nim -Fo remove AIX610605@res_server 0042-001 nim: processing error encountered on 
    "master": 0042-006 m_rmpdir: (From_Master) connect A remote host did not respond within the timeout period.   nconn: connect() failed, errno is 78res_server: A remote host did not respond within the timeout period.
    

    (mark the missing space between 78 and res_server)

    I cannot remove the resource server in nim. A reset of the res_server object does not help.
    I know that I can get it done by odmdelete. But I think nim should be able to do it.