Archive

Archive for August, 2011

hp openview monitoring solution – enable disable policies

August 18th, 2011 2 comments

This document is part of the “ESM – How To” Guides and gives instructions on how to Disable and Enable monitoring policies on Servers managed by Openview for Unix (OVOU), Openview for Windows (OVOW) and opsview for blackout or maintenance purposes.

Monitoring disabling / enabling process may differ depending what solution is used for monitoring the servers involved in the DR test.

This document list procedures to disable and enable monitoring in different monitoring solutions.

1.Monitoring changes to servers monitored in OVOU(Unix/Linux)
1.1. Disabling monitoring templates
Disable monitoring templates on the monitored server.
Logon to server and execute following command as root user
/opt/OV/bin/opctemplate –d -all

Above command will disable all monitoring policies on the server.

Now disable openview agent heartbeat polling from Openview servers(Server Side):
Execute following commands to disable OVO agent heartbeat polling
/opt/OV/bin/OpC/opchbp –stop <name of server>

1.2. Enabling monitoring templates
Enable monitoring templates on the monitored server.
Logon to server and execute following command as root user
/opt/OV/bin/opctemplate –e -all

Above command will enable all monitoring policies on the server.

Now enable openview agent heartbeat polling from Openview servers(Server Side):
Execute following commands to enable OVO agent heartbeat polling
/opt/OV/bin/OpC/opchbp –start <name of server>

2.Disabling monitoring for servers monitored in OVOW(Windows)
Firstly, access the Web Console of OV:

http://yourserver/OVOWeb/

2.1 Disabling policy(s)
Select the Policies Icon on the left hand panel and then expand the Nodes by selecting the select the plus next to the nodes in the center panel. Once you have located the server that you want to disable policies on select it and the policy inventory is shown in the right hand panel. The policies to be disabled are selected using the check boxes next to the policy name, or to disable all the policies select the check box next to the name, and this will select all the policies. Then select the Disable tab and the policies will be disabled, the display will show Active and pending until all the policies have been disabled, use the Refresh tab to update the screen.

2.2 Enabling policy(s)
Please refer to 2.1 Disabling policy(s)

3.Monitoring changes for servers monitored in Opsview(Nagios)
Log on opsview through web, search and locate the host you want operate on, Click on the grey arrow on the right side of the node and choose “Schedule downtime”. Now you can choose the start and End time for the downtime for this server.

Categories: HA & HPC Tags:

obu firmware patching for sun T2000/T5120/T5220 servers OBP patching

August 17th, 2011 No comments

Don’t know why there’s some formatting errors with this article, you can download the PDF version here: obu firmware patching for sun T2000-T5120-T5220 servers OBP patching

You can download Sun_System_Firmware-6_7_11-Sun_Fire_T2000 from support.oracle.com or here(For SunFireT2000)

Categories: Servers Tags:

hpux san storage configure howto steps for veritas vxvm

August 15th, 2011 No comments

1/             Run  ioscan -fnkC disk  & dump to a file

2/            run ioscan no options and dump to a file

3/            run ioscan -fnkC disk  and check for disk

devices that are not claimed.

4/            run  insf -ev to allocated the new entries to /dev/dsk/xxxxx

5/            vxdisksetup  / vxdiskadm to setup disks

6/           vxdctl enable

7/            vxvm – add disks to dg etc

Categories: Hardware, Storage Tags:

check solaris 10/09 version info – update 6/7/8/9

August 4th, 2011 No comments

Using uname -a you can get the basic information currently available from the solaris system. For example, on my server:
root@beisoltest02 / # uname -a
SunOS beisoltest02 5.10 Generic_144489-12 i86pc i386 i86pc
However, sometimes you need check the “update version” of solaris. For example, in oracle documentation, your machine should has solaris 10 update 6 or higher if you want to install oracle 11 on your solaris host. So how can we check the “update version” of solaris?

Step 1:

#cat /etc/release
Solaris 10 10/08 s10x_u6wos_07b X86 #it’s update 6!
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 27 October 2008
Step 2:(more detailed info)

Compare solaris version history below:

Notable features of Solaris currently include DTraceDoorsService Management FacilitySolaris ContainersSolaris Multiplexed I/OSolaris Volume ManagerZFS, andSolaris Trusted Extensions.

Updates to Solaris versions are periodically released, such as Solaris 10 10/09.

In ascending order, the following versions of Solaris have been released:

Colour Meaning
Red Release no longer supported
Green Release still supported
Blue Future release
Solaris version SunOS version Release date End of support[39] Major new features
SPARC x86
1.x 4.1.x 1991–1994 - September 2003 SunOS 4 rebranded as Solaris 1 for marketing purposes. See SunOS article for more information.
2.0 5.0 June 1992 - January 1999 Preliminary release (primarily available to developers only), support for only the sun4c architecture. First appearance of NIS+.[40]
2.1 5.1 December 1992 May 1993 April 1999 Support for sun4 and sun4m architectures added; first Solaris x86 release. First Solaris 2 release to support SMP.
2.2 5.2 May 1993 - May 1999 SPARC-only release. First to support sun4d architecture. First to support multithreading libraries (UI threads API in libthread).[41]
2.3 5.3 November 1993 - June 2002 SPARC-only release. OpenWindows 3.3 switches from NeWS to Display PostScript and drops SunView support. Support added for autofs and CacheFSfilesystems.
2.4 5.4 November 1994 September 2003 First unified SPARC/x86 release. Includes OSF/Motif runtime support.
2.5 5.5 November 1995 December 2003 First to support UltraSPARC and include CDE, NFSv3 and NFS/TCP. Dropped sun4 (VMEbus) support. POSIX.1c-1995 pthreads added. Doors added but undocumented.[42]
2.5.1 5.5.1 May 1996 September 2005 Only release to support PowerPC platform; Ultra Enterprise support added; user and group IDs (uid_t, gid_t) expanded to 32 bits,[43] also included processor sets[44] and early resource management technologies.
2.6 5.6 July 1997 July 2006 Includes Kerberos 5, PAMTrueType fonts, WebNFS, large file support, enhanced procfs. SPARCserver 600MP series support dropped.[45]
7 5.7 November 1998 August 2008 The first 64-bit UltraSPARC release. Added native support for file system meta-data logging (UFS logging). Dropped MCA support on x86 platform. Last update was Solaris 7 11/99.[46]
8 5.8 February 2000 March 2012 Includes Multipath I/OSolaris Volume Manager,[47] IPMP, first support for IPv6 and IPsec (manual keying only), mdb modular debugger. Introduced Role-Based Access Control (RBAC); sun4c support removed. Last update is Solaris 8 2/04.[48]
9 5.9 May 28, 2002 January 10, 2003 October 2014 iPlanet Directory Server, Resource Manager, extended file attributesIKE IPsec keying, and Linux compatibility added; OpenWindows dropped, sun4d support removed. Most current update is Solaris 9 9/05.
10 5.10 January 31, 2005 - Includes x86-64 (AMD64/Intel 64) support, DTrace (Dynamic Tracing), Solaris ContainersService Management Facility (SMF) which replaces init.d scripts,NFSv4Least privilege security model. Support for sun4m and UltraSPARC I processors removed. Support for EISA-based PCs removed. Adds Java Desktop System (based on GNOME) as default desktop.[49]

  • Solaris 10 1/06 (known internally as “U1″) added the GRUB bootloader for x86 systems, iSCSI Initiator support and fcinfo command-line tool.
  • Solaris 10 6/06 (“U2″) added the ZFS filesystem.
  • Solaris 10 11/06 (“U3″) added Solaris Trusted Extensions and Logical Domains.
  • Solaris 10 8/07 (“U4″) added Samba Active Directory support,[50] IP Instances (part of the OpenSolaris Network Virtualization and Resource Control project),iSCSI Target support and Solaris Containers for Linux Applications (based on branded zones), enhanced version of the Resource Capping Daemon (rcapd).
  • Solaris 10 5/08 (“U5″) added CPU capping for Solaris Containers, performance improvements, SpeedStep support for Intel processors and PowerNow!support for AMD processors [51][52]
  • Solaris 10 10/08 (“U6″) added boot from ZFS and can use ZFS as its root file system. Solaris 10 10/08 also includes virtualization enhancements including the ability for a Solaris Container to automatically update its environment when moved from one system to another, Logical Domains support for dynamically reconfigurable disk and network I/O, and paravirtualization support when Solaris 10 is used as a guest OS in Xen-based environments such as Sun xVM Server.[53]
  • Solaris 10 5/09 (“U7″) added performance and power management support for Intel Nehalem processors, container cloning using ZFS cloned file systems, and performance enhancements for ZFS on solid-state drives.
  • Solaris 10 10/09 (“U8″) added user and group level ZFS quotas, ZFS cache devices and nss_ldap shadowAccount Support, improvements to patching performance.[54]
  • Solaris 10 9/10 (“U9″) added physical to zone migration, ZFS triple parity RAID-Z and Oracle Solaris Auto Registration.[55]
11 Express 2010.11 5.11 November 15, 2010 - Adds new packaging system (IPS=Image Packaging System) and associated tools, Solaris 10 Containers, network virtualization and QoS, virtual consoles, ZFS encryption and deduplication, updated GNOME. Removes Xsun, CDE.[56]

A more comprehensive summary of some Solaris versions is also available.[58] Solaris releases are also described in the Solaris 2 FAQ.[59]