Teljes szöveg:
- Hálózati okosságok @linux
- at the destination and back up your files there, add a trailing slash (/) at the end of the destination path. If you add the trailing slash to the source, then the source... st/port: (If host is a valid hostname or Internet address, and port is an integer port number or servic... st/port: (If host is a valid hostname or Internet address, and port is an integer port number or servic
- Linuxos "cfgmgr" @shell:device_management
- ash # Skript to rescan SCSI bus, using the # scsi add-single-device mechanism # (c) 1998--2008 Kurt Gar... me=${hostdir#/proc/scsi/*/} if test $name = add_map -o $name = map -o $name = mod_parm; then cont... orm" testexist # Special case: lun 0 just got added (for reportlunscan), # so make sure we correc... hould fail if device is gone echo "scsi add-single-device $devnr" > /proc/scsi/scsi f
- Oracle VM CPU pin map @shell:oravm
- f [[ -z "$OVM_ADMIN_PASSWD" ]]; then read -s -p "Add meg az oracle VM Manager admin jelszavat: " OVM_A... ulcs a CLI-hez, legeneralom:" # read -s -p "Add meg az oracle VM Manager administrator jelszavat:... védett az ($OVS_SSH_KEY) kulcsod, akkor azt most add meg: " ssh-add $OVS_SSH_KEY else if [[ $(ssh-add -l 2>&1) == "Could not open a connection to your au
- Hasznos TSM SQL lekérdezések
- et schema tsmdb1 db2 "select * from schedule_node_addresses where nodeid=(select nodeid from nodes wher... ame=l.node_name where n.locked='NO' and not n.tcp_address is NULL grOUP BY l.PRODUCT_D || ' (' || TRIM(... ame=l.node_name where n.locked='NO' and not n.tcp_address is NULL grOUP BY l.PRODUCT_D || ' (' || TRIM(... =s.nodeid),hladdress,lladdress from schedule_node_addresses s" db2 connect reset ==== Hasznos TSM SQ
- Linux interfészek listázása @shell:device_management
- SEARCH=${1-.} VLAN_SNIFF_TIME=10 #ETH echo "Port#Address#Speed#State#VLANs#Slaves" | awk -F'#' '{print... ,$3,$4,$5,$6}' echo "# Ethernet:" for ETH in $(ip addr | awk -F': ' '/</{print $2}' | egrep -v '(@|lo|^... rint $2}' | sed 's/^[0-9]*/& /') MAC=$(ip addr | grep -A1 "[^@]$ETH:" | grep -o '\([0-9abcdef]... A5 "Slave.*$ETH" $BOND | tail -n1 | grep -oP '(?<=addr: ).*$') fi done if [
- SSH kulcs terítő szkript @shell
- nue } "assword:" { send "$password\n"; } "added: 1" { exit 0 } "added: 0" { exit 1 } } </file> <file h lnx_copy_ssh_id.sh> #!/bin/bash echo -n "Add meg a jelszavad a(z) $USER felhasznalohoz: " read
- Tömeges VM létrehozó szkript @shell:oravm
- tions.sh kulcs_ellenorzes [[ -e $1 ]] || { echo "Add meg a konfig fajlt parameterkent."; exit 1; } ... C_MAC=$(ovm_exec "show vnic id=\"$VNIC_ID\"" "Mac Address") [[ -z $VNIC_ID ]] && { echo -e "${r
- Linux okosságok
- [\w\.\-]+\w+/g){print "$&\n"}' ==== Hiányzik az "add-apt-repository": ==== sudo apt-get install --r... tware-properties ==== Java install: ==== sudo add-apt-repository ppa:webupd8team/java sudo apt-ge
- TSM Auto Deployment planner szkript @shell
- DEPL_PACK_ID != "q" ]]; do printf "${whi}Add meg a hasznalni kivant telepito keszlet sorszamat... EPL_PACK_ID = "i" ]]; then printf "${whi}Add meg az importalni kivant telepito keszlet fajlnev
- DRBD @linux
- sk /dev/loop0; flexible-meta-disk /dev/loop1; address 192.168.1.115:7788; } on rpi2 { device /d... sk /dev/loop0; flexible-meta-disk /dev/loop1; address 192.168.1.118:7788; } } </file> A hoszt név
- DB2 HADR beállítás @doksik_leirasok
- pdate db cfg for tsmdb1 using HADR_LOCAL_HOST <IP ADDRESS OF STNDBY> $ db2 update db cfg for tsmdb1 u... date db cfg for tsmdb1 using HADR_REMOTE_HOST <IP ADDRESS OF STNDBY> $ db2 update db cfg for tsmdb1 u
- A 'dsmcad' inittab-ba/init.d-be való betevése @shell
- Beallitjuk a futasi szinteket /sbin/chkconfig --add tsm /sbin/chkconfig --level 235 tsm on /sbin/
- Idle volume-okat dismountoló szkript szkript @shell
- #!/bin/sh if [[ ! -n "$1" ]]; then echo "Add meg a TSM szerver sztanzat parameterkent!"
- Minden TSM-es process leállítása @shell
- #!/bin/sh if [[ ! -n "$1" ]]; then echo "Add meg a TSM szerver sztanzat parameterkent!"
- TSM trace rotator szkript @shell
- TRACEFLAGS="pvr mms na spi spid sessremote brnode addmsg" TSMSERVER="tsmserver" TSMUSER="admin" TSMPASS