Latest Server related questions

Score: 1
Has anyone successfully booted to a local VM from a .VMDK downloaded from GCP
cn flag

Exporting a custom image to Cloud Storage I did this, then downloaded the .VMDK file one large 30gb file.

I have VMware workstation Pro 15.5 I am new to this whole VM thing. I managed to make an image of my GCP webserver instance and then saved it in my bucket to a .VMDK file and downloaded it.

The place it stalls the VM on startup

I get so far as "Clock Source: Switched clocksource to tsc" Then it stalls the Virtual Machine.

It is a Bitn ...

Score: 0
Stephen avatar
unknown variable 'file-key-management-filename'
es flag

New installation of Debian 10, with MariaDB 10.3.29. Trying to set up encryption-at-rest, but MariaDB won't start due to an error...

2021-07-16 17:13:16 0 [Note] InnoDB: Using Linux native AIO
2021-07-16 17:13:16 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-07-16 17:13:16 0 [Note] InnoDB: Uses event mutexes
2021-07-16 17:13:16 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 ...
Score: 0
mr.zog avatar
Can I relable a docker volume when I create the container?
at flag

I'm following a tutorial that wants me to use podman like this:

podman run --mount=type=bind,src=$(pwd)/data,dst=/prometheus/data,relabel=shared --publish=127.0.0.1:9090:9090 --detach prometheus:latest

But I don't want to use podman. I'm not allowed to install podman. I want to use docker but I can't see how to accomplish the relabel operation. There seems to be no analog in docker. Is there?

Score: 0
Juan Jimenez avatar
How can you update the password for an AWS ECR repo in Kubernetes?
in flag

I created a private docker registry using AWS ECR. I want to use it with a Kubernetes cluster managed by Rancher, but the password to the registry is changed by AWS every 12 hours. How do I keep it updated as a secret in the cluster?

Score: 1
Database backup best practices
ph flag

For my current project, I'm using Aurora RDS and I'm looking for some advice on best practices in terms of backing up the database. My thought is to use AWS Backup to backup the database to 3 separate locations (one in the West Coast, US, one in the East Coast, US, and one in Europe) and keep the backups for 30 days. Is this a responsible backup strategy or should I have additional safeguards in place ...

Score: 0
Siddharth R avatar
redirect to different domain name without breaking the embeds
in flag

Is there a possibility to redirect the links from 1.xx.com/1.jpg to 2.xx.com/1.jpg in NGINX without breaking the embeds?

I understand, a normal rewrite rule can make it happens. When some users click on the link they will be taken to the redirected URL. But the problem is what happens to the embeds.

If some websites have embedded the image using its old URL and if someone browses that webpage, do th ...

Score: 4
Can you temporarily turn off database changes in Microsoft SQL Server?
ru flag

In a coming update, I will need to convert multiple tables in our server from UTF-16 to UTF-8. I expect this will take multiple hours.

Is there a good way to turn off INSERTS and UPDATES, but still allow SELECTS in the database?

Or do I need to block changes at the business level / turn off the database while the update is happening?

Score: 2
How to *actually* exclude a directory in AWS S3 sync?
in flag
DMJ

The aws s3 sync command has an --exclude flag which lets you exclude a folder from the sync. However, even though the files are not uploaded from that directory, the command still looks at and processes all the files in that folder. The reason I wanted to exclude that folder in the first place was because it is a very large folder containing a lot of data, with the data I actually want to sync bei ...

Score: 0
Nginx distribute traffic based on hostname for both http and https
us flag

I'm currently using nginx to forward ssl traffic like this:

stream {
    map $ssl_preread_server_name $name {
        host1.org host1;
        default host2;
    }

    upstream host1 {
        server host1:443;
    }

    upstream host2 {
        server host2:443;
    }

    server {
        listen *:443;
        proxy_pass $name;
        ssl_preread on;
    }
}

I would like to extend this so that HT ...

Score: 0
Prashobh K V avatar
How to configure Apache2.4 to get URL path from distribution (dist) directory?
in flag

I am trying to get URL resource loaded using Alias but it is not working for dynamic URLs

DocumentRoot /var/www/dist/ Alias / /var/www/dist/

But when we refresh the page The requested URL was not found on this server. shows up, so can anybody suggest me how to work it out so that if even the page is reload the the content of the URL stays there itself

example:-

(Currently) URL abc.com/services/list ( ...

Score: 1
neUrONDf avatar
How should we automount home directories stored at different NFS paths at /home/$USER?
ve flag

We're currently transitioning to storing all of our organization's user information in Red Hat IDM (FreeIPA). We have several thousand users, and mount user home directories over NFS from a NetApp filer. On the filer, home directories are stored in 50+ subdirectories spread across more than a dozen volumes depending on their account type & organizational role.

We would like to change where we ...

Score: 0
How to pass through SSL traffic on nginx based on SNI?
us flag

In my current nginx configuration, I have multiple

server {
  listen *:443;
  servername my_server_name;
  ...
}

blocks. These blocks are managed by third party software and cannot be changed by me.

I can easily add another domain which is ssl-terminated by nginx by adding another block.

However, I would like to add a domain which is not ssl-terminated on this nginx server, but passed through to a ...

Score: 0
OpenStack Wallaby Neutron unable to update Designate zone
br flag

So … I'm trying to get neutron to update designate zones. There initially wasn't any issue with OpenStack Victoria, but trying to update to (or install a fresh) OpenStack Wallaby turned this into a dead-end.

I've deployed both OpenStack Victoria and OpenStack Wallaby the exact same way with kolla-ansible, some configuration changes but for the neutron and designate configuration there hasn't be ...

Score: 0
some user avatar
How to route docker container traffic to another interface
cm flag

I have a host with multiple interfaces (eth0/eth1). With eth0 and eth1 both have internet access. The host have its default route set to eth0.

I have several docker containers that I want them to send their traffic out via eth1. But because the default route on the host, their traffic all NAT'd to eth0.

How can I change the route such that all traffic originated from docker containers got routed (an ...

Score: 0
Bill R avatar
Google VM recovery
ca flag

I need help recovering from a really boneheaded mistake with my Google VM.

I inadvertently removed NetworkManager from the VM and am hoping someone knows how to recover from this the Google cloudshell.

The OS is Rocky 8.4.

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.