Reference13r1:Concept App Platform: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
Line 58: Line 58:
* Edit the disk size, if needed.
* Edit the disk size, if needed.
* Start the machine and wait until it reboots and starts again.
* Start the machine and wait until it reboots and starts again.
= How-Tos =
== Resizing the disk of a Virtual machine ==
* stop the VM
* expand the disk using the your VM utilities
* start the VM and boot from the first boot entry '''rescue/setup'''
* login with '''root''' and '''iplinux'''
* call '''/home/root/install_step1.sh log.txt resize'''
* the VM reboots automatically after a successful resize

Revision as of 09:45, 20 May 2019

General

Requirements

  • V13 or up
  • Gateway (arm): IPx10 (with CF card) or IPx11 (with mSATA SSD)
  • Virtual (x86_64): HyperV or VMWare

Default credentials

  • SSH-Login with admin and ipapps
  • root login with root and iplinux (root login is not directly possible over SSH)
  • web login pwd

App Platform - arm (Gateway)

  • The installation image has a size of ~50MB. During installation, the following partitions are created:
    • /dev/sda1 fat32: 200MB (contains ramdisk, rootfs and kernel)
    • /dev/sda2 ext4: depends on disk size (contains databases, log files and apps)
    • /dev/sda3 ext4: 500MB (contains the rootfs)
    • /dev/sda4 swap: 512MB

App Platform - x86-64 (Virtual Machine)

  • The default disk size is 16GB. It should be increased before the first start if needed!
  • Multiple CPUs are supported, default is one CPU
  • default RAM: 512MB
  • static IP address, DNS, Gateway can be configured with the command setip on the console. Run setip --help to get a list of parameters. (Example: setip --addr=x.x.x.x --mask=x.x.x.x --gateway=x.x.x.x --dns1==x.x.x.x)
  • If you have permission problems change to su user (Password is iplinux or your new admin password)
  • To figure out your ip address you can use the command: ip address on the console.
  • loadkeys de can be used to change to german keyboard layout (etc.)
  • partitions:
    • /dev/sda1 ext2: 350MB (contains ramdisk, rootfs and kernel)
    • /dev/sda2 ext4: depends on disk size (contains databases, log files and apps)
    • /dev/sda3 ext4: 500MB (contains the rootfs)
    • /dev/sda4 swap: 512MB

Installation

ARM Gateway

If you setup a Gateway with the install procedure, the App Platform is installed automatically.

You can also install it manually:

  • Open App Platform -> General and Enable Linux Support. Restart the gateway.
  • You need to enable Proxy-ARP on ETH0 or ETH1, so your Gateway and the Linux Appliance will share the same physical interface.
  • Open App Platform -> IP and configure the IP settings of the App Platform. Restart the Gateway.
  • Open App Platform -> Installation and select the given version or enter an own path to the app-platform-armel.img image file.
  • The installation runs without any further required step.

Virtual machine

  • Import the image into your server environment.
  • Edit the disk size, if needed.
  • Start the machine and wait until it reboots and starts again.

How-Tos

Resizing the disk of a Virtual machine

  • stop the VM
  • expand the disk using the your VM utilities
  • start the VM and boot from the first boot entry rescue/setup
  • login with root and iplinux
  • call /home/root/install_step1.sh log.txt resize
  • the VM reboots automatically after a successful resize