Wednesday, 5 September 2018

AWS Discovery

https://aws.amazon.com/application-discovery
https://aws.amazon.com/blogs/aws/new-aws-application-discovery-service-plan-your-cloud-migration/
https://aws.amazon.com/blogs/aws/new-aws-application-discovery-service-console/
AWS Discovery Connector and the Discovery Agent is provided below.
Discovery ConnectorDiscovery Agent
  • Supported server types
    • VMware virtual machine
    • Physical server

  • yes
  • no

  • yes
  • yes
  • Deployment
    • Per server
    • Per vCenter

  • no
  • yes

  • yes
  • no
  • Collected data
    • Static configuration data
    • VM utilization metrics
    • Time series performance information
    • Network inbound/outbound connections
    • Running processes

  • yes
  • yes
  • no
  • no
  • no

  • yes
  • no
  • yes (Export only)
  • yes (Export only)
  • yes (Export only)
  • Supported OS
Any OS running in VMware vCenter (V5.5, V6, & V6.5)
  • Linux
    • Amazon Linux 2012.03, 2015.03
    • Ubuntu 12.04, 14.04, 16.04
    • Red Hat Enterprise Linux 5.11, 6.9, 7.3
    • CentOS 5.11, 6.9, 7.3
    • SUSE 11 SP4, 12 SP2
  • Windows
    • Windows Server 2003 R2 SP2
    • Windows Server 2008 R1 SP2, 2008 R2 SP1
    • Windows Server 2012 R1, 2012 R2
    • Windows Server 2016
Discovery Agent collected data:
  • The term host refers to either a physical server or a VM.
  • Collected data is in measurements of kilobytes (KB) unless stated otherwise.
  • Equivalent data in the Migration Hub console is reported in megabytes (MB).
  • Data fields denoted with an asterisk (*) are only available in the .csv files produced from the agent's API export function.
  • The polling period is in intervals of approximately 15 minutes.
Data fieldDescription
agentAssignedProcessId*Unique process ID of agent
agentIdUnique ID of agent
agentProvidedTimeStamp*Date and time of agent observation (mm/dd/yyyy hh:mm:ss am/pm)
cmdLine*Process entered at the command line
cpuTypeType of CPU (central processing unit) used in host
destinationIp*IP address of device to which packet is being sent
destinationPort*Port number to which the data/request is to be sent
family*Protocol of routing family
freeRAM (MB)Free RAM and cached RAM that can be made immediately available to applications, measured in MB
gateway*Node address of network
hostNameName of host data was collected on
hypervisorType of hypervisor
ipAddressIP address of the host
ipVersion*IP version number
isSystem*Boolean attribute to indicate if a process is owned by the OS
macAddressMAC address of the host
name*Name of the host, network, metrics, etc. data is being collected for
netMask*IP address prefix that a network host belongs to
osNameOperating system name on host
osVersionOperating system version on host
pathPath of the command sourced from the command line
sourceIp*IP address of the device sending the IP packet
sourcePort*Port number from which the data/request originates from
timestamp*Date and time of reported attribute logged by agent
totalCpuUsagePctPercentage of CPU usage on host during polling period
totalDiskBytesReadPerSecond (Kbps)Total amount of disk free space on host
totalDiskBytesWrittenPerSecond (Kbps)Total size of disk on host
totalDiskFreeSize (GB)Free disk space expressed in GB
totalDiskReadOpsPerSecondTotal number of read I/O operations per second
totalDiskSize (GB)Total capacity of disk expressed in GB
totalDiskWriteOpsPerSecondTotal number of write I/O operations per second
totalNetworkBytesReadPerSecond (Kbps)Total amount of throughput of bytes read per second
totalNetworkBytesWrittenPerSecond (Kbps)Total amount of throughput of bytes written per second
totalNumCoresTotal number of independent processing units within CPU
totalNumCpusTotal number of central processing units
totalNumDisksTotal number of disks on host
totalNumLogicalProcessors*Total number of physical cores times the number of threads that can run on each core
totalNumNetworkCardsTotal count of network cards on server
totalRAM (MB)Total amount of RAM available on host
transportProtocol*Type of transport protocol used

Linux Installation:

https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-agent.html

  • curl -o ./aws-discovery-agent.tar.gz https://s3-us-west-2.amazonaws.com/aws-discovery-agent.us-west-2/linux/latest/aws-discovery-agent.tar.gz
  • tar -xzf aws-discovery-agent.tar.gz
  • sudo bash install -r us-west-2 -k <aws key id> -s <aws key secret>
  • Configure Proxy if required: vi /var/opt/aws/discovery/config

"proxyHost" : "<myproxy.mycompany.com>", "proxyPort" : <1234>, "proxyUser" : "<myusername>", "proxyPassword" : "<mypassword>",
"proxyScheme" : "https"

  • systemctl start aws-discovery-daemon.service
  • systemctl status aws-discovery-daemon.service
Installation-Id : o-2e36afbce72c4adb1
System-Uuid : 420E468B-FD07-7B85-7DFF-A1A3B52F72B3
Region : us-west-2
IpAddress : 10.10.12.242
MacAddress : 00:50:56:8e:78:a9
IpAddress : fe80::250:56ff:fe8e:78a9
MacAddress : 00:50:56:8e:78:a9
IpAddress : 127.0.0.1
MacAddress : 00:00:00:00:00:00
IpAddress : ::1
MacAddress : 00:00:00:00:00:00
IpAddress : 192.168.122.1
MacAddress : 52:54:00:9a:91:4d
Total events published : 0
Events published in last call : 0
AgentId : o-2e36afbce72c4adb1
Collecting : false
Last registration attempt date : Tue 2017-08-15 22:48:48 PDT
Last registration date : Tue 2017-08-15 22:48:48 PDT


Agent OS environment is supported:
Linux
Amazon Linux 2012.03, 2015.03
Ubuntu 12.04, 14.04, 16.04
Red Hat Enterprise Linux 5.11, 6.9, 7.3
CentOS 5.11, 6.9, 7.3
SUSE 11 SP4, 12 SP2

Windows
Windows Server 2003 R2 SP2
Windows Server 2008 R1 SP2, 2008 R2 SP1
Windows Server 2012 R1, 2012 R2
Windows Server 2016


No comments:

Post a Comment