ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. anthonyh
    3. Posts
    • Profile
    • Following 1
    • Followers 0
    • Topics 56
    • Posts 519
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: XenServer 6.5 Troubleshoot HBA SR Disk Space

      @DustinB3403 said in XenServer 6.5 Troubleshoot HBA SR Disk Space:

      I had the same thing happen with my home lab (granted single host) but what happened was I was out of space on the array for the hypervisor, from snapshotting and VM space (also non-thin provisioned).

      And was using the total array, even after removing snapshots. I checked with the XS forums, they said to reboot the hypervisor.

      insert expletive here

      So, the reason why this is a problem is because I cannot take snapshots of said VM. And because I cannot take snapshots, I cannot (easily) back it up.

      I wonder if I can cycle through the hosts and reboot them one at a time...if that would work.

      Or, I can take the shortcut and make the SR bigger...but then that's just wasted disk space.

      Hmmm...

      posted in IT Discussion
      anthonyhA
      anthonyh
    • RE: XenServer 6.5 Troubleshoot HBA SR Disk Space

      @DustinB3403 said in XenServer 6.5 Troubleshoot HBA SR Disk Space:

      Reboot the hypervisor. I had an issue like this on my home lab, the files just can't get cleaned out, but are marked for removal.

      Really?? This is a 16 host pool....I can't just reboot. lol

      posted in IT Discussion
      anthonyhA
      anthonyh
    • XenServer 6.5 Troubleshoot HBA SR Disk Space

      I need help troubleshooting one of my SRs.

      I have a ~2 TB HBA SR that has two virtual disks (20 GB and 1024 GB respectively) attached to one VM. XenCenter reports that the SR has 1793.2 GB used. There are no current snapshots for said VM as far as XenCenter can see. I suspect there is some back-end cleanup that needs to happen. Screen shots for those who are visual:

      0_1462211804995_SRtrouble1.JPG


      0_1462211829590_SRtrouble2.JPG


      0_1462211853712_SRtrouble3.JPG

      Now, in the world of thinly provisioned EXT4 SRs, I'd simply cd do the SR and delete virtual disks that I knew were no longer needed. However, in this case, it doesn't look the same.

      Any suggestions?

      posted in IT Discussion
      anthonyhA
      anthonyh
    • RE: Windows Task Scheduler Question

      You know what I just realized...the Task Scheduler gives you the "Next Run Time". I should've just looked at that...

      0_1461957672855_Selection_045.jpg

      D'oh!

      posted in IT Discussion
      anthonyhA
      anthonyh
    • RE: Securing ownCloud

      I like SusanDB better, personally (sorry, couldn't help it!).

      posted in IT Discussion
      anthonyhA
      anthonyh
    • Windows Task Scheduler Question

      0_1461951033573_Selection_043.jpg

      I'd like to schedule a task to run every other Friday starting today (though the desired time has already lapsed). If I configure the trigger as shown above, will this do what I'd like? Will Windows consider the task as executed today, then execute again on 5/13?

      Thanks!

      posted in IT Discussion
      anthonyhA
      anthonyh
    • RE: Perl - Get Today's Date, Yesterday's Date, and Current Time

      @scottalanmiller said in Perl - Get Today's Date, Yesterday's Date, and Current Time:

      Um.... WHAT!!! LOL That is certainly insane.

      Yeah, that's what I'm saying!! I just need to figure out how to set these three variables...

      $dbToday = "Today's date in MM/DD/YYYY"
      $dbYesterday = "Yesterday's date in MM/DD/YYYY"
      $dbTime = "Current Date/Time in YYYY-MM-DD HH:MM:SS"
      

      I sure it can be done in less than half the current lines of code. Maybe even three one-liners. As soon as I'm off this extremely boring conference call I'll be heading to The Google. 😄

      posted in IT Discussion
      anthonyhA
      anthonyh
    • Perl - Get Today's Date, Yesterday's Date, and Current Time

      I'm working on cleaning up some Perl (5.3.3) scripts on a Windows server an old colleague of mine put together. These scripts basically check today's date and compares it to an array of dates (our holidays). If today's date matches a value in the array, it quits (i.e. doesn't run said process).

      The way he's checking the date, to me, is a bit convoluted. He's connecting to a MySQL instance on another server to grab today's date, yesterday's date, and current time (three variables).

      $database = "aMySQLdb";
      my $hostname = "10.10.10.10";
      my $port = '3306';
      $user = "auser";
      $password = "apassword";
      my $query = "SELECT NOW()";
      
      $dsn = "DBI:mysql:database=$database;host=$hostname;port=$port";
      $dbh = DBI->connect($dsn, $user, $password, {'RaiseError' => 1});
      $dbh->{LongReadLen} = 2000;
      $dbh->{LongTruncOk} = 1;
      
      my $rc;
      my @ts;
      my $dbTime;
      my $dbYesterday;
      my $holiday_flag = 'c:\perl\scripts\logs\holiday_flag';
      
      $sth = $dbh->prepare("select date_format(curdate(), '%m/%d/%Y')");
      $rc = $sth->execute;
      @ts = $sth->fetchrow_array;    
      $sth->finish;
                                      
      $dbToday = $ts[0];  
      
      $sth = $dbh->prepare("select date_format(curdate()-1, '%Y%m%d')");
      $rc = $sth->execute;
      @ts = $sth->fetchrow_array;    
      $sth->finish;
                                      
      $dbYesterday = $ts[0];  
        
      $sth = $dbh->prepare("select date_format(sysdate(), '%Y-%m-%d %H:%i:%s')");
      $rc = $sth->execute;
      @ts = $sth->fetchrow_array;    
      $sth->finish;
      $dbh->disconnect;
                                      
      $dbTime = $ts[0];
      

      I am no Perl expert (this is actually my first experience with Perl), but this seems insane. I must be able to simplify this.

      Any suggestions, oh ML wizards?

      Thanks!

      posted in IT Discussion
      anthonyhA
      anthonyh
    • RE: Raid 6 Amateur File Server Setup Questions

      @scottalanmiller said in Raid 6 Amateur File Server Setup Questions:

      @anthonyh said in Raid 6 Amateur File Server Setup Questions:

      If I understand correctly, you're looking to set up a "NAS" basically, right? If that's the case, I would recommend looking into something like FreeNAS/NAS4Free/OpenFiler. These are *NIX distributions geared towards the system being a file server. There are other features built in that you may or may not benefit from, but it may be worth it over running Win10 on the box.

      FreeNAS and NAS4Free I would generally avoid (re: Jurassic Park Effect) as was mentioned. OpenFiler you need to run far, far away from. It's been out of development for many years, it's based on a system that vanished even longer ago, it's unpatched and was unstable and totally useless even when it was "current." They actually designed in data loss to coerce their users into paying for support or "upgrades" to fix the bugs that they included.

      https://community.spiceworks.com/topic/373443-why-we-recommend-against-openfiler

      I had no idea about OpenFiler. That's terrible. Glad I never used it!!

      FWIW I always configure NFS and or SMB on a minimal Linux install if I need a file server. I think platforms like FreeNAS have their place (when used and understood appropriately). I do agree that it's very beneficial to understand what's going on under the hood.

      posted in IT Discussion
      anthonyhA
      anthonyh
    • RE: Raid 6 Amateur File Server Setup Questions

      @marcinozga said in Raid 6 Amateur File Server Setup Questions:

      @anthonyh said in Raid 6 Amateur File Server Setup Questions:

      If I understand correctly, you're looking to set up a "NAS" basically, right? If that's the case, I would recommend looking into something like FreeNAS/NAS4Free/OpenFiler. These are Linux distributions geared towards the system being a file server. There are other features built in that you may or may not benefit from, but it may be worth it over running Win10 on the box.

      I've had very good success with software RAID under linux. mdadm has served me well. I've done RAID 1, RAID 5*, and RAID 10 and all performed nicely.

      *Avoid RAID 5 like the plauge. I had an older PPC G5 Xserve running Debian set up in my garage not doing anything important. Those things could only hold three 3.5 inch drives. If I was able to put a 4th drive in I would've totally gone RAID 10.

      FreeNAS and NAS4Free and BSD based. OpenFiler is Linux based, however, it's abandoned project. It hasn't been maintained for years. And even then, it wasn't any good.

      My bad. You're right. My brain erroneously clumps BSD/Linux/UNIX together from time to time.

      posted in IT Discussion
      anthonyhA
      anthonyh
    • RE: Raid 6 Amateur File Server Setup Questions

      If I understand correctly, you're looking to set up a "NAS" basically, right? If that's the case, I would recommend looking into something like FreeNAS/NAS4Free/OpenFiler. These are *NIX distributions geared towards the system being a file server. There are other features built in that you may or may not benefit from, but it may be worth it over running Win10 on the box.

      I've had very good success with software RAID under linux. mdadm has served me well. I've done RAID 1, RAID 5*, and RAID 10 and all performed nicely.

      *Avoid RAID 5 like the plauge. I had an older PPC G5 Xserve running Debian set up in my garage not doing anything important. Those things could only hold three 3.5 inch drives. If I was able to put a 4th drive in I would've totally gone RAID 10.

      posted in IT Discussion
      anthonyhA
      anthonyh
    • RE: Charter-Time Warner Deal approved by FCC and DoJ

      Interesting. I had no idea. I'll have to keep up on this since I'm in Charter territory. I'm currently using U-verse (which I'm happy with), but I'm curious to see how this may change Charter's service offerings in the near future.

      posted in News
      anthonyhA
      anthonyh
    • RE: Backup MX or no?

      Well, I don't think you'd ever lose mail, but like @scottalanmiller said, it's not within your control. What should happen is once the sending MTA reaches it's retry limit, it should bounce the message back to the originating account.

      posted in IT Discussion
      anthonyhA
      anthonyh
    • RE: OSX Server - Free?

      @scottalanmiller said in OSX Server - Free?:

      @anthonyh said in OSX Server - Free?:

      @scottalanmiller said in OSX Server - Free?:

      @Jason said in OSX Server - Free?:

      @scottalanmiller said in OSX Server - Free?:

      And it used to be just a collection of things that were already free. Like OpenLDAP and Samba.

      Yep. I think it has some SMTP server in there too. Not sure which.

      I would guess Sendmail, just because that feels like something Apple would choose.

      At a previous job of mine we used PPC Xserves (back in the OS X 10.3/10.4 days) and Apple's "mail" implementation was vanilla Postfix. I don't know if that's true today.

      That's pretty sad, but at least it was Postfix and not Sendmail.

      I forgot to add. Their webmail interface was vanilla Squirrel Mail, too (or maybe, at the time, there was no webmail interface and we set up Squirrel Mail...I can't remember now). In any rate it was pretty ugly.

      posted in IT Discussion
      anthonyhA
      anthonyh
    • RE: Got pre-approved for a Mortgage woohoo!

      Yeah...the lender we used for our first house (Wells Fargo Home Mortgage) asked us for the same documents 100 times. After about the 10th time I would reply with more angry versions of "you already have that." Unfortunately that response did not work. 😄

      The lender we used for our second house (a lady our realtor had a good relationship with...I forget the name of the broker) was better. Only asked for a couple documents more than once. Though this round we put down full 20%. Before we were lowly FHA buyers during the housing crisis so things were stacked up against us...but we prevailed!

      posted in Water Closet
      anthonyhA
      anthonyh
    • RE: OSX Server - Free?

      Once I retired their OS X mail server (moved them to Zimbra, but they've since migrated to Google Apps), the only reason we kept an OS X server around was for Apple's Workgroup Manager (the Apple version of Group Policies more-or-less).

      posted in IT Discussion
      anthonyhA
      anthonyh
    • RE: OSX Server - Free?

      @scottalanmiller said in OSX Server - Free?:

      @Jason said in OSX Server - Free?:

      @scottalanmiller said in OSX Server - Free?:

      And it used to be just a collection of things that were already free. Like OpenLDAP and Samba.

      Yep. I think it has some SMTP server in there too. Not sure which.

      I would guess Sendmail, just because that feels like something Apple would choose.

      At a previous job of mine we used PPC Xserves (back in the OS X 10.3/10.4 days) and Apple's "mail" implementation was vanilla Postfix. I don't know if that's true today.

      posted in IT Discussion
      anthonyhA
      anthonyh
    • RE: Got pre-approved for a Mortgage woohoo!

      Nice! Having bought two homes and sold one...I wish you well. My only advise is to go against the advice of "buy as much home as you can afford." We were told that when we bought our first home and I was very glad I did not listen to that advise. Buy what fits your lifestyle and results in a comfortable mortgage payment. There is not much fun being "house poor." I've known too many folks in that situation.

      When we bought our first house, it was near the rut of the recession (mid 2009). There were a ton of offers on the home we wanted. I was in the middle of a meeting at work when our relator called and was all, "OK, so the selling agent called me and said that there are a dozen or so offers...she's asking for us to put our best foot forward." So we did and re-did the offer at the maximum we were comfortable with. We won. Then came the appraisal. The house appraised at our initial offer! The bank (the house was an REO) cut their loss and sold us the house at the appraisal/our original offer. That was nice. The mortgage application process...nightmare...but we made it.

      We bought our second home with the contingency of selling our first. We had a couple of projects we needed to finish before the house was in what I considered "listable" condition. The contractor we had lined up kept falling through, and so his start date kept getting pushed back which was very stressful...especially since my wife fell in love with a house already and our offer was already accepted. It all worked out, though.

      posted in Water Closet
      anthonyhA
      anthonyh
    • RE: Backup MX or no?

      @aaronstuder said in Backup MX or no?:

      @anthonyh said in Backup MX or no?:

      This article was written around a specific mail platform, and is roughly 4 years old, but I'm curious on y'all's opinion. It's an argument against a secondary/backup MX.

      https://blog.zensoftware.co.uk/2012/07/02/why-we-tend-to-recommend-not-having-a-secondary-mx-these-days/

      When I read this, I don't read don't have more then 1 server, I read don't have more then 1 MX record. Am I wrong?

      It's seems they are saying, making your backup MX provider your MX record, and then let them forward to you. Am I missing something here? I know you can have 2 MX records, but I thought have just 1 was more common, then letting the backup provider forward to you.

      I don't think so. That would be the better solution though. You'd have a predictable path "mail always comes from X" and wouldn't need to futz with spam rules and whatnot.

      posted in IT Discussion
      anthonyhA
      anthonyh
    • RE: Backup MX or no?

      @BRRABill said in Backup MX or no?:

      Understood, but I wonder what reality is.

      In my experience it has been good, but I really don't have a scientific way of evaluating this. From what I understand, Postfix is configured to 5 days by default.

      posted in IT Discussion
      anthonyhA
      anthonyh
    • 1
    • 2
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 23 / 26