Recently I asked a question to identify a novel which turned out to be [Solaris, by Stanislaw Lem][1]. That reminded me of another novel, clearly different, but with some analogies. 

I also read it long ago, but not as far back as *Solaris*, only about 30 years ago. And I believe that, at that time, it was rather recent. It is on some planet, not Earth, though not about just a scientific station but rather a whole colony. There was also some sentient planetary organism, a bit like the ocean of Solaris but **not** a huge liquid body.

Again I don't remember much, except that there was a feeling of threat during most of the novel, although it is possible that there was a positive resolution at the end. But I am not quite sure, it was too long ago.

EDIT

It is a novel, so not "Green Patches". And the organism is global, not visibly including people-who-are-not-completely-individual, so not the Gaia of Asimov's "Foundation's Edge".


  [1]: https://scifi.stackexchange.com/questions/280563/very-old-novel-about-a-planet-with-a-living-ocean