Deleting instance directories on PASOE without the usage of "tcman.sh delete {instance}" - Forum - OpenEdge Deployment - Progress Community

Deleting instance directories on PASOE without the usage of "tcman.sh delete {instance}"

 Forum

Deleting instance directories on PASOE without the usage of "tcman.sh delete {instance}"

This question is answered

I realize that this is blatantly incorrect method when deleting an instance.However, it appears that when deleting instance directories on PASOE without the usage of "tcman.sh delete {instance}" this leaves a trace of the instance.  The remnant of the instance can be seen by listing the instances that are deployed with the command "tcman.sh instances". This is what's displayed:

How does one remove this entry?

Verified Answer
  • The instances are registered in one of the %dlc%\serverrs\pasoe\conf\instances.* files. Depending on your platform.

    Architect of the SmartComponent Library and WinKit

    Consultingwerk Ltd.

All Replies
  • The instances are registered in one of the %dlc%\serverrs\pasoe\conf\instances.* files. Depending on your platform.

    Architect of the SmartComponent Library and WinKit

    Consultingwerk Ltd.

  • The instances are registered in one of the %dlc%\serverrs\pasoe\conf\instances.* files. Depending on your platform.

    Architect of the SmartComponent Library and WinKit

    Consultingwerk Ltd.

  • Yes, the instance information is stored in %dlc%\serverrs\pasoe\conf\instances.* files and it has to be deleted from there. But this way of deleting an instance is not recommended. Is there any reason why you are not using tcman delete?

  • Why is that not recommended? Because you may change the implementation? Or are there known side-effects?

    Architect of the SmartComponent Library and WinKit

    Consultingwerk Ltd.

  • Thanks for the answer Mike!

    Dileep, I was testing to see what was left behind when not using the tcman.

  • As Mike notes, they'll linger in the instances file, which may cause you trouble later if you try to create another instance with the same alias (name).
     
    You can manually clean those up, of course, but is there a reason why you don't want to use tcman/pasman? Or were you just investigating?
    -- peter
     
  • Hi Peter, I fully intend to use pasman and tcman. I was doing a little investigation.