WLST is a scripting tool that can be used to manage Oracle WebLogic Server domains and instances. It has two modes - offline for configuring domains without a running server, and online for managing running servers. The document discusses using WLST offline to create domains from templates, and online to perform tasks like deployment, configuration, and monitoring of running servers through JMX.
A straight-forward explanation with an example of how JSR-88 aka Deployment Plans can be used in WebLogic Server to make changes to values in deployment descriptors without modifying application archives.
Complete Training on Youtube with all topics - FREE
http://www.youtube.com/playlist?list=PLeHUvPtMTsdeaE4YBiPPZlMYVaDfKt_DH
Weblogic Application Server overview and concepts
Weblogic integration with apache and security hardening with multi user realms and SSL
JMS Overview with queues/topic and jms bridges
JDBC overview with failover and HA modes
WLST & Node manager commands and setup
Weblogic deployment concepts
Offline and online backup recovery comcepts
A straight-forward explanation with an example of how JSR-88 aka Deployment Plans can be used in WebLogic Server to make changes to values in deployment descriptors without modifying application archives.
Complete Training on Youtube with all topics - FREE
http://www.youtube.com/playlist?list=PLeHUvPtMTsdeaE4YBiPPZlMYVaDfKt_DH
Weblogic Application Server overview and concepts
Weblogic integration with apache and security hardening with multi user realms and SSL
JMS Overview with queues/topic and jms bridges
JDBC overview with failover and HA modes
WLST & Node manager commands and setup
Weblogic deployment concepts
Offline and online backup recovery comcepts
This presentation was given by Seema Kumar, Websphere Product Management and Surya V Duggirala, Websphere Performance Architect at IBM Impact 2012 at Mumbai on the 1st of June. It talks about Innovative Applications and Interactive Experiences
Spring boot is a great and relatively a new project from Spring.io. The presentation discusses about basics of spring boot to advance topics. Sample demo apps are available here : https://github.com/bhagwat/spring-boot-samples
WebLogic Scripting Tool allows easy management of many Weblogic Server based products. Oracle has strategically implemented WLST in many products to make provisioning and configuring of environments easy and reproducible. This among other things enables tools like Chef and Puppet to do their magic. WLST is based on Jython. Jython is an implementation of Python running on the Java VM. Both Python and the Java VM provide many options for extending WLST functionality beyond what is commonly done. This will be elaborated and demonstrated with several advanced use cases and their implementations. This technical presentation will provide you with the knowledge to get most out of your investment in Oracle products!
Docker is the world's leading software containerization platform.
This is a comprehensive introduction to Docker, suitable for delivering in introductory meetups to an audience who does not know about docker.
In case you want to deliver this presentation somewhere, kindly drop me a mail at aditya.konarde@gmail.com
You can contact me at:
Connect with me onLinkedIN: https://www.linkedin.com/in/adityakonarde
Add me on Facebook: https://www.facebook.com/Aditya.Konarde
Tweet to me @aditya_konarde
** Edureka Certification Training: https://www.edureka.co **
This Edureka "VMware Tutorial for Beginners” video will give you a thorough and insightful overview of Virtualization and help you understand other related terms that revolve around VMware and Virtualization. Following are the offering of this video:
1. What is VMware?
2. What is Virtualization?
3. Types Of Virtualization
4. What Is Hypervisor?
5. Hypervisor Types
6. Demo- Creating a VM using VMware Workstation Player
This beginning terraform workshop will teach you how to safely create and provision Infrastructure as Code (IAC) using Hashicorp Terraform in an AWS environment. In this class you will learn how to setup and install terraform. You will also be given a walkthrough of Terraform fundamentals. You will be lead through the process of deploying a single server, deploying a cluster and setting up a load balancer. You will also learn how to author Terraform Modules, work with Route53 and how to manage DNS.
Requirements. You will need to have an AWS account set up already with Terraform v0.9.3 installed. You will also need to have git install to download the workshop material.
You can find more informaiton on how to install terraform here: https://www.terraform.io/intro/getting-started/install.html. You can sign up for an AWS account here: https://aws.amazon.com/account/
https://github.com/jasonvance/terraform-introduction
최근 Docker 콘테이너를 기반으로 하는 효율적인 애플리케이션 배포 및 운영에 대해 관심이 높아지고 있습니다.
Amazon EC2 Container Service(ECS)는 Docker 콘테이너를 지원하는 확장성과 성능이 뛰어난 콘테이너 관리 서비스입니다. Amazon ECS를 사용하면 자체적인 클러스터 관리 인프라를 설치, 운영 및 확장할 필요가 없으며, 다른 AWS 서비스와 연동하도록 설계 되어 있습니다.
본 강의를 통해 Amazon ECS의 소개 및 장점, 그리고 관리 방법 등에 대한 소개를 통해 어떻게 AWS 클라우드에서 효율적으로 확장 가능한 콘테이너 서비스를 운영할 수 있을지 알려드립니다.
This presentation was given by Seema Kumar, Websphere Product Management and Surya V Duggirala, Websphere Performance Architect at IBM Impact 2012 at Mumbai on the 1st of June. It talks about Innovative Applications and Interactive Experiences
Spring boot is a great and relatively a new project from Spring.io. The presentation discusses about basics of spring boot to advance topics. Sample demo apps are available here : https://github.com/bhagwat/spring-boot-samples
WebLogic Scripting Tool allows easy management of many Weblogic Server based products. Oracle has strategically implemented WLST in many products to make provisioning and configuring of environments easy and reproducible. This among other things enables tools like Chef and Puppet to do their magic. WLST is based on Jython. Jython is an implementation of Python running on the Java VM. Both Python and the Java VM provide many options for extending WLST functionality beyond what is commonly done. This will be elaborated and demonstrated with several advanced use cases and their implementations. This technical presentation will provide you with the knowledge to get most out of your investment in Oracle products!
Docker is the world's leading software containerization platform.
This is a comprehensive introduction to Docker, suitable for delivering in introductory meetups to an audience who does not know about docker.
In case you want to deliver this presentation somewhere, kindly drop me a mail at aditya.konarde@gmail.com
You can contact me at:
Connect with me onLinkedIN: https://www.linkedin.com/in/adityakonarde
Add me on Facebook: https://www.facebook.com/Aditya.Konarde
Tweet to me @aditya_konarde
** Edureka Certification Training: https://www.edureka.co **
This Edureka "VMware Tutorial for Beginners” video will give you a thorough and insightful overview of Virtualization and help you understand other related terms that revolve around VMware and Virtualization. Following are the offering of this video:
1. What is VMware?
2. What is Virtualization?
3. Types Of Virtualization
4. What Is Hypervisor?
5. Hypervisor Types
6. Demo- Creating a VM using VMware Workstation Player
This beginning terraform workshop will teach you how to safely create and provision Infrastructure as Code (IAC) using Hashicorp Terraform in an AWS environment. In this class you will learn how to setup and install terraform. You will also be given a walkthrough of Terraform fundamentals. You will be lead through the process of deploying a single server, deploying a cluster and setting up a load balancer. You will also learn how to author Terraform Modules, work with Route53 and how to manage DNS.
Requirements. You will need to have an AWS account set up already with Terraform v0.9.3 installed. You will also need to have git install to download the workshop material.
You can find more informaiton on how to install terraform here: https://www.terraform.io/intro/getting-started/install.html. You can sign up for an AWS account here: https://aws.amazon.com/account/
https://github.com/jasonvance/terraform-introduction
최근 Docker 콘테이너를 기반으로 하는 효율적인 애플리케이션 배포 및 운영에 대해 관심이 높아지고 있습니다.
Amazon EC2 Container Service(ECS)는 Docker 콘테이너를 지원하는 확장성과 성능이 뛰어난 콘테이너 관리 서비스입니다. Amazon ECS를 사용하면 자체적인 클러스터 관리 인프라를 설치, 운영 및 확장할 필요가 없으며, 다른 AWS 서비스와 연동하도록 설계 되어 있습니다.
본 강의를 통해 Amazon ECS의 소개 및 장점, 그리고 관리 방법 등에 대한 소개를 통해 어떻게 AWS 클라우드에서 효율적으로 확장 가능한 콘테이너 서비스를 운영할 수 있을지 알려드립니다.
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
WebLogic Server Work Managers and Overload ProtectionJames Bayer
A tour of the WebLogic Server work manager and self-tuning thread pool features that automatically adjust to changing workloads and protect the server from overload conditions.
JavaOne 2016
JMS is pretty simple, right? Once you’ve mastered topics and queues, the rest can appear trivial, but that isn’t the case. The queuing system, whether ActiveMQ, OpenMQ, or WebLogic JMS, provides many more features and settings than appear in the Java EE documentation. This session looks at some of the important extended features and configuration settings. What would you need to optimize if your messages are large or you need to minimize prefetching? What is the best way to implement time-delayed messages? The presentation also looks at dangerous bugs that can be introduced via simple misconfigurations with pooled beans. The JMS APIs are deceptively simple, but getting an implementation into production and tuned correctly can be a bit trickier.
To learn the architecture of WebLogic Server especially in terms of machines, domains and
servers.
• Installation and Configuration of WebLogic Server.
• Handling routine Administration tasks.
• Performing Backups and recovery.
• Monitoring server with GUI and command line tools.
• Setting up a cluster and distributing the resources to the cluster.
• To configure Oracle HTTP Server as the Web-tier front end for WebLogic Server instances and
clusters.
• Deploying and managing JavaEE applications/ large-scale Java EE applications throughout the
development and production life cycle.
• Configuring resource and application security
Moving Windows Applications to the CloudRightScale
RightScale Webinar: March 10, 2011 – This webinar will give you insight into how Windows instances can be dynamically configured using RightScale and equip you to move your Windows applications to the cloud.
We'll cover what the manuals don't about getting your EnterpriseOne users onto WebLogic Server. Learn from field experience, compare notes and discover what comes after the install to make your transition smooth and transparent.
OSMC 2021 | Use OpenSource monitoring for an Enterprise Grade PlatformNETWAYS
There are many tools and frameworks for monitoring. Usually when you think of an Open Source solution, you don’t think to implement it in a COTS product. Nevertheless, this session will tell you how you can implement tools such as Prometheus, Grafana and ELK into such an Enterprise application platform. Monitoring performance, throughput and error rate is important to be in control of your transactions. If you use a Service Bus or SOA/BPM suite product there are a lot out of the box diagnostics waiting for you. The puzzle here is how to get it out in a useful way. Besides of the many commercial solutions also Open Source tools can help you out with it. You can export runtime diagnostics out of the Diagnostics framework, monitor your SOA Composites and trace down Service Bus statistics using Prometheus and Grafana. The session will elaborate how to set up a proper monitoring using these tools, also in a proactive way where automated monitoring is a must for every application environment.
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.
Weblogic 11g admin basic with screencastRajiv Gupta
Installation of weblogic 11g
Creation and configuration of Admin server with three managed server
Creation of And Configuring Machines in Weblogic Server
Administering Managed Server With Node Manager
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Let's dive deeper into the world of ODC! Ricardo Alves (OutSystems) will join us to tell all about the new Data Fabric. After that, Sezen de Bruijn (OutSystems) will get into the details on how to best design a sturdy architecture within ODC.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
I have heard many times that architecture is not important for the front-end. Also, many times I have seen how developers implement features on the front-end just following the standard rules for a framework and think that this is enough to successfully launch the project, and then the project fails. How to prevent this and what approach to choose? I have launched dozens of complex projects and during the talk we will analyze which approaches have worked for me and which have not.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
5. WLS Configuration Review
• WebLogic Server configuration is segmented by
domain mydomain
Managed Servers
• Each domain represents a logically related group of
WebLogic Server instances that you manage from a
single set of configuration files.
• Each domain has one Administration Server, and can
have multiple managed servers and clusters Admin Server
• Administration Server - Central configuration
controller for the entire domain config.xml
• Managed Server - A running instance that hosts
applications and resources needed by those
applications - The real work horses in a WebLogic
domain
• Cluster - group of Managed Servers running
simultaneously and working together to provide
increased scalability and reliability Admin Console
• Node Manager is a per-machine process used to
start and stop WebLogic Server instances.
• Independent of all domains
5
6. Two-Phase Configuration Changes
• Changes activated in batches:
• Reliability, consistency:
• Make (related) changes as a group
• Validate before making the change
• Activate or Roll back as a single unit (all changes on all servers)
• General process:
• Get an edit lock
• make changes
• changes are stored in the pending directory
• activate your changes (with implicit validation through the Admin
Console or WLST)
• changes are distributed to servers in the domain
• Two phases: prepare and commit
• Prepared on all servers; any failures will cause total rollback
6
7. Administration Tools
• Configuration Wizard
• GUI/scriptable tool to create and extend WebLogic domains
• Template based
• Administration Console
• Browser-based tool for configuring and monitoring domains,
deploying applications, and controlling servers
• WebLogic Scripting Tool (WLST)
• Script or command line tool to do the same thing as the
Administration Console and Configuration Wizard
• Note that we will cover details on WLST in a separate document
• weblogic.Admin
• Deprecated command line tool for configuring a domain
• Recommend using WLST instead
• weblogic.Deployer
• Command line tool for deploying applications
7
9. WebLogic Scripting Tool (WLST)
• Command-line scripting interface for
managing and monitoring WebLogic
Server instances, clusters, and
domains
• Based on 100% pure Java
implementation of Python
• Modes of operation – (script /
interactive) ↔ (online / offline)
• Provides a repeatable process for
propagating configuration changes
across environments
• Quickly allows environments to be
replicated and migrated
10. Interaction Modes
• Interactive
• enter a command and view the response at a command-line prompt
• In online mode: shell maintains a persistent connection to a WLS
instance
• Script
• text file with a .py file extension
• executed using Jython commands for running scripts
• invoke a sequence of WLST commands without requiring your input
• Embedded
• instantiate the WLST interpreter in your Java code
• execute WLST commands from a Java program
10
11. Connection Modes
• Offline: analogous to the Configuration Wizard
• Uses the Offline Configuration Framework
• Also used by the Configuration Wizard
• Consistent results when using either tool
• read and write access to the configuration data that is persisted in
the domain’s config directory or in a domain template JAR
• Intended to create a domain or modify a non-running domain
• Used during WLS install to create samples domains
• Online: analogous to the Administration Console
• JMX client
• Interacts with a server’s MBeans
• Intended as a runtime management tool: configuration,
management, deployment, monitoring
11
12. WLST Offline Can/Can’t Do
Can Do: Can’t Do:
• Create/modify templates • View runtime performance
• Create domains data
• Extend domains • Modify security data
• Access and modify the
configuration for an offline
domain
12
13. WLST Online Can/Can’t Do
Can Do: Can’t Do:
• Change configuration • Create a domain (must be
• View runtime data offline mode)
• Deploy applications
• Start and stop servers
13
15. WLST Offline
• Uses the Offline Configuration Framework
• Also used by the Configuration Wizard; Consistent results when using
either tool
• Uses domain templates to create a domain
• Several shipped with WLS
• Create your own using Template Builder
• Modify an existing template using WLST Offline
• Intended to create a domain or modify a non-running domain
• Used during WLS install to create samples domains
• Used by WL Platform products for creating domain configurations
(use specific templates for each product)
Note: Do not use WLST offline to manage the configuration of an active
domain. Offline edits are ignored by running servers and can be overwritten by
JMX clients such as WLST online or the WebLogic Server Administration
Console.
15
16. WLST Offline – Two Models:
Templates and Scripts Recommended for:
• Out of the box
config for a layered
• Templates (put everything in the template)
product
• Use Template Builder to capture current domain
configuration and artifacts into a rich template
• Use that template to create new domains, migrate Reason: domain is
from dev to production self-contained
• Bundles required files
• Used by WebLogic Platform products
Recommended for:
• Scripts (put little in the template and most in • Customer
scripts) configuration
• Use more basic templates for domain creation migration
• Use WLST scripts along with some predefined or • QA automation
custom domain templates to create the target domain
• Modify/customize domain configuration through Reason: easily make
scripts, and effectively track configuration changes and track changes
through source control to a domain config
16
17. Starting WLST
• Setup the environment:
• setWLSEnv.sh/cmd – sets path and classpath
• Adds WebLogic Server classes to the CLASSPATH and
WL_HOMEserverbin to the PATH
• Invoke WLST:
• java weblogic.WLST
or
• java weblogic.WLST c:myscriptsmyscript.py
• Starts in Offline mode
17
19. Changing a Domain in WLST Offline
Step Syntax
1. Open a domain for editing readDomain(domainDirName)
1. Extend the domain addTemplate(templateFileName)
(optional)
1. Make changes (optional) Various commands
1. Save updateDomain()
1. Close the domain for closeDomain()
editing
19
20. Browsing and Editing in WLST Offline
• Browsing:
• cd(), ls()
• Editing:
• Add an application to a domain:
• addTemplate(templateFileName)
• Create and delete management objects:
• create(name, childMBeanType)
• delete(name, childMBeanType)
• Get and set attribute values:
• get(attrName)
• set(attrName, value)
• Set domain creation or update options:
• setOption(optionName, value)
• Load SQL files into a database:
• loadDB(dbVersion, connectionPoolName)
20
21. WLST Offline – accessing a domain
• Offline – reading a domain: wl_server
• readDomain('c:/bea/user_projects/do
mains/medrec')
JDBCSystemResource
• Domain configuration data is a collection
of XML documents that expresses a
hierarchy of management objects examples-demoXA
• WLST represents this hierarchy as a file
system Name
• The root is the management object that
represents the WebLogic Server domain Target
(domain directory)
• Each managed-object type is a sub
directory of the root
• Each instance of the type is a subdirectory
under the type directory
• Each management attribute and operation
is a file within a directory
21
22. Syntax
• Command names and arguments are case sensitive.
• Enclose arguments in single or double quotes. For example,
'newServer' or "newServer".
• If you specify a backslash character () in a string, either precede
the backslash with another backslash or precede the entire string
with a lower-case r character.
• For example when specifying a file pathname that contains a
backslash:
• readTemplate('c:userdomainsmytemplatesmytemplate.jar') or
readTemplate(r'c:userdomainsmytemplatesmytemplate.jar')
• When using WLST offline, the following characters are not valid in
names of management objects: period (.), forward slash (/), or
backward slash ().
• If you need to cd to a management object whose name includes a
forward slash (/), surround the object name in parentheses. For
example:
• cd('JMSQueue/(jms/REGISTRATION_MDB_QUEUE)')
22
23. Demo
• Create a basic WLS domain
• Read the domain
• Add a Managed Server
23
25. WLST Online
• Analogous to the Administration Console, but without
the GUI
• JMX client; maintains a persistent connection
• Interacts with a server’s/domain’s MBeans
• Intended as a runtime management tool:
configuration, management, deployment, monitoring
25
26. WLST Online – connecting to a domain
• Setup the environment:
• setWLSEnv.sh (in WL_HOMEserverbin)
• Adds WebLogic Server classes to the CLASSPATH and
WL_HOMEserverbin to the PATH
• Invoke WLST:
• java weblogic.WLST
• Starts in Offline mode
• Connect to a domain:
• wls:/offline> connect('weblogic','weblogic','localhost:7001')
26
27. Traversing MBean Trees
• Simpler than JMX – no need to know Domain MBean (root)
the JMX object name |- - - MBean type (ServerMBean)
• MBeans are hierarchical, similar to a |- - - MBean instance
file system, with the DomainMBean at (ManagedServer1)
the top of the tree |- - - MBean attributes
• Multiple MBean trees (described later) & operations
(AutoRestart)
• Use commands similar to Unix
|- - - MBean instance
commands to traverse the tree: (MedRecServer)
• cd(), ls()
|- - - MBean attributes
• Syntax is the same as with WLST & operations
Offline (StartupMode)
27
28. Available MBean Trees
• domainConfig
• configuration hierarchy of the entire domain; represents the configuration MBeans in
RuntimeMBeanServer
• read only
• serverConfig
• configuration hierarchy (configuration MBeans) of the server your are connected to
• read only
• domainRuntime
• hierarchy of runtime MBeans for the entire domain
• read only
• serverRuntime
• hierarchy of runtime MBeans for the server you are connected to
• read only
• edit
• writable domain configuration with pending changes; represents the configuration MBeans
in the EditMBeanServer
• jndi
• read-only JNDI tree for the server you are connected to
• custom
• list of custom MBeans
• can be hierarchical/grouped if MBeans use namespaces appropriately
28
29. Switching Between Trees
• Use the appropriate command to move to a different
tree
• domainConfig()
• serverConfig()
• domainRuntime()
• serverRuntime()
• edit()
• jndi()
• custom()
• When returning to a tree, you return to the place
where you left, except custom and jndi (goes to the
root)
29
30. Changing Configuration in WLST Online
Step Syntax
1. Change to the edit tree wls:/wl_server/domainConfig> edit()
1. Get an edit lock wls:/wl_server/edit> startEdit()
1. Make changes wls:/wl_server/edit !> svr =
cmo.createServer("managedServer")
wls:/wl_server/edit !>
svr.setListenPort(8001)
wls:/wl_server/edit !>
svr.setListenAddress("my-address")
1. Save (and implicitly validate) wls:/wl_server/edit !> save()
your changes
1. Activate/distribute, release wls:/wl_server/edit !> activate()
lock
30
31. Current Management Object
• CMO variable – current management object
• Java object that serves as a proxy for direct access to the
WLS MBean
• Makes it easy to directly interact with the MBean – get and
set attributes, other commands
• Always set to the current WLST path
• Only available for WLS MBeans, not custom MBeans
• Example:
• wls:/mydomain/edit>
cmo.setAdministrationPort(9092)
• (This example changes the Administration Port in the Domain
MBean)
31
32. Deploying an Application
• In Online mode, use the deploy command to deploy
applications
• Syntax: deploy(appName, path, [targets], [stageMode],
[planPath], [options])
• deploy("mainWebApp","C:/samples/server/examples/build/ma
inWebApp“,”server-1”)
• Note: You do not need to be in an edit session to deploy
applications.
• Reminder: in Offline mode, add an application using
an extension template
32
33. Common Online Deployment Commands
• deploy Deploy an application to a WebLogic Server instance.
• distributeApplication Copy the deployment bundle to the
specified targets.
• redeploy Redeploy a previously deployed application
• startApplication Start an application, making it available to users.
• stopApplication Stop an application, making it unavailable to
users.
• undeploy Undeploy an application from the specified servers.
• updateApplication Updates an application configuration using a
new deployment plan.
• Returns a WLSTProgressObject to track the progress of the
command
• You query the progress object to get the status; (pull, not push)
33
34. Interacting with the Node Manager
• You can use WLST to do the following with Node Manager:
• Start a Node Manager.
• Connect to a Node Manager, then use the Node Manager to start
and stop servers on the machine on which Node Manager is running.
• Preferred method:
• Use the Node Manager to start the Administration Server
• Connect to the Admin Server
• Start Managed Servers using the standard WLST lifecycle
commands
• Enables you to start all servers in the domain with one connection,
regardless of which machines host the Managed Servers
34
35. Common WLST Node Manager Commands
• startNodeManager – starts Node Manager on the
current machine.
• nm - Determines whether WLST is connected to
Node Manager
• nmConnect - Connects WLST to Node Manager to
establish a session. (Specify domain and credentials)
• nmDisconnect - Disconnects WLST from a Node
Manager session.
• nmStart - Starts a server in the current domain using
Node Manager.
• nmKill - Kills the specified server instance that was
started with Node Manager.
35
36. Managing Server Lifecycle with WLST
• You can also manage server lifecycle through WLST without
directly using Node Manager.
• The following WLST lifecycle commands are available:
• startServer - Start the Administration Server. (Online or Offline)
• start - Start a Managed Server instance or a cluster using Node
Manager.
• suspend - Suspend a running server.
• resume - Resume a server instance that is suspended or in ADMIN
state.
• shutdown - Gracefully shut down a running server instance or
cluster.
• migrate - Migrate services to a target server within a cluster.
36
37. Demo: WLST Online
• Start Node Manager
• Start the Administration Server in the new domain
• Create a Managed Server
37
39. Customizing WLST
• Add custom commands by:
• Creating the commands in a .py file
• Add the file to the WLST home directory
• WLST home directory – WL_HOME/common/wlst (by default)
• Add custom commands to another namespace:
• Create the commands in a .py file
• Add file to the WLST_home/lib directory
• Execute commands using <module>.<command>
http://download.oracle.com/docs/cd/E17904_01/web.1111/e13715/toc.htm
39
40. Support for Custom MBeans
• You can register custom MBeans and then access them using
WLST in the “custom” MBean tree
• WLST treats all non-WebLogic Server MBeans as custom
MBeans:
• Instead of arranging custom MBeans in a hierarchy, WLST
organizes and lists custom MBeans by JMX object name.
• All MBeans with the same JMX domain name are listed in the
same WLST directory. For example, if you register all of your
custom MBeans with JMX object names that start with
mycompany:, then WLST arranges all of your MBeans in a
directory named mycompany.
• Custom MBeans cannot use the cmo variable because a stub is not
available.
• Custom MBeans are editable, but not subject to the WebLogic
Server change management process.
• You can use MBean get, set, invoke, and create and delete
commands on them without first entering the startEdit command.
40
42. Reduce WLST Startup Time
• Cache directory for scanned files:
• java -Dpython.cachedir="c:demowlst_cache"
weblogic.WLST
• New startup option in WLS 10.3:
-skipWLSModuleScanning
• Default behavior: on startup, WLST scans weblogic.jar and all
of the classes referenced in its manifest classpath
• With this option, files in the modules directory are not
scanned
• If needed, you can manually add files to the classpath
42
43. Some Standard Best Practices
• Parameterize your script and use the preamble for
assigning variables
• easily assigned and changed
• Before creating something, check to see that it exists
try:
cd(‘/servers/’ + serverID)
print ‘The server ‘ + serverID + ‘ already exists’
exit()
except WLSTException:
pass
43
44. Redirecting Error and Debug Output to a File
• To redirect WLST information, error, and debug
messages from standard out to a file, enter:
redirect(outputFile,[toStdOut])
• This command also redirects the output of the
dumpStack() and dumpVariables() commands.
• For example, to redirect WLST output to the
logs/wlst.log file under the directory from which you
started WLST, enter the following command:
wls:/mydomain/serverConfig> redirect('./logs/wlst.log')
44
45. Run a WLST Script within a Domain Template
• The configuration framework can execute WLST
offline scripts embedded in domain/extension
templates (e.g., final.py).
• Very useful in satisfying some complex auto-
configuration requirements (e.g., proper targeting of
various resources)
45
46. Running WLST from Ant
• WebLogic Server provides a custom Ant task, wlst, that
invokes a WLST script from an Ant build file.
• You can create a WLST script (.py) file and then use
this task to invoke the script file, or you can create a
WLST script in a nested element within this task.
46
47. More Resources
• WLST Guide:
• http://download.oracle.com/docs/cd/E17904_01/web.1111/e13715/toc.htm
• On the web:
• http://wlstbyexamples.blogspot.com/
• http://biemond.blogspot.com/2010/08/wlst-scripting-with-oracle-enterprise.html
• Template Builder:
• http://download.oracle.com/docs/cd/E17904_01/web.1111/e14139/toc.htm
• Samples (installed with WLS 10.3):
• wlserver_103commontemplatesscriptswlst
• wlserver_103commonwlstlib
• samplesserverexamplessrcexampleswlstonline
• samplesserverexamplessrcexamplesdiagnosticswldfprofilessrc
• samplesserverexamplessrcexamplesjdbcmultidatasource
47