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

    Storage Node Scriting

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    6
    524
    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

      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

        @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

          @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

            @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 Reply Quote 1
            • E
              eseelke
              last edited by

              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

                @Sebastian-Roth Thank you, this worked beautifully.

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

                230

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project