define ASSOCIATION policy_domain schedule node
Uncategorized
Command vMA
###############################
Enable ssh :
Modify /etc/hosts.allow whit command :
sudo vi /etc/hosts.allow
and add line sshd: ALL: ALLOW
###############################
Add hosts:
sudo vifp addserver 10.1.2.216
###############################
List server:
sudo vifp listservers -l
###############################
Connect to server:
vifptarget -s 10.1.2.215
Schedule Cron JOB esxi
# cd /var/spool/cron/crontabs
Editare il classico file di root
Killare il processo di crond
/var/spool/cron/crontabs # kill $(cat /var/run/crond.pid)
Riavviare il processo di crond
/var/spool/cron/crontabs # busybox crond
Al prossimo reboot il server avra perso il processo in crontab quindi ….
To schedule a local cron-job and have it be persistent (not lost at reboot) add the following lines to /etc/rc.local /bin/echo “0 9 * * * xxxxxxxxxxx” >> /var/spool/cron/crontabs/root
/bin/busybox crond -b
then run auto-backup.sh it will backup the changes to the rc.local file
VMware KB: Post installation issues with vCenter Server 4.1
This Night i have apply this note for problem to Virtual Center:
VMware KB: Post installation issues with vCenter Server 4.1
Command to convert date and time squid access.log
How to view content of volume
How to view volume used for backup DB tivoli storage manager
select date_time,volume_name,type,backup_series,volume_seq,devclass,location from volhistory where backup_operation<>99
Deallocate resource for NIM client
Resetting the NIM state using SMIT
Follow this procedure for resetting the NIM state using SMIT.
To return a machine to the ready state, enter the smit nim_mac_op fast path.
Select the target machine for the operation.
Select reset as the Operation to Perform.
To deallocate resources, change the Deallocate All Resources? field to yes.
Change the Force field to yes.
Install driver from vpshere cli to esxi 4.1 update 1
For install driver from vpshere cli:
C:Program Files (x86)VMwareVMware vSphere CLI>vihostupdate.pl –server 10.1.120.106 –bundle INT-intel-lad-ddk-igb-3.0.18-offline_bundle-396986.zip –install
–nosigcheck
Enter username: root
Enter password:
Please wait patch installation is in progress …
The update completed successfully, but the system needs to be rebooted for the c
hanges to be effective.
In this case i have installed a network inter driver for a 4 port INTEL 82580
Driver is here
Enable VT DELL system COMMAND LINE
Install OPENMANAGED
/opt/dell/srvadmin/bin
PER VEDERE I PARAMETRI DEL BIOS:
[root@srvlabesx01 bin]# ./omreport chassis biossetup
BIOS Setup
General
Boot Sequence : IDE CD-ROM device
Num Lock : On
NIC 1 : Enabled with PXE
NIC 2 : Enabled only
IDE : Auto
User Accessible USB Ports : All Ports On
Processor Virtualization Technology : Disabled
AC Power Recovery Mode : Last
Embedded SATA Controller : Off
SATA Port 0 : Off
SATA Port 1 : Off
Demand-Based Power Management : Disabled
OS Watchdog Timer : Disabled
Processor Execute Disable : Enabled
Processor CMP : 2
Serial Communications
Serial Communications : On without Console Redirection
Console Redirection After Boot : Enabled
External Serial Connector : Com1
Console Redirection Failsafe BAUD Rate : 115200
PER ABILITARE IL VT
[root@srvlabesx01 bin]# omconfig chassis biossetup attribute=cpuvt setting=enabled
BIOS setup configured successfully. Change will take effect after the next reboot.
VERIFICO CHE SIA ABILITATO IL VT
[root@srvlabesx01 bin]# ./omreport chassis biossetup BIOS Setup
General
Boot Sequence : IDE CD-ROM device
Num Lock : On
NIC 1 : Enabled with PXE
NIC 2 : Enabled only
IDE : Auto
User Accessible USB Ports : All Ports On
Processor Virtualization Technology : Enabled
AC Power Recovery Mode : Last
Embedded SATA Controller : Off
SATA Port 0 : Off
SATA Port 1 : Off
Demand-Based Power Management : Disabled
OS Watchdog Timer : Disabled
Processor Execute Disable : Enabled
Processor CMP : 2
Serial Communications
Serial Communications : On without Console Redirection
Console Redirection After Boot : Enabled
External Serial Connector : Com1
Console Redirection Failsafe BAUD Rate : 115200
Il tutto sara’ attivo definitivamente al prossimo reboot