Recent Questions - Server Fault |
- How to trigger a condition alert like an if else statement in solarwinds
- How to check in what request-response mode my HAProxy is operating in?
- VM Logical Volume shown on Host
- Getting SERVFAIL / NOTAUTH on Zone Transfer - ISC BIND 9
- redundant load balancer for Tomcat
- error 17054 severity 16 state 1 sql server 2014 enterprise edition
- How to copy a file to aws ec2 instance and use it in the user-data?
- Kubernetes nginx ingress: How to redirect foo.example.org to example.org?
- DNS was changed but I was still seeing old site
- How to disable IGMP in Raspbian
- sshd is already running though keeps trying to start
- How to create subdomains using nginx and proxy_pass for each
- Linux diskless boot - NFS share not mounting during ramdisk boot
- Deleted printers keeps coming back - and multiply
- How to start a new instance of QEMU based on the same image and snapshot?
- smb share takes forever to connect to from Mac OS X 10.7-8
How to trigger a condition alert like an if else statement in solarwinds Posted: 19 May 2022 11:22 AM PDT I'm a little confuse on how to deal with the alerts using Solarwind's trigger condition. I want everything to be optimized well in alerting us, what I want to happen is 1. IF the router is DOWN it only alerts the router and not both AP and SWITCH. 2. but if either the AP or SWITCH is down alert them only. on the statement 1. I have configured the condition, I can alert the router only and it does not alert both AP and SWITCH, and that is fine. but on my condition when the AP or the SWITCH is down it does not throw any alerts because of the condition I made. Please see the picture so visualize on how it will work.
Thank you. |
How to check in what request-response mode my HAProxy is operating in? Posted: 19 May 2022 11:16 AM PDT I have read that Load balancers/reverse proxies usually have 2 operation modes.
How can I check what mode my HAproxy is operating in and how can I switch from one mode to other |
VM Logical Volume shown on Host Posted: 19 May 2022 09:55 AM PDT Some context, I've builded an Opennebula cloud (https://opennebula.io/). I've been using it for more than 2 years now without any issue on that side. Recently i've noticed a strange behavior. On my hypervisor which are the servers who are running libvirt and the KVM I am able to see to logical volume of a guest. Morever as I am using an LVM datastores to operate Opennebula I see all logical volume of all the recent guest.( This does not apply for the old VMs) Here the example. Not really asking on Opennebula way of working but more around KVM. Why for some and only some of the guest logical volume are displayed on the host ? |
Getting SERVFAIL / NOTAUTH on Zone Transfer - ISC BIND 9 Posted: 19 May 2022 09:18 AM PDT I have two BIND servers running BIND 9: The master server is at 172.16.19.243 and the secondary at 172.16.19.251. They can ping each other and port 53 is open on both. Both used to work, but some new code was pushed in our automation and both lost network access for around two hours. It is possible the configuration was changed. The secondary shows no zone files in /etc/named/. Zone transfers fail: /var/log/named/zone_transfers on the primary show: The problem is not resolved by running Querying A records and PTRs from the internet to master works. Doing the same to the secondary now fails: The /etc/named.conf of the master is shown below: /etc/named/16.16.172.in-addr.arpa on the master is as follows: Again, no DNS lookups for any record works on the secondary, but all work on master. No zones transfer from the master to the secondary. All zones and configurations are generated programmatically, so if there is an error in one zone, it will be present for all. No other errors of note have been found in the logs. No SELinux denials on either server. Permissions of /etc/named/ are 0770 root:named system_u:object_r:named_conf_t:s0 on both servers. Removing all .jnl files did not help (there was only one on the master, and not in /etc/named). What could be the cause? Thank you. |
redundant load balancer for Tomcat Posted: 19 May 2022 10:00 AM PDT I have three Tomcat webservers in a VMWare cluster. In the first place we thought of using Apache as a load balancer in physical server but this would be a SPOF. I have searched around and I found this discussion but I would need some more info. Does it make sense to include the two (or more) HAProxy servers as virtual machines and not run them on physical servers? Can this active-passive configuration be configured using Apache? I have searched around and I found many active-passive configurations for Apache BUT as Web Server, not as a load balancer. |
error 17054 severity 16 state 1 sql server 2014 enterprise edition Posted: 19 May 2022 09:12 AM PDT Our new database is just inaccessible. I have tried to find it in the error log and find this error during that time. So when we went to the Configuration manager. we were seeing Browser service, SQL Agent, and SQL Server services were stopped, and then tried to restart it just hung and because of that, I have to do a reboot. It is a production server and this is a recurring issue. It happened a month ago and last week it happened and also it happened today. So my DBA has repaired the SQL instance to make the server operation. I am not seeing any issue with database integrity though but I could not find the resolution yet. This is a SharePoint database. Do you have this kind of situation? How did you solve that? |
How to copy a file to aws ec2 instance and use it in the user-data? Posted: 19 May 2022 11:11 AM PDT I have an rpm file, which I want to install using user-data of ec2-instance using terraform. I got file provisioner in a search result, but found that it will do the step after user-data. Any suggestions how to do that? Please suggest. |
Kubernetes nginx ingress: How to redirect foo.example.org to example.org? Posted: 19 May 2022 09:35 AM PDT My ingress currently looks like this: But now I want to redirect I found this example using I'm using Helm |
DNS was changed but I was still seeing old site Posted: 19 May 2022 09:03 AM PDT I am facing a weird problem. I have a domain which is pointed to a server where my site is hosted, now the DNS of the domain was mistakenly changed to something else and it started pointing to somewhere else, but I was still able to see, login and edit that website but when someone tried to access it from some other country it started giving him error What could be the possible that I was still able to see all this even though DNS was changed?? |
How to disable IGMP in Raspbian Posted: 19 May 2022 10:02 AM PDT I am writing testcases for the IGMP and MLD implementation of a network switch. Those testcases run on Raspbian. However, Raspbian seems to regularly send IGMP reports/queries of its own, which interfere with my testcases. How can I disable those packets, either globally or for a given interface? I have seen this answer, but had no luck in figuring out which process generates the IGMP traffic. I do not have any applications installed that require multicast groups, to the best of my knowledge. Because I need to send and receive IGMP with Scapy for the testcases, just blocking IGMP in the firewall is not an option. Here is the traffic in question: I am using: |
sshd is already running though keeps trying to start Posted: 19 May 2022 08:59 AM PDT I have a Centos 7 server and sshd is running and accepting connections just fine. The problem is, that messages;
secure;
Today my server failed. SSH went as well requiring a hard reboot and I want to make sure sshd is as solid as it can be so I can rest assured if it can be up, it will be up. Thanks. EDIT EDIT #2 |
How to create subdomains using nginx and proxy_pass for each Posted: 19 May 2022 10:02 AM PDT I currently have nginx setup for my server at I have an Question The above works fine. However, now I would like to change how I access What configuration changes do I need to make for this to take effect? Additionally, I would like to keep configuration settings for each application in its separate file. |
Linux diskless boot - NFS share not mounting during ramdisk boot Posted: 19 May 2022 09:03 AM PDT (This is my first post so hopefully I'm formatting it correctly). I've added in as much information as possible without being TL:DR. My basic issue is that I hit walls when trying to do a PXE diskless boot to an NFS server (CentOS 6.7 or CentOS 7). I have tried various things and I can't seem to replicate the success that I initially had with a CentOS7 server and client. Every time I follow my notes now I'm getting nowhere. The most common errors I am getting (depending on what initrd.img file or initramfs*.img I use) is Then it times out and says The above error occurs when I copy (any of) the initramfs-3.10.*.img from /boot/ to the PXE image location. If I try to generate a new initramfs image file from dracut, it also throws the above error. It could be that I either don't know how to generate a proper initramfs or I'm really not understanding the initrd.img and initramfs functions. I believe that the timeout is happening because the NFS drivers are not yet loaded at that stage of the boot process so the client cannot properly mount the NFS share. The reason I think this is because I've booted up the exact same PXE client into its local OS and manually mounted the NFS share and it works 100%, so the NFS share is active, and works. I believe that I have the wrong understanding of how initrd.img and initramfs*.img work. If I download initrd.img from a CentOS mirror site, I get 90% of the way there and then the error changes to I am now in a (for want of a better term, half-loaded) shell that gives me basic navigation of the NFS share. I can go to the /home/disklessuser/ and even write to the NFS or read new files from the NFS (tested simple 'touch' commands on both server and client). What seems to be missing, primarily, is the login option in this instance, as well as a proper boundary for the directories (i.e. I seem to be logged in as root at this point in the boot-up). The basic configuration is pretty standard AFAIK: /var/lib/tftpboot/pxelinux.cfg/default contains (I've left out the bits that I know work - the PXE works and points to the right image etc): I've tried variants of the above, like replacing the initrd.img with initramfs3.10*.img (various versions located in the server's /boot/) and have tried adding in parameters like because dracut documentation suggests this will tell it to get the nfsroot path from DHCP instead of the PXE menu. I've currently got my DHCP configured as so: Possibly this is conflicting with the NFS share prescribed in the PXE menu? Anyway, I would appreciate any guidance - perhaps most pertinently for me is what to do about the initrd or initramfs. I presume there's not much different about both, but how would one generate a new one that should (hopefully) include basic network drivers to allow an NFS mount? Secondly, why is /sbin/init missing when I'm near as heck at the solution when I use the initrd.img stored in the CentOS mirror directory under /os/x86_64/isolinux ? |
Deleted printers keeps coming back - and multiply Posted: 19 May 2022 09:08 AM PDT My users are on 2012 R2 RDS Session Host servers. I've used "Deploy Printers" (from Print Manager) to deploy 4 printers. The last week, I've had a lot of problems where users can't print. If I deleted the printer and added it again, they could print just fine. Now I've removed all printer deploying from GPO - and I have no printers in any login scripts. I did a gpupdate /force, but all the 4 printers are now listed 3 times... If I delete the printers and log off and back on, all the printers are popping up again. Sigh! This is driving me nuts. This script doesn't show any of the "SVFREJA" printers... It gives me this result... (sry for the big picture) My problem is not with the "redirected" printers, my problem is that I have several printers with the same name (on SVFREJA) and I can't get rid of them. Any idea why I can't get rid of the "ophaned" printers?? |
How to start a new instance of QEMU based on the same image and snapshot? Posted: 19 May 2022 11:00 AM PDT I have a QEMU image (qcow2) with a snapshot stored in it. Right now I'm using libvirt to start it. However, I want to be able to run more than one instance of the same image snapshot. I guess I can do that by cloning the virtual-hd and installing/creating a new domain (virsh) and then running revert from snapshot. But I want to be able to do that pretty much "on-the-fly" with as little as possible latency from the time I decide I need to run another instance of image X to the time that instance is running from the stored snapshot. (I wan't to avoid writing to the hard-drive as possible) Anyone did anything like that? I started thinking maybe libvirt is not low-level enough for this? |
smb share takes forever to connect to from Mac OS X 10.7-8 Posted: 19 May 2022 11:00 AM PDT Ive got a dozen users and half of them take forever to connect to the smb share coming from a windows server 2008 r 2 standard server. Some users instantly connect with no issue. These Mac OS X workstations have been clean formatted to see if it was a OS issue but still some take forever to connect. I am wondering if there is something on the server side that can assist. |
You are subscribed to email updates from Recent Questions - Server Fault. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment