@extends('layouts.admin') @section('title') Managing Node: {{ $node->name }} @endsection @section('scripts') @parent @endsection @section('content')
Total Servers {{ count($servers) }}
Memory Allocated {{ $stats->memory }} MB of @if(!is_null($node->memory_overallocate)) {{ $node->memory }} @else {{ $node->memory }} @endif MB
Disk Allocated {{ $stats->disk }} MB of @if(!is_null($node->disk_overallocate)) {{ $node->disk }} @else {{ $node->disk }} @endif MB
Changing some details below may require that you change the configuration file on the node as well as restart the daemon. They have been marked with below.

Character limits: a-zA-Z0-9_.- and [Space] (min 1, max 100 characters).

public) === '1') ? 'checked' : '' }} id="public_1" checked>
public) === '0') ? 'checked' : '' }} id="public_0">

This must be a fully qualified domain name, you may not enter an IP address or a domain that does not exist. Why?

scheme) === 'https') ? 'checked' : '' }}/>
scheme) === 'http') ? 'checked' : '' }}/>

You should always leave SSL enabled for nodes. Disabling SSL could allow a malicious user to intercept traffic between the panel and the daemon potentially exposing sensitive information.

MB
%
MB
%

Enter the total amount of disk space and memory avaliable for new servers. If you would like to allow overallocation of disk space or memory enter the percentage that you want to allow. To disable checking for overallocation enter -1 into the field. Entering 0 will prevent creating new servers if it would put the node over the limit.

The daemon runs its own SFTP management container and does not use the SSHd process on the main physical server. Do not use the same port that you have assigned for your physcial server's SSH process.

Reset Daemon Master Key

Resetting the daemon master key will void any request coming from the old key. This key is used for all sensitive operations on the daemon including server creation and deletion. We suggest changing this key regularly for security.

{!! csrf_field() !!}
Below is the configuration file for your daemon on this node. We recommend not simply copy and pasting the code below unless you know what you are doing. You should run the auto-installer or auto-updater to setup the daemon.
{
    "web": {
        "listen": {{ $node->daemonListen }},
        "ssl": {
            "enabled": {{ $node->sceheme === 'https' ? 'true' : 'false' }},
            "certificate": "~/.ssl/ssl.cert",
            "key": "~/.ssl/ssl.key"
        }
    },
    "docker": {
        "socket": "/var/run/docker.sock"
    },
    "sftp": {
        "path": "{{ $node->daemonBase }}",
        "port": {{ $node->daemonSFTP }},
        "container": "container_id"
    },
    "logger": {
        "path": "logs/",
        "src": false,
        "level": "info",
        "period": "1d",
        "count": 3
    },
    "remote": {
        "download": "{{ url('/remote/download') }}"
    },
    "uploads": {
        "maximumSize": 1000000
    },
    "keys": [
        "{{ $node->daemonSecret }}"
    ]
}
Allocations
The data below is live output from the daemon. CPU usage is displayed relative to the assigned CPU allocation. For example, if a server is assigned 10% and the CPU usage below displays 90% that means the server is using 9% of the total system CPU.
@foreach($servers as $server) @endforeach
Name Owner Service Memory Disk CPU Status
{{ $server->name }} {{ $server->a_ownerEmail }} {{ $server->a_serviceName }} -- / {{ $server->memory }} MB {{ $server->disk }} MB -- % --
{!! $servers->appends(['tab' => 'tab_servers'])->render() !!}
Delete
@endsection