<?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-07T11:55:03+00:00</dc:date>
        <items>
            <rdf:Seq>
                <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=linux:network&amp;rev=1778063040&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:riportok:napi_riport&amp;rev=1768835672&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:data_domain&amp;rev=1660553311&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:find_shell_scripts&amp;rev=1583751037&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:oravm:ovm_list_vm_disks&amp;rev=1600857629&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=sql&amp;rev=1769077493&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=szabalyzat&amp;rev=1365679780&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:dsmcad&amp;rev=1721998374&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=doksik_leirasok:tsm_install&amp;rev=1733919278&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:auto_deploy_planner&amp;rev=1495113841&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:technikai_pool_kialakitas&amp;rev=1642080883&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:replikacio:smart_replicator&amp;rev=1774514667&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:napi_kliens_riport&amp;rev=1734615089&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:q_pr&amp;rev=1731509933&amp;do=diff"/>
                <rdf:li rdf:resource="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:q_se&amp;rev=1732790751&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: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=linux:network&amp;rev=1778063040&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-06T10:24:00+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=1778063040&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: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: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=doksik_leirasok:data_domain&amp;rev=1660553311&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-08-15T08:48:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Data Domain</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:data_domain&amp;rev=1660553311&amp;do=diff</link>
        <description>Data Domain

Mount
/opt/emc/boostfs/bin/boostfs mount -d &lt;dd_server&gt; -s &lt;storage_unit&gt; -o allow-others=true  &lt;mountpoint&gt;

Klasszikus fstab-os mount
&lt;dd_server&gt;:/&lt;storage_unit&gt; &lt;mount point&gt; boostfs defaults,_netdev,bfsopt(allow-others=true) 0 0
AutoFs</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:find_shell_scripts&amp;rev=1583751037&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-03-09T10:50:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Shell szkript felderítő szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:find_shell_scripts&amp;rev=1583751037&amp;do=diff</link>
        <description>Shell szkript felderítő szkript

Felderíti a hoszton lévő shell szkripteket, és megmutatja a sha hast-üket, a módosítási dátumukat, meg van-e hívva valakinek a crontab-jából, illetve van-e benne IP cím, email cím, vagy előre definiált parancsok valamelyike.
Paraméterként meg lehet neki adni, hogy mely könyvtárra fusson, egyébként az egész fájlrendszerben keres. Illetve szkript lista fájl is megadható neki paraméterként, akkor az abban felsorolt szkripteket elemzi. Ilyen bemenetet gyárt kimenetké…</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: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=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=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=szabalyzat&amp;rev=1365679780&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-04-11T11:29:40+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Turkáló szabályzat</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=szabalyzat&amp;rev=1365679780&amp;do=diff</link>
        <description>Turkáló szabályzat

Olvasóknak:

Amit itt találsz, minden szabadon felhasználható, de minden csakis saját felelősségre! A hivatalos IBM Supportot nem kívánjuk helyettesíteni (maximum kiegészíteni). Mielőtt mindenféle nem dokumentált parancsokat lövögetnél el éles rendszeren, vagy esetlegesen napokig futó SQL lekérdezéseket futtatnál, előtte alaposan gondold végig, vagy kérdezz olyat, aki már használta azt, amit szeretnél, hogy minimalizáld a baklövések esélyét.…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:dsmcad&amp;rev=1721998374&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-07-26T12:52:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>A dsmcad automatikus indítása</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=doksik_leirasok:dsmcad&amp;rev=1721998374&amp;do=diff</link>
        <description>A dsmcad automatikus indítása

Opció 1:
cp /opt/tivoli/tsm/client/ba/bin/dsmcad.service /etc/systemd/system
ln -s /etc/systemd/system/dsmcad.service /etc/systemd/system/multi-user.target.wants/dsmcad.service
systemctl daemon-reload
systemctl start dsmcad</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=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=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: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: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:technikai_pool_kialakitas&amp;rev=1642080883&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-13T13:34:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Technikai poolokat, vezérlő szkripteket kialakító szkript</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:technikai_pool_kialakitas&amp;rev=1642080883&amp;do=diff</link>
        <description>Technikai poolokat, vezérlő szkripteket kialakító szkript


#!/bin/sh
TSMUSER=user
TSMPASS=pass
TSMSERVER=tsmsrv

echo &quot;Melyik library elerhetetlensege esetere generaljam le a technikai poolokat, mukodteto scripteket?&quot;
dsmadmc -id=$TSMUSER -pa=$TSMPASS -se=$TSMSERVER -dataonly=y &quot;q libr&quot;
printf &quot;: &quot;; read LIBRARY
echo &quot;Melyik library-be iranyitsuk at a tape forgalmat a $LIBRARY-bol, ha az nem elerheto?&quot;
printf &quot;: &quot;; read DR_LIBRARY
echo &quot;Mi legyen a device class neve a $DR_LIBRARY-ben, amin a te…</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: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: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:napi_kliens_riport&amp;rev=1734615089&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-19T13:31:29+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=1734615089&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:riportok:q_pr&amp;rev=1731509933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-13T14:58:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Szebb &#039;q process&#039; kimenet</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:q_pr&amp;rev=1731509933&amp;do=diff</link>
        <description>Szebb &#039;q process&#039; kimenet

6-os szerver verzióhoz írt lekérdezés, mely sortörés nélkül írja ki a &#039;q process&#039; kimenetét, adatátviteli sebességekkel és process start idővel kiegészítve.


#!/bin/sh
TSMSERVER=&#039;tsmsrv01&#039;
ID=&#039;tsm_user&#039;
PA=&#039;tsm_pass&#039;

RED=&#039;\033[0;31m&#039;
GREEN=&#039;\033[0;32m&#039;
CYAN=&#039;\033[0;36m&#039;
LIGHT_GREEN=&#039;\033[1;32m&#039;
YELLOW=&#039;\033[1;33m&#039;
LIGHT_CYAN=&#039;\033[1;36m&#039;
DEFAULT=&#039;\033[0m&#039;
SQL=&#039;SELECT process_num, substr(process,1,20) as PROCESS, substr(char(start_time),1,19) AS START_TIME,substr(char…</description>
    </item>
    <item rdf:about="https://tsm.agostonpeter.com/doku.php?id=shell:riportok:q_se&amp;rev=1732790751&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-28T10:45:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Szebb &#039;q session&#039; kimenet</title>
        <link>https://tsm.agostonpeter.com/doku.php?id=shell:riportok:q_se&amp;rev=1732790751&amp;do=diff</link>
        <description>Szebb &#039;q session&#039; kimenet

6-os szerver verzióhoz írt lekérdezés, mely sortörés nélkül írja ki a &#039;q session&#039; kimenetét, adatátviteli sebességekkel és session start idővel kiegészítve.


#!/bin/sh
TSMSERVER=&#039;tsmsrv01&#039;
ID=&#039;tsm_user&#039;
PA=&#039;tsm_pass&#039;

RED=&#039;\033[0;31m&#039;
GREEN=&#039;\033[0;32m&#039;
CYAN=&#039;\033[0;36m&#039;
LIGHT_GREEN=&#039;\033[1;32m&#039;
YELLOW=&#039;\033[1;33m&#039;
LIGHT_CYAN=&#039;\033[1;36m&#039;
DEFAULT=&#039;\033[0m&#039;
SQL=&quot;SELECT SESSION_ID, CLIENT_NAME, substr(char(start_time),1,19) AS START_TIME,substr(char(days(current_timesta…</description>
    </item>
</rdf:RDF>
