Quantcast
Channel: Karl Arao's TiddlyWiki
Viewing all 1150 articles
Browse latest View live

ash_wait_chains.sql, ash wait chains

$
0
0


Troubleshooting Database Contention With V$Wait_Chains (Doc ID 1428210.1)
http://blog.tanelpoder.com/2013/09/11/advanced-oracle-troubleshooting-guide-part-11-complex-wait-chain-signature-analysis-with-ash_wait_chains-sql/
http://blog.dbi-services.com/oracle-is-hanging-dont-forget-hanganalyze-and-systemstate/

troubleshooting SYS:(GTXn) DFS lock handle

ASH wait chain saves the day again! ;) http://goo.gl/7QCSyW @TanelPoder XA config issue.. rdbms ipc reply -> SYS:(GTXn) DFS lock handle
https://twitter.com/karlarao/status/477168595223326721
@<the script> username||':'||program2||event2 session_type='FOREGROUND' "TIMESTAMP'2014-11-19 17:00:00'""TIMESTAMP'2014-11-19 18:00:00'"

troubleshooting buffer pins were preempted by RM (concurrency + CPU starvation)

I've experienced a scenario where buffer pins were preempted by RM (concurrency + CPU starvation), see more details here http://bit.ly/1xuqbfM or this evernote link if the bitly URL doesn't work https://www.evernote.com/l/ADBZSq7DnIpCsLIloybj-87jZ-q0LxHo6uA
22:18:35 SYS@pib01scp4> @ash_wait_chains program2||event2||sql_id "event='buffer busy waits'" sysdate-1/24/60 sysdate

%This     SECONDS
------ ----------
WAIT_CHAIN
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  72%        2085
-> (JDBC Thin Client) buffer busy waits [segment header] fv4fs01rvgdju -> (JDBC Thin Client) resmgr:cpu quantum fv4fs01rvgdju

troubleshooting library cache: mutex X

@<the script> username||':'||program2||event2||top_level_call_name||sql_opname||p1text||p1 session_type='FOREGROUND' "TIMESTAMP'2014-11-19 13:00:00'""TIMESTAMP'2014-11-19 14:00:00'"

SELECT * FROM *v$db_object_cache* WHERE hash_value = *3309402135*
select * from (
 select case when (kglhdadr = kglhdpar) then 'Parent' else 'Child '||kglobt09 end cursor,
 kglhdadr ADDRESS, substr(kglnaobj,1,20) NAME, kglnahsh HASH_VALUE, kglobtyd TYPE, 
 kglobt23 LOCKED_TOTAL, kglobt24 PINNED_TOTAL,kglhdexc EXECUTIONS, kglhdnsp NAMESPACE
 from x$kglob -- where kglobtyd != 'CURSOR'
order by kglobt24 desc)
where rownum <= 20;
see more here library cache: mutex X


SCRIPT: Troubleshooting Database Contention With V$Wait_Chains (Doc ID 1428210.1)

set pages 1000
set lines 120
set heading off
column w_proc format a50 tru
column instance format a20 tru
column inst format a28 tru
column wait_event format a50 tru
column p1 format a16 tru
column p2 format a16 tru
column p3 format a15 tru
column Seconds format a50 tru
column sincelw format a50 tru
column blocker_proc format a50 tru
column fblocker_proc format a50 tru
column waiters format a50 tru
column chain_signature format a100 wra
column blocker_chain format a100 wra

SELECT * 
FROM (SELECT 'Current Process: '||osid W_PROC, 'SID '||i.instance_name INSTANCE, 
 'INST #: '||instance INST,'Blocking Process: '||decode(blocker_osid,null,'<none>',blocker_osid)|| 
 ' from Instance '||blocker_instance BLOCKER_PROC,
 'Number of waiters: '||num_waiters waiters,
 'Final Blocking Process: '||decode(p.spid,null,'<none>',
 p.spid)||' from Instance '||s.final_blocking_instance FBLOCKER_PROC, 
 'Program: '||p.program image,
 'Wait Event: ' ||wait_event_text wait_event, 'P1: '||wc.p1 p1, 'P2: '||wc.p2 p2, 'P3: '||wc.p3 p3,
 'Seconds in Wait: '||in_wait_secs Seconds, 'Seconds Since Last Wait: '||time_since_last_wait_secs sincelw,
 'Wait Chain: '||chain_id ||': '||chain_signature chain_signature,'Blocking Wait Chain: '||decode(blocker_chain_id,null,
 '<none>',blocker_chain_id) blocker_chain
FROM v$wait_chains wc,
 gv$session s,
 gv$session bs,
 gv$instance i,
 gv$process p
WHERE wc.instance = i.instance_number (+)
 AND (wc.instance = s.inst_id (+) and wc.sid = s.sid (+)
 and wc.sess_serial# = s.serial# (+))
 AND (s.final_blocking_instance = bs.inst_id (+) and s.final_blocking_session = bs.sid (+))
 AND (bs.inst_id = p.inst_id (+) and bs.paddr = p.addr (+))
 AND ( num_waiters > 0
 OR ( blocker_osid IS NOT NULL
 AND in_wait_secs > 10 ) )
ORDER BY chain_id,
 num_waiters DESC)
WHERE ROWNUM < 101;



buffer busy waits - troubleshooting

file header contention (block class 13)

time series DB

$
0
0

file header contention (block class 13), bclass 13

$
0
0

file header contention (block class 13)

  • there are two layers to this object level and tablespace level INITIAL and NEXT settings
  • object level settings overrides the tablespace level settings

you can change the settings in two ways

  • alter
  • move (table) / rebuild (index)

references

https://myotragusbalearicus.wordpress.com/2011/10/04/change-the-initial-extent-of-a-table/
https://sites.google.com/site/embtdbo/wait-event-documentation/oracle-buffer-busy-wait
Database hangs: "gc buffer busy acquire/release" and "gc current block busy" pointing to the tempfile block #2 (Doc ID 2192851.1)
Resolving Intense and "Random" Buffer Busy Wait Performance Problems (Doc ID 155971.1)
http://www.slideshare.net/tanelp/troubleshooting-complex-performance-issues-oracle-seg-contention
http://blog.tanelpoder.com/2013/11/06/diagnosing-buffer-busy-waits-with-the-ash_wait_chains-sql-script-v0-2/
http://ksun-oracle.blogspot.com/2015/12/oracle-bigfile-tablespace-pre.html
https://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:2045988935154
Extent Sizes for Sort, Direct Load and Parallel Operations (PCTAS & PDML) (Doc ID 50592.1)
http://www.arikaplan.com/oracle/ari82997.html
Tablespace storage settings http://www.orafaq.com/forum/t/20350/
http://yong321.freeshell.org/oranotes/LMTDefaultStorage.txt
resizing the INITIAL extent of an object https://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:137212348065
http://dba.stackexchange.com/questions/132013/how-to-change-initial-extent-of-an-existing-partition<- GOOD STUFF
https://myotragusbalearicus.wordpress.com/2011/10/04/change-the-initial-extent-of-a-table/













hanganalyze , systemstate

$
0
0
Interpreting HANGANALYZE trace files to diagnose hanging and performance problems for 9i and 10g. [ID 215858.1]
Steps to generate HANGANALYZE trace files (9i and below) [ID 175006.1]

connect / as sysdba
oradebug setmypid
oradebug unlimit
oradebug hanganalyze 3
oradebug dump systemstate 267
... wait 1-2 minutes
oradebug hanganalyze 3
oradebug dump systemstate 267
oradebug tracefile_name


core file
	-> generates trace file (with a call stack)
	
	* Stack trace represents the order in which calls were made by the offending process before it crashed
	* Use a stack trace in conjunction with source code to understand the problem
	* The rule of thumb is to ignore the top two to three functions on the stack (these are the kse
	error handling routines that are called when an exception is encountered). The prefix kse
	stands for kernel service error.

hang situations
	-> multiple state dumps
		* process state dump	<-- view state objects
		* system state dump		<-- use for looping scenarios, or view state objects
		* error stacks
	-> hanganalyze event

	* The views or the state dumps reveal the information leading to the hang
	* Any hanganalyze level above 4 may cripple your OLTP system:
		– Significant CPU overhead
		– Huge trace files
	* state objects are structures in SGA associated with various database entities such as:
		- processes, sessions, latches & enqueues, buffer handles
	* process state objects
		- process -> session -> transaction
		
Reading System State Dump

	A system state dump has three sections:
	- Normal trace file header
	- System global information
	- Process information
		* The heading in the file for this section is “System State.”
		* The first process state objects listed under this heading are the Oracle background processes.
		User processes (client) generally follow as do the other types of state objects (session, call,
		enqueue, etc.).
	



testcase

time asmcmd cp +RECO/hcm2tst/backupset/2012_12_08/nnndf0_tag20121207t233020_0.789.801446405 /dbfs/work/apac/test1
time asmcmd cp +RECO/hcm2tst/backupset/2012_12_07/nnndf0_tag20121207t233020_0.21135.801444645 /dbfs2/apac/test1

strace -fq -o strace_slow.out time asmcmd cp +RECO/hcm2tst/backupset/2013_01_08/ncnnf0_INCREMETAL1_0.32361.804204351 /dbfs/work/apac/test1
strace -fq -o strace_slow.out time asmcmd cp +RECO/hcm2tst/backupset/2013_01_08/ncnnf0_INCREMETAL1_0.32361.804204351 /dbfs2/apac/test1

Type       Redund  Striped  Time             Sys  Name
BACKUPSET  MIRROR  COARSE   JAN 08 22:00:00  Y    annnf0_INCREMETAL1_0.22826.804204245
BACKUPSET  MIRROR  COARSE   JAN 08 22:00:00  Y    annnf0_INCREMETAL1_0.35539.804204245
BACKUPSET  MIRROR  COARSE   JAN 08 22:00:00  Y    annnf0_INCREMETAL1_0.7754.804204245
BACKUPSET  MIRROR  COARSE   JAN 08 22:00:00  Y    nnndn1_INCREMETAL1_0.10769.804204069
BACKUPSET  MIRROR  COARSE   JAN 08 22:00:00  Y    nnndn1_INCREMETAL1_0.14494.804204151
BACKUPSET  MIRROR  COARSE   JAN 08 22:00:00  Y    nnndn1_INCREMETAL1_0.20038.804204087
BACKUPSET  MIRROR  COARSE   JAN 08 22:00:00  Y    nnndn1_INCREMETAL1_0.21167.804204077
BACKUPSET  MIRROR  COARSE   JAN 08 22:00:00  Y    nnndn1_INCREMETAL1_0.28252.804204161
BACKUPSET  MIRROR  COARSE   JAN 08 22:00:00  Y    nnndn1_INCREMETAL1_0.31254.804204063
BACKUPSET  MIRROR  COARSE   JAN 08 22:00:00  Y    nnndn1_INCREMETAL1_0.33080.804204095
BACKUPSET  MIRROR  COARSE   JAN 08 22:00:00  Y    nnndn1_INCREMETAL1_0.5581.804204135
BACKUPSET  MIRROR  COARSE   JAN 08 22:00:00  Y    nnndn1_INCREMETAL1_0.6186.804204109
BACKUPSET  MIRROR  COARSE   JAN 08 22:00:00  Y    nnsnf0_INCREMETAL1_0.32676.804204355
BACKUPSET  MIRROR  COARSE   JAN 11 15:00:00  Y    ncnnf0_INCREMETAL1_0.32361.804204351








include the ashdump

http://blog.dbi-services.com/oracle-is-hanging-dont-forget-hanganalyze-and-systemstate/
sqlplus / as sysdba
 oradebug setmypid
 oradebug unlimit
 oradebug hanganalyze 3
 oradebug dump ashdumpseconds 30
 oradebug dump systemstate 266
 oradebug tracefile_name

ashdump , ashdumpseconds

$
0
0


manual way

https://github.com/karlarao/pull_dump_and_explore_ash


ashdumpseconds

nice! yes this is a good alternative. a few points: 1) ashdumpseconds pulls from ash buffer (so it's memory - shorter for very busy systems vs dba_hist - way longer) 2) if RAC you need to do dump per node and sqlldr each output file


http://www.juliandyke.com/Diagnostics/Dumps/ASHDUMP.php
http://www.hhutzler.de/blog/create-and-analyze-ashdumps/
http://blog.dbi-services.com/oracle-is-hanging-dont-forget-hanganalyze-and-systemstate/
http://mfzahirdba.blogspot.com/2011/12/dump-ash-data.html

sqlplus / as sysdba
oradebug setmypid
oradebug unlimit
oradebug dump ashdumpseconds 30


GitHub

$
0
0


watch this first

http://www.git-tower.com/learn/git/videos

test accounts

emberdev1
emberdev2
emberdevgroup

official documentation, videos, and help

https://guides.github.com/activities/hello-world/
https://guides.github.com/
https://help.github.com/articles/setting-up-teams/
https://www.youtube.com/githubguides
https://help.github.com/
https://guides.github.com/features/mastering-markdown/

version control format

http://git-scm.com/book/en/v2/Git-Basics-Tagging
Semantic Versioning 2.0.0 http://semver.org/

Awesome github walkthrough - video serieshttp://308tube.com/youtube/github/
https://github.com/karlarao
http://git-scm.com/download/win
http://www.javaworld.com/javaworld/jw-08-2012/120830-osjp-github.html?page=1

HOWTO - general workflow




Basic commands and getting started

Git Data Flow
1) Current Working Directory	<-- git init <project>
2) Index (cache)				<-- git add .
3) Local Repository				<-- git commit -m "<comment>"
4) Remote Repository	

Client side setup
http://git-scm.com/downloads   <-- download here 

git config --global user.name "karlarao"
git config --global user.email "karlarao@gmail.com"

Common commands
git init awrscripts				<-- or you can just cd on "awrscripts" folder and execute "git init"
git status
git add . 						<-- add all the files under the master folder to the staging area
git <filename>					<-- add just a file
git rm --cached <filename>		<-- remote a file
git commit -m "initial commit"<-- to commit changes (w/ comment), and save a snapshot of the local repository 
                                             * note that when you modify, you have to do a "git add ." first..else it will say no changes added to commit
git log							<-- show summary of commits
vi README.md        <-- markdown format readme file, header should start with #

git diff
git add .				
git diff --cached				<-- get the differences in the staging area, because you've already executed the "add"..

## shortcuts
git commit -a -m "short commit"<-- combination of add and commit
git log --oneline					<-- shorter summary
git status -s						<-- shorter show changes

Exclude file
https://coderwall.com/p/n1d-na/excluding-files-from-git-locally

Integration with Github.com

Github.com setup
go to github.com and create a new repository
on your PC go to C:\Users\Karl
open git bash and type in ssh-keygen below
ssh-keygen.exe -t rsa -C "karlarao@gmail.com"<-- this will create RSA on C:\Users\Karl directory
copy the contents of id_rsa.pub under C:\Users\karl\.ssh directory
go to github.com -> Account Settings -> SSH Keys -> Add SSH Key
ssh -T git@github.com								<-- to test the authentication
Github.com integrate and push
go to repositories folder -> on SSH tab -> copy the key
git remote add origin <repo ssh key from website>
git remote add origin git@github.com:karlarao/awrscripts.git
git push origin master
Github.com integrate with GUI
download the GUI here http://windows.github.com/
login and configure, at the end just hit skip
go to tools -> options -> change the default storage directory to the local git directory C:\Dropbox\CodeNinja\GitHub
click Scan For Repositories -> click Add -> click Update
click Publish -> click Sync
for existing repos, you can do a clone
git clone git@github.com:<name>/<repo>

github pages

sync the repo to github pages
cd ~ubuntu/telegram/
git config --global user.name "karlarao"
git config --global user.email "karlarao@gmail.com"
git add .
git status # to see what changes are going to be commited
git commit -m "."
git remote add origin git@github.com:karlarao/telegram.git
git push origin master
# git branch gh-pages # this is one time
git checkout gh-pages # go to the gh-pages branch
git rebase master # bring gh-pages up to date with master
git push origin gh-pages # commit the changes
git checkout master # return to the master branch
	
access the page at http://karlarao.github.io/<repo>/

https://github.com/blog/2289-publishing-with-github-pages-now-as-easy-as-1-2-3


track a zipfile based script repo, useful for blogs or sites

add this on your crontab 
# refresh git with the <script> scripts
0 4 * * * /home/karl/bin/git_<script>.sh

$ cat /home/karl/bin/git_<script>.sh
cd ~/github/<script directory>
rm <script>.zip
wget http://<site>.com/files/<script>.zip
unzip -o <script>.zip -d ~/github/<script directory>
git config --global user.name "karlarao"
git config --global user.email "karlarao@gmail.com"
git add .
git commit -m "."
#git remote add origin git@github.com:karlarao/<script>.git
git push origin master

then make sure to favorite the repo to get emails!


Branch, Merge, Clone, Fork

Branching	<-- allows you to create a separate working copy of your code 
Merging		<-- merge branches together
Cloning		<-- other developers can get a copy of your code from a remote repo
Forking		<-- make use of someone's code as starting point of a new project


-- 1st developer created a branch r2_index
git branch								<-- show branches
git branch r2_index						<-- create a branch name "r2_index"
git checkout r2_index					<-- to switch to the "r2_index" branch
git checkout <the branch you want to go>	* make sure to close all files before switching to another branch

-- 2nd developer on another machine created r2_misc
git clone <ssh link>					<-- to clone a project
git branch r2_misc
git checkout r2_misc
git push origin <branch name>	<-- to update the remote repo

-- bug fix on master
git checkout master
git push origin master

-- merge to combine the changes from 1st developer to the master project
	* conflict may happen due to changes at the same spot for both branches
git branch r2_index
git merge master

	* conflict looks like the following:
		<<<<<<< HEAD
		1)
		=======
		TOC:
		1) one
		2) two
		3) three
		>>>>>>> master
git push origin r2_index

-- pull, synchronizes the local repo with the remote repo
	* remember, PUSH to send up GitHub, PULL to sync with GitHub
git pull origin master



Delete files on git permanently

http://stackoverflow.com/questions/1983346/deleting-files-using-git-github< good stuff
http://dalibornasevic.com/posts/2-permanently-remove-files-and-folders-from-a-git-repository
https://www.kernel.org/pub/software/scm/git/docs/git-filter-branch.html
cd /Users/karl/Dropbox/CodeNinja/GitHub/tmp
git init
git status
git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch *' --prune-empty --tag-name-filter cat -- --all
git commit -m "."
git push origin master --force

delete history

https://rtyley.github.io/bfg-repo-cleaner/
https://help.github.com/articles/remove-sensitive-data/
stackoverflow.com/questions/37219/how-do-you-remove-a-specific-revision-in-the-git-history
https://hellocoding.wordpress.com/2015/01/19/delete-all-commit-history-github/
http://samwize.com/2014/01/15/how-to-remove-a-commit-that-is-already-pushed-to-github/


Deleting a repository

https://help.github.com/articles/deleting-a-repository

rebase

rebase https://www.youtube.com/watch?v=SxzjZtJwOgo

forking

forking https://www.youtube.com/watch?v=5oJHRbqEofs
Some notes on forking:
  • Let's say you get assigned as a collaborator on a private repo called REPO1
  • If REPO1 gets forked as a private REPO2 by another guy, instantly you'll also be part of that REPO2
  • When the original creator delete you as a collaborator on REPO1 you will no longer see anything from that but you will still get access to REPO2

pull request

pull request (contributing to the fork) https://www.youtube.com/watch?v=d5wpJ5VimSU

team collaboration

team https://www.youtube.com/watch?v=61WbzS9XMwk

git on dropbox conflicts

http://edinburghhacklab.com/2012/11/when-git-on-dropbox-conflicts-no-problem/
http://stackoverflow.com/questions/12773488/git-fatal-reference-has-invalid-format-refs-heads-master


other references

gitflow http://nvie.com/posts/a-successful-git-branching-model/

master zip
http://stackoverflow.com/questions/8808164/set-the-name-of-a-zip-downloadable-from-github-or-other-ways-to-enroll-google-tr
http://stackoverflow.com/questions/7106012/download-a-single-folder-or-directory-from-a-github-repo
http://alblue.bandlem.com/2011/09/git-tip-of-week-git-archive.html
http://gitready.com/intermediate/2009/01/29/exporting-your-repository.html
http://manpages.ubuntu.com/manpages/intrepid/man1/git-archive.1.html
http://stackoverflow.com/questions/8377081/github-api-download-zip-or-tarball-link

uploading binary files (zip)
https://help.github.com/articles/distributing-large-binaries/
https://help.github.com/articles/about-releases/
https://help.github.com/articles/creating-releases/
https://gigaom.com/2013/07/09/oops-github-did-it-again-relaunches-binary-uploads-after-scuttling-them/
https://github.com/blog/1547-release-your-software

live demos
http://solutionoptimist.com/2013/12/28/awesome-github-tricks/

Git hook to send email notification on repo changes
http://stackoverflow.com/questions/552360/git-hook-to-send-email-notification-on-repo-changes

git rebasehttp://git-scm.com/docs/git-rebase

git gisthttps://gist.github.com/

gitignore.iohttps://www.gitignore.io/<- Create useful .gitignore files for your project, there's also a webstorm plugin for this






specint of ARM cpu

$
0
0
Yes this is interesting that ARM CPUs are catching up on Intel. But more cores doesn't mean more performance (see image attached). There's always diminishing returns. ARM platforms could compete on the other stuff (caching, web, hadoop nodes) but not on CPU (latency) intensive/sensitive database server and VM server use case which Intel is still king. Also check this http://www.anandtech.com/show/8776/arm-challinging-intel-in-the-server-market-an-overview/9



ARM Challenging Intel in the Server Market: An Overview http://www.anandtech.com/show/8776/arm-challinging-intel-in-the-server-market-an-overview/9
http://ark.intel.com/products/75053/Intel-Xeon-Processor-E3-1230L-v3-8M-Cache-1_80-GHz
https://www.apm.com/products/data-center/x-gene-family/x-gene/
https://www.linleygroup.com/uploads/x-gene-3-white-paper-final.pdf
https://ark.intel.com/products/93790/Intel-Xeon-Processor-E7-8890-v4-60M-Cache-2_20-GHz
http://www.fujitsu.com/fts/products/computing/servers/mission-critical/primequest-2800e3/








Oracle Real Application Testing

datagrip

Amazon

Kindle

Shrink,Compact Vbox

$
0
0
Do the following:
http://www.makeuseof.com/tag/7-hidden-windows-caches-clear/ <- do this first on windows
http://superuser.com/questions/1050417/how-to-clean-windows-installer-folder-in-windows-10      
   https://blogs.technet.microsoft.com/joscon/2012/01/18/can-you-safely-delete-files-in-the-windirinstaller-directory/
   https://www.raymond.cc/blog/safely-delete-unused-msi-and-mst-files-from-windows-installer-folder/
   http://www.homedev.com.au/free/patchcleaner
   http://superuser.com/questions/707767/how-can-i-free-up-drive-space-from-the-windows-installer-folder-without-killing
http://www.techentice.com/delete-pagefile-sys-in-windows-7/

http://www.howtogeek.com/184091/5-ways-to-free-up-disk-space-on-a-mac/ <- then do this on mac 

http://www.netreliant.com/news/9/17/Compacting-VirtualBox-Disk-Images-Windows-Guests.html   <- GOOD STUFF

* download sdelete v.1.61 at kaige21.tistory.com/288
* degrag C drive - Right-click the drive and choose the Properties option, select the Tools tab and click the Defragment now
* execute sdelete - sdelete.exe -z C:
* shutdown VM
* compact vdi - VBoxManage modifyhd --compact "[drive]:\[path_to_image_file]\[name_of_image_file].vdi"


http://www.joshhardman.net/shrink-virtualbox-vdi-files/
http://maketecheasier.com/shrink-your-virtualbox-vm/2009/04/06
http://kakku.wordpress.com/2008/06/23/virtualbox-shrink-your-vdi-images-space-occupied-disk-size/
http://www.linuxreaders.com/2009/04/21/how-to-shrink-your-virtualbox-vm/
http://jimiz.net/blog/2010/02/compress-vdi-file-virtualbox/

https://www.maketecheasier.com/shrink-your-virtualbox-vm
http://dantwining.co.uk/2011/07/18/how-to-shrink-a-dynamically-expanding-guest-virtualbox-image/
http://superuser.com/questions/529149/how-to-compact-virtualboxs-vdi-file-size


.TiddlyWiki

$
0
0

how to run two versions of mozilla (need to create a new profile)

"C:\Program Files (x86)\MozillaFirefox4RC2\firefox.exe" -P "karlarao" -no-remote

crsstat formatting, crs_stat

$
0
0
http://blog.enkitec.com/2011/10/my-crsstat-script-improved-formatting-of-crs_stat-on-10g-and-11g/

cool script herehttp://blog.enkitec.com/wp-content/uploads/2011/10/crsstat.zip
# cd /usr/local/bin
# wget http://blog.enkitec.com/wp-content/uploads/2011/10/crsstat.zip
# unzip crsstat.zip
# chmod 755 crsstat
# ./crsstat


crs_stat has been deprecated in 11gR2

crsctl stat res -t

$GRID_HOME/bin/crsctl stat res -t
/u01/app/12.1.0.2/grid/bin/crsctl stat res -t


crsstat 12c version

http://wiki.markgruenberg.info/doku.php?id=oracle:rac:crsstat_with_improved_formatting_from_built_in_oracle_command




MacBook, macosx, mac osx

$
0
0


annoyances

Top Mac OS X annoyances and how to fix them http://www.voipsec.eu/?p=740
path finder and dropbox integration http://blip.tv/appshrink/os-x-tips-and-tweaks-how-to-enable-dropbox-contextual-menu-items-in-pathfinder-6110422
how to lock your mac http://www.howtogeek.com/howto/32810/how-to-lock-your-mac-os-x-display-when-youre-away/
http://gadgetwise.blogs.nytimes.com/2011/05/02/qa-changing-the-functions-of-a-macs-f-keys/
http://osxdaily.com/2010/09/06/change-your-mac-hostname-via-terminal/
http://apple.stackexchange.com/questions/66611/how-to-change-computer-name-so-terminal-displays-it-in-mac-os-x-mountain-lion
http://www.cultofmac.com/108120/how-to-change-the-scrolling-direction-in-lion-os-x-tips/
http://support.apple.com/kb/ht2490
http://superuser.com/questions/322983/how-to-let-ctrl-page-down-switch-tabs-inside-vim-in-terminal-app
http://askubuntu.com/questions/105224/ctrl-page-down-ctrl-page-up
http://www.danrodney.com/mac/
http://www.mac-forums.com/forums/switcher-hangout/121984-easy-way-show-desktop.html
http://www.silvermac.com/2010/show-desktop-on-mac/
alt-enter on excel http://dropline.net/2009/02/adding-new-lines-to-cells-in-excel-for-the-mac/
damn you autocorrect http://osxdaily.com/2011/07/28/turn-off-auto-correct-in-mac-os-x-lion/
windows key https://forums.virtualbox.org/viewtopic.php?f=1&t=17641
sublime text column selection https://www.sublimetext.com/docs/3/column_selection.html


software

homebrew http://brew.sh/ (to install wget, parallel)
uninstall http://lifehacker.com/5828738/the-best-app-uninstaller-for-mac
ntfs mounts http://macntfs-3g.blogspot.com/, http://www.tuxera.com/products/tuxera-ntfs-for-mac/
filesystem space analyzer http://www.derlien.com/downloads/index.html
jedit, textwrangler https://groups.google.com/forum/?fromgroups=#!topic/textwrangler/nb3Nw1GC4Fo
teamviewer
dropbox
evernote
tiddlywiki
show desktop
virtualbox
ms office for mac
skype
sqldeveloper
picasa
fx photo studio pro
camtasia
little snapper
mpeg streamclip
mucommander
chicken vnc
crossover
flashplayer
Firefox 4.0 RC 2 , do this after the install https://discussions.apple.com/message/21335991#21335991
filezilla
appcleaner
http://www.ragingmenace.com/software/menumeters/index.html#sshot
kdiff
http://manytricks.com/timesink/ alternative to manictime
http://www.macupdate.com/app/mac/28171/ichm
http://i-funbox.com/ifunboxmac/ copying from iphone to mac
terminator http://software.jessies.org/terminator/#downloads, https://drive.google.com/folderview?id=0BzZNCgKvEkQYZDBNTm1HWThOaEU&usp=drive_web#list
http://www.freemacware.com/jellyfissh/< can save passwords
nmap http://nmap.org/download.html#macosx
http://adium.im/< instant messenger
https://itunes.apple.com/us/app/battery-time/id547105832< battery time
ithoughtsx https://itunes.apple.com/us/app/ithoughtsx/id720669838?mt=12, http://toketaware.com/howto/
snagit, http://feedback.techsmith.com/techsmith/topics/snagit_file_back_up?page=1#reply_8579747
path finder
ntfs-3g tuxerant
http://support.agilebits.com/kb/syncing/how-to-move-your-1password-data-file-between-pc-and-mac
http://www.donationcoder.com/Software/Mouser/screenshotcaptor/, http://download.cnet.com/Screenshot-Captor/3000-20432_4-10433616.html< long screenshots
http://thepdf.com/unlock-pdf.html< unlock PDF restrictions
licecap - gif - gif creator


pending:
http://lifehacker.com/5880540/the-best-screen-capture-tool-for-mac-os-x
http://mac.appstorm.net/roundups/utilities-roundups/10-screen-recording-tools-for-mac/

oracle and mac
http://tjmoracle.tumblr.com/post/26025230295/os-x-software-for-oracle-developers
http://blog.enkitec.com/2011/08/get-oracle-instant-client-working-on-mac-os-x-lion/


macport and fink

http://macosx.com/forums/mac-os-x-system-mac-software/306582-yum-apt-get.html
http://sparkyspider.blogspot.com/2010/03/apt-get-install-yum-install-on-mac-os-x.html
http://www.macports.org/index.php
https://developer.apple.com/xcode/
http://forums.macrumors.com/showthread.php?t=720035
http://scottlab.ucsc.edu/~wgscott/xtal/wiki/index.php/Main_Page


hibernate

http://www.youtube.com/watch?feature=fvwp&v=XA0MnnEFmDQ&NR=1
http://forums.macrumors.com/showthread.php?t=1491002
http://apple.stackexchange.com/questions/26842/is-there-a-way-to-hibernate-in-mac
http://www.macworld.com/article/1053471/sleepmode.html
http://deepsleep.free.fr/deepsleep.pdf
http://www.geekguides.co.uk/104/how-to-enable-hibernate-mode-on-a-mac/
http://blog.kaputtendorf.de/2007/08/17/hibernation-tool-for-mac-os/
http://www.garron.me/mac/macbook-hibernate-sleep-deep-standby.html
http://etherealmind.com/osx-hibernate-mode/
http://www.jinx.de/SmartSleep.html
https://itunes.apple.com/au/app/smartsleep/id407721554?mt=12


presentations

http://lifehacker.com/304418/rock-your-presentation-with-the-right-tools-and-apps
http://lifehacker.com/281921/call-out-anything-on-your-screen-with-highlight?tag=softwarefeaturedmacdownload
http://lifehacker.com/255361/mac-tip--zoom-into-any-area-on-the-screen?tag=softwaremacosx
http://lifehacker.com/191126/download-of-the-day--doodim?tag=softwaredownloads
http://forums.macrumors.com/showthread.php?t=1195196
http://www.dummies.com/how-to/content/erase-pen-and-highlighter-drawings-on-your-powerpo.html


mount iso

http://osxdaily.com/2008/04/22/easily-mount-an-iso-in-mac-os-x/
using disk utility 
or 
hdiutil mount sample.iso

create iso compatible on windows

http://www.makeuseof.com/tag/how-to-create-windows-compatible-iso-disc-images-in-mac-os-x/
* use disk utility to create the CDR file
* then, enter this line of code to transform the .cdr to an ISO file:
hdiutil makehybrid -iso -joliet -o [filename].iso [filename].cdr
or just do this all in command line
hdiutil makehybrid -iso -joliet -o tmp.iso tmp -ov

burn DVD

http://www.youtube.com/watch?v=5x7jpIoFixc

burn ISO linux installer

http://switchingtolinux.blogspot.com/2007/07/burning-ubuntu-iso-in-mac-os-x.html


migrate boot device to SSD

http://www.youtube.com/watch?v=Zda6pGH8_1Q



programming editors

I got the sublime text 2 and text wrangler
http://smyck.net/2011/10/02/text-editors-for-programmers-on-the-mac/
http://sixrevisions.com/web-development/the-15-most-popular-text-editors-for-developers/
http://mac.appstorm.net/roundups/office-roundups/top-10-mac-text-editors/
http://meandmark.com/blog/2010/01/getting-started-with-mac-programming/
sublime text tutorial http://www.youtube.com/watch?v=TZ-bgcJ6fQo


install fonts

http://www.youtube.com/watch?v=3AIR7_ch9No


juniper vpn

http://wheatoncollege.edu/technology/started/networks-wheaton/juniper-vpn-instructions/juniper-vpn-instructions-for-macintosh/


compare folders

http://www.macworld.com/article/1167853/use_visualdiffer_to_compare_the_contents_of_folders_and_files.html


SecureCrt

http://www.vandyke.com/support/tips/backupsessions.html
https://www.vandyke.com/products/securecrt/faq/025.html
http://www.vandyke.com/download/securecrt/5.2/index.html, http://www.itpub.net/forum.php?mod=viewthread&tid=739092
1) Install SecureCRT on windows and point it to C:\Dropbox\Putty\SecureCRT\Config location
2) Install SecureCRT on mac and copy all Sessions file to windows

Karl-MacBook:Sessions karl$ pwd
/Users/karl/Library/Application Support/VanDyke/SecureCRT/Config/Sessions

Karl-MacBook:Sessions karl$ cp -rpv * /Users/karl/Dropbox/Putty/SecureCRT/Config/Sessions/
Default.ini -> /Users/karl/Dropbox/Putty/SecureCRT/Config/Sessions/Default.ini
__FolderData__.ini -> /Users/karl/Dropbox/Putty/SecureCRT/Config/Sessions/__FolderData__.ini
v2 -> /Users/karl/Dropbox/Putty/SecureCRT/Config/Sessions/v2
v2/__FolderData__.ini -> /Users/karl/Dropbox/Putty/SecureCRT/Config/Sessions/v2/__FolderData__.ini
v2/enkdb01.ini -> /Users/karl/Dropbox/Putty/SecureCRT/Config/Sessions/v2/enkdb01.ini

3) Create symbolic link on Sessions folder to Dropbox

cd /Users/karl/Library/Application Support/VanDyke/SecureCRT/Config/
rm -rf Sessions/
ln -s /Users/karl/Dropbox/Putty/SecureCRT/Config/Sessions Sessions


outlook on vbox with zimbra connector

Get the connector from this site
https://mail.physics.ucla.edu/downloads/ZimbraConnectorOLK_7.0.1.6307_x86.msi
and the outlook SP3 here, the connector requires SP3.. so you have to install this first..
http://www.microsoft.com/en-us/download/details.aspx?id=27838
then setup a shared folder across the mac and VM called /Users/karl/Dropbox/tmp which is also selectively synced by Dropbox on the windows VM


safeboot, rescue mode

http://www.macworld.com/article/2018853/when-good-macs-go-bad-steps-to-take-when-your-mac-wont-start-up.html

format hard disk for time machine - MAC and NTFS

http://www.youtube.com/watch?v=hdDSpIkv-4o

enable SSH to localhost

http://bluishcoder.co.nz/articles/mac-ssh.html
http://superuser.com/questions/555810/how-do-i-ssh-login-into-my-mac-as-root

SSD migration

http://www.amazon.com/Samsung-Electronics-EVO-Series-2-5-Inch-MZ-7TE250BW/dp/B00E3W1726/ref=pd_bxgy_pc_img_y
http://www.amazon.com/Doubler-Converter-Solution-selected-SuperDrive/dp/B00724W0N2
http://www.youtube.com/watch?v=YWUKAUlxrkg.
google search https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=mac%20os%20x%20migrate%20to%20ssd

restart audio/sound service without reboot

http://apple.stackexchange.com/questions/16842/restarting-sound-service
sudo kill -9 `ps ax|grep 'coreaudio[a-z]' | awk '{print $1}'`
sudo kextunload /System/Library/Extensions/AppleHDA.kext 
sudo kextload /System/Library/Extensions/AppleHDA.kext

command tab doesn't work, dock not responding

http://superuser.com/questions/7715/cmd-tab-suddenly-stopped-working-and-my-dock-is-unresponsive-what-do-i-do
killall -9 Dock

killstuff

Karl-MacBook:~ root# cat killstuff.sh 
kill -9 `ps -ef | grep -i "macos/iphoto" | grep -v grep | awk '{print $2}'`
kill -9 `ps -ef | grep -i "macos/itunes" | grep -v grep | awk '{print $2}'`
kill -9 `ps -ef | grep -i "GoogleSoftwareUpdate" | grep -v grep | awk '{print $2}'`


vnc, screensharing

http://www.davidtheexpert.com/post.php?id=5
open safari and type
vnc://192.168.1.9

verify, repair hard disk

http://www.macissues.com/2014/03/22/how-to-verify-and-repair-your-hard-disk-in-os-x/


dot_clean ._ underscore files

https://coderwall.com/p/yf7yjq/clean-up-osx-dotfiles



get CPU information

-- 15 inch 
AMAC02P37MYG3QC:~ kristofferson.a.arao$ system_profiler SPHardwareDataType
Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: MacBookPro11,2
      Processor Name: Intel Core i7
      Processor Speed: 2.2 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 6 MB
      Memory: 16 GB
      Boot ROM Version: MBP112.0138.B16
      SMC Version (system): 2.18f15
      Serial Number (system): C02P37MYG3QC
      Hardware UUID: F0DCC410-9E8A-5D77-98E3-C7767EB0CF8F


-- 13 inch 
Karl-MacBook:~ karl$ system_profiler SPHardwareDataType
Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: MacBookPro9,2
      Processor Name: Intel Core i7
      Processor Speed: 2.9 GHz
      Number of Processors: 1
      Total Number of Cores: 2
      L2 Cache (per Core): 256 KB
      L3 Cache: 4 MB
      Memory: 16 GB
      Boot ROM Version: MBP91.00D3.B0C
      SMC Version (system): 2.2f44
      Serial Number (system): C1MK911MDV31
      Hardware UUID: 78B26406-BF78-531D-BCFB-1C3289BD44A5
      Sudden Motion Sensor:
          State: Enabled


http://fortysomethinggeek.blogspot.com/2012/11/getting-cpu-info-from-command-line-in.html
sysctl -n machdep.cpu.brand_string
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz

sysctl -a | grep machdep.cpu
machdep.cpu.max_basic: 13
machdep.cpu.max_ext: 2147483656
machdep.cpu.vendor: GenuineIntel
machdep.cpu.brand_string: Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
machdep.cpu.family: 6
machdep.cpu.model: 70
machdep.cpu.extmodel: 4
machdep.cpu.extfamily: 0
machdep.cpu.stepping: 1
machdep.cpu.feature_bits: 9221959987971750911
machdep.cpu.leaf7_feature_bits: 10155
machdep.cpu.extfeature_bits: 142473169152
machdep.cpu.signature: 263777
machdep.cpu.brand: 0
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C
machdep.cpu.leaf7_features: SMEP ERMS RDWRFSGS TSC_THREAD_OFFSET BMI1 AVX2 BMI2 INVPCID FPU_CSDS
machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT RDTSCP TSCI
machdep.cpu.logical_per_package: 16
machdep.cpu.cores_per_package: 8
machdep.cpu.microcode_version: 15
machdep.cpu.processor_flag: 5
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.sub_Cstates: 270624
machdep.cpu.thermal.sensor: 1
machdep.cpu.thermal.dynamic_acceleration: 1
machdep.cpu.thermal.invariant_APIC_timer: 1
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.core_power_limits: 1
machdep.cpu.thermal.fine_grain_clock_mod: 1
machdep.cpu.thermal.package_thermal_intr: 1
machdep.cpu.thermal.hardware_feedback: 0
machdep.cpu.thermal.energy_policy: 1
machdep.cpu.xsave.extended_state: 7 832 832 0
machdep.cpu.xsave.extended_state1: 1 0 0 0
machdep.cpu.arch_perf.version: 3
machdep.cpu.arch_perf.number: 4
machdep.cpu.arch_perf.width: 48
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.fixed_number: 3
machdep.cpu.arch_perf.fixed_width: 48
machdep.cpu.cache.linesize: 64
machdep.cpu.cache.L2_associativity: 8
machdep.cpu.cache.size: 256
machdep.cpu.tlb.inst.large: 8
machdep.cpu.tlb.data.small: 64
machdep.cpu.tlb.data.small_level1: 64
machdep.cpu.tlb.shared: 1024
machdep.cpu.address_bits.physical: 39
machdep.cpu.address_bits.virtual: 48
machdep.cpu.core_count: 4
machdep.cpu.thread_count: 8
machdep.cpu.tsc_ccc.numerator: 0
machdep.cpu.tsc_ccc.denominator: 0

sysctl -a | grep machdep.cpu | grep core_count
machdep.cpu.core_count: 4

sysctl -a | grep machdep.cpu | grep thread_count
machdep.cpu.thread_count: 8




get memory information

hostinfo | grep memory


850 EVO mSATA vs 2.5

http://www.samsung.com/global/business/semiconductor/minisite/SSD/global/html/ssd850evo/specifications.html
http://www.legitreviews.com/samsung-evo-850-msata-m2-ssd-review_160540/7
http://www.storagereview.com/samsung_ssd_850_evo_ssd_review
http://www.storagereview.com/samsung_850_evo_msata_ssd_review


Caffeine - keep your mac awake

http://apple.stackexchange.com/questions/76107/how-can-i-keep-my-mac-awake-and-locked


teamviewer reset id

http://changeteamviewerid.blogspot.com/2012/10/get-new-teamviewer-id-on-windows.html


install gnu parallel

homebrew http://brew.sh/ (to install wget, parallel)
https://www.0xcb0.com/2011/10/19/running-parallel-bash-tasks-on-os-x/
https://darknightelf.wordpress.com/2015/01/01/gnu-parallel-on-osx/

pdftotext

"brew install poppler"


._ in dropbox SSD

https://www.dropboxforum.com/t5/Installation-and-desktop-app/Dot-underscore-files-appeared-after-moving-Dropbox-location-on/td-p/107034/page/2


ms word blank images

http://www.worldstart.com/seeing-blank-boxes-instead-of-pasted-pictures-in-ms-word/"show picture placeholders" settings



end







cursor pin S wait

$
0
0
https://sites.google.com/site/embtdbo/wait-event-documentation/oracle-library-cache#TOC-cursor:-pin-S
http://blog.tanelpoder.com/2010/04/21/cursor-pin-s-waits-sporadic-cpu-spikes-and-systematic-troubleshooting/
Your issue may be different than the one I described, as my issue was “cursor: pin s”, your’s is “cursor: pin s wait on x”. Someone holds some frequently used cursor pin in X mode and others can’t even use that cursor. Could be many things, but usually I take a look into V$SGA_RESIZE_OPS then, to make sure that the SGA_TARGET / ASMM hasn’t shrunk the shared pool around the time the spike happened. Another “usual suspect” would be some library cache child cursor “leak” where new child cursors are constantly created under a parent – search for parent cursors with thousands of children under it from V$SQL. But it could be a number of other things / bugs.


Library Cache: Mutex X " On Koka Cursors (LOBs) Non-Shared : [ID 758674.1] http://www.sql.ru/forum/actualthread.aspx?tid=845230
cursor: pin S wait on X in the Top 5 wait events http://www.pythian.com/news/35145/cursor-pin-s-wait-on-x-in-the-top-5-wait-events/
SYSTEMSTATE DUMP: Shooting DB Hang, sqlplus Hang, self deadlock latch, PMON deadlock latch http://dbakevin.blogspot.com/2012/08/db-hang-sqlplus-hang-pmon-dead-lock.html
http://www.pythian.com/news/33871/locks-latches-mutexes-and-cpu-usage/
http://halimdba.blogspot.com/2011/08/system-state-dumps-when-database-is.html
http://www.ora-solutions.net/web/2008/12/10/system-state-dump-evaluation-with-assawk/
ass109.awk
awk -f ass109.awk mddb1_diag_12345.trc
http://dba-elcaro.blogspot.com/2011/05/generate-analyze-system-state-dump.html
http://orainternals.wordpress.com/2009/03/10/systemstate-dump-analysis-nocache-on-high-intensive-sequences-in-rac/


parameters
SESSION_CACHED_CURSORS Vs CURSOR_SPACE_FOR_TIME - which, when and why? http://oracle-online-help.blogspot.com/2007/01/sessioncachedcursors-vs.html
http://blog.tanelpoder.com/2008/06/17/cursor_space_for_time-to-be-deprecated/
http://docs.oracle.com/cd/B19306_01/server.102/b14237/initparams036.htm




PuttyConnectionManager

$
0
0

digitalocean

$
0
0


https://github.com/joyent/node/wiki/Node-Hosting

digitalocean

https://www.digitalocean.com/
http://en.wikipedia.org/wiki/DigitalOcean
http://www.pluralsight.com/courses/building-nosql-apps-redis
http://www.pluralsight.com/courses/meteorjs-fundamentals-single-page-apps

billing details

https://www.digitalocean.com/community/questions/where-are-invoices-to-export-in-digital-ocean


getting started - after creating a droplet

https://www.digitalocean.com/community/tutorials/how-to-use-the-mean-one-click-install-image
node.js tag https://www.digitalocean.com/community/tags/node-js
mongodb tag https://www.digitalocean.com/community/tags/mongodb

install R studio

https://www.digitalocean.com/community/tutorials/how-to-set-up-rstudio-on-an-ubuntu-cloud-server

node.js

https://github.com/joyent/node/wiki/installing-node.js-via-package-manager

fedora install

http://blog.michel-slm.name/how-to-install-fedora-21-server-on-digitalocean/
http://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux
http://en.wikipedia.org/wiki/Fedora_(operating_system)


install oracle fedora

https://www.digitalocean.com/community/questions/how-can-i-install-oracle-11g
http://linux.oracle.com/switch/centos/
https://gist.github.com/martndemus/7ad8209f9be9185bcf3a
https://bl.ocks.org/martndemus/7ad8209f9be9185bcf3a
https://oracle-base.com/articles/12c/oracle-db-12cr1-installation-on-fedora-23
follow this:
follow https://oracle-base.com/articles/12c/oracle-db-12cr1-installation-on-fedora-23

disable firewall

dd if=/dev/zero of=/opt/swapfile bs=1024k count=1024
mkswap /opt/swapfile
chmod 0600 /opt/swapfile
swapon -a
/opt/swapfile               swap                    swap    defaults        0 0

install vncserver  http://linoxide.com/linux-how-to/configure-tigervnc-server-fedora-22/

asmm 700sga 100pga

install oracle ubuntu

http://www.techienote.com/install-oracle-12c-on-ubuntu/


ubuntu server initial setup

https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04


setup domain

namecheap https://www.shivarweb.com/2336/namecheap-or-godaddy/

setup DNS

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-host-name-with-digitalocean
https://www.digitalocean.com/community/tutorials/how-to-point-to-digitalocean-nameservers-from-common-domain-registrars


protect SSH with fail2ban

https://www.digitalocean.com/community/tutorials/how-to-protect-ssh-with-fail2ban-on-ubuntu-14-04


setup private networking

https://www.digitalocean.com/community/tutorials/how-to-set-up-and-use-digitalocean-private-networking
https://www.digitalocean.com/community/tutorials/how-to-secure-traffic-between-vps-using-openvpn
https://www.digitalocean.com/community/tutorials/how-to-isolate-servers-within-a-private-network-using-iptables


block storage

https://www.digitalocean.com/community/tutorials/how-to-use-block-storage-on-digitalocean
limit of 5 volumes per droplet
need to use a cluster file system to share between droplets








Viewing all 1150 articles
Browse latest View live