<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://tsm.agostonpeter.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://tsm.agostonpeter.com/feed.php">
        <title>TSM turkáló</title>
        <description></description>
        <link>https://tsm.agostonpeter.com/</link>
        <image rdf:resource="https://tsm.agostonpeter.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-28T10:15:24+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:rescan-scsi-bus&amp;rev=1461142727&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=linux:network&amp;rev=1779120156&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:aix_rendev&amp;rev=1495114440&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:lnx_lin_tape_rules_conf_generate&amp;rev=1572008294&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tapeutil&amp;rev=1398697456&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:aix&amp;rev=1481115420&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=linux:drbd&amp;rev=1385839322&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:gather_data&amp;rev=1772569061&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:napi_riport&amp;rev=1768835672&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=linux&amp;rev=1771245137&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:napi_kliens_riport&amp;rev=1779454865&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=linux:szkripteles&amp;rev=1696425163&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:lnx_interfaces&amp;rev=1651835337&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_cpu_pin_map&amp;rev=1620374685&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=sql&amp;rev=1769077493&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:vio&amp;rev=1532509124&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:io_rebalance&amp;rev=1584362791&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:dsmconc&amp;rev=1742398490&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:logcollector&amp;rev=1495114440&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:spp&amp;rev=1733388290&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tdp4ve&amp;rev=1736760338&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_list_vm_disks&amp;rev=1600857629&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tsm_install&amp;rev=1733919278&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:drp_sync&amp;rev=1558340494&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:dsmcad_init&amp;rev=1384445549&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:oravm&amp;rev=1595859598&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:ssh_kulcs_terites&amp;rev=1596549689&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:replikacio:smart_replicator&amp;rev=1774514667&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://tsm.agostonpeter.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>TSM turkáló</title>
        <link>https://tsm.agostonpeter.com/</link>
        <url>https://tsm.agostonpeter.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:rescan-scsi-bus&amp;rev=1461142727&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-20T08:58:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linuxos &quot;cfgmgr&quot;</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:device_management:rescan-scsi-bus&amp;rev=1461142727&amp;do=diff</link>
        <description>Linuxos &quot;cfgmgr&quot;


#!/bin/bash
# Skript to rescan SCSI bus, using the
# scsi add-single-device mechanism
# (c) 1998--2008 Kurt Garloff &lt;kurt@garloff.de&gt;, GNU GPL v2 or later
# (c) 2006--2008 Hannes Reinecke, GNU GPL v2 or later
# $Id: rescan-scsi-bus.sh,v 1.48 2010/08/10 19:32:22 garloff Exp $

setcolor ()
{
  red=&quot;\e[0;31m&quot;
  green=&quot;\e[0;32m&quot;
  yellow=&quot;\e[0;33m&quot;
  bold=&quot;\e[0;1m&quot;
  norm=&quot;\e[0;0m&quot;
}

unsetcolor ()
{
  red=&quot;&quot;; green=&quot;&quot;
  yellow=&quot;&quot;; norm=&quot;&quot;
}

# Output some text and return cursor t…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=linux:network&amp;rev=1779120156&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-18T16:02:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Hálózati okosságok</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=linux:network&amp;rev=1779120156&amp;do=diff</link>
        <description>Hálózati okosságok

File letöltő BASH-sel


#!/bin/bash
# Usage: ./download_file &#039;https://www.baeldung.com/java-weekly-495&#039; &#039;java_weekly_495.html&#039;
raw_download() {
    wPROTO=&quot;${1%://*}&quot;
    af=&quot;${1#*://}&quot;
    wBASE=&quot;${af%%/*}&quot;
    wSUB=&quot;${af#*/}&quot;

    HTTP_REQUEST=&quot;$({
        echo -en &#039;GET /&#039;&quot;${wSUB}&quot;&#039; HTTP/1.1\r\n&#039;
        echo -en &#039;Host: &#039;&quot;${wBASE}&quot;&#039;\r\n&#039;
        echo -en &#039;Connection: close\r\n\r\n&#039;
    })&quot;

    if [[ &quot;${wPROTO,,}&quot; = &#039;https&#039; ]] ; then
        echo &quot;${HTTP_REQUEST}&quot; | openssl…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:aix_rendev&amp;rev=1495114440&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-05-18T13:34:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>AIX tape device-ok átnevezése beszédesre konfig állomány alapján</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:device_management:aix_rendev&amp;rev=1495114440&amp;do=diff</link>
        <description>AIX tape device-ok átnevezése beszédesre konfig állomány alapján

A szkript a .cfg fájl alapján végigmegy a tape device-okon (rmt és smc), és legenerálja az AIX-es parancsokat azok átnevezésére, a .cfg-ben deklarált paraméterek alapján.</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:lnx_lin_tape_rules_conf_generate&amp;rev=1572008294&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-25T12:58:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linux-os lin_tape tape device-ok &#039;persistent binding&#039;-jat beállító udev konfig fájl generáló szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:device_management:lnx_lin_tape_rules_conf_generate&amp;rev=1572008294&amp;do=diff</link>
        <description>Linux-os lin_tape tape device-ok &#039;persistent binding&#039;-jat beállító udev konfig fájl generáló szkript


#!/bin/bash
tsm_inst_user=&#039;root&#039;
echo &quot;# Generated by $0 on $(date)&quot;
UDEVAPP=`which udevadm 2&gt;/dev/null`
UDEVPARAM=&#039;ATTR&#039;
if [ &quot;${UDEVAPP:0:1}&quot; != &#039;/&#039; ]; then
        UDEVAPP=`which udevinfo 2&gt;/dev/null`;
        UDEVPARAM=&#039;SYSFS&#039;
fi
if [ &quot;${UDEVAPP:0:1}&quot; != &#039;/&#039; ]; then
        echo &quot;# Nincs a PATH-ban sem &#039;udevadm&#039;, sem &#039;udevinfo&#039; parancs.&quot;
        exit 1
fi
echo &quot;# Hasznalt udev parancs: $UDE…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tapeutil&amp;rev=1398697456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-28T15:04:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Tapeutil, itdt használat</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tapeutil&amp;rev=1398697456&amp;do=diff</link>
        <description>Tapeutil, itdt használat

Tapeutil or ITDT
 parancs  leírás  tapeutil -f /dev/smc0 elementinfo	 Displays element information - library information tapeutil -f /dev/smc0 inventory	 Displays the element status information tapeutil -f /dev/smc0 inventory -i</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:aix&amp;rev=1481115420&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-12-07T12:57:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>AIX parancsok</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:aix&amp;rev=1481115420&amp;do=diff</link>
        <description>AIX parancsok

OS downlevel check


#!/usr/bin/ksh

echo &quot;Checking oslevel...&quot;
curr_oslevel=`oslevel -s`

if [ &quot;`oslevel -sq 2&gt;/dev/null | sed -n &#039;1p&#039;`&quot; = &quot;$curr_oslevel&quot; ]; then
        echo &quot;oslevel appears to be correct:  $curr_oslevel&quot;
        exit 0
fi

if [ &quot;`oslevel -rq 2&gt;/dev/null | sed -n &#039;1p&#039;`&quot; = &quot;`oslevel -r`&quot; ]; then
        echo &quot;Current SP level appears to be downlevel&quot;
        echo &quot;oslevel -s:     $curr_oslevel&quot;
        echo &quot;oslevel -s -q:  `oslevel -sq 2&gt;/dev/null | sed -n &#039;1p&#039;…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=linux:drbd&amp;rev=1385839322&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-30T19:22:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>DRBD</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=linux:drbd&amp;rev=1385839322&amp;do=diff</link>
        <description>DRBD

telepítés
apt-get install drbd8-utils

konfigurálás
vi /etc/drbd.d/r1.res


#include &quot;drbd.d/global_common.conf&quot;;
#include &quot;drbd.d/*.res&quot;;

resource r1 {
 protocol A;
    # transfer protocol to use.
    # C: write IO is reported as completed, if we know it has
    #    reached _both_ local and remote DISK.
    #    * for critical transactional data.
    # B: write IO is reported as completed, if it has reached
    #    local DISK and remote buffer cache.
    #    * for most cases.
    # A:…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:gather_data&amp;rev=1772569061&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-03T20:17:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM és OS adatgyűjtő TSM szerver felméréshez</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:gather_data&amp;rev=1772569061&amp;do=diff</link>
        <description>TSM és OS adatgyűjtő TSM szerver felméréshez

TSM-es környezet OS konfigurációjának és TSM szerver állapotának felméréséhez gyűjt le néhány hasznos adatot. dsmadmc_to_excel.sh


#!/bin/sh
#************** konfig start ************************************#
OUTPUT_DIR=&quot;/tmp&quot;
TSMUSER=report
TSMPASS=report
TSMSERVER=tsm  # dsm.sys servername XXX
INAKTIV_NODE_NAPSZAM=32
#************** konfig vege  ************************************#

HOST=$(hostname)
DSMADMCOPTS=&quot;-se=$TSMSERVER&quot; # -dataonly=y&quot;

# A…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:napi_riport&amp;rev=1768835672&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-19T15:14:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM napi riport shell szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:napi_riport&amp;rev=1768835672&amp;do=diff</link>
        <description>TSM napi riport shell szkript

Riportoló eszköz a TSM szerver állapotának ellenőrzésére, napi feladatok felderítésére. A szkript egyelőre Linux környezet alatt fut (AIX-osítás folyamatban). De természetesen nem kell azonos hoszton futnia a TSM szerverrel, elég ha van egy bekonfigurált, működő dsmadmc a hoszton, a megfelelő dsm.sys sztanzákkal (azokhoz a TSM szerverekhez, amiket riportolni szeretnénk). A szkript elején vannak a konfigurálható paraméterek. 
(</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=linux&amp;rev=1771245137&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-02-16T12:32:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linux okosságok</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=linux&amp;rev=1771245137&amp;do=diff</link>
        <description>Linux okosságok

UDEV trigger
udevadm control --reload-rules &amp;&amp; udevadm trigger
Dátum figyelés
function date_diff()
{
  date=&#039;2020-08-12T16:00:10&#039;
  epoch=$(date -d &quot;$date&quot; +%s)
  if [ &quot;$epoch&quot; -lt &quot;$(date -d &#039;1 minute ago&#039; +%s)&quot; ] ; then
#[[ &quot;$(date -d &#039;2024-02-01 17:26:00&#039; +%s)&quot; -lt &quot;$(date +%s)&quot; ]] &amp;&amp; echo elmult || echo nem
      echo At least 3 days ago
  else
      echo Too recent
  fi
}</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:napi_kliens_riport&amp;rev=1779454865&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-22T13:01:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM kliens riport shell szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:napi_kliens_riport&amp;rev=1779454865&amp;do=diff</link>
        <description>TSM kliens riport shell szkript

TSM kliens ütemezések sikerességét riportoló szkript. A riport szabályokat a „tsm_kliens_riport.&lt;TSM sztanza&gt;” fájlokból veszi, aminek a formátuma:

email cím; (sql WHERE feltétel az events, mint „e”</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=linux:szkripteles&amp;rev=1696425163&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-10-04T13:12:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Szkriptelés</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=linux:szkripteles&amp;rev=1696425163&amp;do=diff</link>
        <description>Szkriptelés

Gyors uniq awk-val
awk &#039;!x[$0]++&#039;
Fájlba beszúrás minta után, ha még nincs
sed -i &#039;/^EZENSTRINGUTAN /{N; /\nBEILLESZTENDO$/b; s/\n/\nBEILLESZTENDO\n/}&#039; /etc/resolv.conf
Futási logok archiválása havi lebontású .zip-be, és az 1 hónapnál régebbiek törlése</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:device_management:lnx_interfaces&amp;rev=1651835337&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-05-06T11:08:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Linux interfészek listázása</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:device_management:lnx_interfaces&amp;rev=1651835337&amp;do=diff</link>
        <description>Linux interfészek listázása


#!/bin/bash
SEARCH=${1-.}
VLAN_SNIFF_TIME=10
#ETH
echo &quot;Port#Address#Speed#State#VLANs#Slaves&quot; | awk -F&#039;#&#039; &#039;{printf &quot;%-25s | %-17s | %10s | %-10s | %-13s | %-15s\n&quot;,$1,$2,$3,$4,$5,$6}&#039;
echo &quot;# Ethernet:&quot;
for ETH in $(ip addr | awk -F&#039;: &#039; &#039;/&lt;/{print $2}&#039; | egrep -v &#039;(@|lo|^$)&#039; | grep &quot;$SEARCH&quot; | sort -k1); do
        STATE=$(ethtool $ETH 2&gt;/dev/null | awk -F&#039;: &#039; &#039;/Link detected/{print $2}&#039; | sed -e &#039;s/yes/Link UP/&#039; -e &#039;s/no/Link DOWN/&#039;)
        SPEED=$(ethtool $ETH 2…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_cpu_pin_map&amp;rev=1620374685&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-05-07T08:04:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Oracle VM CPU pin map</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_cpu_pin_map&amp;rev=1620374685&amp;do=diff</link>
        <description>Oracle VM CPU pin map


#!/bin/bash
#####################################################
# OVM CPU PIN MAP v1.6
# Keszitette: Agoston Peter
#####################################################
CPU_SUM_WARN=5
CPU_SUM_CRIT=10
OVM_ADMIN_PASSWD=PAssword123
OVMC=&quot;/opt/ovm_utils/ovm_vmcontrol&quot;
OVS_SSH_KEY=&quot;/root/.ssh/id_ecdsa_ovs&quot;
SSHC=&quot;ssh -n -p 10000 admin@localhost&quot;
WORKDIR=$(dirname $(readlink -f $0))
FULL_BACKUP_FILE=&quot;${WORKDIR}/all_cpu_pins.bkp.last&quot;
LOGFILE=&quot;${WORKDIR}/ovm_cpu_pin_map.log&quot;
if…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=sql&amp;rev=1769077493&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-01-22T10:24:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Hasznos TSM SQL lekérdezések</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=sql&amp;rev=1769077493&amp;do=diff</link>
        <description>Hasznos TSM SQL lekérdezések

SQL is implemented as if a query was executed in the following order:

	*  FROM clause
	*  WHERE clause
	*  GROUP BY clause
	*  HAVING clause
	*  SELECT clause
	*  ORDER BY clause

Takarításhoz

Nem használt aktív management class-ok listázása</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:vio&amp;rev=1532509124&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-25T08:58:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>VIO parancsok</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:vio&amp;rev=1532509124&amp;do=diff</link>
        <description>VIO parancsok

Login: padmin/padmin

Virtuális adapterek kiosztása új LPAR létrehozásakor

(LPAR létrehozásakor a Virtual Adaptersnél a „max. virt. adapterst” magasra kell venni, mert egy 40-es ID-jű adapter nem tudunk létrehozni, ha nincs min. 40-re véve a max. adapters száma.)</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:io_rebalance&amp;rev=1584362791&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-03-16T12:46:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>DB2 I/O rebalance-t végző szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:io_rebalance&amp;rev=1584362791&amp;do=diff</link>
        <description>DB2 I/O rebalance-t végző szkript

TSM v6 alatti DB space bővítés utáni I/O rebalance-ot automatizáló szkript. Az adatbázis terhelés minimalizálása érdekében egy időben egy tablespace-re futtat rebalance-ot.


#!/bin/sh
db2 -x connect to tsmdb1
db2 -x set schema tsmdb1
db2 -x &quot;select substr(tbspace,1,20) from syscat.tablespaces where tbspacetype=&#039;D&#039;&quot; | while read TBS; do
# Vagy: db2 list tablespaces show detail | grep -p &#039;Database managed space&#039; | awk &#039;/Name.*=/{print $3}&#039;
        db2 -x connect…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:dsmconc&amp;rev=1742398490&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-03-19T15:34:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Színes TSM szerver konzol</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:dsmconc&amp;rev=1742398490&amp;do=diff</link>
        <description>Színes TSM szerver konzol

Ez a „dsmcon” (vagy „dsmadmc -con”) egy (számomra) átláthatóbb alternatívája, mely a különböző részeit az activity lognak más más színnel jeleníti meg. A lenti példa a Warning-os üzeneteket sárgán, az Error-osokat pirossal, ezen kívül a volume neveket cyan, a node neveket fehér, a drive neveket kék színnel. Továbbá a success szavakat zölddel, a fail szavakat szintén pirossal színezi.</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:logcollector&amp;rev=1495114440&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-05-18T13:34:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM kliens log gyűjtő</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:logcollector&amp;rev=1495114440&amp;do=diff</link>
        <description>TSM kliens log gyűjtő

Ez a szkript azoknak a TSM üzemeltetőknek lehet hasznos, akik ő maguk nem rendelkeznek hozzáféréssel a kliens hosztokra (node-okra). Az kliens hoszt üzemeltetője sok esetben nem rendelkezik kellő TSM-es ismerettel ahhoz, hogy egy esetleges TSM-es kliens oldali problémát kivizsgáljon. (Nem tudja milyen logokat, hol kell nézni, mit kell nézni bennük, stb.) Ilyen környezetben elég egy ehhez hasonló szkriptet elhelyezni egy publikus share-en, és csak megkérni az üzemeltetőt, h…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:spp&amp;rev=1733388290&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-05T08:44:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spectrum Protect Plus (SPP)</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:spp&amp;rev=1733388290&amp;do=diff</link>
        <description>Spectrum Protect Plus (SPP)

Frissítés:

Max 2 verziót lehet egyszerre! Először a vsnap szervert kell, utána az appliance-t.

VSNAP

	*  Ütemezések pause-ba tétele a Jobs fülön.
	*  SSH-n bemenni a vsnap szerverre és systemctl stop vsnap</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tdp4ve&amp;rev=1736760338&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-13T09:25:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TDP4VE</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tdp4ve&amp;rev=1736760338&amp;do=diff</link>
        <description>TDP4VE


SErvername              sp1_vadp_v7
   COMMMethod           TCPip
   TCPPort              1500
   TCPServeraddress     localhost
   managedservices      webclient       schedule
   passwordaccess       generate
   schedmode            prompted
   schedlogname         /opt/tivoli/tsm/client/ba/bin/dsmsched_vcenter_v7.log
   schedlogret          30
   errorlogname         /opt/tivoli/tsm/client/ba/bin/dsmerror_vcenter_v7.log
   errorlogret          30
   vmchost              ...
   vmcuse…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_list_vm_disks&amp;rev=1600857629&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-09-23T10:40:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>VM-ek diszkjeinek listázása</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_list_vm_disks&amp;rev=1600857629&amp;do=diff</link>
        <description>VM-ek diszkjeinek listázása


#!/bin/bash
. ovm_functions.sh
kulcs_ellenorzes

printf $yel
echo &quot;VM&quot; &quot;Disk_name&quot; &quot;Repository/WWN&quot; &quot;Disk_Size&quot; &quot;Virt/Phys&quot;| awk &#039;{printf &quot;%-40s %-30s %-40s %10s %3s\n&quot;,$1,$2,$3,$4,$5}&#039;
printf $end
ovm_cli &quot;list vmdiskMapping&quot; | egrep -v &#039;(EMPTY_CDROM)&#039; | grep -v &#039;^$&#039; | grep &#039;)&#039; | while read SOR; do
        ID=$(echo $SOR | grep -oP &quot;(?&lt;=id:)[^ ]+(?= )&quot;)
        DISK_ID=$(echo $SOR | grep -oP &quot;(?&lt;=\()[^ ]+(?=\))&quot;)
        VM=$(ovm_cli &quot;show vmdiskMapping id=$ID&quot; | g…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tsm_install&amp;rev=1733919278&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-11T12:14:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM szerver telepítés</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tsm_install&amp;rev=1733919278&amp;do=diff</link>
        <description>TSM szerver telepítés

	*  TSM instance könyvtársturktúra (DB, Prilog, Archlog, stb...) létrehozása, jogok

	*  32 MB for the /var directory
	*  7 GB for the installation directory
	*  2 GB for the /tmp directory
	*  2 GB in the home directory</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:drp_sync&amp;rev=1558340494&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-05-20T08:21:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM szerver működéséhez szükséges kritikus fájlok szinkronizálása egy tartalék szerverre</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:drp_sync&amp;rev=1558340494&amp;do=diff</link>
        <description>TSM szerver működéséhez szükséges kritikus fájlok szinkronizálása egy tartalék szerverre

Egy TSM szerver recoveryhez szükséges konfig fájlok mentését végző szkript. Egy tartalék szerverre szinkronizálja a fájlokat, 31 napig napi egyet őriz meg, az utolsó 24 órából pedig az összeset. Crontabból időzítve érdemes viszonylag gyakran futtatni.</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:dsmcad_init&amp;rev=1384445549&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-14T16:12:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>A &#039;dsmcad&#039; inittab-ba/init.d-be való betevése</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:dsmcad_init&amp;rev=1384445549&amp;do=diff</link>
        <description>A &#039;dsmcad&#039; inittab-ba/init.d-be való betevése

AIX-en az inittab-ba, linux alatt az init.d-be tesszük.


#!/bin/bash
### AIX inittab beallitas
# Megnezzuk nem letezik-e mar az inittab-ban a bejegyzes, letezik-e a dsmcad es AIX-on vagyunk-e
if [ `grep dsmcad /etc/inittab | wc -l` -eq 0 ] &amp;&amp; [ -f /usr/bin/dsmcad ] &amp;&amp; [ &quot;$(uname)&quot; = &quot;AIX&quot; ]; then
        # Megnezzuk mire mutat a symlink-je a dsmcad-nak, mert azt tesszuk az inittabba
        DSMCADPATH=`ls -l /usr/bin/dsmcad | awk &#039;{print$NF}&#039; | sed…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:oravm&amp;rev=1595859598&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-07-27T14:19:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Oracle VM szkriptek</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:oravm&amp;rev=1595859598&amp;do=diff</link>
        <description>Oracle VM szkriptek

Árva vdisk-ek kilistázása
for diskimage in $( ls /OVS/Repositories/*/VirtualDisks/* );do grep $diskimage /OVS/Repositories/*/*/*/vm.cfg 2&gt;/dev/null || echo $diskimage; done | grep -v file</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:ssh_kulcs_terites&amp;rev=1596549689&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-08-04T14:01:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>SSH kulcs terítő szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:ssh_kulcs_terites&amp;rev=1596549689&amp;do=diff</link>
        <description>SSH kulcs terítő szkript


#!/usr/bin/expect -f

set host [lindex $argv 0]
set user [lindex $argv 1]
set password [lindex $argv 2]
spawn ssh-copy-id -i /home/$user/.ssh/id_ecdsa.pub $host

expect {
    &quot;continue&quot; { send &quot;yes\n&quot;; exp_continue }
    &quot;assword:&quot; { send &quot;$password\n&quot;; }
    &quot;added: 1&quot; { exit 0 }
    &quot;added: 0&quot; { exit 1 }
}</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:replikacio:smart_replicator&amp;rev=1774514667&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-26T08:44:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM Smart Replicator</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:replikacio:smart_replicator&amp;rev=1774514667&amp;do=diff</link>
        <description>TSM Smart Replicator

Ez a szkript a node replikációkat hivatott vezérelni úgy, hogy mindig egy megadott maximum darabszámú (REPLMAXNUM) replikációt futtat. Meghatározott időközönként (REFRESHRATE) figyeli, hogy hány replikációs processz fut épp, és akkor indítja a következőt, mikor ez a szám a REPLMAXNUM alá csökken. A node-ok listáját a szerverről olvassa ki, a REPLSTATE=ENABLED és REPLMODE=SEND/SYNCSEND paraméterű node-okkal dolgozik. Ha az INFINITERUN=true, akkor ha a node-ok listájának végé…</description>
    </item>
</rdf:RDF>
