ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. automation
    Log in to post
    • All categories
    • 1

      Scripting remote BIOS upgrades & changes on Supermicro

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion devops supermicro automation bare metal
      1
      2 Votes
      1 Posts
      569 Views
      No one has replied
    • EddieJenningsE

      Script for Creating VMs from Template VM in KVM

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux kvm bash automation
      9
      0 Votes
      9 Posts
      1k Views
      1

      @EddieJennings said in Script for Creating VMs from Template VM in KVM:

      @travisdh1 said in Script for Creating VMs from Template VM in KVM:

      @EddieJennings said in Script for Creating VMs from Template VM in KVM:

      @Pete-S said in Script for Creating VMs from Template VM in KVM:

      Not the exactly the same thing but you might want to look into how to create a VM from scratch.
      Meaning a script that will set up a VM with vCPU, memory, storage, network etc and then boot it from iso and have it do an unattended install, create what users you want and install the packages you need.

      That's one of the next things I'm looking into.

      @EddieJennings Also remember about things like kickstart in RedHat based operating systems. In Fedora/CentOS/RHOS you can use a kickstart file to automatically select all the install time options for the OS. A short time later you've got a fresh server and all the time it took you to setup was running the creation script on your hypervisor.

      One of the things I'll need to figure out going the Kickstart route is setting the hostname what I want it to be at the time of installation. Likely not difficult to do, I just have to figure it out. Or perhaps, I can just truly take the approach of just making a clean minimal install, and then later configure to whatever specific thing I'm wanting the VM to do for my lab / testing.

      Inside the kickstart file you'll find something like this:

      network --hostname=centos8-4.example.com

      We use debian as our goto and then it's called a preseed file. The only real thing that can be tricky is to tell the installation what kickstart/preseed file you want to use. You can do it in different ways. If you don't want to rely on dhcp/tftp/pxe etc you can roll your own iso file. I think the kickstart file can also be mounted as a drive that the installation will detect when it starts.

      I think the best approach is to make an automated installation with same basic settings and some of those will get changed later in the installation. For example you can use a fixed hostname that is later changed from ansible.

    • WrCombsW

      what is automation? How does it work?

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion wrcombs automation how-to
      15
      0 Votes
      15 Posts
      1k Views
      DashrenderD

      @WrCombs said in what is automation? How does it work?:

      @scottalanmiller said in what is automation? How does it work?:

      @WrCombs said in what is automation? How does it work?:

      @Dashrender said in what is automation? How does it work?:

      There are multiple ways to get automation. Simplest might be to write a script that copies files and execute that script using Task Scheduler (a windows service that allows you to execute tasks based upon a specific schedule).

      Thanks - Got more information now:
      I need to be able to automatically send a folder to compressed zip.
      Then automate the import and publish.

      The more information I get the more confused I become about all of this.

      The first step to automating a task is defining how you would do it manually. Start there. That doesn't mean the automation will just copy that, but it helps to understand what you are doing today, before you figure out how to do it automatically tomorrow.

      Do it here?
      I mean, That's fine with me.

      I would make a new thread about that specific task, and you could toss a link in here to that.

    • AdamFA

      Automated Provisioning - KVM & CM tools

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion kvm ansible saltstack automation libvirt
      11
      1 Votes
      11 Posts
      1k Views
      AdamFA

      @stacksofplates said in Automated Provisioning - KVM & CM tools:

      @fuznutz04 said in Automated Provisioning - KVM & CM tools:

      @stacksofplates said in Automated Provisioning - KVM & CM tools:

      Terraform will do this and I have an Ansible role to do it also.
      As @IRJ mentioned Vagrant will work also. However I feel Terraform is a better fit as you have more control over the specific pieces of your infrastructure.

      You would still prefer Terraform over Ansible for this as well?

      Yeah. My role can create the VMs, but Terraform had more functionality for that. Ansible overlaps in the infrastructure provisioning space a lot, but it lacks keeping states like Terraform does.

      I'd like to learn both. I just started with Ansible a day or two ago. I have been (and still am) using SaltStack.

    • DustinB3403D

      Using Rclone from a server to backup multiple volumes from different SSH hosts

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion rclone b2 backup automation users
      20
      2 Votes
      20 Posts
      1k Views
      DustinB3403D

      Worth noting on this that while sync works, copy is the much safer option.

      So

      rclone copy source:/path dest:/path is what I'll likely end up using. In any case, the resulting solution still works.

      Still need to tweak OSX a bit as it seems to kill the SSH session after some time for sporadic reasons - still testing but I may end up having to add ServerAliveInterval 120 to /etc/ssh/ssh_config to resolve that issue.

    • JaredBuschJ

      VPS injected ssh keys

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion ssh ssh keys vps vps security scripting automation
      6
      1 Votes
      6 Posts
      890 Views
      scottalanmillerS

      @JaredBusch said in VPS injected ssh keys:

      Under no circumstances do I actually want anyone's key tied to the root user. It negates all accountability.

      It's for pre-production setup. Not for deploying straight to production.

    • DustinB3403D

      Using Ansible to Manage install and update Apple OSX DHCP clients

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion osx ansible homebrew apple automation
      100
      0 Votes
      100 Posts
      9k Views
      stacksofplatesS

      This is a good starter video:

      Youtube Video

    • WrCombsW

      Automation For Lights?

      Watching Ignoring Scheduled Pinned Locked Moved Water Closet automation lighting oncall
      26
      0 Votes
      26 Posts
      2k Views
      DashrenderD

      @scottalanmiller said in Automation For Lights?:

      @Dashrender said in Automation For Lights?:

      @scottalanmiller said in Automation For Lights?:

      I sleep with a smart watch on my wrist and a phone under my pillow. I am bound to wake up.

      Phone under pillow would never work for me.. two things 1) I move so much the phone would be under the bed for sure, 2) it would be to muffled and I'd sleep through any vibration.

      The watch though... that might help.

      I move a lot and it stays put. I don''t have a case, so the phone is very smooth. It doesn't shift around from the pillow moving.

      I can wake up from vibrations from a phone a floor away so....

      lucky/unlucky you... I could sleep through a tornado taking the roof off.

    • DustinB3403D

      OSX administrators who use Brew - Xcode Tools no longer included by default

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion osx administration automation brew shell scripting apple xcode
      1
      1 Votes
      1 Posts
      526 Views
      No one has replied
    • DustinB3403D

      Apple OSX - Public Desktop

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion apple osx scripting automation setup
      25
      0 Votes
      25 Posts
      2k Views
      DustinB3403D

      I'm marking this solved as I create a direction from / called scripts and that does what I need.

      No real need for a public shareable desktop when this works just fine.

    • IRJI

      Monitoring services on wazuh

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion wazuh automation services linux
      1
      2 Votes
      1 Posts
      763 Views
      No one has replied
    • IRJI

      What is the difference between Dead and Failed for service status?

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion systemctl automation services linux
      17
      0 Votes
      17 Posts
      10k Views
      JaredBuschJ

      @DustinB3403 said in What is the difference between Dead and Failed for service status?:

      @IRJ Did you look at journalctl to see what the logs say?

      He doesn't care about why things are failed. He just wants the states. It is for monitoring and automation.

    • IRJI

      How to configure a OneDrive file for use with wget

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion onedrive wget automation download
      2
      2 Votes
      2 Posts
      7k Views
      IRJI

      Added extra step of renaming file and deleting long garbage file name.

    • DustinB3403D

      Which is easier to learn Ansible or Chef or Puppet

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion ansible chef automation puppet
      23
      1 Votes
      23 Posts
      2k Views
      scottalanmillerS

      @flaxking said in Which is easier to learn Ansible or Chef or Puppet:

      The whole container/CM thing is kind of at a weird place right now. With containers, we've sort of migrated back to the golden image thing, just with the pressure to create an image using a config file. I don't really like images on docker hub that don't have links to the dockerfile.

      Yes, images that can't be tweaked without rebuilding. It's has benefits, and a lot of caveats. Having to deploy new containers for every patch is pretty silly. And so many things can't be immutable, including the platform on which the containers run.

      At the end of the day, containers are either mutable, or immutable. The former need CM inside the container, the later need it outside the container.

    • JaredBuschJ

      Quesiton about Fail2Ban

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion fail2ban automation
      3
      4 Votes
      3 Posts
      866 Views
      JaredBuschJ

      FreePBX's jail.local doesn't use that syntax.

      [root@pbx ~]# cat /etc/fail2ban/jail.local # Configuration automatically generated via the Sysadmin Module # This file will be overwritten by Sysadmin on startup. If you modify # this file, your changes will be lost. DO NOT MODIFY THIS FILE! # generated: Thu, 21 Jun 2018 02:53:21 +0000 [DEFAULT] ignoreip = 127.0.0.1 bantime = 3600 findtime = 600 maxretry = 5 backend = auto [asterisk-iptables] enabled = true filter = asterisk-security action = iptables-allports[name=SIP, protocol=all] sendmail[name=SIP, [email protected], [email protected]] logpath = /var/log/asterisk/fail2ban
    • DustinB3403D

      Getting PowerShell to provide me the EventLog details in an email

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion powershell automation email system administration
      6
      3 Votes
      6 Posts
      678 Views
      dafyreD

      @dustinb3403 said in Getting PowerShell to provide me the EventLog details in an email:

      Yup. . . I'm an idiot lol. I set it to only look back 1 day and email me those results within the past day.

      This obviously would show blank results, since there are no 2013 events within the past day!

      Ha ha ha. Whoops!

    • M

      Home Automation Interest?

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion home lab automation
      12
      6 Votes
      12 Posts
      2k Views
      M

      @wrx7m I only have one zwave device which is a smart lock.
      @Obsolesce I use Home Assistant and love it. Easy to setup and configure. I tried openHAB but couldn't figure it out.
      @NerdyDad I've been looking into NodeRed for controllable leds

    • CCWTechC

      Rebooting Servers

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion reboots windows server automation
      13
      1 Votes
      13 Posts
      1k Views
      DustinB3403D

      I update and reboot weekly where I can.

      There are a few systems that fall out of this process though.

    • EddieJenningsE

      Freepbx Voicemail Storage Warning

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion freepbx 14 automation
      21
      0 Votes
      21 Posts
      3k Views
      AdamFA

      @scottalanmiller said in Freepbx Voicemail Storage Warning:

      @bigbear said in Freepbx Voicemail Storage Warning:

      @reid-cooper said in Freepbx Voicemail Storage Warning:

      @bigbear said in Freepbx Voicemail Storage Warning:

      @scottalanmiller said in Freepbx Voicemail Storage Warning:

      Good point, is there a reason that you don't just grow the storage?

      Not possible with Vultr instance, right? Have to expand while virtual machine?

      With Vultr, you can add block storage on a per GB bases as needed. So yes, you can do it with Vultr without expanding the VM itself.

      Yeah I guess he is probably in NJ data center. I've only used block storage in winblows server. Not sure how you'd move that location in FreePBX.

      LVM

      Yep, I did this exact thing on a server with Vultr block storage. It is super easy. Purchase it, attach it to the server, create a mount point and mount the new storage device (shows up as another drive), then done.

      In FreePBX Advanced settings, you can even specify an alternative destination for voicemails.

    • stacksofplatesS

      Ansible Wordpress Install

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion ansible wordpress automation
      2
      2 Votes
      2 Posts
      2k Views
      masterartsM

      Great

    • 1
    • 2
    • 1 / 2