About Us

RSInfoMinds, a web based IT Training and Consultancy firm. It is established with high dreams in training people in IT Infrastructure Field. We provide Online and Class Room training in various fields of IT Infrastructure Management.

Join Us: http://www.facebook.com/RSInfoMinds
Mail Us: rsinfominds@gmail.com
Twitter: @RSInfoMinds

We are specialized in the below courses:

Redhat Linux Admin Redhat Linux Cluster
Redhat Virutualization IBM AIX Admin
IBM AIX Virtualization IBM AIX Cluster
HP Unix Admin HP Unix Cluster
HP Unix Virtualization Shell Scripting
Veritas Volume Manager Veritas Cluster
Oracle Core DBA VMWare


We provide training in such a way, So that you get in depth knowledge on the Courses you look for.

And we ensure you are very confident from each and every Techincal aspect that the IT Industry needs and expects from you.

We also conduct Workshops on the latest technology and the real time faculties sharing their work experiences to make you the best.

Sunday 16 March 2014

Adding a Resource to an existing Cluster

Now I am going to add a script as a resource to an existing cluster.

Sample Script:

[root@node1 oracle]# cat script.shout
Sat Mar 15 10:01:17 EDT 2014 on node1.cluster.com
[root@node1 oracle]# cat script.sh
#!/bin/ksh


while true
do
        echo "`date` on `hostname`"  >> ${0}out
        sleep 4
done
[root@node1 oracle]#

Creating a Process Resource:


[root@node1 oracle]# hares -add oracle_process Process oracle_sg
VCS NOTICE V-16-1-10242 Resource added. Enabled attribute must be set before agent monitors
[root@node1 ~]# hares -modify oracle_process Critical 1
[root@node1 ~]# hares -modify oracle_process UserName  root
[root@node1 ~]# hares -modify oracle_process PathName  /oracle/script.sh
[root@node1 ~]# hares -modify oracle_process Enabled 1
[root@node1 ~]# hares -link oracle_process oracle_ip

No comments:

Post a Comment