@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.
Latest posts made by kamburta
-
RE: Update fog using only https
-
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? -
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 -
-
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
updateStorageNodeCredentialsExit
./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.
-
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. -
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
} -
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 -
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 -
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 ? -
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_64FOG version 1.5.10