The document discusses troubleshooting SSO startup issues. It provides information on SSO architecture, common symptoms of failures like vCenter Server being unable to start or login issues, and a suggested troubleshooting procedure. This includes checking logs, services, ports, and database configuration. Case studies demonstrate normal startup logs and an example where the database host is not reachable.
vCenter Server 5.5 Single Sign-On VMDir deep divefbuechsel
This document provides an overview of VMware vCenter Single Sign-On architecture including:
- Multi-master replication allows for synchronization across sites and instances.
- Service endpoints define the API interface for registered services within SSO.
- Solution users authenticate registered solutions like vCenter Server components.
- Backup procedures involve gathering logs, backing up certificates and the VMdir database.
- Restores require stopping services, restoring backups, and allowing replication to resynchronize.
- Performance can be impacted by large directory structures, groups, domains or stale configurations.
The document discusses SSL certificate usage with vSphere 5.1/5.5. It provides an overview of SSL and certificate concepts, VMware's certificate requirements, and the SSL Automation Tool. Common issues with certificate replacement are also covered, such as failures due to incorrect certificate chains, non-unique certificates, and SSO connection problems.
VMworld 2013: vSphere vCenter Single Sign-on Best Practices VMworld
VMworld 2013
Josh Gray, VMware
Justin King, VMware
Jonathan McDonald, VMware
Learn more about VMworld and register at http://www.vmworld.com/index.jspa?src=socmed-vmworld-slideshare
This document provides an overview and technical deep dive of vCenter Server and vCenter Single Sign-On. It discusses the components of vCenter including the installer, inventory service, vSphere web client, and database. It also covers reference architectures, system requirements, upgrades, and new features in vCenter Single Sign-On 5.5 such as improved Active Directory integration, simplified installation, and diagnostic tools.
VMworld 2014: vCenter Server Architecture and Deployment Deep DiveVMworld
1. vCenter Server 5.5 deployment options include a single vCenter Server configuration with all services local or multiple vCenter Server configurations linked via Single Sign-On.
2. The vCenter Server tech preview introduces the VMware Platform Services Controller which includes Single Sign-On and additional services like licensing and certificates.
3. Deployments can use an embedded Platform Services Controller or external Platform Services Controllers for larger environments with numerous vCenter Servers.
vCenter and ESXi network port communicationsAnimesh Dixit
The document provides a diagram and explanation of the network ports used in vSphere 5.x including ESXi, vCenter Server, and related VMware products. It lists over 145 port numbers, protocols, and a description of what communicates over each port to allow the vSphere infrastructure and components to function properly.
VMworld 2013: vSphere Upgrade Series Part 1: vCenter ServerVMworld
VMworld 2013
Josh Gray, VMware
Justin King, VMware
Learn more about VMworld and register at http://www.vmworld.com/index.jspa?src=socmed-vmworld-slideshare
Introduction to Role Based Administration in WildFly 8Dimitris Andreadis
This document discusses role-based administration in WildFly 8. It introduces the concept of assigning administrative users to predefined roles with different permissions to control access to server resources. Roles include Monitor, Operator, Maintainer, Deployer, Administrator, Auditor, and SuperUser. Sensitive resources can be annotated and access restricted based on roles. The role-based access control system provides more fine-grained access than the previous all-or-nothing model in JBoss AS7.
vCenter Server 5.5 Single Sign-On VMDir deep divefbuechsel
This document provides an overview of VMware vCenter Single Sign-On architecture including:
- Multi-master replication allows for synchronization across sites and instances.
- Service endpoints define the API interface for registered services within SSO.
- Solution users authenticate registered solutions like vCenter Server components.
- Backup procedures involve gathering logs, backing up certificates and the VMdir database.
- Restores require stopping services, restoring backups, and allowing replication to resynchronize.
- Performance can be impacted by large directory structures, groups, domains or stale configurations.
The document discusses SSL certificate usage with vSphere 5.1/5.5. It provides an overview of SSL and certificate concepts, VMware's certificate requirements, and the SSL Automation Tool. Common issues with certificate replacement are also covered, such as failures due to incorrect certificate chains, non-unique certificates, and SSO connection problems.
VMworld 2013: vSphere vCenter Single Sign-on Best Practices VMworld
VMworld 2013
Josh Gray, VMware
Justin King, VMware
Jonathan McDonald, VMware
Learn more about VMworld and register at http://www.vmworld.com/index.jspa?src=socmed-vmworld-slideshare
This document provides an overview and technical deep dive of vCenter Server and vCenter Single Sign-On. It discusses the components of vCenter including the installer, inventory service, vSphere web client, and database. It also covers reference architectures, system requirements, upgrades, and new features in vCenter Single Sign-On 5.5 such as improved Active Directory integration, simplified installation, and diagnostic tools.
VMworld 2014: vCenter Server Architecture and Deployment Deep DiveVMworld
1. vCenter Server 5.5 deployment options include a single vCenter Server configuration with all services local or multiple vCenter Server configurations linked via Single Sign-On.
2. The vCenter Server tech preview introduces the VMware Platform Services Controller which includes Single Sign-On and additional services like licensing and certificates.
3. Deployments can use an embedded Platform Services Controller or external Platform Services Controllers for larger environments with numerous vCenter Servers.
vCenter and ESXi network port communicationsAnimesh Dixit
The document provides a diagram and explanation of the network ports used in vSphere 5.x including ESXi, vCenter Server, and related VMware products. It lists over 145 port numbers, protocols, and a description of what communicates over each port to allow the vSphere infrastructure and components to function properly.
VMworld 2013: vSphere Upgrade Series Part 1: vCenter ServerVMworld
VMworld 2013
Josh Gray, VMware
Justin King, VMware
Learn more about VMworld and register at http://www.vmworld.com/index.jspa?src=socmed-vmworld-slideshare
Introduction to Role Based Administration in WildFly 8Dimitris Andreadis
This document discusses role-based administration in WildFly 8. It introduces the concept of assigning administrative users to predefined roles with different permissions to control access to server resources. Roles include Monitor, Operator, Maintainer, Deployer, Administrator, Auditor, and SuperUser. Sensitive resources can be annotated and access restricted based on roles. The role-based access control system provides more fine-grained access than the previous all-or-nothing model in JBoss AS7.
This document provides an overview of logs in the VMware vSphere environment. It discusses the location and notable logs for vCenter Server, the vCenter Inventory Service, vSphere Profile-Driven Storage, vCenter Single Sign-On, and the vSphere Web Client. The document also provides log locations and descriptions for VMware vCenter Server 6.0.
This document outlines an agenda for a WebLogic training session. It lists 15 topics that will be covered, including WebLogic installation, domain configuration, clustering, deployment, JMS, security, performance tuning, logging, WLST scripting, JMX monitoring, JTA transactions, and SSL. For each topic, it provides a brief description of the areas that will be covered.
This document discusses troubleshooting Oracle WebLogic performance issues. It outlines various tools that can be used for troubleshooting including operating system tools like sar and vmstat, Java tools like jps and jstat, and WebLogic-specific tools like the WebLogic Diagnostics Framework. It also covers taking thread dumps, configuring WebLogic logging and debugging options, and using the Oracle Diagnostic Logging framework.
WebLogic in Practice: SSL ConfigurationSimon Haslam
The document provides an overview of SSL configuration in Oracle WebLogic Server. It discusses key SSL concepts like key pairs, certificates, and certificate authorities. It describes how WebLogic uses Java keystores for identity and trust, and the tools like keytool and orapki that can be used to manage keys and certificates. The document also covers best practices for SSL configuration in WebLogic like always enabling hostname verification and not using demo certificates in production.
A presentation delivered most recently at OUG Norway on 16/4/2011. It introduces WebLogic terminology, how to install/configure it, high level monitoring and an example of its use to run Oracle Enterprise Manager 12c Cloud Controle.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.Dimitris Andreadis
This document summarizes the history and future of the WildFly application server project. It discusses the evolution from JBoss AS to WildFly, recaps key features of WildFly 8 including full Java EE 7 certification. It provides an update on WildFly 9 including new features like the WildFly-Core project and distribution, and previews plans for WildFly 10 such as replacing HornetQ with Artemis and improving security with the new Elytron module.
The document discusses the benefits and features of the vCenter Server Appliance 6.5, which is the new default deployment method. It highlights the operational benefits like quick provisioning, no operating system licenses needed, and unified patching. Key features covered include high availability, backup and restore capabilities, integration with VMware Update Manager, and improvements to the HTML5 vSphere Client. Additional resources for planning an upgrade to vCenter Server 6.5 are also provided.
Nashville VMUG Keynote April 8 2015 - vSphere 6Adam Eckerle
This document provides an overview of vSphere 6.0 including key highlights, deployment options for vCenter Server and the Platform Services Controller, and certification updates. The main points are:
- vSphere 6.0 has seen faster adoption and fewer issues than previous versions. Key features include improved fault tolerance, larger cluster sizes, and simplified workload migration.
- vCenter Server now uses an embedded or external Platform Services Controller for single sign-on, licensing, and certificate management. There are multiple deployment configurations for high availability.
- New certification paths are available, including beta exams for VCP6-DCV and upcoming exams for VCIX6-DCV. Resources like hands-on labs and documentation
This document discusses techniques for troubleshooting issues with Red Hat JBoss EAP 6. It covers generating thread dumps, heap dumps, and log files to analyze where threads are stuck or understand memory usage. The JBoss Diagnostic Reporter (JDR) subsystem can collect troubleshooting information. Byteman allows inserting extra Java code into applications to aid debugging. The log subsystem level and GC logging can be configured for additional troubleshooting data in log files.
The document discusses the upcoming WildFly v8 release which will include support for Java EE7 specifications and new features. Key features of v8 include support for Java EE7, a new high performance web server called Undertow, reduced port usage, patching capabilities, administrative audit logging, and role-based administration. The roadmap targets an alpha1 release in May 2013 with a final release planned for December 2013.
This document describes how to hack a VMware vCenter server in 60 seconds by exploiting vulnerabilities in VMware products. It outlines attacks that involve directory traversal to read sensitive files containing passwords, session IDs, and private keys. These credentials and information can then be used to spoof connections and gain administrative access to vCenter and associated VMware services. The attacks target outdated and vulnerable versions of vCenter Update Manager, vCenter Orchestrator, and other VMware products.
The document discusses upcoming releases of the WildFly application server. It notes that WildFly 8 is Java EE7 certified and includes performance and usability improvements. WildFly 9 is still in development and will include splitting the codebase into modular feature packs, improved security features like Elytron, and support for capabilities and requirements. The goal is to make WildFly more customizable and modular and reduce testing time.
WebLogic FAQs provide answers to common questions about Oracle WebLogic Server. The document includes questions about what WebLogic Server is, its basic components like domains and managed servers, how administration servers and managed servers interact, and how to configure and use WebLogic Server clusters. Additional questions cover topics like multicast and unicast communication, development versus production modes, and how to start and stop WebLogic Server instances.
This document provides a summary of the state of JBoss EAP/WildFly application servers. It discusses the history and key releases of JBoss AS, including the path to Java EE 6 compliance and the major changes and improvements in JBoss AS 7. It then outlines the goals and key features for the next major versions, WildFly 8 and JBoss EAP 6, including support for Java EE 7, single instance patching, role-based access control, and a new web container.
JBoss Application Server is an open source application server. It supports J2EE 1.3 technologies including EJB 2.0, JMS, JDBC, and more. JBoss installs easily and can be configured for clustering, web services, and CORBA integration. It uses Apache Tomcat as its web server and integrates the open source JBossMQ for JMS. Default topics, queues, and a Hypersonic database are provided for testing and development.
WildFly AppServer - State of the Union
as presented at SoftShake Geneva, Oct 2015
http://soft-shake.ch/2015/en/
Covering the whole WildFly v8/9/10 series and the key aspects of the base AS7 architecture.
This document discusses different WebLogic topology strategies with varying levels of application isolation and performance. It recommends strategies such as running multiple WebLogic instances, multiple managed servers, or virtual machines on a single physical server for development/test environments, and using clusters, session persistence, or hardware partitions for production environments. The goal is to consolidate applications while balancing isolation and resource utilization.
The document provides tips for improving performance and security in a vSphere 4.1 environment. It discusses new features in vSphere 4.1 related to networking, storage, memory compression, and management. It then outlines best practices for securing the virtual infrastructure, including using virtual networking segmentation, hardening ESXi hosts, protecting the vCenter management environment, and securing individual virtual machines. The document recommends configuration changes, tools, and resources to improve the security of the virtualization platform.
This document discusses WildFly Swarm, a tool that packages a Java application together with just the pieces of the WildFly application server runtime that it needs. It allows building self-contained applications that can run independently of any pre-installed server. The document outlines how WildFly Swarm works, how it allows selecting specific Java EE APIs and frameworks, and how it produces a single executable "uber jar" file. It also provides examples of creating a simple REST application using WildFly Swarm and customizing the runtime configuration.
BISP is committed to provide BEST learning material to the beginners and advance learners.In the same series, we have prepared a complete end-to end Hands-on Guide for WebLogicAdministration. The document focuses on detailed information about WebLogic Admin Consoleand Scripting tool. Join our professional training program and learn from experts
WebSphere Technical University: Top WebSphere Problem Determination FeaturesChris Bailey
Problem determination is an important focus area in the IBM WebSphere Application Server. Serviceability improvements have been added that have greatly improved the ability to find root causes of problems in both the full IBM WebSphere Application Server profile, and the newer Liberty profile. The session focuses on how to effectively use serviceability improvements added to the application server since V8.0. This includes high performance extensibe logging, cross-component trace, IBM Support Assistant data collector, timed operations, memory leak detection/prevention, and IBM Support Assistant 5.
Presented at the WebSphere Technical University 2014, Dusseldorf
Lean microservices through ahead of time compilation (Tobias Piper, Loveholid...London Microservices
Recorded at the London Microservices Meetup: https://www.meetup.com/London-Microservices/
- Date: 05/08/2020
- Event page: https://www.meetup.com/London-Microservices/events/272223163/
Follow us on Twitter! https://twitter.com/LondonMicrosvc
---
Services interpreted at runtime often suffer from slow startup times when components are intitialized at runtime. Ahead of time compilation allows condensing down an application by stripping down unused dependencies and pre-initializing components for a short time to first request served. This is explored by the example of GraalVM and native images.
Key takeaways:
- Be aware what your service contains
- Approaches to improve startup time of a service
- Reduction of resource requirements for a service
Tobias works at Loveholidays.com as a senior software engineer extending it's microservice architecture and turning it more event-driven.
This document provides an overview of logs in the VMware vSphere environment. It discusses the location and notable logs for vCenter Server, the vCenter Inventory Service, vSphere Profile-Driven Storage, vCenter Single Sign-On, and the vSphere Web Client. The document also provides log locations and descriptions for VMware vCenter Server 6.0.
This document outlines an agenda for a WebLogic training session. It lists 15 topics that will be covered, including WebLogic installation, domain configuration, clustering, deployment, JMS, security, performance tuning, logging, WLST scripting, JMX monitoring, JTA transactions, and SSL. For each topic, it provides a brief description of the areas that will be covered.
This document discusses troubleshooting Oracle WebLogic performance issues. It outlines various tools that can be used for troubleshooting including operating system tools like sar and vmstat, Java tools like jps and jstat, and WebLogic-specific tools like the WebLogic Diagnostics Framework. It also covers taking thread dumps, configuring WebLogic logging and debugging options, and using the Oracle Diagnostic Logging framework.
WebLogic in Practice: SSL ConfigurationSimon Haslam
The document provides an overview of SSL configuration in Oracle WebLogic Server. It discusses key SSL concepts like key pairs, certificates, and certificate authorities. It describes how WebLogic uses Java keystores for identity and trust, and the tools like keytool and orapki that can be used to manage keys and certificates. The document also covers best practices for SSL configuration in WebLogic like always enabling hostname verification and not using demo certificates in production.
A presentation delivered most recently at OUG Norway on 16/4/2011. It introduces WebLogic terminology, how to install/configure it, high level monitoring and an example of its use to run Oracle Enterprise Manager 12c Cloud Controle.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.Dimitris Andreadis
This document summarizes the history and future of the WildFly application server project. It discusses the evolution from JBoss AS to WildFly, recaps key features of WildFly 8 including full Java EE 7 certification. It provides an update on WildFly 9 including new features like the WildFly-Core project and distribution, and previews plans for WildFly 10 such as replacing HornetQ with Artemis and improving security with the new Elytron module.
The document discusses the benefits and features of the vCenter Server Appliance 6.5, which is the new default deployment method. It highlights the operational benefits like quick provisioning, no operating system licenses needed, and unified patching. Key features covered include high availability, backup and restore capabilities, integration with VMware Update Manager, and improvements to the HTML5 vSphere Client. Additional resources for planning an upgrade to vCenter Server 6.5 are also provided.
Nashville VMUG Keynote April 8 2015 - vSphere 6Adam Eckerle
This document provides an overview of vSphere 6.0 including key highlights, deployment options for vCenter Server and the Platform Services Controller, and certification updates. The main points are:
- vSphere 6.0 has seen faster adoption and fewer issues than previous versions. Key features include improved fault tolerance, larger cluster sizes, and simplified workload migration.
- vCenter Server now uses an embedded or external Platform Services Controller for single sign-on, licensing, and certificate management. There are multiple deployment configurations for high availability.
- New certification paths are available, including beta exams for VCP6-DCV and upcoming exams for VCIX6-DCV. Resources like hands-on labs and documentation
This document discusses techniques for troubleshooting issues with Red Hat JBoss EAP 6. It covers generating thread dumps, heap dumps, and log files to analyze where threads are stuck or understand memory usage. The JBoss Diagnostic Reporter (JDR) subsystem can collect troubleshooting information. Byteman allows inserting extra Java code into applications to aid debugging. The log subsystem level and GC logging can be configured for additional troubleshooting data in log files.
The document discusses the upcoming WildFly v8 release which will include support for Java EE7 specifications and new features. Key features of v8 include support for Java EE7, a new high performance web server called Undertow, reduced port usage, patching capabilities, administrative audit logging, and role-based administration. The roadmap targets an alpha1 release in May 2013 with a final release planned for December 2013.
This document describes how to hack a VMware vCenter server in 60 seconds by exploiting vulnerabilities in VMware products. It outlines attacks that involve directory traversal to read sensitive files containing passwords, session IDs, and private keys. These credentials and information can then be used to spoof connections and gain administrative access to vCenter and associated VMware services. The attacks target outdated and vulnerable versions of vCenter Update Manager, vCenter Orchestrator, and other VMware products.
The document discusses upcoming releases of the WildFly application server. It notes that WildFly 8 is Java EE7 certified and includes performance and usability improvements. WildFly 9 is still in development and will include splitting the codebase into modular feature packs, improved security features like Elytron, and support for capabilities and requirements. The goal is to make WildFly more customizable and modular and reduce testing time.
WebLogic FAQs provide answers to common questions about Oracle WebLogic Server. The document includes questions about what WebLogic Server is, its basic components like domains and managed servers, how administration servers and managed servers interact, and how to configure and use WebLogic Server clusters. Additional questions cover topics like multicast and unicast communication, development versus production modes, and how to start and stop WebLogic Server instances.
This document provides a summary of the state of JBoss EAP/WildFly application servers. It discusses the history and key releases of JBoss AS, including the path to Java EE 6 compliance and the major changes and improvements in JBoss AS 7. It then outlines the goals and key features for the next major versions, WildFly 8 and JBoss EAP 6, including support for Java EE 7, single instance patching, role-based access control, and a new web container.
JBoss Application Server is an open source application server. It supports J2EE 1.3 technologies including EJB 2.0, JMS, JDBC, and more. JBoss installs easily and can be configured for clustering, web services, and CORBA integration. It uses Apache Tomcat as its web server and integrates the open source JBossMQ for JMS. Default topics, queues, and a Hypersonic database are provided for testing and development.
WildFly AppServer - State of the Union
as presented at SoftShake Geneva, Oct 2015
http://soft-shake.ch/2015/en/
Covering the whole WildFly v8/9/10 series and the key aspects of the base AS7 architecture.
This document discusses different WebLogic topology strategies with varying levels of application isolation and performance. It recommends strategies such as running multiple WebLogic instances, multiple managed servers, or virtual machines on a single physical server for development/test environments, and using clusters, session persistence, or hardware partitions for production environments. The goal is to consolidate applications while balancing isolation and resource utilization.
The document provides tips for improving performance and security in a vSphere 4.1 environment. It discusses new features in vSphere 4.1 related to networking, storage, memory compression, and management. It then outlines best practices for securing the virtual infrastructure, including using virtual networking segmentation, hardening ESXi hosts, protecting the vCenter management environment, and securing individual virtual machines. The document recommends configuration changes, tools, and resources to improve the security of the virtualization platform.
This document discusses WildFly Swarm, a tool that packages a Java application together with just the pieces of the WildFly application server runtime that it needs. It allows building self-contained applications that can run independently of any pre-installed server. The document outlines how WildFly Swarm works, how it allows selecting specific Java EE APIs and frameworks, and how it produces a single executable "uber jar" file. It also provides examples of creating a simple REST application using WildFly Swarm and customizing the runtime configuration.
BISP is committed to provide BEST learning material to the beginners and advance learners.In the same series, we have prepared a complete end-to end Hands-on Guide for WebLogicAdministration. The document focuses on detailed information about WebLogic Admin Consoleand Scripting tool. Join our professional training program and learn from experts
WebSphere Technical University: Top WebSphere Problem Determination FeaturesChris Bailey
Problem determination is an important focus area in the IBM WebSphere Application Server. Serviceability improvements have been added that have greatly improved the ability to find root causes of problems in both the full IBM WebSphere Application Server profile, and the newer Liberty profile. The session focuses on how to effectively use serviceability improvements added to the application server since V8.0. This includes high performance extensibe logging, cross-component trace, IBM Support Assistant data collector, timed operations, memory leak detection/prevention, and IBM Support Assistant 5.
Presented at the WebSphere Technical University 2014, Dusseldorf
Lean microservices through ahead of time compilation (Tobias Piper, Loveholid...London Microservices
Recorded at the London Microservices Meetup: https://www.meetup.com/London-Microservices/
- Date: 05/08/2020
- Event page: https://www.meetup.com/London-Microservices/events/272223163/
Follow us on Twitter! https://twitter.com/LondonMicrosvc
---
Services interpreted at runtime often suffer from slow startup times when components are intitialized at runtime. Ahead of time compilation allows condensing down an application by stripping down unused dependencies and pre-initializing components for a short time to first request served. This is explored by the example of GraalVM and native images.
Key takeaways:
- Be aware what your service contains
- Approaches to improve startup time of a service
- Reduction of resource requirements for a service
Tobias works at Loveholidays.com as a senior software engineer extending it's microservice architecture and turning it more event-driven.
WLST is a scripting tool that allows automation of WebLogic domain configuration and management. Key benefits of using WLST to automate domain builds include consistency across environments, the ability to quickly build new environments, facilitating disaster recovery, and maintaining consistency over time. The main steps in automating domain builds are installing software silently, creating the base domain configuration from a template or existing domain using WLST scripts, and further customizing the domain configuration with additional WLST scripts.
The document discusses using Fabric for deployment and system administration tasks across multiple servers. It provides examples of Fabric configuration, defining roles for servers, writing tasks to run commands on servers, and how to structure tasks for a full deployment workflow. Fabric allows running commands remotely via SSH and provides tools for task composition and failure handling.
SaltConf14 - Ben Cane - Using SaltStack in High Availability EnvironmentsSaltStack
An overview on the benefits and best practices of using SaltStack for consistency and automation in highly available enterprise environments such as financial services.
DB proxy server test: run tests on tens of virtual machines with Jenkins, Vag...Timofey Turenko
The presentation describes CI environment for our product - Maxscale - database proxy server. To test such product we need a setup that consists of tens of machines: locally hosted virtual machines as well as machines from different clouds. All our Jenkins jobs are implemented in the form of Jenkins Job Builder code. Presentations also tells about our tool to manage virtual machines (wrapper over Vagrant)- MDBCI.
Head First Zend Framework - Part 1 Project & ApplicationJace Ju
Zend Framework provides tools for creating PHP web applications. The zf script is used to generate a project skeleton and configure resources. The Zend_Application loads configuration from application.ini, initializes the bootstrap class, and runs the application. The bootstrap class initializes custom resources. Common resources like the front controller, database, and view are initialized through Zend_Application_Resource classes, which get configuration options from application.ini. This allows flexible configuration and initialization of an MVC application in Zend Framework.
This document discusses setting up MySQL auditing using the Percona Audit Plugin and ELK (Elasticsearch, Logstash, Kibana) stack to retrieve and analyze MySQL logs. Key steps include installing the Percona Audit Plugin on MySQL servers, configuring it to log to syslog, installing and configuring rsyslog/syslog-ng on database and ELK servers to forward logs, and installing and configuring the ELK stack including Elasticsearch, Logstash, and Kibana to index and visualize the logs. Examples are provided of creating searches, graphs, and dashboards in Kibana for analyzing the MySQL audit logs.
This document provides information about connecting to and working with Microsoft SQL Server databases from PHP applications running on Linux or Windows Azure. It includes code samples for connecting to SQL databases and performing operations like inserts and selects. It also lists several URLs for Microsoft SQL Server drivers and documentation.
This document provides information about connecting a PHP application to Microsoft SQL Server hosted on Azure, including code samples and links to documentation. It discusses installing PHP and the SQL Server driver on Azure web roles, setting the connection string, performing basic queries like inserts and selecting data with timezone offsets, and links to Microsoft and PHP documentation for more information.
Blue Green Sitecore Deployments on AzureRob Habraken
The sildes of my presentation on the Sitecore User Group Jordan meetup on April 24th 2017 and the Sitecore User Group Belarus meetup on April 27th, presenting and demoing the blue green provisioning of Sitecore into Azure using Azure Web Apps. Note that these slides do not contain the demo itself. For the demo, view the recording of the presentation or read my blog post, both accessable via https://www.robhabraken.nl
This document discusses using Fabric for Python application deployment and configuration management. It provides an overview of Fabric basics like tasks, roles, and environments. It also describes using Fabric for common operations like code deployment, database migrations, and managing server growth. Key advantages of Fabric include its simple task-based interface and ability to control multiple servers simultaneously. The document provides an example of using Fabric for a full deployment process including pushing code, running migrations, and restarting processes.
Presentation on how Meetup tackles web performance. Given on:
- Nov 17th, 2009 for the NY Web Performance Group (http://www.meetup.com/Web-Performance-NY/)
- Jan 26th, 2010 for NYC Tech Talks Meetup Group (http://www.meetup.com/NYC-Tech-Talks/)
1. Meetup discussed optimizing the performance of their event details page by externalizing scripts, moving scripts to the bottom of the page, reducing requests, lazy loading scripts, and using event delegation.
2. These changes reduced the page load time by 27% from 6.321 seconds to 4.643 seconds and reduced javascript requests by 50%.
3. Meetup also optimized static content serving by versioning, compressing, caching resources and using a CDN to improve performance further.
The document discusses Microsoft SharePoint server farm topologies and sizing recommendations. It covers factors to consider like availability, capacity, performance, and organizational requirements. It provides guidance on the number of servers, databases, web applications, and other components for small, medium and large farm designs based on the number of users and workload. It also discusses virtualization support and recommendations.
This document provides an overview of scaling DotNetNuke in the cloud. It discusses infrastructure as a service models and configuring DotNetNuke for highly available, load balanced environments. Specific topics covered include setting up availability zones, load balancers, configuring web servers uniformly, replicating files, database mirroring, caching, and scheduling tasks. References are provided for additional resources on topics like shared configuration, distributed file system replication, and setting up application request routing.
Sherlock Homepage - A detective story about running large web services - WebN...Maarten Balliauw
The site was slow. CPU and memory usage everywhere! Some dead objects in the corner. Something terrible must have happened! We have some IIS logs. Some traces from a witness. But not enough to find out what was wrong. In this session, we’ll see how effective telemetry, a profiler or two as well as a refresher of how IIS runs our ASP.NET web applications can help solve this server murder mystery.
This document provides an overview of DevOps practices and Desired State Configuration (DSC) in PowerShell. It includes definitions and explanations of key DevOps terms like infrastructure as code, continuous integration, and automated testing. The document discusses how DSC works using a three phase model of authoring, staging, and applying configurations. It also provides examples of how DSC can be used to manage servers and describes how DSC resources can be installed from public or private galleries to author DSC scripts with little custom code.
Boris Stoyanov - Troubleshooting the Virtual Router - Run and Get DiagnosticsShapeBlue
Demonstration of CloudStack’s latest features for troubleshooting the Virtual Router connectivity and configuration, called Run and Get Diagnostics. Run Diagnostics gives the admin ability to execute diagnostics commands native the VR OS directly from the CloudStack UI. Admin is able to determine connectivity capabilities of the VR without logging into the SystemVM at all. Get diagnostics feature allow the admin to gather information about the SystemVM as fast as clicking on a button in the ‘QuickView’ of the VM. Admin can also execute custom scripts on each SystemVM type from the CloudStack UI. This session will begin with complete presentation of the features followed by live demo and Q&A.
Unveiling the Advantages of Agile Software Development.pdfbrainerhub1
Learn about Agile Software Development's advantages. Simplify your workflow to spur quicker innovation. Jump right in! We have also discussed the advantages.
SMS API Integration in Saudi Arabia| Best SMS API ServiceYara Milbes
Discover the benefits and implementation of SMS API integration in the UAE and Middle East. This comprehensive guide covers the importance of SMS messaging APIs, the advantages of bulk SMS APIs, and real-world case studies. Learn how CEQUENS, a leader in communication solutions, can help your business enhance customer engagement and streamline operations with innovative CPaaS, reliable SMS APIs, and omnichannel solutions, including WhatsApp Business. Perfect for businesses seeking to optimize their communication strategies in the digital age.
WWDC 2024 Keynote Review: For CocoaCoders AustinPatrick Weigel
Overview of WWDC 2024 Keynote Address.
Covers: Apple Intelligence, iOS18, macOS Sequoia, iPadOS, watchOS, visionOS, and Apple TV+.
Understandable dialogue on Apple TV+
On-device app controlling AI.
Access to ChatGPT with a guest appearance by Chief Data Thief Sam Altman!
App Locking! iPhone Mirroring! And a Calculator!!
Top 9 Trends in Cybersecurity for 2024.pptxdevvsandy
Security and risk management (SRM) leaders face disruptions on technological, organizational, and human fronts. Preparation and pragmatic execution are key for dealing with these disruptions and providing the right cybersecurity program.
E-commerce Development Services- Hornet DynamicsHornet Dynamics
For any business hoping to succeed in the digital age, having a strong online presence is crucial. We offer Ecommerce Development Services that are customized according to your business requirements and client preferences, enabling you to create a dynamic, safe, and user-friendly online store.
Flutter is a popular open source, cross-platform framework developed by Google. In this webinar we'll explore Flutter and its architecture, delve into the Flutter Embedder and Flutter’s Dart language, discover how to leverage Flutter for embedded device development, learn about Automotive Grade Linux (AGL) and its consortium and understand the rationale behind AGL's choice of Flutter for next-gen IVI systems. Don’t miss this opportunity to discover whether Flutter is right for your project.
Microservice Teams - How the cloud changes the way we workSven Peters
A lot of technical challenges and complexity come with building a cloud-native and distributed architecture. The way we develop backend software has fundamentally changed in the last ten years. Managing a microservices architecture demands a lot of us to ensure observability and operational resiliency. But did you also change the way you run your development teams?
Sven will talk about Atlassian’s journey from a monolith to a multi-tenanted architecture and how it affected the way the engineering teams work. You will learn how we shifted to service ownership, moved to more autonomous teams (and its challenges), and established platform and enablement teams.
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsPeter Muessig
The UI5 tooling is the development and build tooling of UI5. It is built in a modular and extensible way so that it can be easily extended by your needs. This session will showcase various tooling extensions which can boost your development experience by far so that you can really work offline, transpile your code in your project to use even newer versions of EcmaScript (than 2022 which is supported right now by the UI5 tooling), consume any npm package of your choice in your project, using different kind of proxies, and even stitching UI5 projects during development together to mimic your target environment.
Measures in SQL (SIGMOD 2024, Santiago, Chile)Julian Hyde
SQL has attained widespread adoption, but Business Intelligence tools still use their own higher level languages based upon a multidimensional paradigm. Composable calculations are what is missing from SQL, and we propose a new kind of column, called a measure, that attaches a calculation to a table. Like regular tables, tables with measures are composable and closed when used in queries.
SQL-with-measures has the power, conciseness and reusability of multidimensional languages but retains SQL semantics. Measure invocations can be expanded in place to simple, clear SQL.
To define the evaluation semantics for measures, we introduce context-sensitive expressions (a way to evaluate multidimensional expressions that is consistent with existing SQL semantics), a concept called evaluation context, and several operations for setting and modifying the evaluation context.
A talk at SIGMOD, June 9–15, 2024, Santiago, Chile
Authors: Julian Hyde (Google) and John Fremlin (Google)
https://doi.org/10.1145/3626246.3653374
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesQuickdice ERP
Explore the seamless transition to e-invoicing with this comprehensive guide tailored for Saudi Arabian businesses. Navigate the process effortlessly with step-by-step instructions designed to streamline implementation and enhance efficiency.
SOCRadar's Aviation Industry Q1 Incident Report is out now!
The aviation industry has always been a prime target for cybercriminals due to its critical infrastructure and high stakes. In the first quarter of 2024, the sector faced an alarming surge in cybersecurity threats, revealing its vulnerabilities and the relentless sophistication of cyber attackers.
SOCRadar’s Aviation Industry, Quarterly Incident Report, provides an in-depth analysis of these threats, detected and examined through our extensive monitoring of hacker forums, Telegram channels, and dark web platforms.
2. Agenda
– SSO architecture
– Symptoms of SSO not running or malfunctioning
– Suggested troubleshooting procedure
– Case studies
– Useful command line options
4. SSO 5.1 architecture
• Status for the actual java wrapper
• Does not reflect the status of the 4 sub systems
• IMS (https://localhost:7444/ims/STSService?wsdl)
• Lookupservice (https://localhost:7444/lookupservice/sdk)
• ROOT (vFabric) (https://localhost:7444)
• SSO-Adminserver (https://localhost:7444/sso-adminserver/sdk)
6. Symptoms of SSO not running or malfunctioning 1/3
• vCenter Server unable to start
vpxd.log:
2013-05-19T02:45:27.312-07:00 [04628 info '[SSO][CreateSsoFacade]'] [CreateUserDirectory] STS URI set to: https://vCenter.newhire.local:7444/ims/STSService?wsdl
2013-05-19T02:45:27.312-07:00 [04628 info '[SSO][CreateSsoFacade]'] [CreateUserDirectory] Admin URI set to: https://vCenter.newhire.local:7444/sso-adminserver/sdk
2013-05-19T02:45:27.312-07:00 [04628 info '[SSO][CreateSsoFacade]'] [CreateUserDirectory] Groupcheck URI set to: https://vCenter.newhire.local:7444/sso-adminserver/sdk
2013-05-19T02:45:27.555-07:00 [04628 error 'Default'] Found dangling SSL error: [0] error:00000001:lib(0):func(0):reason(1)
2013-05-19T02:45:27.555-07:00 [04628 error 'Default'] Found dangling SSL error: [1] error:00000001:lib(0):func(0):reason(1)
2013-05-19T02:45:27.555-07:00 [04628 error '[SSO][SsoFactory_CreateFacade]'] Unable to create SSO facade: vmodl.fault.SystemError.
2013-05-19T02:45:27.555-07:00 [04628 error 'vpxdvpxdMain'] [Vpxd::ServerApp::Init] Init failed: Vpx::Common::Sso::SsoFactory_CreateFacade(sslContext, ssoFacadeConstPtr)
--> Backtrace:
[…]
2013-05-19T02:45:27.556-07:00 [04628 error 'Default'] Failed to intialize VMware VirtualCenter. Shutting down...
7. Symptoms of SSO not running or malfunctioning 2/3
• No login possible in the Web Client / vSphere Client
8. Symptoms of SSO not running or malfunctioning 3/3
• Installation of dependent services failing (Inventory Service, vCenter Server, Web Client)
10. Suggested troubleshooting procedure 1/3
• Check in services.msc if the service is running
• Remember that this only referes to the wrapper and tomcat
• Check for used ports
• Look at the most recent catalina.log
• Look at the most recent localhost.log
• Look at the imsSystem.log
• Look at the config.txt
• Look at the database
11. Suggested troubleshooting procedure 2/3
Java exceptions are hard to read without being filtered for useful information
• Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DatabaseMetadataBean' defined in class path resource [ims-components-common.xml]: Instantiation of bean failed; nested exception
is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Cannot open database "RSA" requested by the login. The login failed.)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:286)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:993)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:897)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:626)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:407)
at com.rsa.ims.components.spring.SecurityAwareClassPathXmlApplicationContext.access$001(SecurityAwareClassPathXmlApplicationContext.java:27)
at com.rsa.ims.components.spring.SecurityAwareClassPathXmlApplicationContext$1.run(SecurityAwareClassPathXmlApplicationContext.java:164)
at com.rsa.ims.security.spi.SimpleSecurityContextImpl.doAs(SimpleSecurityContextImpl.java:82)
at com.rsa.security.SecurityContext.doAs(SecurityContext.java:419)
at com.rsa.security.SecurityContext.doAsSystem(SecurityContext.java:461)
at com.rsa.ims.components.spring.SecurityAwareClassPathXmlApplicationContext.refresh(SecurityAwareClassPathXmlApplicationContext.java:161)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105)
at com.rsa.ims.components.spring.SecurityAwareClassPathXmlApplicationContext.<init>(SecurityAwareClassPathXmlApplicationContext.java:90)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
... 29 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Cannot open database "RSA" requested by the login. The login failed.)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:105)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:278)
... 57 more
12. Suggested troubleshooting procedure 3/3
• Log bundle analysis the manual way (will always read in the latest log)
• $ ls -tr catalina* | tail -n 1 | xargs awk -F "INFO " '{print $2}' | tail -n 4 | grep Starting | wc -l
Expected output would be “4”
• $ ls -tr localhost.* | tail -n 1 | xargs cat | egrep '(Caused)'
Expected output would be nothing
• $ egrep '(Caused)' imsSystem.log
Expected output would be nothing
• $ cat config.txt | grep -F db. | tail -n 11 | grep com.rsa (IMS component configuration)
• $ cat config.txt | grep -F db. | tail -n 11 | grep " db" (lookupservice db configuration)
Expected output would be matching information
14. Case studies – Normal start-up 1/3
No exceptions in catalina.log, localhost.log and imsSystem.log
catalina.log
15. Case studies – Normal start-up 2/3
localhost.log
imsSystem.log
16. Case studies – Normal start-up 3/3
IMS db configuration
$ less config.txt | grep -F db. | tail -n 11 | grep " db"
[2013-05-18 10:14:21,956 INFO StaticDataReporter com.vmware.vim.ssoconfig] db.url=jdbc:jtds:sqlserver://; serverName=;instance=VCSQL;databaseName=RSA
[2013-05-18 10:14:21,956 INFO StaticDataReporter com.vmware.vim.ssoconfig] db.user=RSA_USER
[2013-05-18 10:14:21,957 INFO StaticDataReporter com.vmware.vim.ssoconfig] db.type=Mssql
[2013-05-18 10:14:21,985 INFO StaticDataReporter com.vmware.vim.ssoconfig] db.host=VCENTER
Lookupservice db configuration
$ less config.txt | grep -F db. | tail -n 11 | grep com.rsa
[2013-05-18 10:14:21,953 INFO StaticDataReporter com.vmware.vim.ssoconfig] com.rsa.db.domain=
[2013-05-18 10:14:21,953 INFO StaticDataReporter com.vmware.vim.ssoconfig] com.rsa.db.instance=RSA
[2013-05-18 10:14:21,953 INFO StaticDataReporter com.vmware.vim.ssoconfig] com.rsa.db.type=MSSQL
[2013-05-18 10:14:21,953 INFO StaticDataReporter com.vmware.vim.ssoconfig] com.rsa.db.msserverinstance=VCSQL
[2013-05-18 10:14:21,953 INFO StaticDataReporter com.vmware.vim.ssoconfig] com.rsa.db.hostname=VCENTER
[2013-05-18 10:14:21,955 INFO StaticDataReporter com.vmware.vim.ssoconfig] com.rsa.db.port=0
17. Case studies – DB host not reachable
• $ ls catalina* | tail -n 1 | xargs awk -F "INFO " '{print $2}' | tail -n 4 | grep Starting | wc –l
0
$ ls localhost.* | tail -n 1 | xargs cat | egrep '(Caused)‘
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ims' defined in class path resource [beanRefContext.xml]:
Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class
[com.rsa.ims.components.spring.SecurityAwareClassPathXmlApplicationContext]: Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DatabaseMetadataBean' defined in class path resource [ims-components-common.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection refused: connect)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.components.spring.SecurityAwareClassPathXmlApplicationContext]: Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DatabaseMetadataBean' defined in class path resource [ims-components-common.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection refused: connect)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DatabaseMetadataBean' defined in class path resource [ims-components-common.xml]: Instantiation of bean failed; nested exception
is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection refused: connect)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection refused: connect)
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Network error IOException: Connection refused: connect)
Caused by: java.sql.SQLException: Network error IOException: Connection refused: connect
Caused by: java.net.ConnectException: Connection refused: connect
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalStateException: ComponentUtils not initialized
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.vmware.vim.lookup.impl.DbStorage]: Constructor threw exception; nested exception is
com.vmware.vim.lookup.exception.StorageException: Error executing statement
Caused by: com.vmware.vim.lookup.exception.StorageException: Error executing statement
Caused by: java.sql.SQLException: Network error IOException: Connection refused: connect
Caused by: java.net.ConnectException: Connection refused: connect
18. Case studies – RSA database offline
• $ ls catalina* | tail -n 1 | xargs awk -F "INFO " '{print $2}' | tail -n 4 | grep Starting | wc –l
0
• $ ls localhost.* | tail -n 1 | xargs cat | egrep '(Caused)‘
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ims' defined in class path resource [beanRefContext.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.components.spring.SecurityAwareClassPathXmlApplicationContext]: Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DatabaseMetadataBean' defined in class path resource [ims-components-common.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Cannot open database "RSA" requested by the login. The login failed.)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.components.spring.SecurityAwareClassPathXmlApplicationContext]: Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DatabaseMetadataBean' defined in class path resource [ims-components-common.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Cannot open database "RSA" requested by the login. The login failed.)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DatabaseMetadataBean' defined in class path resource [ims-components-common.xml]: Instantiation of bean failed; nested exception
is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Cannot open database "RSA" requested by the login. The login failed.)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Cannot open database "RSA" requested by the login. The login failed.)
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Cannot open database "RSA" requested by the login. The login failed.)
Caused by: java.sql.SQLException: Cannot open database "RSA" requested by the login. The login failed.
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalStateException: ComponentUtils not initialized
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.vmware.vim.lookup.impl.DbStorage]: Constructor threw exception; nested exception is
com.vmware.vim.lookup.exception.StorageException: Error executing statement
Caused by: com.vmware.vim.lookup.exception.StorageException: Error executing statement
Caused by: java.sql.SQLException: Cannot open database "RSA" requested by the login. The login failed.
19. Case studies – Expired RSA_USER password
• $ ls catalina* | tail -n 1 | xargs awk -F "INFO " '{print $2}' | tail -n 4 | grep Starting | wc –l
0
• $ ls localhost.* | tail -n 1 | xargs cat | egrep '(Caused)‘
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ims' defined in class path resource [beanRefContext.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.components.spring.SecurityAwareClassPathXmlApplicationContext]: Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DatabaseMetadataBean' defined in class path resource [ims-components-common.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user 'RSA_USER'. Reason: The password of the account must be changed.)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.components.spring.SecurityAwareClassPathXmlApplicationContext]: Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DatabaseMetadataBean' defined in class path resource [ims-components-common.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user 'RSA_USER'. Reason: The password of the account must be changed.)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DatabaseMetadataBean' defined in class path resource [ims-components-common.xml]: Instantiation of bean failed; nested exception
is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user 'RSA_USER'. Reason: The password of the account must be changed.)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user 'RSA_USER'. Reason: The password of the account must be changed.)
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user 'RSA_USER'. Reason: The password of the account must be changed.)
Caused by: java.sql.SQLException: Login failed for user 'RSA_USER'. Reason: The password of the account must be changed.
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalStateException: ComponentUtils not initialized
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.vmware.vim.lookup.impl.DbStorage]: Constructor threw exception; nested exception is
com.vmware.vim.lookup.exception.StorageException: Error executing statement
Caused by: com.vmware.vim.lookup.exception.StorageException: Error executing statement
Caused by: java.sql.SQLException: Login failed for user 'RSA_USER'. Reason: The password of the account must be changed.
20. Case studies – Incorrect RSA_USER password
• $ ls catalina* | tail -n 1 | xargs awk -F "INFO " '{print $2}' | tail -n 4 | grep Starting | wc –l
0
• $ ls localhost.* | tail -n 1 | xargs cat | egrep '(Caused)‘
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ims' defined in class path resource [beanRefContext.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.components.spring.SecurityAwareClassPathXmlApplicationContext]: Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DatabaseMetadataBean' defined in class path resource [ims-components-common.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user 'RSA_USER'.)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.components.spring.SecurityAwareClassPathXmlApplicationContext]: Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DatabaseMetadataBean' defined in class path resource [ims-components-common.xml]: Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user 'RSA_USER'.)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DatabaseMetadataBean' defined in class path resource [ims-components-common.xml]: Instantiation of bean failed; nested exception
is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user 'RSA_USER'.)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.rsa.ims.common.DatabaseMetadataBean]: Constructor threw exception; nested exception is
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user 'RSA_USER'.)
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user 'RSA_USER'.)
Caused by: java.sql.SQLException: Login failed for user 'RSA_USER'.
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalStateException: ComponentUtils not initialized
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.vmware.vim.lookup.impl.DbStorage]: Constructor threw exception; nested exception is
com.vmware.vim.lookup.exception.StorageException: Error executing statement
Caused by: com.vmware.vim.lookup.exception.StorageException: Error executing statement
Caused by: java.sql.SQLException: Login failed for user 'RSA_USER'.
21. Case studies – Incorrect db information after db move
• $ ls catalina* | tail -n 1 | xargs awk -F "INFO " '{print $2}' | tail -n 4 | grep Starting | wc –l
0
• $ ls localhost.* | tail -n 1 | xargs cat | egrep '(Caused)‘
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.vmware.vim.lookup.impl.DbStorage]: Constructor threw exception; nested exception is
com.vmware.vim.lookup.exception.StorageException: Error executing statement
Caused by: com.vmware.vim.lookup.exception.StorageException: Error executing statement
Caused by: java.sql.SQLException: Unable to get information from SQL Server: VCENTER2.
• $ less config.txt | grep -F db. | tail -n 11 | grep com.rsa
[2013-05-18 11:30:10,664 INFO StaticDataReporter com.vmware.vim.ssoconfig] com.rsa.db.domain=
[2013-05-18 11:30:10,664 INFO StaticDataReporter com.vmware.vim.ssoconfig] com.rsa.db.instance=RSA
[2013-05-18 11:30:10,664 INFO StaticDataReporter com.vmware.vim.ssoconfig] com.rsa.db.type=MSSQL
[2013-05-18 11:30:10,664 INFO StaticDataReporter com.vmware.vim.ssoconfig] com.rsa.db.msserverinstance=VCSQL
[2013-05-18 11:30:10,664 INFO StaticDataReporter com.vmware.vim.ssoconfig] com.rsa.db.hostname=VCENTER
[2013-05-18 11:30:10,665 INFO StaticDataReporter com.vmware.vim.ssoconfig] com.rsa.db.port=0
• $ less config.txt | grep -F db. | tail -n 11 | grep " db“
[2013-05-18 11:30:10,665 INFO StaticDataReporter com.vmware.vim.ssoconfig] db.url=jdbc:jtds:sqlserver://;serverName=;instance=VCSQL;databaseName=RSA
[2013-05-18 11:30:10,665 INFO StaticDataReporter com.vmware.vim.ssoconfig] db.user=RSA_USER
[2013-05-18 11:30:10,665 INFO StaticDataReporter com.vmware.vim.ssoconfig] db.type=Mssql
[2013-05-18 11:30:10,665 INFO StaticDataReporter com.vmware.vim.ssoconfig] db.host=VCENTER2
22. Case studies – DC unavailable
• $ ls catalina* | tail -n 1 | xargs awk -F "INFO " '{print $2}' | tail -n 4 | grep Starting | wc –l
4
• $ ls localhost.* | tail -n 1 | xargs cat | egrep '(Caused)‘
• $ egrep '(Caused)' imsSystem.log
Caused by: javax.naming.CommunicationException: DC.newhire.local:3268 [Root exception is java.net.ConnectException: Connection timed out: connect]
Caused by: java.net.ConnectException: Connection timed out: connect
Caused by: javax.resource.spi.ResourceAdapterInternalException: Unable to create a managed connection 'ldap://DC.newhire.local:3268' with 'newhireadministrator' Reason: javax.resource.spi.ResourceAdapterInternalException: Unable
to create managed connection DC.newhire.local:3268
Caused by: javax.resource.spi.ResourceAdapterInternalException: Unable to create managed connection DC.newhire.local:3268
Caused by: javax.naming.CommunicationException: DC.newhire.local:3268 [Root exception is java.net.ConnectException: Connection timed out: connect]
Caused by: java.net.ConnectException: Connection timed out: connect
Caused by: javax.naming.NamingException: getInitialContext failed. javax.resource.spi.ResourceAdapterInternalException: Unable to create a managed connection 'ldap://DC.newhire.local:3268' with 'newhireadministrator' Reason:
javax.resource.spi.ResourceAdapterInternalException: Unable to create managed connection DC.newhire.local:3268 [Root exception is javax.resource.spi.ResourceAdapterInternalException: Unable to create a managed connection
'ldap://DC.newhire.local:3268' with 'newhireadministrator' Reason: javax.resource.spi.ResourceAdapterInternalException: Unable to create managed connection DC.newhire.local:3268]
Caused by: javax.resource.spi.ResourceAdapterInternalException: Unable to create a managed connection 'ldap://DC.newhire.local:3268' with 'newhireadministrator' Reason: javax.resource.spi.ResourceAdapterInternalException:
Unable to create managed connection DC.newhire.local:3268
Caused by: javax.resource.spi.ResourceAdapterInternalException: Unable to create managed connection DC.newhire.local:3268
Caused by: javax.naming.CommunicationException: DC.newhire.local:3268 [Root exception is java.net.ConnectException: Connection timed out: connect]
Caused by: java.net.ConnectException: Connection timed out: connect
24. Useful Command Line options 1/8
• Autodiscovery after installation is finished
• ssocli configure-riat -a discover-is -u admin --verbose
25. Useful Command Line options 2/8
• List identity sources (useful as this information is not collected in an SSO log bundle)
• ssocli manage-identity-sources -a list -u admin
26. Useful Command Line options 3/8
• Delete an identity source
• ssocli manage-identity-sources -a delete -u admin -g <ims.id>
27. Useful Command Line options 4/8
• Create an identity source
• ssocli manage-identity-sources -a create -u admin
28. Useful Command Line options 5/8
• Change the password for SSO admins and the SSO master password
• ssocli reset-admin-password
• ssocli manage-secrets -a change
29. Useful Command Line options 6/8
• Unlock the system after too many system changes
• ssocli manage-secrets -a recover
30. Useful Command Line options 7/8
• Testing database connectivity without SQL Management Studio
• sqlcmd -S hostnameinstance -U RSA_USER -d RSA
31. Useful Command Line options 8/8
• Silent uninstall of SSO
• msiexec /qn /x {DEC4C346-414B-4814-9BF3-CAC14154B55A} MASTER_PASSWORD
<master password>
Editor's Notes
IMS and Lookupservice are dependent on database connection to be able to start.
It is not possible to edit an identity source using the command line