Automating Tasks with EXPECT
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.
Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.
Sponsored by ActiveState
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?
| Non-Linux FOSS: libnotify, OS X Style | Jun 18, 2013 |
| Containers—Not Virtual Machines—Are the Future Cloud | Jun 17, 2013 |
| Lock-Free Multi-Producer Multi-Consumer Queue on Ring Buffer | Jun 12, 2013 |
| Weechat, Irssi's Little Brother | Jun 11, 2013 |
| One Tail Just Isn't Enough | Jun 07, 2013 |
| Introduction to MapReduce with Hadoop on Linux | Jun 05, 2013 |
- Containers—Not Virtual Machines—Are the Future Cloud
- Non-Linux FOSS: libnotify, OS X Style
- Linux Systems Administrator
- Validate an E-Mail Address with PHP, the Right Way
- Lock-Free Multi-Producer Multi-Consumer Queue on Ring Buffer
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Introduction to MapReduce with Hadoop on Linux
- RSS Feeds
- info
36 min 50 sec ago - information
39 min 22 sec ago - info
41 min 32 sec ago - Bought photoshop CS5 for developing a website :(
3 hours 54 min ago - What the author describes
5 hours 20 min ago - Reply to comment | Linux Journal
9 hours 30 min ago - Reply to comment | Linux Journal
10 hours 15 min ago - Didn't read
10 hours 26 min ago - Reply to comment | Linux Journal
10 hours 31 min ago - Poul-Henning Kamp: welcome to
12 hours 41 min ago




Comments
interact hangs out when I cat a large file
Hi,
I would like to know whether there is any fix for to prevent interact command from hanging out when I cat a large inside a expect spawned process. Send in your reply to gururaj.srinivasarao@gmail.com
I found an amazing tutorial
you can check out this amazing tutorial its the best
http://exploring-expect-tcl.blog.com/2009/06/03/exploring-expect/
Very Good knowledge shaired
Thanks.
This is very good for system admins.
How to write regular expression for welcome message?
After login welcome message shows date and time .. How do we write RE for it ? Any idea.
TIA
Thanks !!! It helped me alot
Thanks !!! It helped me alot !!!!!
Expect buffer
Hello,
I want to know the size of expect_out(buffer).I want large amount of data to be moved to file using expect buffer but match_max did not help.
Can you please suggest me solution?
Thanks,
pankaj
Telnet session on a telnet session through EXPECT
Hi All,
I want to telnet to server A followed by another telnet to Server B from Server A.
I could create the expect scripts to telnet to a single server. But then if i send command 'send "telnet server B\r"`to Server A, it doesnot respond properly.
Please Help. do i need to spawn the second telnet process? If yes, then how would i pass the spawn id information back to local machine.
ThanksInAdvance,
Sapnesh
Your guide is very helpfull
Hi,
I'm seeking the guide that can help me solveing the auto task rather than crond. Now i found it. Great help!
Great solution
This article gave us a great hint to creating a solution to rebooting a Perle Specialix Jetstream terminal server for a failover test. The 'autoexpect' utility gave us the solution we needed in 5 minutes after we found the article. Great stuff! And the article is 8 years old at that!
Please renew my subscription... Oh yeah I just did renew it...
Great help! Thanks!
Great help! Thanks!
Re: System Administration: Automating Tasks with EXPECT
It was a great info I was earlier looking for!
Long live :-)
Kumar
Re: System Administration: Automating Tasks with EXPECT
How to automate telnet through this autoexpect.....can someone help me out....
thanks in advance
S.Sriram
Automating Telnet with expect
Hi Sriram,
This is too easy.
Just type
$ autoexpect -f telnet.exp telnet
and then enter your username and password
execute any command if u want on remote machine. Then finally exit.
After this telnet.exp file will be created.
Open telnet.exp file and delete the lines containing time stamp for your login. Save the changes. And run ./telnet.exp.
Hope this helps :)
Yash
Re: System Administration: Automating Tasks with EXPECT
this acticle is too sample to help someone understand the Expect
Re: System Administration: Automating Tasks with EXPECT
you just have to do :
autoexpect telnet X.X.X.X
then do like you were doing a standart telnet, enter all the command you need.
then, quit the telnet and a script will be generated in your folder.
juste lunch the script to see what you do before.
I hope it will help you.
Phil.
I was just wondering if
I was just wondering if anyone knew how to make the ip address you are telnet into a variable. I am using a script that was created by the autoexpect feature, but i want to be able to choose the ip address i am going to telnet. thanks for your help.
Telnet - variable IP
Here you go, Host name or IP will work.
# Get the Host name that you are going to work on
send_user "Input Host name here: "
expect_user -re "(.*)\n" {set HostName $expect_out(1,string) }
send_user "\n"
spawn telnet $HostName