The hypernode-systemctl tool allows you to set certain values for your Hypernode via the command line interface. In the past we asked you to contact support or (if you are a Dutch customer) to go to your Service Panel to change a setting. The hypernode-systemctl tool saves valuable time and makes developing and maintaining a Magento shop even more easier.

Which settings can be changed on your Hypernode?

To see which values you can set and which values they are allowed to have take a look at our API docs.

The most used and important settings are:

  • PHP version: easily change the PHP version of your Hypernode
  • Enable Ioncube: only enable this if you really have to, as Ioncube is a performance killer
  • Enable Blackfire: a great tool to find performance bottlenecks in Magento
  • Enable RabbitMQ: a popular open source message broker
  • Enable Varnish: set whether Varnish should be enabled and which Varnish version to use
  • Enable OpenVPN for secure database connections
  • Password authentication: indicates whether password authentication for the Hypernode is allowed instead of only SSH keys.
  • Firewall block: indicates whether FTP (which is unsafe) is completely blocked or not
  • Safer SSL and SSH configuration: you can configure Mozilla Modern SSL and enable stricter SSH encryption
  • Configure memory management policy (OOM kills)

Tip: to see which values can be set on the command line you can also run the help command:

hypernode-systemctl settings --help

Checking a value for a setting

To see which value a setting has you can run the following:

hypernode-systemctl settings php_version

Setting a value for a setting

To set a setting to a certain value you can run the following:

hypernode-systemctl settings php_version --value 7.1

If an invalid value is provided you will be notified of this during the setting procedure.

Use the hypernode-systemctl tool to whitelist IP’s

Besides changing settings, the hypernode-systemctl tool also allows you to whitelist certain IP’s for certain purposes. To find out which values are allowed to be set see our API documentation. Or run the following command:

hypernode-systemctl whitelist --help

Extra information for our Dutch customers: this tool works with the same whitelists (FTP, WAF and external database) as the Service Panel. So if you would whitelist a certain IP through the hypernode-systemctl tool, it would then also show in the Service Panel and vice versa. You can use the two tools interchangeably.

Seeing your current whitelists

To see which whitelists are currently set you can run the following:

hypernode-systemctl whitelist get

You will see all IP’s whitelisted per type (external database access, FTP and WAF).

If you want to specify a specific whitelist you can run the following:

hypernode-systemctl whitelist get database

Adding to whitelist

To add more values to your whitelists you can run the following. Please note that descriptions are optional:

hypernode-systemctl whitelist add "database, waf or ftp" 1.2.3.4 --description "my description"

Removing from whitelist

To remove values from your whitelists you can run the following:

hypernode-systemctl whitelist remove database 1.2.3.4

00