Sunday, August 9, 2009

NTP Server on UNIX flavours

Below is how to enabling Network Time Protocol Daemon (ntpd) on your linux box (RedHat, CentOS, Fedora)

Make sure you already install ntp package, if not type
CODE:
# yum install ntp


Connecting your linux box to NTP Server. because I am in Indonesia, I am using ntp.kim.lipi.go.id
CODE:
# vi /etc/ntp.conf
server ntp.kim.lipi.go.id
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org



If you want to provide other PCs in your network synchronize their time on to NTP Server add this line, so other PCs dont need consume bandwidth.

CODE:
# vi /etc/ntp.conf
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap



Enabling ntpd run everytime your linux start
CODE:
# chkconfig ntpd on


Start, stopping ntpd
CODE:
# service ntpd start
# service ntpd stop
# service ntpd restart



Verifying ntpd running
CODE:
# pgrep ntpd


Doing An Initial Synchronization. Must be done when ntpd stop
CODE:
# ntpdate -u ntp.kim.lipi.go.id


Determining If NTP Is Synchronized Properly
CODE:
# ntpq -p

Monday, July 27, 2009

FWSM Upgarde

Step 1 Make the new software image available on a TFTP server, or make the MSFC a TFTP server by using this command:

msfc(config)# tftp-server bootflash:image name 

Step 2 If the MSFC is the TFTP server, make sure you have a VLAN interface on the MSFC reachable from the module. For example:

a. On the MSFC, enter these commands:

router(config)# interface Vlan30 
router(config)# description to_fwsm_vlan_30 
router(config)# ip address 10.20.30.2 255.255.255.0 
router(config)# no ip redirects 

b. On the module, enter these commands:

nameif vlan30 inside security100 
... 
ip address inside 10.20.30.5 255.255.255.0 

c. From the module make sure that you can ping the MSFC, by entering this command:

FWSM# ping 10.20.30.2 
10.20.30.2 response received -- 0ms 
10.20.30.2 response received -- 0ms 
10.20.30.2 response received -- 0ms 

Step 3 From the module enter the copy tftp flash command:

FWSM# copy tftp flash 
Address or name of remote host [127.0.0.1]? 10.20.30.2 
Source file name [cdisk]? c6svc-fwm-k9.1-1-0-207.bin 
copying tftp://10.20.30.2/c6svc-fwm-k9.1-1-0-207.bin to flash:image 
[yes|no|again]?yes 

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 

The output shows the MSFC as the TFTP server.

Step 4 Reload the module by entering this command:

FWSM# reload

Tuesday, June 23, 2009

Reset all crawled content

To Resolve this issue you need to Reset all crawled content. To do this perform the following steps:

  1. Open SharePoint Central Administration.
  2. On the top nav bar, click Application Management.
  3. On the Application Management page, click Create or configure this farm’s shared services.
  4. On the Manage this Farms Shared Services page, click the SSP whoes administration page you want to open.
  5. On the Shared Services Administration Home page, click Search settings in the Search section.
  6. On the Configure Search Settings page, click Reset all crawled content in the Crawl Settings section.
  7. By default, the Deactivate search alerts during reset check box is selected on the Reset Crawled Content page. This option prevents users who have search alerts configured from being sent unnecessary e-mail messages when the crawled content is reset. Click to clear this check box if you do not want to disable alerts during the reset operation.
  8. Click Reset Now.
  9. In the message box, click OK to confirm that you want to reset the search content index.
  10. Go back to the Shared Services Administration Home page, click Search settings in the Search section.
  11. Click Content sources and crawl schedules.
  12. Drop the menu down for the Source you want to crawl, click Start Full Crawl.