Tuesday, 13 June 2023

How to connect to the server from ILOM console -

 How to connect to the server from ILOM console.

For exapmle server name is "test_server" and its ilom is test_server-ilo.

Steps :-

1) Connect to the ILOM CLI.

ssh test_server-ilo

Password:

->

2) start the console by using below command , it will ask you the 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

#

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 creatd 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