9 Ekim 2020 Cuma

Linux / SUSEConnect -list-extensions

 hostname:~ # SUSEConnect -list-extensions

AVAILABLE EXTENSIONS AND MODULES

    Advanced Systems Management Module 12 x86_64

    Activate with: SUSEConnect -p sle-module-adv-systems-management/12/x86_64

    Containers Module 12 x86_64

    Activate with: SUSEConnect -p sle-module-containers/12/x86_64

    HPC Module 12 x86_64

    Activate with: SUSEConnect -p sle-module-hpc/12/x86_64

    Legacy Module 12 x86_64

    Activate with: SUSEConnect -p sle-module-legacy/12/x86_64

    Public Cloud Module 12 x86_64

    Activate with: SUSEConnect -p sle-module-public-cloud/12/x86_64

    SUSE Linux Enterprise High Availability GEO Extension 12 SP4 x86_64

    Activate with: SUSEConnect -p sle-ha-geo/12.4/x86_64 -r ADDITIONAL REGCODE

    SUSE Linux Enterprise Live Patching 12 SP4 x86_64

    Activate with: SUSEConnect -p sle-live-patching/12.4/x86_64 -r ADDITIONAL REGCODE

    SUSE Linux Enterprise Point of Service Image Server 12 SP2 x86_64

    Activate with: SUSEConnect -p sle-pos/12.2/x86_64 -r ADDITIONAL REGCODE

    SUSE Linux Enterprise Server LTSS 12 SP4 x86_64

    Activate with: SUSEConnect -p SLES-LTSS/12.4/x86_64 -r ADDITIONAL REGCODE

    SUSE Linux Enterprise Software Development Kit 12 SP4 x86_64

    Activate with: SUSEConnect -p sle-sdk/12.4/x86_64

    SUSE Linux Enterprise Workstation Extension 12 SP4 x86_64

    Activate with: SUSEConnect -p sle-we/12.4/x86_64 -r ADDITIONAL REGCODE

    SUSE Package Hub 12 SP4 x86_64

    Activate with: SUSEConnect -p PackageHub/12.4/x86_64

    Toolchain Module 12 x86_64

    Activate with: SUSEConnect -p sle-module-toolchain/12/x86_64

    Web and Scripting Module 12 x86_64

    Activate with: SUSEConnect -p sle-module-web-scripting/12/x86_64

MORE INFORMATION

You can find more information about available modules here:

https://www.suse.com/products/server/features/modules.html

8 Ekim 2020 Perşembe

Linux / SUSE register

SUSEConnect -r YourActivationCode -e YourEmailAddress


hostname:~ # SUSEConnect --cleanup    For register cleanup

Error: Invalid system credentials, probably because the registered system was deleted in SUSE Customer Center. 
Check https://scc.suse.com whether your system appears there. If it does not, please call SUSEConnect --cleanup and re-register this system.

hostname:~ # SUSEConnect -r YourActivationCode -e YourEmailAddress    For register

Registered SLES_SAP 12.4 x86_64

To server: https://scc.suse.com

Using E-Mail: email@domain.com

Successfully registered system.

Linux / dmidecode

Fiziksel sanal kontrolü için dmidecode uygulaması ile kontrol edebiliriz.


dmidecode | grep Product

dmidecode -t system

Linux / Storage Command Line Tool

storcli64 show all

storcli64 /c4 show all

storcli64 /c4/dall show all

storcli64 /c1/e28/s12 show rebuild


hostname:~ # storcli64

     Storage Command Line Tool  Ver 1.18.11 Feb 09, 2016

     (c)Copyright 2015, AVAGO Corporation, All Rights Reserved.

help - lists all the commands with their usage. E.g. storcli help

<command> help - gives details about a particular command. E.g. storcli add help

List of commands:

Commands   Description

-------------------------------------------------------------------

add        Adds/creates a new element to controller like VD,Spare..etc

delete     Deletes an element like VD,Spare

show       Displays information about an element

set        Set a particular value to a property

get        Get a particular value to a property

compare    Compares particular value to a property

start      Start background operation

stop       Stop background operation

pause      Pause background operation

resume     Resume background operation

download   Downloads file to given device

expand     expands size of given drive

insert     inserts new drive for missing

transform  downgrades the controller

/cx        Controller specific commands

/ex        Enclosure specific commands

/sx        Slot/PD specific commands

/vx        Virtual drive specific commands

/dx        Disk group specific commands

/fall      Foreign configuration specific commands

/px        Phy specific commands

/[bbu|cv]  Battery Backup Unit, Cachevault commands


Other aliases : cachecade, freespace, sysinfo


Use a combination of commands to filter the output of help further.

E.g. 'storcli cx show help' displays all the show operations on cx.

Use verbose for detailed description E.g. 'storcli add  verbose help'

Use 'page=[x]' as the last option in all the commands to set the page break.

X=lines per page. E.g. 'storcli help page=10'

Use J as the last option to print the command output in JSON format

Command options must be entered in the same order as displayed in the help of

the respective commands.

10 Eylül 2020 Perşembe

SUSE / Augeas parsing/serializing error

Augeas parsing/serializing error: Iterated lens matched less than it should at /usr/share/augeas/lenses/dist/hosts.aug:23.12-.42:


Resolution
Add a line break at the end of /etc/hosts as below :

echo >> /etc/hosts

Cause

The last line in /etc/hosts does not have line termination "\n".

This can be verified by doing e.g. 'cat /etc/hosts', and not seeing the bash prompt on a new line as a result.

https://www.suse.com/support/kb/doc/?id=000019057


Raporları oluşturmak için Flex üzerindeki master server'a PuTTY üzerinden appadmin ile giriş yapın ve "sudo -i" ile root kulla...