linux:skala

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:skala [2021/09/14 06:17] – created adminlinux:skala [2021/10/15 07:54] (current) admin
Line 1: Line 1:
 ====== Скала ====== ====== Скала ======
 +<code BASH>
 +# Get all snapshots 
 +prlctl list -a | grep { |  awk '{print $5}' | xargs  -t -n1 prlctl snapshot-list $1
 +</code>
 +
  
 <code BASH> <code BASH>
 ISOJ-prod-pub-se-0-75            10.59.0.75 isoj  - Integrity 63 ISOJ-prod-pub-se-0-75            10.59.0.75 isoj  - Integrity 63
 ISOJ-prod-se-1-202               10.59.1.202 isoj  - Integrity 63 ISOJ-prod-se-1-202               10.59.1.202 isoj  - Integrity 63
- 
-tmp-ISOJ-astra-se-1-6         - преднастроенная astra linux 1.6 SE 
- 
-ISOJ-old-prod-10.59.0.81    - old server storage 
-ISOJ-old-prod-pub-0-80      - old server front end 
-  
- 
  
 Skala-R Skala-R
  prlctl start ISOJ-prod-pub-se-0-80  prlctl start ISOJ-prod-pub-se-0-80
  prlctl stop ISOJ-prod-pub-se-0-80  prlctl stop ISOJ-prod-pub-se-0-80
- 
- 
  
 # snapshots https://docs.virtuozzo.com/virtuozzo_hybrid_server_7_users_guide/managing-virtual-machines-and-containers/managing-snapshots.html # snapshots https://docs.virtuozzo.com/virtuozzo_hybrid_server_7_users_guide/managing-virtual-machines-and-containers/managing-snapshots.html
Line 22: Line 18:
  installing AstraSE."  installing AstraSE."
  
 +# install guest tooles
 + prlctl installtools ISOJ-prod-pub-se-0-80
  
  
  
-# install guest tooles 
- prlctl installtools ISOJ-prod-pub-se-0-80 
  
  docker run registry   docker run registry 
- 
 # Docker 3 - http registry # Docker 3 - http registry
 # Astra SE repository # Astra SE repository
Line 76: Line 71:
   #incremental   #incremental
   prlctl backup ISOJ-prod-pub-se-0-80 -i --description "backup isoj prod-pub-se incremental"   prlctl backup ISOJ-prod-pub-se-0-80 -i --description "backup isoj prod-pub-se incremental"
- 
- 
-RSYNC 
- 
-# Reception PUB 
-rsync -rlptgoPv --exclude '!trash' --exclude 'frontend_test' /mnt/frontend/ [email protected]:/mnt/frontend/ 
-# Reception Store 
-rsync -rlptgoPv /mnt/backend/www/pdn_store/  [email protected]:/mnt/backend/www/pdn_store/ 
- 
- 
- 
- 
-LVM resize 
- 
-less  ./config.pvs 
-prlctl stop ISOJ-prod-se-1-202 
- 
-prl_disk_tool resize -i --hdd ./harddisk1.hdd 
-prl_disk_tool resize --size 130G --hdd ./harddisk1.hdd 
-prl_disk_tool resize -i --hdd ./harddisk1.hdd 
- 
- 
-prlctl list -a 
-prlctl start ISOJ-prod-se-1-202 
- 
- 
-LVM resize 
- 
-umount /mnt/backend/ 
-lsblk 
-df -h 
-pvresize /dev/vdb 
- 
-lvextend  -L+10G /dev/mapper/ISOJ--prod--se-isoj--backend 
- 
-e2fsck -f /dev/ISOJ-prod-se/isoj-backend 
-resize2fs /dev/ISOJ-prod-se/isoj-backend 
- 
-mount /mnt/backend/ 
-df -h 
- 
- 
- 
- 
- 
  
 </code> </code>
  
  • linux/skala.1631600271.txt.gz
  • Last modified: 2021/09/14 06:17
  • by admin