iPad2 : Malaysia Price List


iPad2 : Malaysia Launching on 29th Apr 2011
source: www.machines.com.my

How To Add FaceBook Like Button For Blogger (BLOGSPOT)

  1. Goto the Facebook developers page to customize the Like button. The button can be customized to be displayed as “Like” or “Recommend
  2. After customizing the button, click on the Get Code button to get the code to be inserted into the template.
  3. Select the iframe code.
  4. Under your Blogger account, go to Design -> Edit HTML and Click on Expand Widget Templates.
  5. Before making any changes, Download Full Template as a backup (in case it doesn't go as expected you have a valid backup)
  6. Search for the line “
    ” or “
    ” in your template.
  7. Insert the iFrame code under that line (you can customize the height if you think the gap is too much), i use 30px on my site.
  8. Save template and View your blog.

iPhone 4 tripod mount

Glif for iPhone 4

The Glif is a simple iPhone 4 accessory with two primary functions: mounting your iPhone onto a tripod and propping up your iPhone at various angles. The Glif is made from recyclable rubberized plastic that feels great and plays nice with your phone, and is small enough to fit snugly in your pocket, purse, or backpack. It has a 1/4"-20 thread that fits any standard tripod or camera mount. The Glif is designed to work with a "naked" (caseless) iPhone 4 and is compatible with both CDMA and GSM models. Designed and manufactured in America. 

Not only did Tom and Dave invent a fantastic accessory, but they have a story that is just as amazing. After designing the Glif, they put it up on Kickstarter in an effort to raise the $10,000 needed to put the Glif into production. The design was so popular, they received almost $140,000 in pledges! Incredible. The Glif is now in full scale production and available to order for $20.

P/S: Another amazing startup, good invention brings you good money.  Visit http://www.theglif.com/products/glif-for-iphone-4 to but this cool tripod !

SORT tools for NetBackup users

SORT provides information on whether your environment is compatible with a NetBackup installation or upgrade, and gives you links to the latest documentation and software.

This portals provide Installation and Upgrade Checklist and Custom Reports for your environment for NBU & Storage Foundation.

Installation and Upgrade Checklist NBU Sample:
https://sort.symantec.com/checklist/install/nbu_sample_unix

Custom reports give you server-specific recommendations for installing and upgrading Symantec enterprise products, managing risks, and tracking product licenses.
Installation and Upgrade Report Sample:
https://sort.symantec.com/sample/install_and_upgrade_nbu

SORT LINK:https://sort.symantec.com/netbackup

Microsoft Visio Open Source/Free Alternative

If you don't have MS Visio like me don't worry, here is the list of alternative open source or free that you can download it legally and use it.


http://dia-installer.de/index.html.en
http://www.ariscommunity.com/categories/aris-express
http://www.edrawsoft.com/download.php
http://meesoft.logicnet.dk/DiagramDesigner/
http://www.nevron.com/Products.DiagramDesigner.Overview.aspx
http://www.gliffy.com/


From the website looks, i like to try gliffy as it is online so i don't have to install anything on my laptop.

sQew notepad++ in updating phase

I have a notepad called cfgadm close to 1000 line combining all commands that i use everyday, i'll try to update it everyday when i have spare time so i don't have to open the notepad again and i can access it anywhere.  

It only has these entries for Solaris, HPUX, Linux ,Netbackup, AVAMAR, Backup Exec, Networker, Brocade , NetApp, Symmetrix.  This enough isn't it 

Cheers!

:_)

NETBACKUP BPRDREQ COMMAND

After making any changes to the bp.conf file on a VERITAS NetBackup (tm) server, this command can be used to reread the configuration without having to stop and restart the NetBackup daemons. This command located in:

/usr/openv/netbackup/bin/admincmd/bprdreq --
bprdreq: unrecognized option --
bprdreq: [-alive] [-logstatus] [-terminate] [-setverbose]
     [-M ]
     [-rereadconfig] [-master] [-startsched]
     [-recyclelogs ] [-wakeup ]
     [-recyclejobs] [-verbose] [-suspend_cancel_all]
         [-suspend_cancel_selective]
How to use it to reload the bp.conf configurations file:


/usr/openv/netbackup/bin/admincmd/bprdreq -rereadconfig

 
Note: This command will only detect and incorporate some bp.conf configuration changes. Many NetBackup configuration changes, such as adding or changing a SERVER entries, MEDIA SERVER entries, require a complete stop and start of the NetBackup daemons. If the bp.conf configuration change does not take effect, then the NetBackup daemons must be restarted. But usually this command works if you change the VERBOSE setting in bp.conf in troubleshooting process.




Solaris 9 / 8: Network Link & Mode Status

ndd command applied to Solaris 8 and Solaris 9, for Solaris 10 there's much more easier method which is using dladm commad.

Network configuration and checking using solaris.

Displays all command options for ndd
#ndd /dev/bge \?     
Choose the interface instance:
#ndd -set /dev/bge instance 0

Verify link status
# ndd /dev/bge0 link_status
1

link status 0 = Link Down
link status 1 = Link Up

Verify link speed
# ndd /dev/bge0 link_speed
1

link speed 0 = 10 Mbps
link speed 1 = 100 Mbps
link speed 1000 = 1 Gbit

Verify link mode
# ndd /dev/bge0 link_mode
1

link mode 0 = Half-Duplex mode (FDX)
link mode 1 = Full-Duplex mode (HDX)

Verify NIC configuration
# ndd -get /dev/bge0 \?
adv_1000fdx_cap (read and write)
adv_1000hdx_cap (read and write)
adv_100fdx_cap (read and write)
adv_100hdx_cap (read and write)
adv_10fdx_cap (read and write)
adv_10hdx_cap (read and write)
adv_autoneg_cap (read and write)
adv_pause_cap (read and write)
adv_asym_pause_cap (read and write)
link_status (read only)
link_speed (read only)
link_duplex (read only)
loop_mode (read only)

To query a different NIC, such as hme1, set the "instance" to 1, and then perform the link_mode and link_speed queries above.
# ndd -set /dev/hme instance 1

Note: the ndd commands above must be run as root. Otherwise, you will receive errors such as "couldn't push module 'hme0', No such device or address."



How to Add Facebook, Twitter and other social bookmar Share Button in Blogger

Notice the social sharing button on top of my page? This is the most easiest and coolest sharing button i have found so far. To get it Go to this page: http://secure.sharethis.com/publishers/get-sharing-button and just follow the steps


Netbackup VxLog Configurations

Verify current configurations of the Veritas Unified Logs (VxLog)
bash-3.00# /usr/openv/netbackup/bin/vxlogcfg -p 51216 -o Default -l
Configuration settings for originator 112, of product 51216...
LogDirectory = /usr/openv/logs/
DebugLevel = 1
DiagnosticLevel = 1
DynaReloadInSec = 0
LogToStdout = False
LogToStderr = False
LogToOslog = False
RolloverMode = LocalTime
LogRecycle = True
MaxLogFileSizeKB = 51200
RolloverPeriodInSeconds = 43200
RolloverAtLocalTime = 0:01
NumberOfLogFiles = 14
OIDNames =
L10nLib = /usr/openv/lib/libvxexticu.so.1
L10nResourceDir = /usr/openv/resources
SyslogIdent = VRTS-NB
SyslogOpt = 0
SyslogFacility = LOG_LOCAL5
LogFilePermissions = 664
Set the maximum logging level for all daemons run:

/usr/openv/netbackup/bin/vxlogcfg -a -p 51216 -o Default -s DebugLevel=5 -s DiagnosticLevel=5

Return to the default level of logging for all daemons run:
/usr/openv/netbackup/bin/vxlogcfg -a -p 51216 -o Default -s DebugLevel=1 -s DiagnosticLevel=1

Disable logging for all daemons run:
/usr/openv/netbackup/bin/vxlogcfg -a -p 51216 -o Default -s DebugLevel=1 -s DiagnosticLevel=0

Verify it again:
/usr/openv/netbackup/bin/vxlogcfg -p 51216 -o Default -l


Recycling unified log files
/usr/openv/netbackup/bin/vxlogcfg -a -p 51216 -o Default -s LogRecycle=true

Configure the NumberOfLogFiles setting.  The following example will keep 14 days worth of logs when using vxlogmgr to delete log files
/usr/openv/netbackup/bin/vxlogcfg -a -p 51216 -o Default -s NumberOfLogFiles=14

Manually delete unified log files (this will delete vxlog based on NumberofLogFiles setting) if older than that:
/usr/openv/netbackup/bin/vxlogcfg vxlogmgr -a –d
Manually delete unified log files based on criteria , date or originator ID:
Delete all Unified log files created before midnight on 10/20/2010:
# vxlogmgr --del -e '10/20/2010 00:00:00 AM'
The following command will delete all Unified log files for the NetBackup product created on and before 10/20/2010.
# vxlogmgr --del -p 51216 -e '10/20/2005 23:59:59 PM'
The following command will delete all Unified log files for the NetBackup nbpem daemon created before 1PM on 10/20/2010.
# vxlogmgr --del -p 51216 -o 116 -e '10/20/2010 01:00:00 PM'

Directories used with Unified Logging
The /usr/openv/logs directory on the Master/EMM server stores log files.  Unlike Legacy logging, no directories need to be created for Unified logging to take effect.  By default logging is enabled at the lowest level and can be adjusted as needed using the vxlogcfg command.  

The format for the file names stores in the /usr/openv/logs directory is as follows:
----.log

The for NetBackup is 51216.  A list of Product Id's can be found in the /etc/vx/vrtslog.conf file.
The will indicate what process the log is for.  A list of Originator Id's can be found in the /usr/openv/netbackup/nblog.conf file.
The indicates the host ID of the machine.
The indicates the date of the log and is in YYMMDD format.
The is used to rotate the logs to control log size and disk space usage.
Example:
bash-3.00# ls -lrth
total 80924220
drwxr-xr-x   2 root     root          96 Aug 20  2010 lost+found
-rw-rw-r--   1 root     root        5.2K Apr  2 22:44 51216-166-2234025388-110402-0000000000.log
-rw-rw-r--   1 root     root        153M Apr  3 23:46 51216-226-2234025388-110403-0000000000.log
-rw-rw-r--   1 root     root         12M Apr  4 00:00 51216-116-2234025388-110403-0000000000.log
-rw-rw-r--   1 root     root        1.6M Apr  4 00:00 51216-222-2234025388-110403-0000000000.log
-rw-rw-r--   1 root     root         48M Apr  4 00:00 51216-272-2234025388-110403-0000000000.log
-rw-rw-r--   1 root     root        332M Apr  4 00:00 51216-132-2234025388-110403-0000000000.log
-rw-rw-r--   1 root     root        387M Apr  4 00:00 51216-117-2234025388-110403-0000000000.log
-rw-rw-r--   1 root     root        340M Apr  4 00:00 51216-118-2234025388-110403-0000000000.log
-rw-rw-r--   1 root     root        2.1G Apr  4 00:00 51216-111-2234025388-110403-0000000000.log
-rw-rw-r--   1 root     root        235M Apr  4 23:55 51216-226-2234025388-110404-0000000000.log
-rw-rw-r--   1 root     root         13M Apr  4 23:59 51216-116-2234025388-110404-0000000000.log

Commands used with Unified Logging
There are three primary commands used with Unified logging.  These are:
vxlogview - This command is used to view the Unified log files.  The vxlogview command allows the administrator to search by process (also known as an originator), Job ID, timeframe, etc. to display only the log entries needed to help isolate a problem.
·     vxlogcfg - This command is used to configure Unified logging settings such as how many days to keep logs, when to rotate log files as well as other settings.
·     vxlogmgr - This command is used to manage Unified log files and can be used to move or delete logs.  This can also be used to upload logs to a directory which can then be sent to Symantec Enterprise Technical Support for analysis.

Solaris 10 : Network link status

Lists all the network interfaces with Link Status (UP/DOWN), current speed (Mbps) and Mode Duplex (Half/Full)
bash-3.00# dladm show-dev
bge0            link: unknown   speed: 0     Mbps       duplex: unknown
bge1            link: unknown   speed: 0     Mbps       duplex: unknown
nxge0           link: up        speed: 10000 Mbps       duplex: full
nxge1           link: down      speed: 0     Mbps       duplex: unknown
nxge2           link: up        speed: 10000 Mbps       duplex: full
nxge3           link: down      speed: 0     Mbps       duplex: unknown


MTU and the VLAN tagging detail
bash-3.00# dladm show-link
bge0            type: non-vlan  mtu: 1500       device: bge0
bge1            type: non-vlan  mtu: 1500       device: bge1
nxge0           type: non-vlan  mtu: 1500       device: nxge0
nxge1           type: non-vlan  mtu: 1500       device: nxge1
nxge2           type: non-vlan  mtu: 1500       device: nxge2
nxge3           type: non-vlan  mtu: 1500       device: nxge3

Network traffic statistics including Input/Output packets & errors

bash-3.00# dladm show-dev -s
                ipackets  rbytes         ierrors opackets        obytes      oerrors
bge0            0         0           0       0         0           0
bge1            0         0           0       0         0           0
nxge0           1158473674053083230732460       728537323272594316715650
nxge1           0         0           0       0         0           0
nxge2           28919953  1741794926  0       790379298980418528244420
nxge3           0         0           0       0         0           0



Displays network traffic statistics (in this example every 5 seconds)


bash-3.00# dladm show-link -s -i 5 nxge0
                ipackets  rbytes         ierrors opackets        obytes      oerrors
nxge0           1158478616053083356284770       728538625972594339077740
                ipackets  rbytes         ierrors opackets        obytes      oerrors
nxge0           1678      206109      0       464       89159       0
                ipackets  rbytes         ierrors opackets        obytes      oerrors
nxge0           1369      128339      0       373       51196       0
                ipackets  rbytes         ierrors opackets        obytes      oerrors
nxge0           1926      1213927     0       618       79638       0
                ipackets  rbytes         ierrors opackets        obytes      oerrors
nxge0           1315      154370      0       400       64380       0



dladm is the admin utility for Data-Link Interface which helps to display informarthe like Link Status (UP/DOWN), Speed, Duplex, MTU, VLAN Tagged and crucially statistics of network traffic on each of the interfaces historically as well as in real time. dladm can also configure and admin Link Aggregation on multiple NICs which we will not focus here.

BASH: unary operator expected

Well, this is a very good reference if you face that error in your bash script:

http://linuxcommand.org/wss0100.php