sending email from solaris using mailx

Always use these options with (mailx) command

mailx -v -s “Subject_of_email” recipient@domain.com

then press Enter key on keyboard,then start typing email data,then on a separate line just put (.) and press enter.

if you want to send an  email to john@hotmail.com mthe format is :

#############Start

mailx -v -s “Solarisway” john@hotmail.com (press Enter )

Hi John,(press Enter )

Hope your doing well.(press Enter )

regards.(press Enter )

. (press Enter )

#############End

 

Normally,mailx uses configuration file (/etc/mail/submit.cf) for sending emails,this file is read-only file,so u have to force saving after you finish configuration (:wq!) when using vi editor.

 

Inside that file there is a parameter named (D{MTAHost}),so depending on the value of this parameter,the mailx command will behave as following :

1-if it looks  like D{MTAHost}[127.0.0.1]   , mailx will use IP of (mailhost) which is configured in /etc/hosts

2- if D{MTAHost} has another IP rather than 127.0.0.1,then mailx will use this IP as Relay to send its outgoing emails.

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | Leave a comment

Add SRU to Solaris 11 Repository

How to Update an Oracle Solaris 11.1 Package Repository.

to update your local repositroy directly with new SRU ,you shold do these steps

1-mount the new SRU image from EIS-DVD,or download from oracle

2-sync the directory of local repository with contents from SRU image.

3-Rebuild the search indexes for the repository

4-(option) if you publish your repository over http (means u deployed package server),restart the service

here is commands used to do this :

1. Mount the ISO image as a filesystem.

# mount -F hsfs /root/sru_13   /mnt

2. Import the SRU packages to your existing Oracle Solaris 11.1 repository.

# rsync -aP /mnt/repo/ /rpool/Sol11.1/repo

3. Rebuild the search indexes for the repository.

# pkgrepo rebuild -s /rpool/Sol11.1/repo

4. If the repository is managed by pkgserv, restart the appropriate
service.

# svcadm restart svc:/application/pkg/server:default

So, now you updated your local repository with new patches/updates,your installed packages is not updated yet ,first you can compare between packages installed on your system and the one inside repository

#pkg list -u   —> to list available updates for current installed packages

# pkg update —–> to update all installed packages

or if needed ,you can update a specific package by :

#pkg update pkg_name

Posted in repository, Solaris 11 | Tagged , , , , , , , , | Leave a comment

OVM step by Step

OVM ( Oracle Virtual Machine) environment installation/configuration step by step guide.

In This document,i tried to make it simple as much as I can.

Since,I suffered to understand OVM environment during installation/configuration.

Anyway,to get OVM (Oracle Virtual Machines) ready you need these software:

1- OVM server 3.2.7 ,its size 250 MB

2- OVM Manager 3.2.6 ,its size 2.5 GB.

3- OVM Manager patch 3.2.7,after you install OVM Manager 3.2.6 ,you will apply patch to upgrade it to 3.2.7.

4- Oracle Linux 6.4,its size 3.5 GB,you need it as OVM manager will be installed on Linux.

5- a small package(tightvnc) to be installed on linux after you finish ovm manager installation, link is

https://www.dropbox.com/s/bq8ttdxzd7cx1ak/tightvnc-java-1.3.9-3.noarch.rpm

Use the following link to  download OVM step by step Guide:

https://www.dropbox.com/s/xr84hlsv41p1b66/OVM_StepByStep.pdf

Posted in OVM | Tagged , , , , , , , , , , , , , , , | Leave a comment

Sun Systems Fault Analysis Workshop Online Assessment

here is all questions for that tough exam,i hardly passed this one.

link for answers (https://www.dropbox.com/s/pgo66ngo9m7d9od/Sun%20Systems%20Fault%20Analysis%20Workshop%20Online%20Assessment.docx)

1. A server is hanging during the boot process. As part of troubleshooting the server, you want to boot without any services enabled and then step through the SMF portion of the boot process to try to isolate the problem.<br/><br/> Which command describes how to boot the server without any services enabled? Mark for Review

2. Devices are one of the primary areas that should be checked when diagnosing a problem in the Solaris OS. The devfsadm is a device management tool that maintains the /dev and /devices directories on Solaris systems.<br/><br/> Some of the tasks that the devfsadm command performs include:<br/> – Creates files for the devices in the /devices directory.<br/> – Creates logical links for the devices in the /dev directory<br/><br/> Which two additional tasks are also performed by the devfsadm command on a Solaris system? Mark for Review
3. On the Fault Analysis and Diagnosis worksheet, you documented all the information collected and analyzed for a server that is not working properly. Your next step in the fault diagnosis phase is to list all the likely causes of the fault from the data collected. Once the likely causes are list, there are two more steps to be completed.<br/><br/> Which two steps would be completed next in the fault diagnosis phase? Mark for Review
4. In general, after the kernel panics the system, the system reboots. When the kernel panics, it drops into the debugger and prints some interesting information.<br/><br/> You know that the mdb utility can examine this information to determine the cause of the panic.<br/><br/> After a system crash, you locate the appropriate saved image and then invoke mdb.<br/><br/> # cd /var/crash/nodename<br/> # ls<br/> bounds unix.1 unix.3 unix.5 vmcore.1 vmcore.3 vmcore.5 <br/> unix.0 unix.2 unix.4 vmcore.0 vmcore.2 vmcore.4 <br/><br/> # mdb -k unix.5 vmcore.5<br/> Loading modules: [ unix krtld$c<br/> genunix specfs dtrace ufs ip sctp usba uhci s1394 fcp fctl nca lofs zfs random nfs<br/> audiosup sppp crypto md fcip logindmux ptm ipc ]<br/> > <br/><br/> As a next step, you retrieve a stack backtrace which shows, in reverse order, all the functions that were active at the time of the panic.<br/><br/> Which two options are used in the mdb debugger to generate the stack backtrace? Mark for Review
5. The following error message is generated from a server:<br/><br/> Boot device: net File and args:<br/> Can’t open boot device<br/><br/> You know there are two probable causes for this fault to have occurred: incorrect NVRAM settings, or a boot device does not exist or cannot be found.<br/><br/> Which option would generate the error message? Mark for Review
6. In handling a report about a server that is not working properly, you record the initial information in a Fault Analysis and Fault Diagnosis Worksheet. As part of your analysis, a problem statement is written which describes what does not appear to be working normally on the system.
7. The response time within a newly configured zone is very poor, and many services are not running. The customer who configured this new zone, had booted it and logged in successfully.<br/><br/> Within the new zone the following command was run, which explains the state of service.<br/><br/> # svcs -xv<br/> No output for more than 5 minutes.<br/><br/> From the message generated you surmise what the probable cause of the slow zone is, and run the next set of commands:<br/> # zoneadm -z newzone halt<br/> # zonecfg -z newzone<br/> zonecfg:newzone> remove capped-memory<br/> zonecfg:newzone> commit<br/> zonecfg:newzone> info<br/> zonecfg:newzone> exit<br/> # zoneadm -z newzone boot<br/> # zlogin newzone<br/> # svcs -xv<br/> The zone should run faster than before.<br/><br/> Which option would be the cause of this poor response time reported on the new zone? Mark for Review
8. Fault types that can occur on a system are placed in five error categories: Software, Hardware, Critical, Fatal, and System Panics.<br/><br/> When a system fault is caused by a critical error it is recommended that the system be immediately shutdown.<br/><br/> Which two faults could be attributed to a critical error that requires the immediate shutdown of the system? Mark for Review
9. You run the dumpadm command to get the savecore directory location:<br/><br/> # dumpadm<br/> Dump content: kernel pages<br/> Dump device: /dev/dsk/c0t0d0s1 (swap)<br/> Savecore directory: /var/crash/maxsparc<br/> Savecore enabled: yes<br/><br/> You list the directory contents:<br/> # ls -al /var/crash/maxsparc<br/> total 4<br/> drwx—— 2 root root 512 Jan 27 10:28 .<br/> drwxr-xr-x 3 root root 512 Jan 27 10:28 ..<br/><br/> Which three files would exist in the /var/crash/maxsparc directory after a system reboots following a panic? Mark for Review
10. The repository database stores information about the state of each service instance including configuration information about the services and system. Any time the repository is changed, it is backed up before applying any changes issued by the SMF commands and utilities.<br/><br/> A customer reports that the repository database on a server has been corrupted and needs to be restored. <br/><br/> Which two methods could be used to restore the corrupt repository? Mark for Review
11. An x86-based Solaris server will not boot. You have determined that the server’s default boot disk is incorrect and that the server is trying to boot from the wrong disk drive. A change to the server must be made so that the system boots from the correct disk when powered on, without user intervention. <br/><br/> Which option describes the procedure to change the default boot disk? Mark for Review
12. The following IP address 192.168.6.5 needs to be assigned to the hme1 interface. The hme1 interface is currently unused.<br/><br/> You must enable hme1 and assign it the IP address without rebooting the system, as well as to make the configuration persist across reboots. <br/><br/> Which two options would you use to complete these two specific tasks? Mark for Review
13. When diagnosing system faults it is recommended that you check both the CPUs and memory.<br/><br/> In performing these checks you often use two monitoring tools, The mpstat command to collect information about the activity of individual CPUs, and the vmstat command for reports on virtual memory statistics.<br/><br/> When a customer reports performance on a server is not good, especially for compute-bound processing, you run the mpstat 2 command on the troubled system.<br/><br/> The generated output reports that the CPU system time is fairly high, on a system that is not doing anything. Which option would explain slow performance on the server? Mark for Review
14. A customer reports that after installing new software, the ps command no longer functions. The error message generated includes:<br/><br/> ld.so.1: ps: fatal: libc.so.1: open failed: No such file or directory<br/><br/> Which two options could be the cause of the ps command to no longer function? Mark for Review
15. A new service named banner has been written that needs to be incorporated into SMF. The appropriate entries have been placed in the milestones where this service is stopped and started. The service scripts are in the correct locations.<br/><br/> Which command incorporates the banner service into SMF? Mark for Review
16. You have booted an x86 based system that has Solaris installed on it and noticed that it is not booting correctly. You think the problem might be that a BIOS setting is not correctly configured.<br/><br/> Which option describes the proper procedure to abort the boot process and reboot into the BIOS configuration menu? Mark for Review
17. In reviewing the following default coreadm settings in the local zone and the following configuration for the global zone:<br/><br/> # coreadm<br/> global core file pattern: /var/core/core.%f.%p<br/> global core file content: all<br/> init core file pattern: core.%f.%p<br/> init core file content: default<br/> global core dumps: enabled<br/> per-process core dumps: enabled<br/> global setid core dumps: disabled<br/> per-process setid core dumps: disabled<br/> global core dump logging: enabled<br/><br/> You know this configuration will cause two core files to be generated and saved when a process in the local zone terminates abnormally.<br/><br/> Which two options describe where these core files would be saved? Mark for Review
18. One step in the Fault Analysis phase is to create a list of facts about a reported system fault. To assist in the collection of these facts, you determine that it is necessary to collect all relevant errors on problematic services using SMF reporting.<br/><br/> You execute the following command on the faulty system:<br/><br/> # svcs -x<br/><br/> Which option describes the output that would be displayed by this command? Mark for Review
19. A customer started to install Oracle, but inadvertently interrupted it. Now the system does not boot and the following error message is displayed:<br/><br/> Rebooting with command: boot<br/> Boot device: disk File and args:<br/> Trap 3e<br/> ok<br/><br/> Which two options could be the cause of a system not being able to reboot? Mark for Review
20. The telnet and ftp service no longer work to a server. Appears service is not available.<br/><br/> What is the process that the svcadm command would need to enable to start the service? Mark for Review
21. The repository database stores information about the state of each service instance including configuration information about the services and system. <br/><br/> Each time the repository is changed, it is backed up before applying any changes issued by the SMF commands and utilities.<br/><br/> Which option describes how the repository database is backed up before changes are applied? Mark for Review
22. A SPARC-based system that has always booted from the network needs to be reconfigured to boot from disk.<br/><br/> You know that the diag-switch? parameter and the boot-device parameter will need to be reset on the system, from the >ok prompt.<br/><br/> What command would reconfigure the system to boot from disk and not from the network? Mark for Review
23. An initial report from a customer states that the patchadd -p command failed during an attempt to install patches on a SPARC system. The command terminated with this error message:<br/><br/> patchadd: Program unexpectedly terminates with signal 11.<br/><br/> and a core dump was created in the /var/sadm/patch directory.<br/><br/> You have asked the customer to run truss to trace the process, the results of which are displayed here:<br/><br/> # truss patchadd<br/> …<br/> open (“/var/sadm/pkg/SUNWremon/pkginfo”, O_RDONLY) = 4<br/> fstat(4, 0xEFFFDA98)= 0<br/> ioctl(4, TCGETA, 0xEFFFDA24)Err#25 ENOTTY<br/> read(4, ” C L A S S E S = S T A T”.., 8192)= 1296<br/> lseek(4, 0xFFFFFF45, SEEK_CUR)= 1109<br/> close(4) = 0<br/> Incurred fault #6, FLTBOUNDS %ps = 0x00014B30<br/> siginfo: SIGSEGV SEGV_MAPPER addr=0x0000000B<br/> Received signal #11, SIGSEGV [default]<br/> siginfo: SIGSEGV SEGV_MAPPER addr=0x0000000B<br/> *** process killed ***<br/><br/> Which option describes what truss reported as to the cause of t
24. You are asked to diagnose the failure of a service that was supposed to start automatically at boot time on a SPARC-based system. <br/><br/> Which command causes SMF to start all services serially and display messages on the console for all services? Mark for Review
25. A network interface is added and manually configured on a system. This new network interface (hme1) reports that it is functional, however a snoop session from another host shows no traffic flowing out of this interface.<br/><br/> To resolve this communication problem, you enter the command:<br/><br/> # ifconfig hme1 plumb<br/><br/> Which two actions would the plumb keyword automatically perform to resolve this type of communication problem? Mark for Review
26. In reviewing information contained in the /var/svc/log/network-ssh:default.log:<br/><br/> [ Jan 26 16:54:28 Leaving maintenance because clear requested. ]<br/> [ Jan 26 16:54:28 Enabled. ]<br/> [ Jan 26 16:54:28 executing start method ("/lib/svc/method/sshd start") ]<br/> Could not load host key: /etc/ssh/ssh_host_rsa_key<br/> Could not load host key: /etc/ssh/ssh_host_dsa_key<br/> Disabling protocol version 2. Could not load hostkey or GSS-API mechanisms<br/> sshd: no hostkeys available — exiting.<br/> [ Jan 26 16:54:28 Method "start" exited with status 1 ]<br/><br/> Which one of the four statements is always true? Mark for Review
27. An x86-based Solaris server has two boot drives installed. You want to add an entry to the GRUB main menu, so that during the boot process, you can select to boot the server from either of the disk drives.<br/><br/> Which two options would add a new entry to the GRUB main menu to allow for the selection of which drive to boot from? Mark for Review
28. A server has been crashing intermittently for unknown reasons. You have asked the customer to start saving the information from the crash in the /var/crash directory (c0t1d0s4) so that you can analyze the problem. The crash dump configuration file has the following entries:<br/><br/> Dump content: all pages<br/> Dump device: /dev/dsk/c0d0s1 (swap)<br/> Savecore directory: /var/crash/<br/> Savecore enabled: no<br/><br/> After the most recent crash, the customer went into the /var/crash directory to look for the dump file but the directory was empty.<br/><br/> Which command is invoked to enable the system to store crash dumps in /var/crash on reboot? Mark for Review
29. A system in temporary storage is moved back into service, but it does not boot.<br/><br/> The cause is traced to the current value of the boot-device which is set to a device that does not exist.<br/><br/> You recommend another power up, and to enter the STOP-N keys from the keyboard before the ok prompt is displayed on the console.<br/><br/> Which option would occur as a direct result of entering the STOP-N keys during power up? Mark for Review
30. A particular host has become unreachable. The following traceroute command is run to identify the p
31. You make a recommendation to an IT manager about a new patch that includes product enhancements for a heavily used application in their data center. The new patch number is 115306-01<br/><br/> The IT manager states that this particular patch might have already been applied, and has the system administrator run a quick check on the server to see if it was applied.<br/><br/> Which two options would quickly report if the patch has already been applied to a system? Mark for Review
32. A critical system fault has just been reported. You are given some written information which describes the initial observations of what appeared to be not working with the system.<br/><br/> You call the customer to set up interviews to acquire additional details about the fault, and to access actual information from files on the system.<br/><br/> Which two file sources would you immediately retrieve information from on this faulty system?<br/><br/> Mark for Review
33. During the bootup of a Solaris x86-based system, when the kernel gains control of the boot process, it will initialize the CPU, memory, and I/O devices. Then, the kernel will mount the root (/) file system on the device as specified by the bootpath property. <br/><br/> Which option identifies the location of where the bootpath property is stored? Mark for Review
34. During a visit at a customer site, some employees share a concern about slow ftp performance on a few of their servers. They explain that file transfers normally complete in 9 or 10 MB per second, but recently the file transfer rate is approximately 20KB per second. <br/><br/> The transfer rate between other systems are not effected, nor are other applications effected.<br/><br/> Which three options could be the cause of the suddenly slow file transfer rates? Mark for Review
35. In an attempt to connect to a server using telnet, you cannot get a login prompt.<br/><br/> From the system console, you display the following information about the telnet service:<br/><br/> fmri svc:/network/telnet:default<br/> name Telnet server<br/> enabled false<br/> state disabled<br/> next_state none<br/> state_time Mon Aug 13 00:24:45 2007<br/> restarter svc:/network/inetd:default<br/> contract_id<br/><br/> Which option describes what you could do to get the telnet service working again? Mark for Review
36. When modifying the boot behavior of an x86-based Solaris server, the modification can be permanent or temporary. <br/><br/> Which option would change the boot behavior temporarily, for a single boot cycle, until the next time the system is booted? Mark for Review
37. System faults can occur in any one of the four system layers: Applications, Operating System, Firmware, and Hardware.<br/><br/> A system fault is reported with the following fault message included:<br/><br/> SUNW-MSG-ID: SMF-8000-9C, TYPE: Defect, VER: 1, SEVERITY: Minor<br/> EVENT-TIME: Wed Feb 29 18:06:33 PST 2012<br/> PLATFORM: SUNW,Sun-Fire-V440, CSN: -, HOSTNAME: mix<br/> SOURCE: svc:/system/svc/restarter:default<br/> EVENT-ID: e3930a15-8bsb-4a3d-c10c-f89976a4bc13<br/> DESC: The restarter for the service placed the service into the maintenance state without explanation.<br/> AUTO-RESPONSE: No automated response.<br/> IMPACT: The service may or may not be running. It will not be<br/> started until the maintenance state is cleared.<br/> REC-ACTION: For services managed by system/svc/restarter:default,<br/> collect data for Service.<br/><br/> Which one of the four basic layers of the system displayed this message? Mark for Review
38. At boot, a SPARC-based system reports this error:<br/><br/> ok boot<br/> Rebooting with command: boot Boot device: disk02 File and args: Evaluating: boot<br/> Can’t open boot device<br/><br/> ok<br/><br/> To address the problem, you need to reset the boot device parameter to its default value. There are other variables that must retain their current values.<br/><br/> Which command would reset only the boot device to its default value? Mark for Review
39. A system hang is a condition in which the system appears to have stopped processing. When a system hangs, the kernel does not question the integrity of system data and the system does not reboot.<br/><br/> On rare occasions a system will hard hang. Hard hangs are typically due to a bug in a device or device driver that causes interrupts to be blocked at a level.<br/><br/> In this situation, you would need to cause the system to panic, which would perform a stack trace, generate a memory dump, and reboot the system.<br/><br/> Which option describes the recommended steps to recover a system from a hard hang and diagnose the probable cause? Mark for Review
40. Only local system files are used during the boot process to configure the system for local Ethernet LAN connectivity.<br/><br/> Immediately after a reboot the ifconfig -a command displays:<br/> lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1<br/> inet 127.0.0.1 netmask ff000000<br/><br/> Which local network configuration file is missing from the output? Mark for Review
41. Your customer reports that one of their x86-based Solaris servers will not boot from the primary boot drive. Because the boot drive has been mirrored, they need to make a change to the server so that the system boots from the alternate boot disk.<br/><br/> Which option describes the procedure to change the default boot disk? Mark for Review
42. A host named client1 is having difficulty communicating with a heavily used server named server6. The server6 system has the ce0, ce1, ce2, and qfe2 interfaces active.<br/><br/> The hosts client1, admin3, and appserv5 are all on a private network and access the ce2 interface on server6 exclusively and cannot access other network interfaces on server6.<br/><br/> The appserv5 and admin3 hosts are currently generating heavy traffic to server6 due to a running batch process.<br/><br/> Which two commands could be run on server6 to look at the network traffic generated between only client1 and server6 to troubleshoot the communication issue? Mark for Review
43. A customer wants to enable a syslog message for all incoming inetd requests.<br/><br/> Which option would capture these incoming requests? Mark for Review
44. The /etc/syslog.conf file has just been manually updated to modify message facility settings.<br/><br/> Which two options would cause the syslogd daemon to reread /etc/syslog.conf to enable the settings, without requiring a reboot of the system? Mark for Review
45. The POST diagnostic tests run to verify that hardware components in the system are functioning properly,<br/><br/> In the POST output, you notice that the environmental probing on a system has detected a component failure.<br/><br/> # tip hardware<br/> connected<br/> Hardware Power ON<br/> CPU = 000.0000.0000.0006<br/> Probing keyboard Done<br/> 3,0><br/> 3,0>@ (#) POST 3.9.29 2012/02/29 16:36<br/> SelfTest Initializaing (Diag Level 10, ENV 00004001) IMPL 001 MASK a0<br/> 3.0>Board 3 CPU FPROM Test<br/> 3,1><br/> SelfTest Intializing (Diag Level 10, ENV 00000000) IMPL 001 MASK ao<br/> …<output truncated>…<br/> 3,0>Board 3 Environmental Probe Test<br/> 3,0> Environmental Probe<br/> 3,0>Error: TEST=Environmental Probe, SUBTEST=Environmental Probe ID=1f.1<br/> 3,0>Component under test: Board 3 System Interrupt<br/> 3,0>Disk Fan failed<br/> 3,0>Checking Power Supply Configuration<br/> 3,0>Power is more than adequate, load 4 ps 3<br/> 3,0><br/> …<output truncated>…<br/> POST COMPLETE<br/> 3,0>Enterin
46. You run the following command:<br/><br/> # ping host2<br/><br/> After waiting a short time, you receive the response:<br/><br/> No answer from host2<br/><br/> Which option would cause this response from the ping command? Mark for Review
47. The hypothesis that is formulated in the diagnosis phase will state the most probable cause of a fault. A hypothesis to be tested following one of these recommended test methodologies: Factual, Experimental, or Assumptive.<br/><br/> You decide to follow the Experimental methodology for a hypothesis formulated for a reported fault. <br/><br/> Which option describes the action to be performed in the Experimental approach? Mark for Review
48. The customer’s system is currently running at the multi-user-server milestone. They need to install operating system patches on the server and it is required that all users be logged off from the system. Therefore, you need to bring the system down to the single-user milestone. <br/><br/> Which two options would you use to transition the system from the multi-user-server milestone to the single-user milestone? Mark for Review
49. In the Solaris Management Facility, each package delivering service does so via a “service manifest”.<br/><br/> You will encounter circumstances where you may want to place a legacy RC script under SMF control as a service too.<br/><br/> Which directory is the service manifest located? Mark for Review
50. A user needs more storage to store application data. With the system powered off, a new SCSI disk is physically attached into the existing SCSI chain. The system is booted using a reconfiguration boot.<br/><br/> The device name for the new SCSI disk is stored in these four locations:<br/> /dev/dsk<br/> /devices<br/> /dev/rdsk<br/> /etc/path_to_inst<br/><br/> Now you need to check the physical path where the address can be found.<br/><br/> What is the directory that contains the physical path? Mark for Review
51. Sometimes it is not possible to perform a reconfiguration boot on a system. In these situations the devfsadm command is used. <br/><br/> This command attempts to load every driver in the system and attach all possible device instances.<br/><br/> For new devices that it finds, the devfsadm command creates the appropriate physical device files in the /devices directory and symbolic links in the /dev directory.<br/><br/> When it becomes necessary for unreferenced symbolic links and device instance for any devices no longer attached to the system to be removed, a command can be run to invoke cleanup routines.<br/><br/> Which command would invoke these cleanup routines on the system? Mark for Review
52. The customer wants to know what command could be used on their Solaris servers to display the output of the current system definition; listing all hardware devices, pseudo devices, system devices, and loadable modules.<br/><br/> Which command displays this output by analyzing the contents of physical and virtual memory? Mark for Review
53. You notice that a server is creating core files in random directories and that these files are quite large and use up valuable disk space. When displaying the core file configuration on the server, the following information is presented:<br/><br/> global core file pattern:<br/> global core file content: default<br/> init core file pattern: core<br/> init core file content: default<br/> global core dumps: disabled<br/> per-process core dumps: enabled<br/> global setid core dumps: disabled<br/> per-process setid core dumps: disabled<br/> global core dump logging: disabled<br/><br/> Which option would configure the server so only global core files would be saved and generated in the /var/core directory? Mark for Review
54. Consider a report from a customer concerning noticeable performance degradation on a system. You suspect an I/O bottleneck might be responsible and select to run the iostat -xt command for a report on CPU and I/O statistics.<br/><br/> # iostat -xt<br/> extended device statistics tty<br/> device r/s w/s kr/s kw/s wait actv svc_t %w %b tin tout<br/> dad0 3.1 2.1 8.0 4.2 3.0 4.0 65.8 4 9 2 2<br/> Dad1 4.0 3.1 9.3 6.7 3.2 3.0 22.3 5 8<br/> fd0 2.0 1.8 6.0 6.0 2.1 3.0 33.0 8 7<br/> sd0 4.3 4.1 8.0 5.0 4.1 2.0 46.0 8 8<br/> nfs1 3.3 3.0 9.0 6.0 3.7 4.0 39.7 7 6<br/><br/> The iostat command generates data supporting a hypothesis that the system has an I/O bottleneck. When values from the following 3 columns: kr/s, kw/s, and svc_t are recorded it is apparent the cause of degradation is between two devices.<br/><br/> Which two devices would be responsible for the performance degradation? Mark for Review
55. While diagnosing peripheral devices using the probe-scsi and probe-scsi-all commands, the SCSI devices on two systems are not detected. These devices are in fact physically attached to the on-board SCSI controllers. <br/><br/> What step would you take to correct this reported problem with the SCSI devices? Mark for Review

Posted in Exams | Tagged , , , , , , , | 13 Comments

Prepare Oracle Linux or Redhat Linux for Oacle Software

Oracle released an amazing rpm for Linux 5.x and 6.x ,that will do all pre installation tasks to be done on Oracle Linux as well as Redhat Linux.

for both linux(5.x and 6.x) first build your local repository using linux installation image (http://solarisway.wordpress.com/2013/04/22/build-oracle-linux-6-local-repository/ )

for Oracle Linux 5.x :

first get full package name by this command :
# yum list all | grep -i oracle-validated 
output: oracle-validated.x86_64                  1.1.0-17.el5                  installed
# yum install  oracle-validated.x86_64

for Oracle Linux 6.x :

first get full package name by this command :
# yum list all | grep -i oracle-rdbms-server 
then use yum install pkg_name_you_get from_previous_command

 

Posted in Uncategorized | Tagged , , , , , , , , , , , | Leave a comment

ERP GO-Live Consideration

The old saying, “nothing happens until the deadline gets close” certainly applies to ERP (Enterprise Resource Planning) projects. In the case of ERP, the deadline is called “Go-Live” meaning the new system is turned on and the old system turned off or at least idled. Unfortunately, many Go-Live dates become known as the Day of Disaster. Follow these guidelines to make Go-Live survivable.

Training Early and Training Late

Demand your consultants helping with your ERP project have completely separate teams for training and implementation. Letting the team leads “manage” training as one of their bullet points guarantees problems on Go-Live.

 

Related: The Most Important Thing About ERP

 

Training for end user leaders begins with the first demonstration of the first potential ERP vendor. You can never have too much end user feedback during an ERP project, because those end users, or the end user representative, know they are the ones who will have to live with the system on a daily basis.

 

The majority of the users should be trained the month before Go-Live. Too much training too soon just means the refresher memos at Go-Live will be replaced by full training sessions. When the end users know they’ll be using the new ERP system in a matter of weeks, more attention will be paid during training.

 

End user team leaders, however, should be trained constantly during the customization process. Every workflow change, each new screen item, and each new report should be taught to the team leaders, so they can give their feedback and verify the final training classes will be up to date.

 

Incorporate Changes from User Acceptance Testing

UAT, or User Acceptance Testing, is a critical step in all ERP projects. Too often, however, UAT becomes just a check-list item to be rushed through. When this happens, and UAT feedback is not incorporated into the ERP customization process, Go-Live bombs because the user’s contributions were ignored.

 

This UAT dismissal causes two major problems. First, the users expect one thing and get another, slowing their work. Second, they then realize their comments and demands for workflow improvements were ignored, and they can imagine the system will only get worse going forward. Complaints will fly up the management chain, meetings will be called, and real work will grind to a halt.

 

Go-Live is not the time for surprises. Aggravating entire user departments leads to far more extra work than making the changes they asked for during UAT.

 

Three is the Magic Number

Every project needs deadlines, and ERP projects are certainly no exception. Don’t tell anyone, but expect to have two false Go-Live dates before you finally commit to the complete cutover.

 

No ERP project can Go-Live on the first date set, because that date was set at the beginning of the project and based on the vendor’s promises of how smoothly everything will run. In reality, your project will take, typically, twice as long, and cost twice, as much as first estimated.

 

Go-Live project date Number One will come and go. The second Go-Live date will be about 50 percent later than the first date. So if your project was supposed to take a year and end in October, the next Go-Live will be about April the next year.

 

From Inside CRM: CRM And The Long-Cycle Sell

 

The third Go-Live date, following our example above, will be either September or November. This will be the real deadline, and Go-Live will function more or less correctly. Why? Because your company will have had the right amount of time to make the customizations and the Go-Live process will have been partially tested twice.

 

A third Go-Live date is a successful Go-Live date

 

About the Author

James Gaskin writes books, articles, and jokes about technology, and consults for those who don’t read his books and articles. Email him at james@gaskin.com.

 

Original : http://it.toolbox.com/blogs/inside-erp/avoiding-erp-golive-disasters-58074

 

Posted in General Knowledge | Tagged , , , , , , , | Leave a comment

How to Publish your local solaris 11 repository over http

Earlier I mentioned how to build your local repository link , now am going to publish this repository over http,so other systems on network can access this repository

given that:

port to be used is: 10081

the installed Reporsitory path is : /rpool/Solaris_Image_Repo

HostName: octopus

name of smf : solarisrepo

here is list of commands to be executed:

svccfg -s pkg/server add solarisrepo
svccfg -s pkg/server:solarisrepo addpg pkg application
svccfg -s pkg/server:solarisrepo setprop pkg/port=10081
svccfg -s pkg/server:solarisrepo setprop pkg/inst_root=/rpool/Solaris_Image_Repo
svccfg -s pkg/server:solarisrepo addpg general framework
svccfg -s pkg/server:solarisrepo addpropvalue general/complete astring: solarisrepo
svccfg -s pkg/server:solarisrepo addpropvalue general/enabled boolean: true
svccfg -s pkg/server:solarisrepo setprop pkg/readonly=true
svccfg -s pkg/server:solarisrepo setprop pkg/proxy_base = astring: http://octopus:10081
svccfg -s pkg/server:solarisrepo setprop pkg/threads = 200
svcadm refresh application/pkg/server:solarisrepo
svcadm enable application/pkg/server:solarisrepo

Posted in repository, Solaris 11 | Tagged , , , , , | Leave a comment