Latest Server related questions

Score: 0
mr.zog avatar
Can I use just one dedicated cache disk per portworx cluster?
at flag

I have seven kubernetes nodes, two of which are physical (bare metal) servers. One of these physical machines has a SSD I'd like to use as a portworx cache disk. Is this a supported configuration or will kubernetes endlessly look for that one disk on every host? Here's a snippet from the "spec" file I am using.

  containers:
    - name: portworx
      image: portworx/oci-monitor:2.8.1.2
      image ...
Score: 1
How to remove brick from failed Gluster peer?
cn flag

I have a host that is damaged and is marked as Disconnected in the pool list. To remove the host and replace it I need to remove the brick.

Info of my bricks:

Volume Name: myvol
Type: Distributed-Replicate
Volume ID: ccfe4f42-9e5c-42b2-aa62-5f1cc236e346
Status: Started
Snapshot Count: 0
Number of Bricks: 2 x (2 + 1) = 6
Transport-type: tcp
Bricks:
Brick1: app-dev-v-job-0001.mydomain:/data/glusterfs ...
Score: 0
docker health check for disk space not working as intended
in flag

I've got an nginx container which ends up with a full disk after it's been running for about 10 days. So if a new version of the app isn't released, errors start to occur that look like;

2022/01/15 22:45:04 [crit] 13#13: *406812 mkdir() "/var/cache/nginx/uwsgi_temp/9/07" failed (28: No space left on device) while reading upstream...

2022/01/15 22:44:37 [crit] 13#13: *406820 pwritev() "/var/cache/n ...
Score: 2
PhilHarmonie avatar
403 in nginx when accessing a directory
cn flag

I made a very simple server to test how a URL with folder behaves in nginx. Nginx is running in docker (nginx:latest image). Nginx runs user nginx (default set in /etc/nginx/nginx.conf).

server {
        server_name example.com;

        location /test/ {
                root /var/www/test;
                index index.html;
        }
}

and this structure:

/var/www
└── test
    └── index.h ...
Score: 0
Unable to connect GCP SQL Instance from GKE cluster
cn flag

I have created a vpc-native cluster and I am trying to connect from a pod inside the cluster to a postgres SQL instance with a private IP.

I am testing using a basic telnet 5432 command.

The connection works fine when I try it from a GCE instance that is in the same VPC. All connectivity tests in GCP are giving me green light so it seems to be a k8s issue.

Here is my cluster:

gcloud container clu ...
Score: -1
WP-CLI doesnt run from cronjob
cn flag

I have a bash script which is retrieving the information from my database, based on the information it gets creates some folders containing the WP files on each one and then makes the setting. The script works perfect when I call it manually however the WP CLI dosent work when is called from my ubuntu Cronjob

Here is the bash script:

#!/bin/bash 

set -f        # disable globbing
IFS=$'\n'     # set f ...
Score: 1
Soroush Bgm avatar
Load balancing: how to find the fastest route to a user
us flag

I’m thinking about it like a week. Consider that we have a load balancer server, and two storage servers, X and Y. A user connects to load balancer. Load balancer should decide which of that two servers could have the fastest route to the user, then redirects the incoming request. Please note that the choice must have the fastest response to user. Not to load balancer. Any ideas?

Score: 0
error404 avatar
Docker station Iptables task
vn flag

I have a virtual machine running on VBox. This VM contains the host and three dockers, let`s name the dockers as the_first, the_second, the_third.

I want to apply a filter on network firewall with iptables that can do this:

Running through the host and set this from terminal:

To block all connections that are going to the second docker but(all connections) but in the same time to allow some protocols l ...

Score: -4
Doug Null avatar
Not getting faster Internet speed after aggregation of two Verizon gateways
is flag

I want to increase Internet speed by using two Internet gateways instead of one.

I have two Verizon home-Internet-LTE gateways.

Both are connected to a TP LINK TL-SG116 Switch, which has IEEE802.3ab (link aggregation) and also 802.3 802.3i 802.3u 802.3x 802.1p

But, laptop plugged to switch only gets ~55 Mbps download speed, with both gateways.

With one Verizon gateway, laptop sees ~55 Mbps.

I have  ...

Score: 0
user3877654 avatar
Ambassador load-balancer is empty
hk flag

I am new to Ambassador and trying to debug some installation issues. I am following these instructions https://www.getambassador.io/docs/edge-stack/latest/tutorials/getting-started/ and getting stuck at step 3

My load balancer does not seem to connect properly $LB_ENDPOINT is empty

"status": {
        "loadBalancer": {}
    }

One big problem is that I do not know how to access the logs. All of my po ...

Score: 2
CodePlay avatar
Not Able To Access Google Cloud Bucket From VM?
cn flag

I am trying to transfer files from cloud bucket to VM. I am getting below error:

ServiceException: 401 Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object.

How to resolve this issue?

Score: 0
maloo avatar
How are Kubernetes persistent volumes related to AzureDisks in AKS?
cn flag

Say I have One K8s node with Two pods. Each pod claims 5Gi of PV storage. The provisioned AKS VM (node) has a 32GiB SKU SSD AzureDisk data drive.

Will/can both of the 5Gi K8s volumes be located on the same AzureDisk?

If one AzureDisk is required per K8s volume, why would you claim anything but the AzureDisk SKU storage size for a pod (assuming you target only Azure)?

If one AzureDisk can be shared betw ...

Score: 0
lriley avatar
Using mail as the subdomain for webmail?
cn flag

I recently purchased a domain and I am planning to use the subdomain smtp.example.com for my mail server and mail.example.com to host my webmail app. Could there be any issues with using mail for something other than a mail server?

Score: 1
How to ensure Cloud-Init runs exactly once and once only?
us flag

As far as I can see, cloud-init runs every time the config changes. Not just the very first time the system boots, but every time the provided configuration changes. This makes somewhat sense, as I guess it's hard to define the "first time" (the cloned VM already ran before being frozen and used as template, so it's never really the first time). However, I've—from time to time, quite rarely, but st ...

Score: 1
Nstevens avatar
Why is my nginx rate limiting not working?
br flag

I have Nginx in front of apache to terminate SSL and filter things. I'm trying to get rate limiting working using these docs.

When I test a loop of 10 requests with curl, all the requests for /mytest/ are still being forwarded back to Apache - 8 of them show the same timestamp down to the second. I'm expecting only one request/second should reach Apache. What have I overlooked?

My curl command:

for i in  ...
Score: 0
snmp server not receives data
cn flag

enter code hereI have a problem when using the snmp and the server receives data, The service is running correctly and the port is listening

I do a snmpwalk -v 2c -c mycommunity 192.168.1.82 (which is the same) and it answers me and a snmpwalk -v 2c -c mycommunity localhost and also, that is, the service is working but it does not respond from any machine other than her same a sudo netstat -tulpn | grep ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.