Tuesday, 13 June 2023

How to connect to the server from ILOM console -

Sometimes a server becomes inaccessible over the network, but you still need to access it for troubleshooting or to reboot it. In such cases, connecting through the ILOM (Integrated Lights Out Manager) console is a reliable and commonly used method by DBAs and system administrators.

For example, the server name is test_server and its ILOM is test_server-ilo.

Steps:

  1. Connect to the ILOM CLI
ssh test_server-ilo
Password:
->
  1. Start the console using the below command. It will ask for the OS username and password.
-> start /HOST/console
Are you sure you want to start /HOST/console (y/n)? y
Serial console started. To stop, type ESC (
test_server login: root
Password:
# pwd
/root
# hostname
test_server
# 

Note: Ensure you have ILOM network access and valid credentials before trying these steps. The ILOM console is especially useful when the server OS is not reachable by SSH.

📚 Other Helpful Guides

Monday, 5 June 2023

How to create NFS/SAN mountpoint on the server , using NFS path.

Work with SAN storage team to get the path. 

Consider you get 2 TB size for the mountpoint.

You need to get below information from your storage team.

NFS_Server_name:/Test/backup/vol1/test_project/ 

In above path :-
"NFS_Server_name" - will be the SAN/NFS server name or IP.
"/Test/backup/vol1/test_project/" - will be the directory structure created on SAN server. 

Now on your server you need to create NFS mountpoint as name "/test_backup" using above NFS path. 

Steps :-

1) First check on your server , if network is open to NFS server. 
#nslookup NFS_Server_name

If above command do not work , check with network team. If you able to nslookup follow next steps. 

2) Create blank directory with name of mountpoint require , in our case its "/test_backup" 
#cd /
#mkdir test_backup

3) Add below line in /etc/fstab   (in single line)
#vi /etc/fstab
NFS_Server_name:/Test/backup/vol1/test_project /test_backup nfs rw,bg,hard,retry=60,intr,rsize=1048576,wsize=1048576,noac,nfsvers=3 0 0

4) Change the permission of temporary as per below. 
#chmod 777 /test_backup

5) Now mount the mountpoint. 
#mount /test_backup

6) Now you can change the permission or owner of NFS mount point as per you require. 
#chmod 775 /test_backup
#chown -R oracle:oinstall /test_backup

7) Check the mountpoint size. 
#df -h /test_backup

📚 Other Articles