This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | bastion=3.90.133.110 | |
| node=10.0.1.188 | |
| key_pem=/home/pasindu/Downloads/key.pem | |
| #Assumption: bastion OS is Ubuntu/ Node OS is CentOS | |
| set -x | |
| echo "Bastion login"; | |
| scp -o StrictHostKeyChecking=no -i ${key_pem} ${key_pem} ubuntu@${bastion}:/home/ubuntu/key.pem | |
| #Copy file from node instance to local machine | |
| ssh -o StrictHostKeyChecking=no -i ${key_pem} ubuntu@${bastion} "scp -o StrictHostKeyChecking=no -i key.pem centos@${node}:/var/log/product_logs.zip ."&& | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #IDEA files | |
| *.iml | |
| *.ipr | |
| *.iws | |
| .idea/ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #In puppet agent | |
| find /var/lib/puppet/ssl -name <nameofclient>.pem -delete | |
| #In puppet master | |
| puppet cert clean <nameofclient> | |
| Then execute following in agent. | |
| puppet agent -vt | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| if [ "$#" -ne 3 ]; then | |
| echo "usage: sh thread-analyze.sh <pid> <number-of-dumps> <interval>" | |
| exit | |
| fi | |
| count=$2 | |
| for i in `seq 1 $count`; | |
| do | |
| jstack -l $1 > thread_dump_`date "+%F-%T"`.txt & | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    | Permission | Description | ||||||
|---|---|---|---|---|---|---|---|
| All Permissions | |||||||
| Admin Permissions | Configure | Configure Data Sources | Internal Configurations relating to EI databases | ||||
| Discovery | Internal Configurations for message flows | ||||||
| Inbound Endpoints | |||||||
| Configure ntask integration | |||||||
| Configure ESB ntask | |||||||
| Priority Executor | |||||||
| Schedule Tasks | |||||||
| Security | Identity Management | Password Management | Receives permission to enable/disable password/profile/user managments to other users |