Apache Geode GFSH list all subscriptions to a cache - gemfire

Like the list durable-cqs command is it possible to list all subscriptions by key to a Geode region?

You can find the list of all available commands in the gfsh Command Help site.
That said, I don't think there's a gfsh command for this, neither could I find anything related in link I've previously shared.
Cheers.

its not on GFSH but there is GetInterestList() in the region subscription service API.
https://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/Region.html#getInterestList--

Related

Netdata api for traffic of specific docker image

I have a server running several docker containers. I wanted to know about network usage of individual and some specific docker containers.
I wad able to get entire traffic using below api
http://<server-ip>:19999/api/v1/data?chart=net.docker0&after=-60&before=0&points=1&group=median&gtime=0&format=json&options=seconds&options=jsonwrap
I goes through documentations and didn't find anything helpfull.
Usually, the issue with such questions comes from Netdata not being granted the access required to identify the docker container.
I'd take a look at https://learn.netdata.cloud/docs/agent/packaging/docker/#docker-container-names-resolution and go through https://github.com/netdata/netdata/issues/6882 as well.
If you know the specific container name then you should i think just be able to pull the data direct from the container specific chart.
For example i have a container called airbyte-webapp and so i can get its network usage via its own specific chart at /api/v1/data?chart=cgroup_airbyte-webapp.net_eth0

How is one able to delete an vm-image

I do not find a function to delete an existing VM-Image at the IBM-Bluemix-Console.
I searched the whole console and do not find any way to do this.
How am I able to do this?
You can delete a virtual server image by using the Python OpenStackClient command openstack image delete. In order to run this command, you first need to have the OpenStack client set up. These instructions tell you how to set up the OpenStackClient in the Bluemix environment.
See this topic in the Bluemix docs for details on how to use the openstack image delete command.

Why visor got "empty topology" after open?

Guys
I deploy a 6 nodes ignite for spark job. it works fine. However, when i hope to use the visor to do administration, i can not see the topology.
here is the config file.
And, when I enter the visor console, and open the config file. I encountered the "Empty topology"
any suggestion? how can i see the topology? thanks
Guys
I found the root cause, I use Static IP Based Discovery, i just config the IP Address List.
And I ran the visor on one of the nodes, so the visor uses port 47501, but the config file with static ips did not contain this server:port. Finally, this visor can not join the ignite cluster, and can not communicate with them.
use this to fix.
172.16.59.141:47500..47509
I don't see anything suspicious in your config.
I want to see logs from all nodes: 6 servers nodes and Visor node.
To get logs from Visor, please, run
./bin/ignitevisor.sh -v
To get logs from server nodes see <ignite_home>/work/logs.
Could you please zip all these logs and provide link on them (on any file sharing).
Also, I don't think any reason why you need to run visor with sudo rights. Could you please run Visor without sudo.

InvalidAMIID with Amazon AWS EC2 API

I'm querying the AWS API and trying to launch an instance with the AMI ID that is located in us-west-1a. This is failing with an error of InvalidAMIID. Using the same API keys I'm able to launch an AMI in us-east-1b. Has anyone have experience with this? I'm positive I'm doing something wrong. Not sure if this is the right place to ask.
The AMI's are different from region to region -- you can't call an AMI in us-east-* in us-west-*. If this is a custom AMI, you'll need to move it over to the new region, or just find the corresponding AMI if it's a public AMI.
I've been able to narrow this down to one of two things:
The AWS REST API requires both region and availability zone to be specified. It isn't possible to just specify the availability zone.
OR
The above problem lies actually in the 'aws' ruby gem

Where is proxy configuration to allow bq tool to connect to the internet?nt

I get a failure when trying to authenticate using the bq tool. The reason is because it can't reach out to the googleapis.com domain. I needs to go through a proxy, but I am unsure of where that needs to be setup.
thanks for the help.
I don't think the BigQuery tool currently has support for proxy servers. The underlying httplib2 library does have support, but you'd need to modify the code of the bq client to use it.
ie, here:
http://code.google.com/p/google-bigquery-tools/source/browse/bq/bigquery_client.py#321
You should be able to pass parameters like this:
httplib2.Http(proxy_info = httplib2.ProxyInfo(socks.PROXY_TYPE_SOCKS5, 'localhost', 1080))
More info here:
http://code.google.com/p/httplib2/wiki/Examples
I'm looking into whether we (Google) can add proxy support natively. Ideally the httplib2 library would also look for an environment variable or similar to determine proxy settings. I've pinged the author on that.