Compare commits
14
Commits
79ad48af41
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3ec5ba6294 | ||
|
|
f61f22c7c4 | ||
|
|
c56ae9b7a8 | ||
|
|
e0928dac6f | ||
|
|
e459ad23de | ||
|
|
719cd37844 | ||
|
|
60ddb743fc | ||
|
|
53fff7b67a | ||
|
|
60bdd25a08 | ||
|
|
6f891460cb | ||
|
|
423dc317ae | ||
|
|
d3ed330283 | ||
|
|
eee4927471 | ||
|
|
8fb113110d |
No files matched your search
@@ -0,0 +1,6 @@
|
|||||||
|
GHDR ON
|
||||||
|
GGSTOKEN DETAIL
|
||||||
|
DETAIL ON
|
||||||
|
DETAIL DATA
|
||||||
|
USERTOKEN DETAIL
|
||||||
|
FILEHEADER DETAIL
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
# Annihilator - Never, Neverland
|
||||||
|
|
||||||
|
My room is full of toys and things
|
||||||
|
But filled with nothing new
|
||||||
|
Just me and clare alone in this
|
||||||
|
Enchanted, placid room
|
||||||
|
It's Saturday and no more school
|
||||||
|
There hasn't been for years
|
||||||
|
She says we're here forever
|
||||||
|
'Til eternity
|
||||||
|
|
||||||
|
Our solitude has been disturbed
|
||||||
|
Clare hold on, don't flee
|
||||||
|
With open arms they call my name
|
||||||
|
"Oh won't you come with me?"
|
||||||
|
|
||||||
|
Get back, back!
|
||||||
|
Just leave us all alone
|
||||||
|
Take that and that!
|
||||||
|
I'll break your every bone
|
||||||
|
|
||||||
|
Get back, back!
|
||||||
|
Just leave us all alone
|
||||||
|
Take that and that!
|
||||||
|
I'll break your every bone
|
||||||
|
|
||||||
|
Blacking out, poisoned
|
||||||
|
Colors now decay
|
||||||
|
Drifting off to never, neverland
|
||||||
|
Please don't take me away
|
||||||
|
To never, neverland
|
||||||
|
No, to the neverland!
|
||||||
|
|
||||||
|
Time has passed and now I see
|
||||||
|
What I've lived through
|
||||||
|
I've got no fears that match the hate
|
||||||
|
That came from you
|
||||||
|
It's Saturday, I've things to do
|
||||||
|
I wish you all the best
|
||||||
|
Now I leave your placid room
|
||||||
|
Enjoy eternal rest.
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
```bash
|
||||||
|
sudo dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo
|
||||||
|
sudo dnf -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||||
|
|
||||||
|
systemctl --now enable docker
|
||||||
|
systemctl status docker
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Docker images go into `/var/lib/docker`. To move it on other file system, for example `/app/docker`:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
systemctl stop docker
|
||||||
|
systemctl status docker
|
||||||
|
|
||||||
|
cd /var/lib/
|
||||||
|
mv docker /app/
|
||||||
|
ln -s /app/docker .
|
||||||
|
|
||||||
|
systemctl start docker
|
||||||
|
systemctl status docker
|
||||||
|
``
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
# WOL endor
|
||||||
|
|
||||||
|
Online WOL:
|
||||||
|
1. https://www.depicus.com/wake-on-lan/woli
|
||||||
|
2. https://wake-on-lan.samuraj-cz.com/
|
||||||
|
|
||||||
|
- MAC: `4c:72:b9:65:fd:83`
|
||||||
|
- IP: `82.124.154.212`
|
||||||
|
- PORT: `8686`
|
||||||
|
|
||||||
|
Original `corellia` backups are under `/mnt/unprotected/tmp/VM/backup/corellia`
|
||||||
|
|
||||||
|
SSH to `endor:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ssh root@memo.wombatdb.com -p 4444
|
||||||
|
```
|
||||||
@@ -0,0 +1,94 @@
|
|||||||
|
|
||||||
|
## DNS enteries:
|
||||||
|
```text
|
||||||
|
ivera-db1 IN A 192.168.0.109
|
||||||
|
ivera-db2 IN A 192.168.0.110
|
||||||
|
ivera-db-vip IN A 192.168.0.115
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Master node
|
||||||
|
|
||||||
|
File `docker-compose.yml`:
|
||||||
|
```yml
|
||||||
|
services:
|
||||||
|
keepalived:
|
||||||
|
image: osixia/keepalived:latest
|
||||||
|
container_name: keepalived-master
|
||||||
|
restart: unless-stopped
|
||||||
|
network_mode: host
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
- NET_RAW
|
||||||
|
- NET_BROADCAST
|
||||||
|
volumes:
|
||||||
|
- ./keepalived.conf:/etc/keepalived/keepalived.conf:ro
|
||||||
|
```
|
||||||
|
|
||||||
|
File `keepalived.conf`:
|
||||||
|
```text
|
||||||
|
vrrp_instance VI_1 {
|
||||||
|
state MASTER
|
||||||
|
interface enp1s0
|
||||||
|
virtual_router_id 51
|
||||||
|
priority 100
|
||||||
|
advert_int 1
|
||||||
|
|
||||||
|
unicast_src_ip 192.168.0.109 # Replace with Master node's actual IP
|
||||||
|
unicast_peer {
|
||||||
|
192.168.0.110 # Replace with Backup node's actual IP
|
||||||
|
}
|
||||||
|
|
||||||
|
authentication {
|
||||||
|
auth_type PASS
|
||||||
|
auth_pass secret
|
||||||
|
}
|
||||||
|
|
||||||
|
virtual_ipaddress {
|
||||||
|
192.168.0.115/24 # The shared Virtual IP (VIP)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Backup node
|
||||||
|
|
||||||
|
File `docker-compose.yml`:
|
||||||
|
```yml
|
||||||
|
services:
|
||||||
|
keepalived:
|
||||||
|
image: osixia/keepalived:latest
|
||||||
|
container_name: keepalived-backup
|
||||||
|
restart: unless-stopped
|
||||||
|
network_mode: host
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
- NET_RAW
|
||||||
|
- NET_BROADCAST
|
||||||
|
volumes:
|
||||||
|
- ./keepalived.conf:/etc/keepalived/keepalived.conf:ro
|
||||||
|
```
|
||||||
|
|
||||||
|
File `keepalived.conf`:
|
||||||
|
```text
|
||||||
|
vrrp_instance VI_1 {
|
||||||
|
state BACKUP
|
||||||
|
interface enp1s0
|
||||||
|
virtual_router_id 51
|
||||||
|
priority 90
|
||||||
|
advert_int 1
|
||||||
|
|
||||||
|
unicast_src_ip 192.168.0.110 # Replace with Backup node's actual IP
|
||||||
|
unicast_peer {
|
||||||
|
192.168.0.109 # Replace with Master node's actual IP
|
||||||
|
}
|
||||||
|
|
||||||
|
authentication {
|
||||||
|
auth_type PASS
|
||||||
|
auth_pass secret
|
||||||
|
}
|
||||||
|
|
||||||
|
virtual_ipaddress {
|
||||||
|
192.168.0.115/24 # The shared Virtual IP (VIP)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# opatch with inventory location
|
||||||
|
/app/oracle/product/ogg26ai/OPatch/opatch lspatches -invPtrLoc /etc/oraInst.loc
|
||||||
|
|
||||||
@@ -5,4 +5,5 @@ Configuration file `~/.screenrc`:
|
|||||||
termcapinfo xterm* ti@:te@
|
termcapinfo xterm* ti@:te@
|
||||||
caption always
|
caption always
|
||||||
caption string "%{= bW}%3n %{y}%t %{-}%= %{m}%H%?%{-} -- %{c}%l%?%{-} -- %D %M %d %{y}%c"
|
caption string "%{= bW}%3n %{y}%t %{-}%= %{m}%H%?%{-} -- %{c}%l%?%{-} -- %D %M %d %{y}%c"
|
||||||
|
shell -$SHELL
|
||||||
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
Install Docker
|
|
||||||
--------------
|
|
||||||
|
|
||||||
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
|
|
||||||
dnf install -y docker-ce --nobest
|
|
||||||
|
|
||||||
systemctl enable --now docker
|
|
||||||
systemctl status docker
|
|
||||||
|
|
||||||
|
|
||||||
Docker is installed by default on `/var/lib/docker`. To move it on other file system, for example `/app/docker`:
|
|
||||||
|
|
||||||
systemctl stop docker
|
|
||||||
|
|
||||||
cd /var/lib/
|
|
||||||
mv docker /app/
|
|
||||||
ln -s /app/docker .
|
|
||||||
|
|
||||||
systemctl start docker
|
|
||||||
systemctl status docker
|
|
||||||
|
|
||||||
Usefull commands
|
|
||||||
----------------
|
|
||||||
|
|
||||||
Alias to stop and remove all containers:
|
|
||||||
|
|
||||||
alias cclean='docker stop $(docker ps -a -q); docker rm $(docker ps -a -q)'
|
|
||||||
|
|
||||||
Truncate all container logs:
|
|
||||||
|
|
||||||
truncate -s 0 $(docker inspect --format='{{.LogPath}}' $(docker ps -a -q))
|
|
||||||
|
|
||||||
Save an image:
|
|
||||||
|
|
||||||
docker save sabnzbd/sabnzbd | pigz > /mnt/yavin4/tmp/sabnzbd.tar.gz
|
|
||||||
|
|
||||||
Load an image:
|
|
||||||
|
|
||||||
gunzip -c /mnt/yavin4/tmp/sabnzbd.tar.gz | docker load
|
|
||||||
|
|
||||||
Set auto start for all host containers:
|
|
||||||
|
|
||||||
docker update --restart unless-stopped $(docker ps -q)
|
|
||||||
|
|
||||||
Run command in bash:
|
|
||||||
|
|
||||||
docker exec -it <container> bash
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
oracle@bakura[MYDB]:/home/oracle$ cat /home/oracle/MYDB.ora
|
||||||
|
|
||||||
|
*.compatible='23.6.0'
|
||||||
|
*.db_block_size=8192
|
||||||
|
*.db_create_file_dest='/data'
|
||||||
|
*.db_name='MYDB'
|
||||||
|
*.db_recovery_file_dest='/reco'
|
||||||
|
*.db_recovery_file_dest_size=10240m
|
||||||
|
*.db_unique_name='MYDB'
|
||||||
|
*.diagnostic_dest='/app/oracle/base'
|
||||||
|
*.enable_pluggable_database=false
|
||||||
|
*.nls_language='AMERICAN'
|
||||||
|
*.nls_territory='AMERICA'
|
||||||
|
*.open_cursors=300
|
||||||
|
*.pga_aggregate_target=768m
|
||||||
|
*.processes=320
|
||||||
|
*.remote_login_passwordfile='EXCLUSIVE'
|
||||||
|
*.sga_target=2304m
|
||||||
|
*.undo_tablespace='UNDOTBS1'
|
||||||
|
|
||||||
|
|
||||||
|
oracle@bakura[MYDB]:/home/oracle$ s
|
||||||
|
|
||||||
|
SQL*Plus: Release 23.26.1.0.0 - Production on Sun Jun 7 10:08:29 2026
|
||||||
|
Version 23.26.1.0.0
|
||||||
|
|
||||||
|
Copyright (c) 1982, 2025, Oracle. All rights reserved.
|
||||||
|
|
||||||
|
Connected to an idle instance.
|
||||||
|
|
||||||
|
SQL> startup nomount pfile='/home/oracle/MYDB.ora'
|
||||||
|
ORA-65101: container database set up incorrectly
|
||||||
|
ORA-01078: failure in processing system parameters
|
||||||
|
SQL> Disconnected
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
col inst_id for 99 head I#
|
||||||
|
col module for a15 trunc
|
||||||
|
col action for a15 trunc
|
||||||
|
col event for a40
|
||||||
|
col blocking_session for 99999 head Blocking|session
|
||||||
|
col blocking_instance for 99 head BI#
|
||||||
|
col blocking_session_status for a10 head Blocking|session|status
|
||||||
|
col final_blocking_session for 99999 head Final|Blocking|session
|
||||||
|
col final_blocking_instance for 99 head FBI#
|
||||||
|
col final_blocking_session_status for a10 head Final|Blocking|session|status
|
||||||
|
|
||||||
|
select
|
||||||
|
inst_id,
|
||||||
|
sid,
|
||||||
|
serial#,
|
||||||
|
sql_id,
|
||||||
|
status,
|
||||||
|
blocking_session,
|
||||||
|
blocking_instance,
|
||||||
|
blocking_session_status,
|
||||||
|
final_blocking_session,
|
||||||
|
final_blocking_instance,
|
||||||
|
final_blocking_session_status,
|
||||||
|
module,
|
||||||
|
action,
|
||||||
|
event
|
||||||
|
from
|
||||||
|
gv$session
|
||||||
|
where
|
||||||
|
action like 'client%'
|
||||||
|
order by
|
||||||
|
action asc
|
||||||
|
/
|
||||||
Reference in new issue
Block a user