Hi Guys this is the correct post for this free hacmp training.
"If I share an idea; you have one and I too have one but if you share one with me I have two and you too have two” - Dipak Warade
Saturday, November 26, 2011
Free HACMP VIO training part 1
Hi Guys i like to learn on internet there are many good resources to learn free so why to pay ? this is the series of HACMP videos
Solaris interview questions and asnwers -extended 2
1 www.unix4you.com:/ what is difference between solaris single user mode and multi user mode ?
2 www.unix4you.com:/ What file controls system wide password aging?
3 www.unix4you.com:/ How will you add a virtual IP address to a server in Solaris. Given the interface qe0 and IP 10.10.1.150
4 www.unix4you.com:/ What are the different phases in boot process
5 www.unix4you.com:/ How do you check the cron jobs of other users, (as a super user)
6 www.unix4you.com:/ How to find 32 or 64 bit system instances of OS?
7 www.unix4you.com:/ How can we find RAM size in solaris server ?
8 www.unix4you.com:/ Explain about the command prof_attr?
9 www.unix4you.com:/ What file do you put the umask setting in?
10 www.unix4you.com:/ what is the command to check the status of the storedges from the server machine?
11 www.unix4you.com:/ When user login into solaris 8 it is repeatedly asking for username and password. What could be the reason an d what files has to be checked to fix this and which log file we have to refer to know more details about the problem.
12 www.unix4you.com:/ How many different kill signals are there?
13 www.unix4you.com:/ What is after the VTOC on the root filesystem?
14 www.unix4you.com:/ Which obp command has a premenent allais?
15 www.unix4you.com:/ What is the difference between a probe-scsi and a probe-scsi-all?
16 www.unix4you.com:/ How do you check the cron jobs of other users, (as a super user)
17 www.unix4you.com:/ How to install win xp after installing solaris for dual booting.....
18 www.unix4you.com:/ Partition sizes can be set manually or from what configuration?
19 www.unix4you.com:/ Explain about umask?
Answers : www.unix4you.com
2 www.unix4you.com:/ What file controls system wide password aging?
3 www.unix4you.com:/ How will you add a virtual IP address to a server in Solaris. Given the interface qe0 and IP 10.10.1.150
4 www.unix4you.com:/ What are the different phases in boot process
5 www.unix4you.com:/ How do you check the cron jobs of other users, (as a super user)
6 www.unix4you.com:/ How to find 32 or 64 bit system instances of OS?
7 www.unix4you.com:/ How can we find RAM size in solaris server ?
8 www.unix4you.com:/ Explain about the command prof_attr?
9 www.unix4you.com:/ What file do you put the umask setting in?
10 www.unix4you.com:/ what is the command to check the status of the storedges from the server machine?
11 www.unix4you.com:/ When user login into solaris 8 it is repeatedly asking for username and password. What could be the reason an d what files has to be checked to fix this and which log file we have to refer to know more details about the problem.
12 www.unix4you.com:/ How many different kill signals are there?
13 www.unix4you.com:/ What is after the VTOC on the root filesystem?
14 www.unix4you.com:/ Which obp command has a premenent allais?
15 www.unix4you.com:/ What is the difference between a probe-scsi and a probe-scsi-all?
16 www.unix4you.com:/ How do you check the cron jobs of other users, (as a super user)
17 www.unix4you.com:/ How to install win xp after installing solaris for dual booting.....
18 www.unix4you.com:/ Partition sizes can be set manually or from what configuration?
19 www.unix4you.com:/ Explain about umask?
Answers : www.unix4you.com
Solaris interview questions and asnwers -extended
1 unix4you.com: Is it legal to have static initializer blocks in EJB?
2 unix4you.com: What is sticky bit in Solaris?
3 unix4you.com: Which NFS daemons are found on the NFS server?
4 unix4you.com: What is the big difference between /dev/dsk and /dev/rdsk
5 unix4you.com: What is after the VTOC on the root filesystem?
6 unix4you.com: What are the different phases in boot process
7 unix4you.com: Explain about RBAC?
8 unix4you.com: How do we know how many LAN cards we have in server?
9 unix4you.com: What command will display the VTOC for disk c0t0d0s0?
10 unix4you.com: What is the big difference between /dev/dsk and /dev/rdsk
11 unix4you.com: Describe about Logical Domains and its functions?
12 unix4you.com: How many cpu's we can connect to a spark machine ?
13 unix4you.com: how we can configure remote desktop(i mean how we can see windows system present working desktop*as well as another o s like linux )
14 unix4you.com: How would you find out what kernel parameter SHMMAX is set to by one command?
15 unix4you.com: What are the main differences between solaris 10 and 9?
16 unix4you.com: How would you find out what kernel parameter SHMMAX is set to by one command?
17 unix4you.com: Consider the following crontab entry: ?59 23 13 * 5 /wipe.disk? What time will this cronjob run?
18 unix4you.com: How to configure mail server in sun solaris?
19 unix4you.com: Back to Sun Solaris OS Interview Questions and Answers page Question : What file controls global variables for system wide values for the Bourne Shell?
20 unix4you.com: What would a XIR signal do to a server and why would it be used?
Answers on : www.unix4you.com
2 unix4you.com: What is sticky bit in Solaris?
3 unix4you.com: Which NFS daemons are found on the NFS server?
4 unix4you.com: What is the big difference between /dev/dsk and /dev/rdsk
5 unix4you.com: What is after the VTOC on the root filesystem?
6 unix4you.com: What are the different phases in boot process
7 unix4you.com: Explain about RBAC?
8 unix4you.com: How do we know how many LAN cards we have in server?
9 unix4you.com: What command will display the VTOC for disk c0t0d0s0?
10 unix4you.com: What is the big difference between /dev/dsk and /dev/rdsk
11 unix4you.com: Describe about Logical Domains and its functions?
12 unix4you.com: How many cpu's we can connect to a spark machine ?
13 unix4you.com: how we can configure remote desktop(i mean how we can see windows system present working desktop*as well as another o s like linux )
14 unix4you.com: How would you find out what kernel parameter SHMMAX is set to by one command?
15 unix4you.com: What are the main differences between solaris 10 and 9?
16 unix4you.com: How would you find out what kernel parameter SHMMAX is set to by one command?
17 unix4you.com: Consider the following crontab entry: ?59 23 13 * 5 /wipe.disk? What time will this cronjob run?
18 unix4you.com: How to configure mail server in sun solaris?
19 unix4you.com: Back to Sun Solaris OS Interview Questions and Answers page Question : What file controls global variables for system wide values for the Bourne Shell?
20 unix4you.com: What would a XIR signal do to a server and why would it be used?
Answers on : www.unix4you.com
Solaris interview questions and asnwers
1. What does the pkgadd command do?
2. How do you create a solaris package?
3. How do you view shared memory statistics?
4. How do you get system diagnostics information?
5. What is OBP and how do you access it?
6. What is LOM and how do you access it?
7. What is VTS?
8. What is an alternative to the “top” command on Solaris?
9. What is /etc/system for?
10. What does ndd do?
11. What does init 5 do?
12. What does init 0 do?
13. How do you boot from CD-ROM?
14. What is jumpstart?
15. How do you boot from a Network with jumpstart?
16. What is JASS?
17. What is the difference between NFS version 2 and NFS version 3?
18. What is RPC? Why do I need it?
19. Are kernel parameters tunable during runtime?
20. What does fmthard do?
Answer : Please visit www.unix4you.com
2. How do you create a solaris package?
3. How do you view shared memory statistics?
4. How do you get system diagnostics information?
5. What is OBP and how do you access it?
6. What is LOM and how do you access it?
7. What is VTS?
8. What is an alternative to the “top” command on Solaris?
9. What is /etc/system for?
10. What does ndd do?
11. What does init 5 do?
12. What does init 0 do?
13. How do you boot from CD-ROM?
14. What is jumpstart?
15. How do you boot from a Network with jumpstart?
16. What is JASS?
17. What is the difference between NFS version 2 and NFS version 3?
18. What is RPC? Why do I need it?
19. Are kernel parameters tunable during runtime?
20. What does fmthard do?
Answer : Please visit www.unix4you.com
Tuesday, November 15, 2011
0516-066: Physical volume is not a volume group member.
Why i am getting below error?
#lsvg oravg
0516-066: Physical volume is not a volume group member.
Check the physical volume name specified
hdiskpower9 00f64abb7024b22a oravg active
hdiskpower10 00f64abb70216920 oravg active
hdiskpower11 00f64abb701cf0ad oravg active
hdiskpower12 00f64abb701dfefc oravg active
Answer :- www.unix4you.com
#lsvg oravg
0516-066: Physical volume is not a volume group member.
Check the physical volume name specified
hdiskpower9 00f64abb7024b22a oravg active
hdiskpower10 00f64abb70216920 oravg active
hdiskpower11 00f64abb701cf0ad oravg active
hdiskpower12 00f64abb701dfefc oravg active
Answer :- www.unix4you.com
Free perl training online , Perl interview preparation,all about perl interview Part - 4 (www.unix4you.com)
Perl : 4
Please visit www.unix4you.com for more learning
Please visit www.unix4you.com for more learning
Free perl training online , Perl interview preparation,all about perl interview
Hi Guys,
I have been searching for some good videos and i found some good videos. please spare some time and try to learn some good technologies.
Perl :1
I have been searching for some good videos and i found some good videos. please spare some time and try to learn some good technologies.
Perl :1
Monday, November 14, 2011
Interview Questions For MCA/MBA/BBA/MCS/BCA/MCM or any fresher
- Tell me about yourself.
- Why should I hire you?
- What are your strengths and weaknesses?
- Why do you want to work at our company?
- What is the difference between confidence and over confidence?
- What is the difference between hard work and smart work?
- How do you feel about working nights and weekends?
- Can you work under pressure?
- Are you willing to relocate or travel?
- What are your goals?
- What motivates you to do good job?
- What makes you angry?
- Give me an example of your creativity.
- How long would you expect to work for us if hired?
- Are not you overqualified for this position?
- Describe your ideal company, location and job.
- What are your career options right now?
- Explain how would be an asset to this organization?
- What are your outside interests?
- Would you lie for the company?
- Who has inspired you in your life and why?
- What was the toughest decision you ever had to make?
- Have you considered starting your own business?
- How do you define success and how do you measure up to your own definition?
- If you won $10 million lottery, would you still work?
- Tell me something about our company.
- How much salary do you expect?
- Where do you see yourself five years from now?
- On a scale of one to ten, rate me as an interviewer.
- Do you have any questions for me?
- Why did you resign from your previous job?
- Why have you been out of work so long?
- Why have you had so many jobs?
- Tell me about a situation when your work was criticized.
- Could you have done better in your last job?
- Tell me about the most boring job you have ever had.
- May I contact your present employer for a reference?
- How many hours a week do you normally work?
- What was the toughest challenge you have ever faced?
- Have you been absent from work more than a few days in any previous position?
- What changes would you make if you came on board?
- What would you say to your boss if he is crazy about an idea, but you think it stinks?
- How could you have improved your career progress?
- Tell me honestly about the strong points and weak points of your boss (company, management team, etc.)
- Looking back on your last position, have you done your best work?
- Why should I hire you from the outside when I could promote someone from within?
- How do you feel about reporting to a younger person?
- Looking back, what would you do differently in your life?
- Why are not you earning more money at this stage of your career?
Saturday, November 12, 2011
HACMP interview questions
a. What characters should a hostname contain for HACMP configuration?
The hostname cannot have following characters: -, _, * or other special characters.
b. Can Service IP and Boot IP be in same subnet?
No. The service IP address and Boot IP address cannot be in same subnet. This is the basic requirement for HACMP cluster configuration. The verification process does not allow the IP addresses to be in same subnet and cluster will not start.
c. Can multiple Service IP addresses be configured on single Ethernet cards?
Yes. Using SMIT menu, it can be configured to have multiple Service IP addresses running on single Ethernet card. It only requires selecting same network name for specific Service IP addresses in SMIT menu.
d. What happens when a NIC having Service IP goes down?
When a NIC card running the Service IP address goes down, the HACMP detects the failure and fails over the service IP address to available standby NIC on same node or to another node in the cluster.
e. Can Multiple Oracle Database instances be configured on single node of HACMP cluster?
Yes. Multiple Database instances can be configured on single node of HACMP cluster. For this one needs to have separate Service IP addresses over which the listeners for every Oracle Database will run. Hence one can have separate Resource groups which will own each Oracle instance. This configuration will be useful if there is a failure of single Oracle Database instance on one node to be failed over to another node without disturbing other running Oracle instances.
f. Can HACMP be configured in Active - Passive configuration?
Yes. For Active - In Passive cluster configuration, do not configure any Service IP on the passive node. Also for all the resource groups on the Active node please specify the passive node as the next node in the priority to take over in the event of failure of active node.
g. Can file system mounted over NFS protocol be used for Disk Heartbeat?
No. The Volume mounted over NFS protocol is a file system for AIX, and since disk device is required for Enhanced concurrent capable volume group for disk heartbeat the NFS file system cannot be used for configuring the disk heartbeat. One needs to provide disk device to AIX hosts over FCP or iSCSI protocol.
h. Which are the HACMP log files available for troubleshooting?
Following are log files which can be used for troubleshooting:
1. /var/hacmp/clverify/current//* contains logs from current execution of cluster verification.
2. /var/hacmp/clverify/pass//* contains logs from the last time verification passed.
3. /var/hacmp/clverify/fail//* contains logs from the last time verification failed.
4. /tmp/hacmp.out file records the output generated by the event scripts of HACMP as they execute.
5. /tmp/clstmgr.debug file contains time-stamped messages generated by HACMP clstrmgrES activity.
6. /tmp/cspoc.log file contains messages generated by HACMP C-SPOC commands.
7. /usr/es/adm/cluster.log file is the main HACMP log file. HACMP error messages and messages about HACMP related events are appended to this log.
8. /var/adm/clavan.log file keeps track of when each application that is managed by HACMP is started or stopped and when the node stops on which an application is running.
9. /var/hacmp/clcomd/clcomd.log file contains messages generated by HACMP cluster communication daemon.
10. /var/ha/log/grpsvcs. file tracks the execution of internal activities of the grpsvcs daemon.
11. /var/ha/log/topsvcs. file tracks the execution of internal activities of the topsvcs daemon.
12. /var/ha/log/grpglsm file tracks the execution of internal activities of grpglsm daemon.
The hostname cannot have following characters: -, _, * or other special characters.
b. Can Service IP and Boot IP be in same subnet?
No. The service IP address and Boot IP address cannot be in same subnet. This is the basic requirement for HACMP cluster configuration. The verification process does not allow the IP addresses to be in same subnet and cluster will not start.
c. Can multiple Service IP addresses be configured on single Ethernet cards?
Yes. Using SMIT menu, it can be configured to have multiple Service IP addresses running on single Ethernet card. It only requires selecting same network name for specific Service IP addresses in SMIT menu.
d. What happens when a NIC having Service IP goes down?
When a NIC card running the Service IP address goes down, the HACMP detects the failure and fails over the service IP address to available standby NIC on same node or to another node in the cluster.
e. Can Multiple Oracle Database instances be configured on single node of HACMP cluster?
Yes. Multiple Database instances can be configured on single node of HACMP cluster. For this one needs to have separate Service IP addresses over which the listeners for every Oracle Database will run. Hence one can have separate Resource groups which will own each Oracle instance. This configuration will be useful if there is a failure of single Oracle Database instance on one node to be failed over to another node without disturbing other running Oracle instances.
f. Can HACMP be configured in Active - Passive configuration?
Yes. For Active - In Passive cluster configuration, do not configure any Service IP on the passive node. Also for all the resource groups on the Active node please specify the passive node as the next node in the priority to take over in the event of failure of active node.
g. Can file system mounted over NFS protocol be used for Disk Heartbeat?
No. The Volume mounted over NFS protocol is a file system for AIX, and since disk device is required for Enhanced concurrent capable volume group for disk heartbeat the NFS file system cannot be used for configuring the disk heartbeat. One needs to provide disk device to AIX hosts over FCP or iSCSI protocol.
h. Which are the HACMP log files available for troubleshooting?
Following are log files which can be used for troubleshooting:
1. /var/hacmp/clverify/current//* contains logs from current execution of cluster verification.
2. /var/hacmp/clverify/pass//* contains logs from the last time verification passed.
3. /var/hacmp/clverify/fail//* contains logs from the last time verification failed.
4. /tmp/hacmp.out file records the output generated by the event scripts of HACMP as they execute.
5. /tmp/clstmgr.debug file contains time-stamped messages generated by HACMP clstrmgrES activity.
6. /tmp/cspoc.log file contains messages generated by HACMP C-SPOC commands.
7. /usr/es/adm/cluster.log file is the main HACMP log file. HACMP error messages and messages about HACMP related events are appended to this log.
8. /var/adm/clavan.log file keeps track of when each application that is managed by HACMP is started or stopped and when the node stops on which an application is running.
9. /var/hacmp/clcomd/clcomd.log file contains messages generated by HACMP cluster communication daemon.
10. /var/ha/log/grpsvcs. file tracks the execution of internal activities of the grpsvcs daemon.
11. /var/ha/log/topsvcs. file tracks the execution of internal activities of the topsvcs daemon.
12. /var/ha/log/grpglsm file tracks the execution of internal activities of grpglsm daemon.
HACMP installation
The HACMP software writes the messages it generates to the system console and to several log files. Each log file contains a different subset of messages generated by the HACMP software.When viewed as a group, the log filesprovide a detailed view of all cluster activity.
Although the actual location of the log files on the system may seem scattered, the log diversity provides information for virtually any HACMP event.Moreover, you can customize the location of the log files, and specify the verbosity of the logging operations.
The following list describes the log files into which the HACMP software writes messages and the types of cluster messages they contain.The list also provides recommendations for using the different log files.
/usr/es/adm/cluster.log
Contains time-stamped, formatted messages generated
by HACMP scripts and daemons.
/tmp/hacmp.out
Contains time-stamped, formatted messages generated
by HACMP scripts on the current day. In verbose mode
(recommended), this log file contains a line-by-line record
of every command executed by the scripts, including the
values of all arguments to each command. An event
summary of each high-level event is included at the end of
each event’s details (similar to adding the -x option to a
shell script).
system error log
Contains time-stamped, formatted messages from all AIX
subsystems, including scripts and daemons.
/usr/es/sbin/cluster/history/cluster.mmddyyyy
Contains time-stamped, formatted messages generated
by HACMP scripts. The system creates a cluster history
file every day, identifying each file by its file name
extension, where mm indicates the month, dd indicates
the day, and yyyy the year.
/tmp/clstrmgr.debug
Contains time-stamped, formatted messages generated
by clstrmgrES activity. The messages are verbose. With
debugging turned on, this file grows quickly. You should
clean up the file and turn off the debug options as soon as
possible.
/tmp/cspoc.log
Contains time-stamped, formatted messages generated
by HACMP C-SPOC commands. The file resides on the
node that invokes the C-SPOC command.
/tmp/dms_loads.out
Stores log messages every time HACMP triggers the
deadman switch.
/tmp/emuhacmp.out
Contains time-stamped, formatted messages generated
by the HACMP Event Emulator. The messages are
collected from output files on each node of the cluster,
and cataloged together into the /tmp/emuhacmp.out log
file.
/var/hacmp/clverify/clverify.log
The file contains the verbose messages output by the
clverify utility. The messages indicate the node(s),
devices, command, and so on, in which any verification
error occurred.
/var/ha/log/grpsvcs, /var/ha/log/topsvcs, and /var/ha/log/grpglsm
Contains time-stamped messages in ASCII format. All
these files track the execution of the internal activities of
their respective daemons.
Although the actual location of the log files on the system may seem scattered, the log diversity provides information for virtually any HACMP event.Moreover, you can customize the location of the log files, and specify the verbosity of the logging operations.
The following list describes the log files into which the HACMP software writes messages and the types of cluster messages they contain.The list also provides recommendations for using the different log files.
/usr/es/adm/cluster.log
Contains time-stamped, formatted messages generated
by HACMP scripts and daemons.
/tmp/hacmp.out
Contains time-stamped, formatted messages generated
by HACMP scripts on the current day. In verbose mode
(recommended), this log file contains a line-by-line record
of every command executed by the scripts, including the
values of all arguments to each command. An event
summary of each high-level event is included at the end of
each event’s details (similar to adding the -x option to a
shell script).
system error log
Contains time-stamped, formatted messages from all AIX
subsystems, including scripts and daemons.
/usr/es/sbin/cluster/history/cluster.mmddyyyy
Contains time-stamped, formatted messages generated
by HACMP scripts. The system creates a cluster history
file every day, identifying each file by its file name
extension, where mm indicates the month, dd indicates
the day, and yyyy the year.
/tmp/clstrmgr.debug
Contains time-stamped, formatted messages generated
by clstrmgrES activity. The messages are verbose. With
debugging turned on, this file grows quickly. You should
clean up the file and turn off the debug options as soon as
possible.
/tmp/cspoc.log
Contains time-stamped, formatted messages generated
by HACMP C-SPOC commands. The file resides on the
node that invokes the C-SPOC command.
/tmp/dms_loads.out
Stores log messages every time HACMP triggers the
deadman switch.
/tmp/emuhacmp.out
Contains time-stamped, formatted messages generated
by the HACMP Event Emulator. The messages are
collected from output files on each node of the cluster,
and cataloged together into the /tmp/emuhacmp.out log
file.
/var/hacmp/clverify/clverify.log
The file contains the verbose messages output by the
clverify utility. The messages indicate the node(s),
devices, command, and so on, in which any verification
error occurred.
/var/ha/log/grpsvcs, /var/ha/log/topsvcs, and /var/ha/log/grpglsm
Contains time-stamped messages in ASCII format. All
these files track the execution of the internal activities of
their respective daemons.
Some hacmp commands
Normally the commands starting with CL* are located in /usr/es/sbin/cluster/utilities/
clstat - show cluster state and substate; needs clinfo.
cldump - SNMP-based tool to show cluster state
cldisp - similar to cldump, perl script to show cluster state.
cltopinfo - list the local view of the cluster topology.
clshowsrv -a - list the local view of the cluster subsystems.
clfindres (-s) - locate the resource groups and display status.
clRGinfo -v - locate the resource groups and display status.
clcycle - rotate some of the log files.
cl_ping - a cluster ping program with more arguments.
clrsh - cluster rsh program that take cluster node names as argument.
clgetactivenodes - which nodes are active?
get_local_nodename - what is the name of the local node?
clconfig - check the HACMP ODM.
clRGmove - online/offline or move resource groups.
cldare - sync/fix the cluster.
cllsgrp - list the resource groups.
clsnapshotinfo - create a large snapshot of the hacmp configuration.
cllscf - list the network configuration of an hacmp cluster.
clshowres - show the resource group configuration.
cllsif - show network interface information.
cllsres - show short resource group information.
cllsnode - list a node centric overview of the hacmp configuration.
lssrc -ls clstrmgrES - list the cluster manager state.
lssrc -ls topsvcs - show heartbeat information.
clstat - show cluster state and substate; needs clinfo.
cldump - SNMP-based tool to show cluster state
cldisp - similar to cldump, perl script to show cluster state.
cltopinfo - list the local view of the cluster topology.
clshowsrv -a - list the local view of the cluster subsystems.
clfindres (-s) - locate the resource groups and display status.
clRGinfo -v - locate the resource groups and display status.
clcycle - rotate some of the log files.
cl_ping - a cluster ping program with more arguments.
clrsh - cluster rsh program that take cluster node names as argument.
clgetactivenodes - which nodes are active?
get_local_nodename - what is the name of the local node?
clconfig - check the HACMP ODM.
clRGmove - online/offline or move resource groups.
cldare - sync/fix the cluster.
cllsgrp - list the resource groups.
clsnapshotinfo - create a large snapshot of the hacmp configuration.
cllscf - list the network configuration of an hacmp cluster.
clshowres - show the resource group configuration.
cllsif - show network interface information.
cllsres - show short resource group information.
cllsnode - list a node centric overview of the hacmp configuration.
lssrc -ls clstrmgrES - list the cluster manager state.
lssrc -ls topsvcs - show heartbeat information.
Subscribe to:
Comments (Atom)