Archive

Archive for March 22nd, 2009

How to open xterm via global shell in opsware on remote system as root

March 22nd, 2009 No comments

Best way to accomplish task of opening getting root xterm displayed back on remote system via opsware is to do the following:
ssh -l your_user_ID -p 2222 opsware_ip
make sure you have exceed or xmanager or other X server running on your PC or linux
then write script like the following:
#!/bin/ksh
export DISPLAY=your_desktop_IP:0.0
/usr/openwin/bin/xterm -bg black -fg green -title `hostname` -sb -sl 32000 &

then execute it:
rosh -l root -n destination_server -s ./xterm

this will push xterm script to destination_server and it will execute it, you should see xterm popping up on your screen any time now.

 

Read more…

Categories: Opsware SAS Tags: , ,

How to automate global shell in opsware and run it from crontab

March 22nd, 2009 1 comment

I have situation where I would like to run script from my crontab that is executing script in global shell. In opsware before 7.5 I had to do it this way but in 7.5 I can schedule some jobs from java gui quite easily, but just in case if you have a need to do this from your opsware core via cron this is how I did it:

created script AutomateGlobalShell.sh:

-=-=-START OF SCRIPT-=-=-

#!/bin/sh

Read more…

Categories: Opsware SAS Tags: ,

Interntional Water Day

March 22nd, 2009 No comments

Did you know that on March 22nd of every year we celebrate Water Day? Did you know that there is shortage of drinking water all over the world, and that includes even developed countries such as US?

www.worldwaterday.org/

The international observance of World Water Day is an initiative that grew out of the 1992 United Nations Conference on Environment and Development (UNCED) in Rio de Janeiro.

The United Nations General Assembly designated 22 March of each year as the World Day for Water by adopting a resolution.This world day for water was to be observed starting in 1993, in conformity with the recommendations of the United Nations Conference on Environment and Development contained in chapter 18 (Fresh Water Resources) of Agenda 21.

Read more…

Categories: Uncategorized Tags:

Powered by WP Robot

Stop SOPAPowered by Yahoo! Answers