Sunday, December 27, 2009

Port Forwarding Rule Setup in Actiontec router (VZ WIRELESS ROUTER)

First of all login in router access page; most often it is http://92.168.1.1

In my case

public IP: 72.B.C.D (I haven't provied my public ip for my privacy)
private IP: 192.168.1.x

Step: 1 Click on Firewall Setting--> Port Forwarding --> New Entry


step: 2 Give the device name (LAN device) where your outer world need to have access; for e.g Web server in LAN hosted on computer named as 'windows' with IP add 192.168.1.16



step 3: We selected "Forward to Port : User Defined " so that we can customize the way (I mean the Port) we can access LAN service from outside world. I named my WebServer application as DevApp.



step 4: Now configure the service/Application. The simplest rule would be: Any one can access through the my defined Port (say 8081) using TCP protocol



step 5: now we should select OK



step 6: Forward to Port : the port where my web server is listening. In my case my web server is listening at 192.168.1.16:8081 (FYI - Listen port can be changed in httpd.conf e.g Listen 192.168.1.16:8081)



step 7:




step 8: Once the rule is defined, it should be refreshed in router or applied.



step 9: Click Refresh/Apply

Sunday, October 11, 2009

My Guest OS cannot ping My Host OS in Virtual Box

The default networking setup for VirtualBox is NAT, which means basically that your host computer is acting like a router, creating a virtual network for your virtual machine to connect to. Naturally, this network has it's own IP scheme.

I have a router(gateway) 192.168.1.1 (255.255.255.0)
host computer 192.168.1.5

I was trying to manually set up my guest to static ip 192.168.1.12 and found it cannot ping my gateway, neither can access internet.
By default the ip of guest is 10.0.2.15, it can access internet and my router(192.168.1.1)

To fix the issue, I had to use Bridge Network.
1) Virtual Box -> SETTINGS -> NETWORK -> Bridge -> Edit Setting -> Add your active adapter for internet/network (in my case I am using Wireless Adapter en1: AirPort of my MacBook )

2) Then I started my guest OS. Say I have Windows XP as my guest OS. I need to edit the network settings. Manually add the IP ADD, DEFAULT GATEWAY, DNS. Since my router act as DNS for my LAN, I used DNS same as my DEFAULT GATEWAY.

Friday, April 17, 2009

System Administrator's Role

System Administrator's Role: (BASIC ROLES)
  • Preinstallation planning
  • Install - hardware, software, network
  • Manage - user accounts, system resources, licenses
  • Backup/recovery
  • Define subsystems
  • Performance monitoring, capacity planning
SAN Requirements:

IBM DS8300 frame
SVC (SAN Volume Controller)
EMC Symmetrix 8830
EMC Clariion CX700 & CX300
Cisco and Brocade Switches
IBMs TSM (Tivoli Storage Manager) and TPC (TotalProductivity Center)

Some fundametals and tweaks in AIX

Default Multi-user runlevel in AIX : runlevel 2

To bring down system in Maintenance mode/Single user mode
#shutdown -m

To bring back system in runlevel 2
#telinit 2

*********************************
SRC ( System Resource Controller) for easy management of group of Deamon/Subsystem in AIX

#lssrc -a
#ps -ef

notice the output of above commands

#stopsrc -s
#startsrc -s
#refresh -s : this command enables deamon to reread any of it's configuration file; so whenever we made any changes in deamon config files, we can use refresh command to bring the changes into effect.

Not all process are controller by SRC/ srcmstr; those process which are not controlled by SRC can be killed by
#kill

*****************************

Manage the System Environment (e.g time, license, characteristics of OS etc)

#smit system

Manage the system language environment

#smit mlang

***************************
SU command:
The su command allows you to assume the permissions of any user whose password you
know.
Every time the su command is used an entry is placed in the file /var/adm/sulog (this is an
ASCII text file). This makes it easy to record access as the superuser. Normal logins are
recorded in the file /var/adm/wtmp. To read the contents of this file use the command:
who /var/adm/wtmp.
The su command can also be specified with the - option. The - specifies that the process
environment is to be set as if the user had logged into the system using the login
command. Nothing in the current environment is propagated to the new shell. For
example, using the su command without the - option, allows you to have all of the
accompanying permission of root while keeping your own working environment.

Boot Image of AIX

Using Bootlist from System ROS/BIOS/EFI (whatever you say) , System locates the boot device and attempts to load the Boot Image of OS to the Memory. So, the question comes: What is the Boot Image?

Boot image of AIX contains the files required to boot the AIX system, including the AIX kernel, the RAMFS (RAM file system), and the copy of Base ODM (Object Data Manager)


ROS : Read Only Storage
BIOS : Basic Input Output System
EFI : Extensible Firmware Interface

System Initialization in Brief:

In General
Hardware Initialization -- Low Level Configuration -- Load Boot Image -- AIX Initialization

For POWER servers:
System ROS ---- SMS/BOOTLIST ---- Software ROS------ BLV----INIT

For Intel Itanium -based Servers
BIOS/EFI --- Set up EFI boot manager --- EFI system partition contains bootloader boot.efi ---physical partition contains BLV -- AIX Initialization

Thursday, April 16, 2009

Startup modes in AIX

Basically there are 4 startup modes in AIX

 

1. NORMAL MODE : Multiuser mode; All process are running


2. SYSTEM MANAGEMENT SERVICES : it runs from FIRMWARE and sets bootlist; it's not AIX


3. MAINTENANCE : Singer User mode; password recovery and system recovery for the system which can't undergo normal boot.


4. DIAGNOSTICS : AIX diagnostics