Mashery Local Troubleshooting Guide

Similar documents
Give Your Site A Boost With Memcache. Ben Ramsey September 25, 2009

An introduction to Docker

Building Elastix-1.3 High Availability Clusters with Redfone fonebridge2, DRBD and Heartbeat

HA for Azure Classic Interface. Feature Description

IBM Security Access Manager Version Appliance troubleshooting topics

agenda PAE Docker Docker PAE

Carbon Black QRadar App User Guide

Creating a Multi-Container Pod

Singularity: container formats

Marathon has a timer metric that determines how long an event has taken place. Timer does not exist for Mesos observability metrics.

TimeIPS Server. IPS256T Virtual Machine. Installation Guide

High Availability GUIDE. Netgate

Cluster creation and maintenance

Managing Rack-Mount Servers

Scaling Jenkins with Docker and Kubernetes Carlos

MySQL Cluster Ed 2. Duration: 4 Days

Technical Manual. Software Quality Analysis as a Service (SQUAAD) Team No.1. Implementers: Aleksandr Chernousov Chris Harman Supicha Phadungslip

MYSQL TROUBLESHOOTING. Or, what to do when MySQL starts throwing a fit

Configuring System Logs

Best Practices for Developing & Deploying Java Applications with Docker

Cisco TelePresence VCS Cluster Creation and Maintenance

Deploying Rubrik Datos IO to Protect MongoDB Database on GCP

User Workspace Management

LENS Server Maintenance Guide JZ 2017/07/28

Red Hat Containers Cheat Sheet

cisco. Number: Passing Score: 800 Time Limit: 120 min.

KubeNow Documentation

Secure ACS Database Replication Configuration Example

Novell Filr 1.2 Administration Guide. November 2015

CIS 191A Final Exam. Fall CIS 191 Final Exam

Understanding Feature and Network Services in Cisco Unified Serviceability

The information in this document is based on the Cisco VPN 3000 Series Concentrator.

Read the following information carefully, before you begin an upgrade.

2014 Software Global Client Conference

How to Configure ClusterXL for L2 Link Aggregation

SafeConsole On-Prem Install Guide

Implementing Infoblox Data Connector 2.0

Booting a Galaxy Instance

This release of the product includes these new features that have been added since NGFW 5.5.

MySQL for Database Administrators Ed 3.1

Logging In and Setting Up

Exam4Tests. Latest exam questions & answers help you to pass IT exam test easily

Think Small to Scale Big

Metbox Training Outline LDM Training Metbox overview Break Metbox hands on training

At course completion. Overview. Audience profile. Course Outline. : 55187B: Linux System Administration. Course Outline :: 55187B::

OpenStack Swift Workshop

Tanium Appliance Installation Guide

Zend Server Cluster Manager 5.0 Reference Manual

"Charting the Course... MOC B: Linux System Administration. Course Summary

Dell Provisioning for VMware Workspace ONE. VMware Workspace ONE UEM 1902

Harbor Registry. VMware VMware Inc. All rights reserved.

SafeConsole On-Prem Install Guide. version DataLocker Inc. July, SafeConsole. Reference for SafeConsole OnPrem

USING NGC WITH GOOGLE CLOUD PLATFORM

Load Balancing Microsoft OCS Deployment Guide v Copyright Loadbalancer.org

Using the Cable Monitor Tool

Table of Contents DevOps Administrators

ITS. MySQL for Database Administrators (40 Hours) (Exam code 1z0-883) (OCP My SQL DBA)

Port Usage Information for the IM and Presence Service

Linux Howtos. Fedora 9 Install (114) CIS Fall Fedora 9 Install (114) Fedora 9 installation with custom partitions.

Reference Architecture

High Availability (HA) Feature Description

Step - by - Step DDOS Upgrade Guide

This release of the product includes these new features that have been added since NGFW 5.5.

Dockerfile & docker CLI Cheat Sheet

Reference Architecture. vrealize Automation 7.0

2018 GLOBALSCAPE TRAINING OVERVIEW

Lab Configuring Basic RIPv2 (Solution)

TangeloHub Documentation

MySQL Test Framework for Troubleshooting. February, 04, 2018 Sveta Smirnova

CCNA 1 Chapter 11 V4.0 Answers

Installation and setup guide of 1.1 demonstrator

Cisco Video Management and Storage System Module Command Reference

This release of the product includes these new features that have been added since NGFW 5.5.

Docker Cheat Sheet. Introduction

Tivoli Provisioning Manager for OS Deployment Installation on W2003R2-NFS-MySQL

How to configure MB5000 Serial Port Bridge mode

Amazon Web Services Training. Training Topics:

Cisco Expressway Cluster Creation and Maintenance

Cisco TelePresence Conductor with Cisco Unified Communications Manager

Amazon Web Services (AWS) Solutions Architect Intermediate Level Course Content

Dell EMC Data Protection Advisor

0-1 Million in 46 Days Scaling a Facebook Application in Rails

MongoDB Management Suite Manual Release 1.4

Dockerizing CS50. From Cluster to Cloud to Appliance to Container. David J. Malan Dan Armendariz

Dell Storage Compellent Integration Tools for VMware

Manually Remove Failed Exchange 2007 Server From Active Directory

Vitess on Kubernetes. followed by a demo of VReplication. Jiten Vaidya

User Manual. RoomWizard Administrative Console

HOW TO SECURELY CONFIGURE A LINUX HOST TO RUN CONTAINERS

Installing Prime Optical

Table of Contents HOL-1730-USE-2

Create an application with local persistent volumes

Arup Nanda VP, Data Services Priceline.com

Installing or Recovering Cisco APIC Images

Docker DCA EXAM. m/ Product: Demo. For More Information: Docker Certified Associate

Connection Broker Where Virtual Desktops Meet Real Business. Installing Leostream Connect on HP Thin Clients

ACSEI configuration commands

Inside Hatena Bookmark's Backend

Load Balancing RSA Authentication Manager. Deployment Guide v Copyright Loadbalancer.org, Inc

This release of the product includes these new features that have been added since NGFW 5.7.

Transcription:

Local Troubleshooting Guide General Guidelines for how to Gather Detailed Information on an issue Run Local Debug Utilities (see installation and configuration guide for configuration details) Turn on Verbose Logging (see installation and configuration guide for configuration details) Local Troubleshooting Form Factor Issue Possible Cause Diagnostic Steps Resolution Notes All 596 error API is configured with specific supported HTTP Methods, and the HTTP Method used for this call is not allowed 1. Test the using the SaaS domain (<customer>.api.mashery.com) 2. If the call 596 error, review the Key & Method Detection settings for this endpoint and confirm that the HTTP Method used in the is allowed. 1. If the HTTP method used in this call is not configured on the endpoint, update the supported HTTP Methods to include the HTTP method. 2. Run a manual Local sync to update the configuration in the onprem traffic manager. Applian ce 596 Error Memcached is not running Check that the API configuration is loaded into memcache 1. SSH into the Local Instance i.e. ssh root@<ip ADDRESS OF THE INSTANCE> 2. TELNET to the Memcache If the response is coming from the master and the settings are not in memcache, you likely have a synchronization issue.

port: telnet localhost <port> Here are the port numbers for the various memcache pools: 1. "memservicepool": 11214 2. "memcachepool": 11211 3. "memcachepackaged": 11215 4. "contentcachepool": 11213 5. "memcountpool": 11212 3. Run the stats items command 4. Identify the item number with more than 1 record. 5. Run the command stats cachedump <ITEM NUMBER> <NUMBER OF RECORDS> If the response is coming from the slave and the settings are not in memcache, you like have a replication issue. Force a memcache load of the service definitions: /opt/javaproxy/proxy/memcacheloader --env production --verbose --service Docker 596 Error Memcached container is not running 1. Check the proxy.log for Memcached errors 2. Check whether the memcached is running: 1. If memcache is not running, ssh into the ml_mem container to start it and see whether there's any error docker exec -it ml_mem ps -ef and look for the memcached process docker exec -it ml_mem /bin/bash then service memcached start 2. If it's caused by running out of file limit, increase the ulimit setting by editing the dockercompose.yml file and if you are using dockercompose, do a docker-compose down followed by a docker-compose up to restart the containers. Please see https://docs.docker.com/compose/compose-

file/#/ulimits Add those to the docker-compose.yml file under the container section, most likely ml_mem would need this (if memcached failed to start): For example ulimits: nproc: 65535 nofile: soft: 65535 hard: 65535 Watch out the leading spaces. They must align with others using the correct indentation All returns intermitten t 596 error on a previously working slave. Sync between master and one or more slaves is not working. Errors are intermittent indicating that there is a problem with one slave. Command: python /opt/mashery/utilities/debug_util.py Select Option 3. (Show Slave Status) If errors are present, recreate the Slave instance. This option displays whether a Slave is functioning correctly, including its status, the Master systems IP address and any replication errors that are present between Master and Slave.

All returns 596 error on a new slave. Sync between master and slave is not working. When connecting a new slave to a Master the customer sees this error: "Registering as Slave ERROR: Failed to configure the node as slave." This can happen if the IP Address of the Master was changed after the initial installation of the Master. The built in Debug Utility (debug_util.py) should be run on the Master in order to fix this. Have the customer run the debug_util.py on the "Master". Command: python /opt/mashery/utilities/debug_util.py Select Option 5. (Update record or Master IP address in Master (Master IP address has changed and registration of new Slave with cluster fails) The customer should then be able to register the new Slave to the Master node. Local Web Console is Blank Disk is full Review disk space using the "df -h" command. This will give you a percentage usage of both disks (there are usually 2 disks, 1 "system" and the other "mnt" (mnt contains the logs and the mysql database, the rest is on system) If disk space utilization is over 90% for either disk, customer should ask their System Administrator to increase the size of the respective disk.

Filesystem Size Us ed Avail Use% Mounted on /dev/sda3 8.8G 1. 4G 7.0G 17% / tmpfs 871M 0 871M 0% /dev/shm /dev/sda1 124M 6 3M 55M 54% /boot /dev/mapper/mnt_vg-mnt 40G 51 4M 37G 2% /mnt Local Web Console is Blank Available memory is low Review free memory using the "free -h" command. If available memory is low or the system is using swap, customer should ask their System Administrator to increase the size of memory on this instance or add more nodes to the cluster so that this instance is not at capacity. Applian ce Local Web Console is Blank Basic processes are not running Review basic processes using the "ps aux more" command. Check for: memcached javaproxy mysqld vami-sfcbd lighttpd If any of these processes are not running, reboot Local instance. Cannot synchroniz e API Settings Connection to On-Prem Manager is not present Run the following commands: dig api-mom.mashery.com if you get a response, then try curl -k https://api-mom.mashery.com/ping If you get a response then you do have a good connection to MOM. If you do not get a response, check your network configuration to ensure outbound HTTPS / 443 access is allowed. Local 503 Failsafe is being triggered for the endpoint in question Confirm that the error message of 503_Service_Unavailable_Proxy is being returned. This means that 's failsafe has been triggered due to excessive 504 responses from the API over a short period of time.

Service Unavailabl e error. It could be that the customer's origin servers are now taking longer than the configured connection or response TTLs set on the endpoint. If those values are low, then the customer should increase the values. If they are already high, then the customer needs to improve performance on their origin server to alleviate the issue. Docker Docker Instance cannot be reached Docker containers need to be returned to a clean state. Error checking TLS connection: Something went wrong running an SSH command! error getting ip address: host is not running If you are connected to the VPN, disconnect VPN Stop All containers Docker-Machine instances in Timeout state docker stop $(docker ps -a -q) Delete all containers docker rm $(docker ps -a -q) Delete all images docker rmi $(docker images -q) If using Virtualbox, remove host adapter - Open Virtualbox, click File -> Preferences -> Network -> Host-only Network, remove Vboxnet# Unsetting DOCKER variables unset ${!DOCKER*} Restart Docker Terminal and start creating new instance.