Skip to content

Instantly share code, notes, and snippets.

View bpradipt's full-sized avatar

Pradipta Banerjee bpradipt

View GitHub Profile
@bpradipt
bpradipt / kcli-ocp49.yml
Created September 1, 2021 11:04
kcli param file for OCP 4.9 nightly
domain: test49.com
# Download the required RHCOS release and place it in libvirt storage dir
# RHCOS src download - https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/
image: rhcos-qemu.qcow2
imagecontentsources: []
mdns: True
# Libvirt network name eg. 192.168.122.0/24
network: default
# Libvirt storage pool
pool: openshift
@bpradipt
bpradipt / kcli-param.yml
Created July 17, 2021 12:02
Kcli param file to install OpenShift
domain: test.com
# Download the required RHCOS release and place it in libvirt storage dir
# RHCOS src download - https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/
image: rhcos-qemu.qcow2
mdns: True
# Libvirt network name eg. 192.168.122.0/24
network: openshift
# Libvirt storage pool
pool: openshift
api_ip: 192.168.122.254
@bpradipt
bpradipt / kata-sriov-configuration.toml
Created December 23, 2020 18:19
Example Kata SRIOV configuration.toml
# Copyright (c) 2017-2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
# XXX: WARNING: this file is auto-generated.
# XXX:
# XXX: Source file: "cli/config/configuration-qemu.toml.in"
# XXX: Project:
# XXX: Name: Kata Containers
[ 699.813626] {1}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 5
[ 699.813626] {1}[Hardware Error]: event severity: fatal
[ 699.813627] {1}[Hardware Error]: Error 0, type: fatal
[ 699.813627] {1}[Hardware Error]: section_type: PCIe error
[ 699.813627] {1}[Hardware Error]: port_type: 0, PCIe end point
[ 699.813628] {1}[Hardware Error]: version: 3.0
[ 699.813628] {1}[Hardware Error]: command: 0x0002, status: 0x0810
[ 699.813628] {1}[Hardware Error]: device_id: 0000:01:00.1
[ 699.813629] {1}[Hardware Error]: slot: 0
[ 699.813629] {1}[Hardware Error]: secondary_bus: 0x00
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
#
# =============================================================================
#
# The MIT License (MIT)
#
# Copyright (c) 2015 Andre Richter
#
# Permission is hereby granted, free of charge, to any person obtaining a copy

Helper Node Quickstart Install

This quickstart will get you up and running on PowerVM server managed using HMC.

To start, ssh to your HMC host to use the CLI. You can also use the HMC GUI. The steps in these guide are specific to CLI.

Create the LPAR (VM)

The following steps describe in brief the LPAR creation process on PowerVM using HMC.

@bpradipt
bpradipt / qemu-qmp.md
Created June 22, 2020 09:59 — forked from rgl/qemu-qmp.md
qemu qmp

QEMU Machine Protocol (QMP) socket

Start QEMU with QMP UNIX socket and connect:

qemu-system-x86_64 -qmp unix:test.socket,server,nowait ...
nc -U test.socket
qmp-shell test.socket    # use the raw qmp interface. see https://github.com/0xef53/qmp-shell
qmp-shell -H test.socket # use the human interface.   see https://github.com/0xef53/qmp-shell
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXIqsl+VbNg9MZwGYyCXIWhF/9Q6kP6o6ZJ6fPnJ6HwKyMjQv3QRPdXUBzjX0afEDVx12x/WUjUQEO/P4b0cYJBbg5nE0DyvfmdNFBpO1I6f1P0P4QKfhEH4XV9COvtUUJnoxctxp8eG2CuATI0+yJ7A0VVdrffaoYQfrXFFrZbRYUfH6RDc888UBI4HSjCI9Sfv0spN9Ej/j8JRCgHYhGM2T63JeoJH6/yVLq3zP5bUqK30N5fDlv448xlLa9GE8FB++bX1+qzPZtiKbNmyRVFsIh7b4SlH0SUACr/TJBsUDVkN7x5sNOfk5mZ1ESWIQ2x0HOevQVNV/AA5Bi4r+7 [email protected]
@bpradipt
bpradipt / configuration-ppc64le-virtiofs.toml
Created May 15, 2020 08:06
Kata configuration file for Fedora 32 using virtio-fs
# Copyright (c) 2017-2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
# XXX: WARNING: this file is auto-generated.
# XXX:
# XXX: Source file: "cli/config/configuration-qemu.toml.in"
# XXX: Project:
# XXX: Name: Kata Containers
@bpradipt
bpradipt / configuration-ppc64le-9p.toml
Created May 15, 2020 08:04
Kata configuration file for Fedora 32 using virtio-9p
# Copyright (c) 2017-2019 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
# XXX: WARNING: this file is auto-generated.
# XXX:
# XXX: Source file: "cli/config/configuration-qemu.toml.in"
# XXX: Project:
# XXX: Name: Kata Containers