WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Unregister DMGR from JOB Manager

    Posted Mon September 16, 2013 08:15 AM
    Hi All,

    Is there any way to unregister the DMGR node from the Job Manager when the Job manager does not exist any more(assume that the job manager was deleted inadvertantly).

    Thanks
    Prashant



  • 2.  Unregister DMGR from JOB Manager

    Posted Mon September 16, 2013 08:40 AM
    Hi Prasanth,

    We can register and unregister by using bellow commands.

    adminprofile/bin>registerNode.sh  -path of the profile profile path -userName uname -password password.

    For unregistration

    adminprofilepath/bin>deregisterNode.sh -pathof the profile profile path -username uname -password password 

    Thanks
    Chandu


  • 3.  Unregister DMGR from JOB Manager

    Posted Tue September 17, 2013 01:18 AM
    Hi Chandu,

    The command deregisters the node from the admin agent.I am looking to deregister the DMGR node from the Job manager,when the job manager is no longer available.

    Thanks
    Prashant


  • 4.  Unregister DMGR from JOB Manager

    Posted Tue September 17, 2013 05:24 AM
    Hi Prashant,
        
          If you want to unregister the managed node(DMGR Node as well) with the job manager, run the AdminTaskcommand(wsadmin scripting) :

    AdminTask.unregisterWithJobManager(‘[-host JOBMANAGER_HOST_NAME –user JOBMANAGER_USER_NAME –password JOBMANAGER_PWD –managedNodeName dmgrManagedNode]’). 


       Use a deployment manager to unregister the deployment manager from a job manager.



        Above command will work in normal scenario where Job Manager is present. But here in your case, i am not sure above command will work as it is trying to lookup the hostname of job manager and also the job manager's credentials.


      


    If the system fails when unregistering a target from a job manager, run the cleanupTarget command in the JobManagerNode group to clean up job manager registration information. The command does not remove the job history of the node that you are unregistering. Jobs in progress continue to run, but new jobs do not start for the node. See the topic on the JobManagerNode command group for the AdminTask object.



    For more information, refer this link:


    pic.dhe.ibm.com/infocenter/wasinfo/v8r0/...


    www.ibm.com/developerworks/websphere/tec...



    Hope this helps..






      


     
     


  • 5.  Unregister DMGR from JOB Manager

    Posted Tue September 17, 2013 11:55 AM
    Hi Prasanth,

    Thanks for correcting me.

    I think this should be help for you
     
    You can use the deployment manager administrative console to register or unregister a deployment manager with the job manager.

    Click
    System administration > Deployment manager > Job managers.

    Select 
    Register with Job Manager to register a deployment manager with a job manager or Unregister from a Job Manager to unregister a deployment manager from a job manager.

    Kindly correct me if i am wrong.Thanks In Advance.

    Thanks
    Chandu 


  • 6.  Unregister DMGR from JOB Manager

    Posted Wed September 18, 2013 11:16 AM
    Dmgr admin console is easy option.
    I've seen dmgr appearing in job manager even after deregistering it. So look out if config sync happends properly.