Tuesday, 30 June 2020

Few other possibilities with S3

  • Sharing S3 Buckets across accounts are possible.
--------------------------------------------------------------------------------------------------------------------------
  • AWS Data sync- which is used to sent large amount of data from on-premise  to AWS.
              Replication can be done hourly,daily,or weekly.
              Install the Datasync agent to start the replication.
----------------------------------------------------------------------------------------------------------------------------

S3 Transfer acceleration


End user keeps object in - - >Edge location - - >S3 bucket. 



Cross region replication of S3 bucket




 



Monday, 29 June 2020

Proactive Sybase DB space

Monitoring the total space occupied by sybase database only,doesn't answer below question.

  • 1 year of DB growth is available for analysis. 
  • Is data continuously growing and is it predictable that database runs out of space?
* The below practical steps only applicable for the Sybase Ase version 16 SP03 and above.

1. Login to ASE DB and execute the below command.

Hostname:/sybase/<sid> >dataserver - v


Result of the above command:

DB version. 

2. ASE Database system should be integrated in DBA Cockpit.

 
Practical steps:


1. Enter hostname in the DBA Cockpit search.
2. Click on the system search.
3.click on new database opened with system name
4.click on space tab
5.click on databases in the space drop-down.
6.select the database name(Sid).
7.click on show Growth option.
8.select time frame.
9.select Granularity
10.click on Apply selection.
11.Click on Chart tab.
12.Click on summary tab.
13.Click on Details tab.
14. Download report in Excel.


Supporting sap note: 2564157

Sunday, 28 June 2020

What is AWS organisation?

What is AWS organisation?

AWS organisation is an account management service that enable you to consolidate multiple AWS accounts into an organisation that you can create and centrally managed.

*** in AWS more the resources we use, lesser the amount that we can pay. By consolidation all the AWS accounts at one single place AWS billing will be reduced.



* OU - Organisation Unit(developer,fi,MM, SD). 






Practical steps:
1. Login to 1st AWS account. Here I'm adding two AWS account in one organisation. 

2. Navigate to My organisation option in the AWS console screen. 

In the below screen, if you click on account name drop down. You will find My organisation option. 


Or


2(a). In the services - - > Management & Governance - - > My organisation. 


3.Click on create organisation option in the below screen.




4.The star in the below screen represents for root account for configuration of my organisation. 

  Click on Add account option as highlighted below.


5.Go with invite account option.

    Followed by enter, email id or account id of the 2nd AWS account. Finally click on invite option. 


6. By the above process, one mail has been sent to 2nd AWS account mail id with one http link. Click on link.

Then screen prompts to login page of AWS account. Provide 2nd AWS account creditials here. 

7.in the next screen, by clicking on the  Accept option. The 2nd AWS account will be added to 1st AWS account in my organisation section. 


8. By any change, to leave the Organisation. Leave organisation option is available in the next screen as shown below. 



9.By the above process, 2nd AWS account is added successfully to 1st AWS account in my organisation section.

By login to 1st AWS account - - > Management  & Governance - - >my organisation section.

Then below conformation is available with 2nd AWS account is added now. 



  • Few thumb rules for better maintenance.



What is S3 select & Glacier select?

S3 select - with this subset of S3 object can be downloaded.


Glacier select - similar to S3 select. But in Glacier select writes and download of sub set of object performed directly in Glacier.


What is S3 byte range fetches


What is multipart upload in S3


S3 performance

Thumb Rule to achieve better performance of S3. 



More S3 per fix, butter the performance can be achieved in S3 bucket. 

Background job notes

Definition:

  1. Background work process is handle by long- running programs or reports or expensive programs will be running without interaction in background mode.
  2. each application server will be min 2 and max 512 background workprocess
                       rdisp/wp_no_btc =2
                       rdisp/wp_no_btc=512 ----> in Rz10 and RZ11.
       3.Monitor the background work process:
  • Level one at application level using SM37.
  • Directory level: /usr/sap/<SID>/sys/Global
  • Database level, T-code: se16 or se16n --> TBTCO and TBTCS.
       4. Status of backgrounds in SAP.

              click here

       5.Types of background jobs

Note: All background jobs need to schedule with one standard user, which can be defined in STEP definition of background job.

Tranaction to create external command is SM69

Life cycle management with S3:

Life cycle management with S3:

* with this life cycle management:
1.Automate transition to tiered storage. 
2.Expire your objects after some x days automatically. 

Practical steps:

*login to AWS console - - > storage - - >S3. 
* Open the correct bucket. Where management of object is required. 
*Now click on management tab. 
* in the left side top edge,Add life cycle rule option.  Click on it.
*provide inputs for the life cycle management.

In the below screen, we will provide inputs for moving S3 objects to different standards based on some time filters. 


* in the below screen, we can provide inputs for delete an S3 objects automatically after certain days. 




 * In the summary page, conform the requirements & then click on save. 




Saturday, 27 June 2020

S3 Versioning

By default, all newly created buckets are Private.
You can setup access control to your buckets using :

  • Bucket Policies
  • Access Control Lists
S3 buckets can be configured to create access logs which log all requests made to the S3 bucket.
This can be sent to another bucket and even another bucket in another account.


S3 versioning:

  • Stores all versions of an object (including all writes and even if you delete an object).
  • Great backup tool.
  • Once enabled,Versioning cannot be disabled,only suspended.
  • Versioning's MFA Delete capability.

How to enable versioning in S3:

1. Navigate to services --> Storage -->S3.


 2. in the properties section. find the versioning option.

      

3.Enable the version and click on SAVE.


4. Versioning info, can be seen in the below highlighted option.

   


*Note: By default all the versions are private. if the need of S3 bucket access is public. Need to enable public access for the object at every version.