Latest Server related questions

Score: 0
howto make nginx with failover with containers that potentially don't exist
cn flag

I would like to use Nginx in front of a number of dockers containers, some of which (known) may be missing. Make sure that nginx does not block on "host not found" and stop the container which then restarts in a loop!

upstream frontend-ups {
        server frontend:80 max_fails=3 fail_timeout=5s;
        server 127.0.0.1 backup;
}
upstream api-ups {
        server api:8080 max_fails=3 fail_timeout= ...
Score: 0
Tomasz avatar
Dell PowerVault MD3420 - controller cache issues
ca flag

My MD3420 has a data corruption issue. Some of the Windows VM disks are shown as RAW instead of NTFS now. I've looked into the MD event logs and found these disturbing entries :

  • RAID controller module reset its alternate
  • Cache recovered unwritten data/parity
  • RAID controller module consistency lost

The firmware is up to date.

Score: 0
user001 avatar
Readiness probe failed: HTTP probe failed with statuscode: 503 after installing Cilium on Kubernetes cluster
us flag

I'm new to Kubernetes world .Followed InstallKubernetesI have installed Kubernetes cluster with 1 master node and 2 worker nodes.I used kubeadm to install on master node on my local machine.After installing CILIUMQuickInstallation,my coredns pod is Running but not ready

[root@master-node ~]# kubectl describe pod coredns-64897985d-cfpvn -n kube-system
Name:                 coredns-64897985d-cfpvn
Na ...
Score: 0
Keval Bhogayata avatar
How to choose a valid VIP for kube-vip HA Cluster setup?
in flag

I am following this reference https://kube-vip.io/control-plane/ for HA cluster setup. I want to setup 3 master - 1 worker cluster for testing purpose.

The documentation uses 192.168.0.75 as VIP, but not mentioning how they got this IP

As I am using digitalocean droplets for Kubernetes, I tried using IP from VPC IP range, say it is 10.x.y.z for kubeadm init which is same for all the droplets. But, I am no ...

Score: 0
Additional Bind caching nameserver next to domain controllers
kr flag

In an environment where I already have two domain controllers acting as name servers I would like to run the Bind cache server installed on Ubuntu 20.04.3 LTS to act as nameserver for specific hosts. Domain controllers use ISP DNS as forwarders.

I was using this tutorial: https://kifarunix.com/setup-caching-only-dns-server-using-bind9-on-ubuntu-20-04/

Ubuntu Server with Bind IP: 192.168.1.240, DC1: 192 ...

Score: 0
Use cgroups to limit *per process*
cw flag

I need to limit the CPU usage of each individual process in a group (not just all processes in the same group).

My current config is like this, and I think it limits the total cpu usage of the processes in the group. I have tried searching for this, but haven't really found anything.

group browsers {
     cpu {
         cpu.cfs_quota_us=1000000000;
     }
}

cgrules.conf:

# user:process                 ...
Score: 0
How to configure service log format?
mx flag
bux

I have a service, for example :

[Unit]
Description=My app
PartOf=myorg.target
After=network-online.target

[Service]
Type=notify
User=myuser
NotifyAccess=main
ExecStart=/usr/bin/my_app
Restart=always
RestartSec=1s

[Install]
WantedBy=myorg.target
Alias=myapp.service

Its logs are visible in journalctl. One log example :

Feb 16 08:32:11 mycomputer-0013952a677a hapic[410613]: TheLogMessage

Format lo ...

Score: 0
rugby82 avatar
Jenkins pipeline using docker agent can't push on artifactory due to jvm cacert
cn flag

I need to push some jar files obtained during a Jenkins pipeline, to Jfrog; below the code:

stage ('Artifactory configuration') {
            when { expression { params.runDelivery } }
            steps {
                rtServer (
                    id: "artifactory",
                    url: "https://jfroglocal/artifactory",
                    credentialsId: "jfrog"
                )

          ...
Score: 0
exeral avatar
route to non-connected gateway
lk flag

I have:

  • a linux box: 10.20.0.2
  • a gateway which I have no access on it: 10.20.0.1
  • a Fortigate: 10.10.0.1

I would like to provide internet to 10.20.0.2 through 10.10.0.1

I can't add a route since 10.10.0.1 is not directly connected. How to achieve this ? I am thinking to a tunnel between 10.20.0.2 and 10.10.0.1, like GRE. not sure this is a good idea...

    ******
 ****    *****
**           **        ...
Score: 0
Daniel avatar
Missing Globalization Cultures on IIS8.5 / Server 2012R2
bn flag

I'm trying to set the culture of a website to en-ZM in the web.config of the site but I get an error:

The <globalization> tag contains an invalid value for the 'culture' attribute.

When I try to set it via IIS' interface, it seems Zambia isn't listed in the available options, although other African countries like Zimbabwe are (en-ZW).

My local machine is running Win10 and has this culture avail ...

Score: 0
What is the IP address value in the listen field?
in flag

I'm looking at an example from here: http://nginx.org/en/docs/http/request_processing.html

The listen value is the IP and port. Does this refer to the IP address of the client or the IP address of the target server? If its the later, then does this mean that 1 machine can have more than 1 IP?

server {
    listen      192.168.1.1:80;
    server_name example.org www.example.org;
    ...
}

server {
     ...
Score: 0
How to allow certbot to be able to access http://myapi.com/.well-known/acme-challenge/2d8dvxv8x9dvxd9v via nginx?
in flag

My nginx.conf file is as follows:

user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf; 
#the above include brings in the following default files:
#50-mod-http-image-filter.conf  
#50-mod-http-xslt-filter.conf  
#50-mod-mail.conf  
#50-mod-stream.conf

events {
        worker_connections 500;
}

http {
    include        /etc/nginx/proxy.conf;
    limi ...

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.