• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Storage Node Scriting

Scheduled Pinned Locked Moved
FOG Problems
2
6
554
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E
    eseelke
    last edited by Oct 28, 2020, 7:14 PM

    Is it possible to automate the installation of the storage using something like the following?

    /opt/fogproject/bin/installfog.sh --os=1 --mode=s --interface=default --fogip=192.168.1.10 --fsmu=fogstorage --fsmp=MyPassword --https=n --changehostname=n --continue=y
    

    If not, is there a place to add feature requests?

    Thanks

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Oct 28, 2020, 1:32 PM Oct 28, 2020, 7:31 PM

      @eseelke said in Storage Node Scriting:

      Is it possible to automate the installation of the storage using something like the following?

      What exactly do you mean by “installation of the storage”? Do you mean “storage” as in a full storage node on a blank Linux system?

      If yes, than take alook at the installer options. There is some of what you want. We can discuss about other things as well.

      If no, then I am wondering if your concept of storage is what we think it is in the FOG world?!

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • E
        eseelke
        last edited by Oct 28, 2020, 7:38 PM

        @Sebastian-Roth Sorry, I meant storage mode.

        I was looking for a one line command so that there is no prompts asked. I saw the command line options you posted, but that doesn’t look like it includes anything for storage mode installs.

        I have a VM that I am looking to deploy for sites. I already have the installer files for FOG in the /opt folder. I just have to SSH into and run the command to connect it. I was hoping for a one line command that I can use to make things easier.

        Thanks, Eddie

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth Oct 28, 2020, 2:44 PM Oct 28, 2020, 8:18 PM

          @eseelke FIrst off you want to use --autoaccept so it will use defaults wherever it can.

          To make it install storage node instead of master node and provide database information you will need to use “pre set” variables:

          installtype=S snmysqlhost=x.x.x.x snmysqlpass='pAsSwOrD$!' ./installfog.sh --autoaccept
          

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          E 1 Reply Last reply Oct 29, 2020, 4:58 PM Reply Quote 1
          • E
            eseelke
            last edited by Oct 28, 2020, 8:45 PM

            Cool, thank you @Sebastian-Roth. I will try that later today.

            1 Reply Last reply Reply Quote 0
            • E
              eseelke @Sebastian Roth
              last edited by eseelke Oct 29, 2020, 11:09 AM Oct 29, 2020, 4:58 PM

              @Sebastian-Roth Thank you, this worked beautifully.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                6/6
                Last post

              143

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project