Look here:
\nasitweb_nonprod$tst01_logststezair
Using mod_jk to hot cycle servers
-----Original Message-----
From: Guillaume Radde [mailto:guillaume.radde@redhat.com]
Sent: Sunday, March 25, 2012 5:28 AM
To: Tripp, Donald (HAL)
Cc: HAL DistList: IS UNIX; Flach, Cynthia (HAL); Ruckman, Maurice (HAL); jlindesm@redhat.com; Augustine, Anila (HAL); Hofsetz, Therron (HAL); Fillman, Eric (HAL); Thompson, Sonya (HAL); Phatak, Sheetal (HAL); Bojja, Sridhar (HAL Contractor)
Subject: Re: VMware status
Thanks Don,
If the servers need reboot while live, we can also disable half of the cluster through mod_jk without loosing session or outage. The algorithm will look like this:
a) On halprdjbs01 and halprdjbs02
-Disable halprdjbs01 and halprdjbs02 in halprdweb01 through jkstatus -Disable halprdjbs01 and halprdjbs02 in halprdweb02 through jkstatus -Wait for existing sessions to expire in haljbs01 and haljbs02 (sessions draining, can take several hours depending on usage) -Reboot halprdjbs01 and halprdjbs02 -Re enable halprdjbs01 and halprdjbs02 in halprdweb01 through jkstatus -Re enable halprdjbs01 and halprdjbs02 in halprdweb02 through jkstatus
b) Same on halprdjbs03 and halprdjbs04
-Disable halprdjbs03 and halprdjbs04 in halprdweb01 through jkstatus -Disable halprdjbs03 and halprdjbs04 in halprdweb02 through jkstatus -Wait for existing sessions to expire in halprdjbs03 and haljbs04 (sessions draining) -Reboot halprdjbs03 and halprdjbs04 -Re enable halprdjbs03 and halprdjbs04 in halprdweb01 through jkstatus -Re enable halprdjbs03 and halprdjbs04 in halprdweb02 through jkstatus
Ask yum about rpm for a file
$ yum whatprovides /usr/bin/vim
Example: Will tell you which rpm provides the file /usr/bin/vim
Find from where a program executes
From: Guillaume Radde [mailto:gradde@redhat.com]
Sent: Saturday, March 24, 2012 8:27 PM
To: guillaume.radde@redhat.com; Ruckman, Maurice (HAL)
Subject: RE: find
$ whereis vim
Will tellyou vim is in /usr/bin/vim
$ ls -l /usr/bin/vim
Will tell you if it's a link to another command.
Hope it helps!
Sent from my Android phone using TouchDown (www.nitrodesk.com)
Offshore accounts for development
From: Siwek, John (HAL)
Sent: Tuesday, March 20, 2012 11:54 AM
To: Augustine, Anila (HAL)
Cc: Ruckman, Maurice (HAL)
Subject: RE: HALSANDERSON01.flagship.hal.com & HALSANDERSON02.flagship.hal.com
Yes. He just needs to use Remote Desktop from Citrix/My Apps/Remote Desktop Icon and put in HALWedDev01 or 02
John Siwek
Windows & Virtualization Technology, Lead
Holland America Line
From: Siwek, John (HAL)
Sent: Monday, March 19, 2012 9:14 AM
To: Augustine, Anila (HAL)
Cc: Ruckman, Maurice (HAL)
Subject: Re: HALSANDERSON01.flagship.hal.com & HALSANDERSON02.flagship.hal.com
Thank you for the reminder Anila!
John Siwek
Lead, Windows & Virtualization Technologies
On Mar 19, 2012, at 9:10 AM, "Augustine, Anila (HAL)" <AAugustine@HollandAmerica.com> wrote:
Hi John,
As discussed a few weeks ago, could you please rename HALSANDERSON01.flagship.hal.com & HALSANDERSON02.flagship.hal.com to a more generic name?
Also, we need to add C-MVargas (Maximiliano Vargas) to one of the VMs. I have sent Max the instructions to citrix, but would he be able to access these VMs like the rest of the VMs? If not, we need to make that happen asap ?
Let me know if you have any questions.
Thanks
Anila
VM Configuration for production
----- Reply message -----
From: Tripp, Donald (HAL)
Sent: Saturday, March 24, 2012 7:58 PM
To: HAL DistList: IS UNIX; Flach, Cynthia (HAL); Ruckman, Maurice (HAL); Guillaume Radde (guillaume.radde@redhat.com)
Subject: VMware status
I have tested the hot add cpu and memory function of VMware ESX5 on RHEL 5.8 ( what the prod cluster is running ), as well as RHEL 6, the latest version. For RHEL 5.8 the hot add cpu and memory caused no errors upon addition, however the OS does not recognize it. I had to manually enable the CPU and Memory, and afterwards the operating system recognized the addition, but any running processes or applications did not. In this scenario, if we added a CPU or memory to a running JBoss server, the server would not see any additional benefit unless it was restarted.
In RHEL 6, the story is a bit different. The CPU was immediately noticed by the operating system, but once again any running process or application did not see it until restarted. When attempting to add memory, the system failed.
I think it would be best to load test the JBoss environment prior to going live, and make any changes then. Any changes after going live will still require a restart.
----- Reply message -----
From: "Tripp, Donald (HAL)" <DTripp@HollandAmerica.com>
To: "Ruckman, Maurice (HAL)" <MRuckman@HollandAmerica.com>
Cc: "Augustine, Anila (HAL)" <AAugustine@HollandAmerica.com>, "Schumacher, Mike (HAL)" <MSchumacher@HollandAmerica.com>
Subject: Memory and config settings
Date: Fri, Mar 23, 2012 8:44 pm
The current configuration, which is has not been changed since there creation, is 2 CPUs and 4 gigs of ram for the jboss vms, and 2 CPUs and 3 gigs of ram for the web servers. As I mentioned, VMware 5 supports hot add resources, and I will be testing and verifying this over the weekend. I have made a few suggestions to Mike regarding resource allocation for the various environments. I feel it would be better to have extra memory available on the machines, and if the need arises we can add a second CPU. That way production it's negatively impacted if the servers are overwhelmed right from the start. Also, it time next week allows, i would like to schedule a time we can do the load testing we talked about today, so i can monitor both the vms and the VMware environment to see how it handles it. There is a very large difference between AIX and Linux, and between the P series IBM hardware and a virtualized x86 environment. I'm hoping to minimize the hardware impact on the production system. The nice aspect of this setup is if need be we can take offline once jboss server to modify it, and 3 are still operating and load balancing.
Loop script example
Refer: https://www.cyberciti.biz/faq/bash-for-loop/
for i in `find . -name '*.xml'`
do
echo $i
done
This type of for loop is characterized by counting. The range is specified by a beginning (#1) and ending number (#5). The for loop executes a sequence of commands for each member in a list of items. A representative example in BASH is as follows to display welcome message 5 times with for loop:
#!/bin/bash
for i in 1 2 3 4 5
do
echo "Welcome $i times"
done
Sometimes you may need to set a step value (allowing one to count by two’s or to count backwards for instance). Latest bash version 3.0+ has inbuilt support for setting up ranges:
#!/bin/bash
for i in {1..5}
do
echo "Welcome $i times"
done
Bash v4.0+ has inbuilt support for setting up a step value using {START..END..INCREMENT} syntax:
#!/bin/bash
echo "Bash version ${BASH_VERSION}..."
for i in {0..10..2}
do
echo "Welcome $i times"
done
Single Sign-on in Firefox
Use the about:config and then white list all of the URL that should use it, such as:
network.automatic-ntlm-auth.allow-proxies;true
network.automatic-ntlm-auth.trusted-uris;http://halprdtlf01.flagship.hal.com,http://halit
SSB BART – ADA Report
From: Wilson, James (HAL Contractor)
Sent: Tuesday, March 13, 2012 1:11 PM
To: Sankar, Kousalya (HAL); Mirza, Masood (HAL Contractor); Vargas, Maximiliano (HAL Contractor); Thompson, Sonya (HAL); Fillman, Eric (HAL); Ruckman, Maurice (HAL); Phatak, Sheetal (HAL); 'mvargas@hexacta.com'
Cc: Augustine, Anila (HAL); O'Connor, Fran (HAL)
Subject: FW: Access to the SSB BART Group's online report tool for ADA Compliance
Hi all,
You now have access to the SSB BART Group's online accessibility report tool: https://amp.ssbbartgroup.com/login.php. This tool has all of the accessibility details on violations, as described in the JIRA Issues (ADACOMP project: http://halpjira01:8080/browse/ADACOMP).
Please login by using the instructions below provided by Eduardo. You can change the password after you login the first time. Let me know if you have any problems.
Thanks,
James
-----Original Message-----
From: Eduardo Meza-Etienne [mailto:eduardo.meza@ssbbartgroup.com]
Sent: Tuesday, March 13, 2012 12:53 PM
To: Wilson, James (HAL Contractor)
Subject: RE: Access to the SS
James:
I have created the user in our platform. Everybody should be able to login using their email address as the login and "Password#1" (without quotes) as the password.
Please let me know if there are any problems for people to login.
Regards,
Eduardo
Checking rpm’s
-----Original Message-----
From: Guillaume Radde [mailto:guillaume.radde@redhat.com]
Sent: Monday, March 19, 2012 4:25 PM
To: Ruckman, Maurice (HAL)
Subject: A few RPM commands
To get the list of installed rpms:
$ rpm -qa
To get the list of files contained in an rpm:
$ rpm -ql java-1.6.0-sun
To know which rpm provides a file on your filesystem, or to know if a file is managed by rpm:
$ yum whatprovides /usr/lib/jvm/java-1.6.0/jre/lib/security/java.security
To verify the integrity of an rpm, or to know if the files installed by an rpm have been modified by the system admin:
$ rpm -Vv java-1.6.0-sun
To list the Red Hat Channels enabled on a system (Red Hat Channels are rpm repositories managed by Red Hat):
$ rhn-channel -l
-------------------------------------
Guillaume Radde
Senior Consultant, Red Hat Consulting
guillaume.radde@redhat.com
http://www.redhat.com
-------------------------------------
