<?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-06-18T09:53:41+00:00</dc:date>
        <items>
            <rdf:Seq>
                <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=sql&amp;rev=1781255695&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:drive_usage&amp;rev=1662372529&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:circular_copy&amp;rev=1479310056&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:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:replikacio:change_repl_roles&amp;rev=1772446625&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=shell:riportok:gather_data&amp;rev=1772569061&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:auto_deploy_planner&amp;rev=1495113841&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=shell:oravm:ovm_create_vlan_interface&amp;rev=1580811452&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:in_risk_vmware&amp;rev=1649928278&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:get_serial&amp;rev=1495113937&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:inclexcl&amp;rev=1732617535&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tsm_restore&amp;rev=1736430527&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:drp_sync&amp;rev=1558340494&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:rsync&amp;rev=1450381632&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:tsm_archiver&amp;rev=1680098207&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:tap_mount_logger&amp;rev=1384445677&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:trace_rotator&amp;rev=1456932900&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=shell:oravm:ovm_rename_phys_disk&amp;rev=1594733600&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:obj_search&amp;rev=1495114440&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: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=sql&amp;rev=1781255695&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-06-12T09:14:55+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=1781255695&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=shell:riportok:drive_usage&amp;rev=1662372529&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-05T10:08:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM drive usage riport</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:drive_usage&amp;rev=1662372529&amp;do=diff</link>
        <description>TSM drive usage riport

Lekérdezi 24 órás, óránkénti bontásokban a TSM szerver teljes drive használatát, library-kre bontva, és felrajzolja egy ASCII hisztogramon. (Linux/AIX kompitibilis, bash és perl kell a futáshoz.)




#!/bin/bash
#########################################################
# TSM drive hasznalat riportolo szkript  v1.0           #
# Keszitette: Agoston Peter, tsm.agostonpeter.com       #
#########################################################
FILLER=&quot;#&quot;
TMP_FILE=/tmp/dr_usag…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:circular_copy&amp;rev=1479310056&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-11-16T15:27:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM Cirkuláris Másolatkészítő szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:circular_copy&amp;rev=1479310056&amp;do=diff</link>
        <description>TSM Cirkuláris Másolatkészítő szkript

A primary pool-okat, amiket a PRIM_POOL_WHERE változóban megadott SQL feltétellel definiálunk, folyamatosan másolja az azonos nevű, _C végű copy poolokba. Egy időben BACKUPMAXNUM „backup stg” processzt enged futni, amit REFRESHRATE percenként vizsgál. Az INFINITERUN=true esetén ha a storage pool lista végére ért, kezdi előről.</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>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:replikacio:change_repl_roles&amp;rev=1772446625&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-02T10:17:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM node replikacios iranyt forgato szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:replikacio:change_repl_roles&amp;rev=1772446625&amp;do=diff</link>
        <description>TSM node replikacios iranyt forgato szkript

A szkript két replikációs TSM szervert tud kezelni. (Egy cél és egy hozzá tartozó forrás szerver.) Paraméterként megadott node, vagy node-ok replikációs szerepkörét cseréli meg (megfordítja a node replikációs irányát), törli, vagy teszi szinkron módba.</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=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=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:auto_deploy_planner&amp;rev=1495113841&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-05-18T13:24:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM Auto Deployment planner szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:auto_deploy_planner&amp;rev=1495113841&amp;do=diff</link>
        <description>TSM Auto Deployment planner szkript

A shell az Admin Center-t igyekszik kiváltani, legalábbis ami az Auto Deployment funkcióját illeti. Lekérdezi a beimportált autodeploy package-eket, és kilistázza. Ebből a listából választott package-hez meg kell adnunk milyen nevű ütemezést szeretnénk, mikor fusson, és mely node-okra állítsa be a deploy-t. A szkript</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=shell:oravm:ovm_create_vlan_interface&amp;rev=1580811452&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-04T10:17:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Tömeges VLAN interfész generáló szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_create_vlan_interface&amp;rev=1580811452&amp;do=diff</link>
        <description>Tömeges VLAN interfész generáló szkript


#!/bin/bash
#A konfig fajl strukturaja:
#OVS    Szulo_interface VLAN_ID IP_cim  Netmask

LOGFILE=&quot;ovm_create_vlan_interfaces.log&quot;

. ovm_functions.sh
kulcs_ellenorzes

[[ -e $1 ]] || { echo &quot;Add meg a konfig fajlt parameterkent.&quot;; exit 1; }
while read LINE; do
        OVS_NAME=$(echo $LINE | cut -d&#039; &#039; -f 1)
        IFACE_NAME=$(echo $LINE | cut -d&#039; &#039; -f 2)
        VLAN=$(echo $LINE | cut -d&#039; &#039; -f 3)
        IPADDR=$(echo $LINE | cut -d&#039; &#039; -f 4)
        N…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:in_risk_vmware&amp;rev=1649928278&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-14T09:24:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>VMware image mentések riportja</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:in_risk_vmware&amp;rev=1649928278&amp;do=diff</link>
        <description>VMware image mentések riportja


TSMUSER=user
TSMPASS=password
TSMSERVER=tsm
EMAIL_FROM=&quot;TSM riporter&quot;
TSMNODE=VCENTER01
IN_RISK_DAYS=31
OUTPUT_FILE=&quot;in_risk_vm_machines.out&quot;
EXCEPTION_FILE=&quot;in_risk_vm_machines.exceptions&quot;
VCENTERS=&#039;https://vcenter01.fkf.hu/sdk&#039;</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:get_serial&amp;rev=1495113937&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-05-18T13:25:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>AIX tape device-ok lekérdezése sorozatszámmal, PRI/ALT párral (ha van)</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:get_serial&amp;rev=1495113937&amp;do=diff</link>
        <description>AIX tape device-ok lekérdezése sorozatszámmal, PRI/ALT párral (ha van)



#!/bin/sh
if [[ &quot;$1&quot; != &quot;smc&quot; &amp;&amp; &quot;$1&quot; != &quot;all&quot; &amp;&amp; -z &quot;$1&quot; ]]; then
  DEVT=&#039;rmt&#039;;
  echo &quot;rmt eszkozok lekerdezese...&quot;
fi
if [ &quot;$1&quot; = &quot;all&quot; ]; then
  DEVT=&#039;(rmt|smc)&#039;;
  echo &quot;rmt&amp;smc eszkozok lekerdezese...&quot;
fi
if [ &quot;$1&quot; = &quot;smc&quot; ]; then
  DEVT=$1
  echo &quot;smc eszkozok lekerdezese...&quot;
fi

if [ -e &quot;/tmp/get_serial.out&quot; ]; then rm /tmp/get_serial.out; fi
if [ -e &quot;/tmp/get_serial.tmp&quot; ]; then rm /tmp/get_serial.tmp; fi
if [ -e …</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:inclexcl&amp;rev=1732617535&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-26T10:38:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Include-exclude használat</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:inclexcl&amp;rev=1732617535&amp;do=diff</link>
        <description>Include-exclude használat

Match from top down
If you run dsmc q inclexcl -optfile=„C:\Program Files\Tivoli\tsm\TDPSql\dsm.opt”, you will see the outputs like the following:

(1). &#039;*\...\copyfull*&#039; in TSM Server:


  *** FILE INCLUDE/EXCLUDE ***
  Mode Function  Pattern (match from top down)  Source File
  ---- --------- ------------------------------ -----------------
  **Include All       *\...\copyfull*                Server**
  Include All       *\...\log\...\*                Server
  Includ…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tsm_restore&amp;rev=1736430527&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-09T13:48:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM restore</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:tsm_restore&amp;rev=1736430527&amp;do=diff</link>
        <description>TSM restore

Lépések:

	*  Üres TSM szerver telepítés.
	*  Library, drive, pathok és hozzá tartozó devclass bedefiniálása a visszatöltéshez.
	*  Ha van működő instance, a szalagokat private-ként be kell checkinelni, hogy a restore megtalálja.</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: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:rsync&amp;rev=1450381632&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-12-17T19:47:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Rsync szkript, mappák szinkronizálásához, mely rule fájlokból veszi a &quot;mit-hovákat&quot;</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:rsync&amp;rev=1450381632&amp;do=diff</link>
        <description>Rsync szkript, mappák szinkronizálásához, mely rule fájlokból veszi a &quot;mit-hovákat&quot;

A szkript az „rsync_*.rule” fájlokat dolgozza fel. 2 vagy 3 TAB-bal elválasztott oszlopból kell álljanak a rule fájlok.
Az első oszlop a „forrás”</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:tsm_archiver&amp;rev=1680098207&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-29T13:56:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM &quot;Inkrementális&quot; archiváló szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:tsm_archiver&amp;rev=1680098207&amp;do=diff</link>
        <description>TSM &quot;Inkrementális&quot; archiváló szkript


#!/bin/bash
DIRECTORIES=&quot;/DIR1 /dir2&quot;
WORKDIR=&quot;/root/tsm_archiver&quot;
LOGFILE=&quot;${WORKDIR}/tsm_archiver.log&quot;
echo &quot;------------------------ $(date) START ----------------------&quot; &gt;&gt; &quot;$LOGFILE&quot;
for DIR in $DIRECTORIES; do
        FILELIST=&quot;${WORKDIR}/tsm_archiver_$(echo ${DIR} | sed &#039;s/[^a-zA-Z0-9\-\.]/_/g&#039;).lst&quot;
        dsmc q ar $DIR/ -subdir=y | awk &quot;/${DIR:1}/&quot;&#039;{print $5}&#039; | sort &gt; &quot;${FILELIST}.archived&quot;
        [[ ! -f &quot;${FILELIST}.archived&quot; ]] &amp;&amp; touch &quot;${…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:tap_mount_logger&amp;rev=1384445677&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-14T16:14:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Melyik node(ok) viszik el a drive erőforrásaim?</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:tap_mount_logger&amp;rev=1384445677&amp;do=diff</link>
        <description>Melyik node(ok) viszik el a drive erőforrásaim?

Valamiért ki van hajtva az összes fizikai drive-om, pedig elvileg nem kellene, hogy így legyen. Valamelyik node egy rossz beállítás miatt közvetlenül szalagra ír, pedig a diszk poolomba kellene. Crontabból futtatom az alábbi szkriptet 15 percenként, ami az activity logból lekérdezi történt-e mountolás az utsó 15 percben íráshoz, s ha igen, melyik node tette ezt:</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:trace_rotator&amp;rev=1456932900&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-03-02T15:35:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>TSM trace rotator szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:trace_rotator&amp;rev=1456932900&amp;do=diff</link>
        <description>TSM trace rotator szkript

A Unix világából jól ismert logrotate alapelvét használva, a TSM trace file-okat időnként betömöríti gzip-pel. 
A TRACEFILE-ban adjuk meg a trace filet, amibe írja a TSM a trace kimenetet. A TRACEFLAGS paraméter tartalmazza a trace flag-eket, majd a trace-elni kívánt TSM szerver sztanzájához, név, TSM-es user és jelszó megadása jön, és egy MAXSIZE paraméter, amit ha elér a trace file mérete, a szkipt leállítja a trace-elést, betömöríti a trace file-lal azonos könyvtárb…</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=shell:oravm:ovm_rename_phys_disk&amp;rev=1594733600&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-07-14T13:33:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Fizikai diszkeket átnevező szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:oravm:ovm_rename_phys_disk&amp;rev=1594733600&amp;do=diff</link>
        <description>Fizikai diszkeket átnevező szkript


#!/bin/bash
## bemeneti fajl szintaxis:
# DISK_UUID  DISK_NAME  SHAREABLE
# 6005076802820058A000000000000000        diszk_név  No [host1,host2,host3 - opcionális]
. ovm_functions.sh
kulcs_ellenorzes
TMP_FILE=/tmp/ovm_rename_phys_disks.tmp
LOGFILE=&quot;ovm_rename_phys_disks.log&quot;


&gt;$TMP_FILE
[[ -e $1 ]] || { echo &quot;Add meg a konfig fajlt parameterkent.&quot;; exit 1; }
ovm_cli &quot;list PhysicalDisk&quot; | awk -F&#039; &#039; &#039;/:/{print $2}&#039; | sed &#039;s/id://&#039; | while read SOR; do
#ovm_cli …</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:obj_search&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>Egy node adott objektumának kikeresése, van-e, melyik szalagon van</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:obj_search&amp;rev=1495114440&amp;do=diff</link>
        <description>Egy node adott objektumának kikeresése, van-e, melyik szalagon van

Adott nevű, útvonalú objektumot keres egy NODE mentései/archiválásai közt, majd ha létezik ilyen, kiírja, melyik táblában van, és milyen volume-on van letárolva.


#!/bin/bash
ID=&quot;userem&quot;
PSW=&quot;jelszavam&quot;
printf &#039;Keresett objektum nev (ll_name): &#039;; read -r LL_NAME
if [[ $LL_NAME ]]; then LL_NAME=&quot;and ll_name=&#039;$LL_NAME&#039;&quot;; fi
printf &#039;Keresett objektum utvonal (hl_name): &#039;; read -r HL_NAME
if [[ $HL_NAME ]]; then HL_NAME=&quot;and hl_nam…</description>
    </item>
</rdf:RDF>
