Skip to main content
Participant
May 18, 2008
Question

Connect To Remote CF Admin API Instance

  • May 18, 2008
  • 1 reply
  • 534 views
Hi all,

We have several clustered instances of CF8 within our organisation and when deploying to these clusters we must ensure that all clustered instances have the same settings (eg. Data sources, mappings, etc).

I am attempting to write an AIR application that will connect to the relevant CF servers depending upon which cluster is selected (eg. select Cluster1 and it will automatically connect to all instances in this cluster). However I am having some difficulty in figuring out how to connect to a remote Cold Fusion Admin API instance. I can connect to my local development machine's CF Admin API no problems but not to a remote CF server's Admin API.

Possibly I am missing something very simple and somebody can point this out, but any assistance would be greatly appreciated.

Thanks,

Owen West
    This topic has been closed for replies.

    1 reply

    Participant
    May 19, 2008
    Hi,

    If it were me, I'd write a remote proxy CFC that marshals calls to the admin API. This way you could easily add a security layer to this proxy CFC.

    Although the API way is probably cleanest, from an admin point of view, you might prefer to work with exporting the configuration XML files?

    This could avoid a) writing the AIR app and b) tracking when a remote service isn't available to call the CFIDE API? This could cause you major headaches!

    Good luck.
    D