Dunblane and Perth high schools are among a number shut after being linked to people with the virus.