• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. kamburta
    3. Posts
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 16
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by kamburta

    • RE: Update fog using only https

      @kamburta
      Tom,
      Sorry to take your time, you can convert from https to http by changing the information in /opt/fog/.fogsettings and running the installation again.

      posted in FOG Problems
      K
      kamburta
    • RE: Update fog using only https

      @Tom-Elliott said in Update fog using only https:

      If you’ve already installed FOG using the parameters, you simply need to run:

      ./installfog.sh -y to upgrade. The other parameters were stored in the configuration file.

      Good afternoon Tom,
      Is it possible to transform an installation from https to http?

      posted in FOG Problems
      K
      kamburta
    • RE: Add node storage on the fog master server.

      @Tom-Elliott
      No, the node points to the master configurations.
      installtype=‘S’
      snmysqluser=‘fogstorage’
      snmysqlpass=‘password’
      snmysqlhost=‘ip_master’

      using the fogproject/bin/installfog.sh

      • Checking if this node is registered…Done

      • Node being registered…Done

      • Ensuring node username and passwords match…Done

      • Setup complete

      • You still need to setup this node in the fog management
        | portal. You will need the username and password listed
        | below.

      • Management Server URL:
        http://fog.test.test/fog/

        You will need this, write this down!
        IP Address: 172.17.0.2
        Interface: eth0
        Management Username: fogproject
        Management Password: password

      I redid the installation using the fogproject/bin/installfog.sh script and everything went well. I deleted the storage node from the master and ran the commands below again, it returned success but the storage node was not added to the master.

      source /fogproject/lib/common/functions.sh
      source /opt/fog/.fogsettings
      registerStorageNode

      posted in General Problems
      K
      kamburta
    • RE: Add node storage on the fog master server.

      @Tom-Elliott
      Yes, the fog settings are there and correct.
      The command execute as expected but did not appear in master. See the output.

      ./add_storage.sh

      • Checking if this node is registered…Done
      • Node being registered…Done

      Could it be that an update command is missing from the master server database?

      I made a small change to the script, it presents an output but does not add it to the master

      source /fogproject/lib/common/functions.sh
      source /opt/fog/.fogsettings
      checkDatabaseConnection
      registerStorageNode
      updateStorageNodeCredentials

      Exit
      ./add_storage.sh

      • Checking connection to master database…OK
      • Checking if this node is registered…Done
      • Node being registered…Done
      • Ensuring node username and passwords match…Done

      Note: When the installation script runs completely, it works.

      posted in General Problems
      K
      kamburta
    • RE: Add node storage on the fog master server.

      @Tom-Elliott
      Thank you very much and sorry for my English. I created a structure with a master server and eleven node servers in virtual machines and I intend to place the nodes in containers. It was a really cool structure. I’ll work on it.

      posted in General Problems
      K
      kamburta
    • RE: Add node storage on the fog master server.

      @Tom-Elliott
      Thank you very much Tom-Elliott. In fact, I had already found this information but I didn’t know what to do or how to do it. I was thinking something more or less like this: mysql -u -p’ ’ -h fog. It would be interesting to have an option here just to perform this task. Thank you so much. I’ll work on it.

      usage() {
      echo -e “Usage: $0 [-h?dEUuHSCKYXTFA] [-f <filename>] [-N <databasename>]”
      echo -e “\t\t[-D </directory/to/document/root/>] [-c <ssl-path>]”
      echo -e “\t\t[-W <webroot/to/fog/after/docroot/>] [-B </backup/path/>]”
      echo -e “\t\t[-s <192.168.1.10>] [-e <192.168.1.254>] [-b <undionly.kpxe>]”
      echo -e “\t-h -? --help\t\t\tDisplay this info”
      echo -e “\t-o --oldcopy\t\t\tCopy back old data”
      echo -e “\t-d --no-defaults\t\tDon’t guess defaults”
      echo -e “\t-U --no-upgrade\t\tDon’t attempt to upgrade”
      echo -e “\t-H --no-htmldoc\t\tNo htmldoc, means no PDFs”
      echo -e “\t-S --force-https\t\tForce HTTPS for all comunication”
      echo -e “\t-C --recreate-CA\t\tRecreate the CA Keys”
      echo -e “\t-K --recreate-keys\t\tRecreate the SSL Keys”
      echo -e “\t-Y -y --autoaccept\t\tAuto accept defaults and install”
      echo -e “\t-f --file\t\t\tUse different update file”
      echo -e “\t-c --ssl-path\t\tSpecify the ssl path”
      echo -e “\t \t\t\t\tdefaults to /opt/fog/snapins/ssl”
      echo -e “\t-D --docroot\t\t\tSpecify the Apache Docroot for fog”
      echo -e “\t \t\t\t\tdefaults to OS DocumentRoot”
      echo -e “\t-W --webroot\t\t\tSpecify the web root url want fog to use”
      echo -e "\t \t\t\t\t(E.G. http://127.0.0.1/fog,"
      echo -e “\t \t\t\t\t http://127.0.0.1/)”
      echo -e “\t \t\t\t\tDefaults to /fog/”
      echo -e “\t-B --backuppath\t\tSpecify the backup path”
      echo -e “\t --uninstall\t\tUninstall FOG”
      echo -e “\t-s --startrange\t\tDHCP Start range”
      echo -e “\t-e --endrange\t\tDHCP End range”
      echo -e “\t-b --bootfile\t\tDHCP Boot file”
      echo -e “\t-E --no-exportbuild\t\tSkip building nfs file”
      echo -e “\t-X --exitFail\t\tDo not exit if item fails”
      echo -e “\t-T --no-tftpbuild\t\tDo not rebuild the tftpd config file”
      echo -e “\t-F --no-vhost\t\tDo not overwrite vhost file”
      echo -e “\t-A --arm-support\t\tInstall kernel and initrd for ARM platforms”
      exit 0
      }

      posted in General Problems
      K
      kamburta
    • Add node storage on the fog master server.

      Good morning guys
      I know that a new fog node is automatically added to the fog master. However, I created a node container to facilitate its implementation. I have two docker images. One runs the fog installation script in storage mode when it is being started and is later automatically added to the fog master. The other fog node image is already preconfigured and does not automatically enter the fog master. I would like to know what command the script executes to add the fog node to the fog master so that I can place it in the execution of the docker container.
      Thank you very much

      posted in General Problems
      K
      kamburta
    • RE: FOG Main Server cannot determine free storage from a fog storage node

      @Tom-Elliott This is the command I execute for the node to register with the fog master? I wanted to perform the same procedure as the installation script when we chose the storage version and it automatically registers itself on the master.
      Thank you very much

      posted in FOG Problems
      K
      kamburta
    • RE: FOG 1.5.0 active directory domain password auto-encryption not working

      @Tom-Elliott Good afternoon,

      What type of encryption is used in AD Active Directory?
      She is strong ?

      posted in FOG Problems
      K
      kamburta
    • RE: LDAP plugin

      @Tom-Elliott
      yes, it has already been installed. Do you have to upload a module in httpd.conf or copy a module to the /etc/httpd/modulos folder?
      rpm -qa php-ldap
      php-ldap-8.0.27-1.el9_1.x86_64

      FOG version 1.5.10

      posted in General
      K
      kamburta
    • LDAP plugin

      Guys,

      Can someone tell me if this is an error in the LDAP plugin or just a wrong configuration in it?

      [22-Jun-2023 16:22:54 UTC] PHP Fatal error: Uncaught TypeError: ldap_unbind(): Argument #1 ($ldap) must be of type resource, null given in /var/www/html/fog/lib/plugins/ldap/class/ldap.class.php:124
      Stack trace:
      #0 /var/www/html/fog/lib/plugins/ldap/class/ldap.class.php(124): ldap_unbind()
      #1 /var/www/html/fog/lib/plugins/ldap/class/ldap.class.php(235): LDAP->__call()
      #2 /var/www/html/fog/lib/plugins/ldap/hooks/ldappluginhook.hook.php(126): LDAP->authLDAP()
      #3 /var/www/html/fog/lib/fog/hookmanager.class.php(86): LDAPPluginHook->checkAddUser()
      #4 /var/www/html/fog/lib/fog/user.class.php(144): HookManager->processEvent()
      #5 /var/www/html/fog/lib/fog/user.class.php(226): User->passwordValidate()
      #6 /var/www/html/fog/lib/fog/fogbase.class.php(2469): User->validatePw()
      #7 /var/www/html/fog/lib/pages/processlogin.class.php(153): FOGBase::attemptLogin()
      #8 /var/www/html/fog/management/index.php(31): ProcessLogin->processMainLogin()
      #9 {main}

      posted in General
      K
      kamburta
    • RE: how to add an image option in the fog boot?

      @george1421 thank you very much

      posted in FOG Problems
      K
      kamburta
    • RE: Group Management Edit:

      hey guys
      Is it possible that the Subnet Group Management plugin automatically places a location on a new host that was done through quick registration and inventory using the subnet that this host is on?

      posted in General Problems
      K
      kamburta
    • Group Management Edit:

      Hey guys

         Can anyone help me with this little problem. When I try to edit Group Management / Location Membership to choose a location, the chosen option is not checked. When I go back to look at the compao it's blank with no information.
      

      Captura de tela de 2023-06-19 12-33-14.png

      Always return to default

      posted in General Problems
      K
      kamburta
    • Location plugin error

      Good morning guys

      Firstly excuse my english.

      I searched here on the forum and elsewhere on the internet and I didn’t find anything regarding the problem I faced yesterday. When I tried to apply the location plugin it stopped the FOG server or the HTTPD service.
      The problem was in a plugin location comma on line 170.

      [15-Jun-2023 21:56:20 UTC] PHP Parse error: syntax error, unexpected ‘)’ in /var/www/html/fog/lib/plugins/location/pages/locationmanagementpage.class.php on line 170

      );
      $sgbuild = self::getClass(‘StorageGroupManager’)->buildSelectBox(
      $storagegroup
      );
      $snbuild = self::getClass(‘StorageNodeManager’)->buildSelectBox(
      $storagenode
      );
      $snprotocol = self::getClass(‘LocationManager’)->buildProtocolSelectBox(
      $protocol,
      );
      $tftp = isset($_POST[‘tftp’]) ? ’ checked’ : ‘’;
      $fields = array(

      posted in FOG Problems
      K
      kamburta
    • how to add an image option in the fog boot?

      Hi Guys,

      Can anyone help me with information on how to add a new entry to Fog’s boot menu.list?
      I would like to add for example an option to boot with Ubuntu live.

      Thanks

      posted in FOG Problems
      K
      kamburta
    • 1 / 1